[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN114614526A - Charging bin system, resetting method and device thereof and electronic equipment - Google Patents

Charging bin system, resetting method and device thereof and electronic equipment Download PDF

Info

Publication number
CN114614526A
CN114614526A CN202210195733.XA CN202210195733A CN114614526A CN 114614526 A CN114614526 A CN 114614526A CN 202210195733 A CN202210195733 A CN 202210195733A CN 114614526 A CN114614526 A CN 114614526A
Authority
CN
China
Prior art keywords
module
main control
control mcu
charging
battery
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202210195733.XA
Other languages
Chinese (zh)
Inventor
不公告发明人
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Transtek Medical Electronics Co Ltd
Original Assignee
Guangdong Transtek Medical Electronics Co Ltd
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 Guangdong Transtek Medical Electronics Co Ltd filed Critical Guangdong Transtek Medical Electronics Co Ltd
Priority to CN202210195733.XA priority Critical patent/CN114614526A/en
Publication of CN114614526A publication Critical patent/CN114614526A/en
Pending legal-status Critical Current

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
    • H02J7/007Regulation of charging or discharging current or voltage
    • H02J7/0071Regulation of charging or discharging current or voltage with a programmable schedule
    • 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
    • H02J7/007Regulation of charging or discharging current or voltage
    • H02J7/00712Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters
    • 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
    • H02J7/007Regulation of charging or discharging current or voltage
    • H02J7/00712Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters
    • H02J7/007182Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters in response to battery voltage
    • 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
    • H02J7/007Regulation of charging or discharging current or voltage
    • H02J7/007188Regulation of charging or discharging current or voltage the charge cycle being controlled or terminated in response to non-electric parameters
    • H02J7/007192Regulation of charging or discharging current or voltage the charge cycle being controlled or terminated in response to non-electric parameters in response to temperature
    • H02J7/007194Regulation of charging or discharging current or voltage the charge cycle being controlled or terminated in response to non-electric parameters in response to temperature of the battery
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02MAPPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
    • H02M3/00Conversion of dc power input into dc power output
    • H02M3/02Conversion of dc power input into dc power output without intermediate conversion into ac
    • H02M3/04Conversion of dc power input into dc power output without intermediate conversion into ac by static converters
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K17/00Electronic switching or gating, i.e. not by contact-making and –breaking
    • H03K17/22Modifications for ensuring a predetermined initial state when the supply voltage has been applied
    • H03K17/223Modifications for ensuring a predetermined initial state when the supply voltage has been applied in field-effect transistor switches

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The invention provides a charging bin system, a resetting method and device thereof and electronic equipment, relates to the technical field of charging bins, and solves the technical problem that in the prior art, the cost is high when a resetting function is added to a charging bin. The system comprises: the charging and boosting device comprises a charging and boosting module, a reset module, a main control MCU module and a battery; the main control MCU module is used for controlling the charging and boosting module; the battery is used for inputting a first voltage signal to the main control MCU module, the charging boosting module and the reset module; the charging and boosting module is used for boosting the first voltage signal; the reset module is connected with the main control MCU module and is used for converting the first voltage signal into a first output signal, transmitting the first output signal to the main control MCU module and controlling the main control MCU module to reset itself according to a preset program. The invention does not need to install a reset key, thereby saving the cost; the size of the product is reduced, and the design stacking is facilitated; the problems of dust and water entering and electrostatic discharge of the product are reduced.

Description

Charging bin system, resetting method and device thereof and electronic equipment
Technical Field
The present disclosure relates to the field of charging bin technologies, and in particular, to a charging bin system, a resetting method and device thereof, and an electronic device.
Background
The current intelligence is dressed and is charged storehouse, and some low-end products have used pure hardware scheme, only satisfy the simple requirement in market. However, some high-end products adopt a scheme of combining a single chip microcomputer with charging and discharging for reliability, customization and the like. If the singlechip is used, program failure risks exist, higher requirements are required for singlechip embedded development, and the requirement on the application capacity of watchdog design is very high, otherwise, equipment crash, stateless discharge failure and other abnormalities can be caused, and product risks and research and development pressure are increased to a certain extent. If the key is used for manual reset, the structure cost, dust and water inlet, unattractive appearance, occupation of the inner space of a product due to structure stacking, electrostatic discharge, key material cost and the like exist.
Therefore, the reset function is added to the charging bin through the prior art, and the technical problem of high cost exists.
Disclosure of Invention
The application aims to provide a charging bin system, a resetting method and a resetting device of the charging bin system and electronic equipment, so as to relieve the technical problem that in the prior art, the cost for adding a resetting function to a charging bin is high.
In a first aspect, an embodiment of the present application provides a charging bin system, where the charging bin system includes:
the charging and boosting device comprises a charging and boosting module, a reset module, a main control MCU module and a battery;
the main control Micro Controller Unit (MCU) module is used for controlling the operation of the charging and boosting module;
the battery is used for inputting a first voltage signal to the main control MCU module, the charging boosting module and the reset module;
the charging and boosting module is respectively connected with the battery and the main control MCU module and is used for boosting the first voltage signal;
the reset module is connected with the main control MCU module, and is used for converting the first voltage signal into a first output signal and transmitting the first output signal to the main control MCU module, and the first output signal is used for controlling the main control MCU module to reset itself according to a preset program.
In one possible implementation, the charging bin system further comprises:
the MCU power supply module;
the MCU power supply module is respectively connected with the battery and the main control MCU module, and the MCU power supply module is used for converting the voltage provided by the battery into the first voltage signal.
In one possible implementation, the charging bin system further comprises:
a battery voltage detection module;
the battery voltage detection module is respectively connected with the battery and the master control MCU module, and is used for detecting the voltage of the battery.
In one possible implementation, the charging bin system further comprises:
a battery temperature detection module;
the battery temperature detection module is connected with the main control MCU module and is used for detecting the temperature of the battery.
In one possible implementation, the charging bin system further comprises:
an output and load detection module;
the output and load detection module is respectively connected with the charging boosting module and the master control MCU module, and the battery supplies power to the load through the output and load detection module.
In a second aspect, there is provided a method of resetting a charge bin system, the method comprising:
responding to an access event of a power supply, and determining that a power-on event occurs; wherein the power supply is configured to provide a second voltage signal to the charge bin system;
responding to the input of the second voltage signal, and transmitting the first output signal to the main control MCU module through the reset module;
and responding to the main control MCU module to receive the first output signal, and controlling the main control MCU module to reset itself according to a preset program.
In one possible implementation, after the step of determining that a power-on event has occurred in response to an access event of the power source, the method further comprises:
responding to the input of the first voltage signal, and outputting a second output signal to the main control MCU module through the reset module;
and responding to the input of the second output signal, and controlling the main control MCU module to operate based on the second output signal.
In a third aspect, there is provided a reset device for a charge bin system, the device comprising: the determining module is used for responding to an access event of the power supply and determining that a power-on event occurs; wherein the power supply is configured to provide a second voltage signal to the charge bin system;
the output module is used for responding to the input of the second voltage signal and transmitting the first output signal to the main control MCU module through the reset module;
and the control module is used for responding to the main control MCU module to receive the first output signal and controlling the main control MCU module to reset according to a preset program.
In a fourth aspect, an embodiment of the present application further provides an electronic device, which includes a memory and a processor, where the memory stores a computer program executable on the processor, and the processor implements the steps of the method according to the second aspect when executing the computer program.
In a fifth aspect, embodiments of the present application further provide a computer-readable storage medium storing computer-executable instructions that, when invoked and executed by a processor, cause the processor to perform the method of the second aspect.
The embodiment of the application brings the following beneficial effects:
the charging bin system and the resetting method thereof, the device and the electronic equipment comprise a charging boosting module, a resetting module, a main control MCU module and a battery, wherein the main control MCU module is used for controlling the operation of the charging boosting module, the battery is used for inputting a first voltage signal to the main control MCU module, the charging boosting module and the resetting module are respectively connected with the battery and the main control MCU module, the charging boosting module is used for boosting the first voltage signal, the resetting module is connected with the main control MCU module, the resetting module is used for converting the first voltage signal into a first output signal and transmitting the first output signal to the main control MCU module, and the first output signal is used for controlling the main control MCU module to reset itself according to a preset program. In this scheme, when the storehouse equipment that charges crashes, insert external power supply for the storehouse that charges through the charger, the module that resets can transmit a output signal to the master control MCU module, control master control MCU module resets operation to self according to presetting the procedure, through the resetting of the realization storehouse system that simple reset circuit module can be swift, need not to research and develop complicated watchdog software, also need not to install the reset key, the higher technical problem of the function cost of adding reset function for the storehouse that charges among the prior art has been alleviated.
Drawings
In order to more clearly illustrate the detailed description of the present application or the technical solutions in the prior art, the drawings needed to be used in the detailed description of the present application or the prior art description will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic structural diagram of a charging bin system according to an embodiment of the present disclosure;
fig. 2 is a schematic structural diagram of a main control MCU module provided in an embodiment of the present application;
fig. 3 is a schematic structural diagram of a charging and boosting module according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a reset module according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of an MCU power supply module provided in an embodiment of the present application;
fig. 6 is a schematic structural diagram of a battery voltage detection module according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of a battery temperature detection module according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of an output and load detection module according to an embodiment of the present disclosure;
fig. 9 is a schematic flowchart of a resetting method of a charging bin system according to an embodiment of the present disclosure;
fig. 10 is a schematic diagram illustrating a reset simulation of a charging bin system according to an embodiment of the present disclosure;
fig. 11 is a schematic structural diagram of a resetting device of a charging bin system according to an embodiment of the present disclosure;
fig. 12 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions of the present application will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "comprising" and "having," and any variations thereof, as referred to in the embodiments of the present application, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements but may alternatively include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The current intelligence is dressed and is charged storehouse, and low end product has used pure hardware scheme, satisfies simple requirement. However, some high-end products adopt a combination scheme of a single chip microcomputer and charging and discharging for reliability, customization and the like, if the single chip microcomputer is used, a program BUG risk exists, higher requirements exist for embedded development of the single chip microcomputer, the requirement on the design and application capability of the watchdog is very high, otherwise equipment crash can be caused, abnormal conditions such as stateless discharging and the like can be caused, and product risk and research and development pressure are increased to a certain extent. If the button is used for manual reset, there are structural cost and dust and water intake, structural stacking space occupation, electrostatic discharge (ESD), button material cost, etc.
From the above-mentioned defects, the following defects exist in the prior art: when the software watchdog is not used, the risk of the dead halt of the single chip microcomputer exists; when the software watchdog is used, the research and development difficulty is high; when the software watchdog is used, the user scene is uncertain, and the test difficulty is high; when a hardware reset key is used, dust and water are easy to enter, and the structural cost of the product is increased; when a hardware reset key is used, the electrostatic ESD failure risk is increased; when a hardware reset key is used, a reset hole is added to the appearance, so that the appearance is ugly; when the hardware reset key is used, the stacking of the structure is large, and the size of a product is influenced.
Based on this, the embodiment of the application provides a charging bin system, a reset method and a reset device thereof, and an electronic device, and by using a simple circuit type charging reset mode, the technical problem that the cost of adding a reset function to a charging bin is high in the prior art can be solved.
Embodiments of the present application are further described below with reference to the accompanying drawings.
Fig. 1 is a schematic structural diagram of a charging bin system according to an embodiment of the present application. As shown in fig. 1, the apparatus includes:
the charging and boosting device comprises a charging and boosting module, a reset module, a main control MCU module and a battery;
the main control MCU module is used for controlling the operation of the charging and boosting module;
the battery is used for inputting a first voltage signal to the main control MCU module, the charging boosting module and the reset module;
the charging and boosting module is respectively connected with the battery and the main control MCU module and is used for boosting the first voltage signal;
the reset module is connected with the main control MCU module, the reset module is used for converting the first voltage signal into a first output signal and transmitting the first output signal to the main control MCU module, and the first output signal is used for controlling the main control MCU module to reset itself according to a preset program.
For example, as shown in fig. 2, the core of the master control MCU module may be a single chip microcomputer of CSU38F20-QFN20, and the master control MCU module includes an energy storage filter capacitor C7 and an energy storage filter capacitor C17. The single chip microcomputer is internally provided with various General-purpose input/output (GPIO) interfaces, an Inter-Integrated Circuit (IIC) interface, an Analog-to-Digital Converter (ADC) detection interface, and the like. The serial data line (SDA) interface, the Serial Clock Line (SCL) interface and the terminal request (IRQ) interface in the single chip microcomputer are used for being connected with the charging and boosting module to perform digital communication. As shown in fig. 3, the charging boost module includes input contacts VBUS and GND1, and the input contacts are used for externally connecting a charger. The core of the charging and boosting module can be a SY8801 type chip, the charging, boosting, built-in load detection, built-in output current detection, an IIC data communication interface and the like are integrated, the charging and boosting module can communicate with the main control MCU module through the IIC interface and the IRQ interface, and the charging and boosting module further comprises a power inductor L1 matched with the charging or boosting operation. The electric boosting module further comprises a VSYS-5V network for supplying power to the load, and the charging boosting module boosts the voltage provided by the battery so as to supply power to the load through the VSYS-5V network. As shown in fig. 4, the reset module includes a resistor R16, a resistor R17, a resistor R19, a capacitor C8, a capacitor C11, and a switch Q5. The resistor R16 is connected in series with the capacitor C8 and the resistor R21, and the gate of the switching tube Q5 is connected to the series node between the capacitor C8 and the resistor R21; the resistor R17 is connected in series with the resistor R19, and the drain of the switching tube Q5 is connected to a series node between the resistor R17 and the resistor R19; the source of the switching tube Q5 is connected to the capacitor C11, and the other end of the capacitor C11 is connected to the series node between the resistor R17 and the resistor R19.
In practical application, in a static state, the main control MCU module and the charging and boosting module both enter a sleep mode, the charging and boosting module outputs a high level in the VOL network, and the 5VOUT _ EN is controlled to be in an open-drain state. After the main control MCU module inquires and judges load access through the IIC interface, the charge boosting module is instructed to start the boosting function, the voltage provided by the battery is boosted to 5V by the charge boosting module, and the VSYS-5V network has a power supply function and can provide 5V power supply for the load. When the charging bin device is abnormal, the charging bin system can be connected to a 5V charger through the VBUS and GND1 charging contacts of the charging boosting module, so that the whole charging bin system is powered on, and 5V _ VIN is increased to 5V. At the instant when the voltage of 5V _ VIN rises to 5V, the resistor R16 and the resistor R21 form a voltage divider circuit before the capacitor C8 is fully charged. Assuming that the resistance of the resistor R16 is 47K Ω and the resistance of the resistor R21 is 150K Ω, the voltage divided by the node between the resistor R21 and the capacitor C8 is:
5V/(150KΩ+47KΩ)150KΩ=3.8V;
the 3.8V divided voltage is output to the gate of the switching tube Q5, which causes the switching tube to turn on, and the resistance between the source and the drain decreases to below 0.4 Ω. Assuming that the resistance of the resistor R17 is 47K Ω, the voltage divided by the node between the resistor R17 and the switching tube Q5 at this time becomes 47K Ω and 0.4 Ω due to the original 47K Ω and high resistance, so that the divided output voltage changes from 3.3V to 0V low level, i.e., the level output through the RST interface changes to 0V low level (the first output signal). The 0V low level pulls down the RST interface of the main control MCU for about 30ms through the resistor R19, reset restart of the main control MCU module is achieved, and the main control MCU module resets itself according to a preset program.
In this scheme, when the storehouse equipment that charges crashes, insert external power supply for the storehouse that charges through the charger, the module that resets can transmit a first output signal to the master control MCU module, control master control MCU module is according to presetting the procedure and is reset the operation to self, the realization that can be swift through simple reset circuit module is charged the storehouse system and is reset, need not to research and develop complicated watchdog software, also need not to install the reset key, the higher technical problem of function cost that adds for the storehouse that charges among the prior art has been alleviated.
In some embodiments, the charging bin system may further comprise:
the MCU power supply module; the MCU power supply module is respectively connected with the battery and the main control MCU module, and the MCU power supply module is used for converting the voltage provided by the battery into a first voltage signal.
For example, as shown in fig. 5, the core of the MCU power supply module may be a Low Dropout Regulator (LDO) Regulator chip of CE6232B33F, and the MCU power supply module further includes two energy storage capacitors. The MCU power supply module inputs battery voltage from the VBAT interface, converts the voltage provided by the battery into working voltage (first voltage signal) of the charging bin system, and outputs the working voltage from the 3V3 interface, so that stable 3.3V working voltage is provided for the whole system.
The voltage provided by the battery is stabilized through the MCU power supply module, stable working voltage can be provided for the whole charging bin system, and the charging bin system can stably operate based on the working voltage.
In some embodiments, the charging bin system may further comprise:
a battery voltage detection module; the battery voltage detection module is respectively connected with the battery and the main control MCU module and is used for detecting the voltage of the battery.
For example, as shown in fig. 6, the battery voltage detection module includes a resistor R14, a resistor R15, a switch Q2, and a capacitor C10; the resistor R14 and the resistor R15 are used for voltage division, and the capacitor C10 is used for filtering. The resistor R14 is connected in series with the switch tube Q2 and the resistor R15, the drain of the switch tube Q2 is connected with the resistor R14, the source of the switch tube Q2 is connected with the resistor R15, the resistor R14 is connected with the VBAT interface, the resistor R15 is grounded, the gate of the switch tube Q2 is connected with a negative temperature coefficient resistor voltage (NTC _ VCC) network of the main control MCU module, and the capacitor C10 is connected in parallel with two ends of the resistor R15; the ADC2 network is used to continuously detect battery voltage, and the ADC2 network is interfaced at the series node between the switching tube Q2 and the resistor R15.
In practical applications, the ADC2 network will continuously detect the battery voltage, and will automatically shut down if the battery voltage is detected to be lower than a preset voltage (e.g., 3V), so as to protect the charging bin system.
In some embodiments, the charging bin system may further comprise:
a battery temperature detection module; the battery temperature detection module is connected with the main control MCU module and is used for detecting the temperature of the battery.
Illustratively, as shown in fig. 7, the battery temperature detection module includes a resistor R2, a resistor R12, and a capacitor C5. The resistor R2 is a negative temperature coefficient thermistor whose resistance value decreases with increasing temperature. Resistor R12 is connected in series with resistor R2, the other end of resistor R12 is connected with NTC _ VCC network, the other end of resistor R2 is grounded, and ADC3 network interface is at the series node between resistor R2 and resistor R12.
In practical application, the battery temperature detection module can be connected to the main control MCU module through the ADC3 network, the ADC3 network can continuously detect the battery temperature, and when the battery is detected to be in a preset temperature range (e.g., 0-65 ℃), the charging cabin system is allowed to operate, and when the battery is at other temperatures, the charging cabin is stopped. The battery temperature detection module performs protective action by sampling the battery temperature, so that the protection of the charging bin system is realized.
In some embodiments, the charging bin system may further comprise:
an output and load detection module; the output and load detection module is respectively connected with the charging and boosting module and the main control MCU module, and the battery supplies power to the load through the output and load detection module.
For example, as shown in fig. 8, the output and load detection module includes 5V + and 5V contacts, a resistor R3, a resistor R4, a resistor R7, a switching tube Q1, a capacitor C1, a zener diode E8, and a zener diode E9. The resistor R3 is connected with the resistor R7 and the 5V + contact in series, the other end of the resistor R3 is connected with a 5VOUT _ EN control interface, the grid electrode of the switch tube Q1 is connected with the series node between the resistor R3 and the resistor R7, the drain electrode of the switch tube Q1 is connected with the VSYS-5V network, the source electrode of the switch tube Q1 is connected with the 5V + contact, the interface of the VOL network is connected with the series node between the switch tube Q1 and the 5V + contact, and the zener diode E8 is connected with the series node between the switch tube Q1 and the 5V + contact. The 5V-contact is connected with the ADC1 network interface in series, one end of the resistor R4 is connected to a series node between the 5V-contact and the ADC1 network interface, and the other end of the resistor R4 is grounded; the capacitor C1 has one end connected to the series node between the 5V-contact and the ADC1 network interface and one end connected to ground; the zener diode E9 is connected at one end to the series node between the 5V-contact and the ADC1 network interface and at one end to ground.
In practical application, after the 5V + and 5V-contacts are connected to the load, the high level on the VOL network is pulled low; at the moment, the charging and boosting module detects the state change and outputs the interrupt to the main control MCU module through the IRQ network; after the main control MCU module inquires and judges load access through the IIC interface, the charging and boosting module is instructed to start a 5V boosting function, and the VSYS-5V network has a 5V power supply function at the moment; meanwhile, the 5VOUT _ EN network is converted from open drain to low level, so that the switching tube Q1 is driven to be opened, and finally power is supplied to a load end; the main control MCU module opens an ADC1 channel, detects whether the voltage division on a resistor R4 is within a target value interval (for example, 16 mV-1.6 mV), and detects whether the corresponding current is within the target interval (for example, 200 mA-20 mA), if so, the power supply is continuously supplied, and if not, the power supply of 5V is cut off.
Through output and load detection module, the storehouse system that charges can provide stable power supply for the load to whether can detect the voltage of supplying for the load in the target interval, realized the protection to the stable power supply of load and to the storehouse system that charges.
Fig. 9 is a schematic flowchart of a resetting method of a charging bin system according to an embodiment of the present disclosure. As shown in fig. 9, the method includes:
step S910, responding to the access event of the power supply, and determining that a power-on event occurs; wherein the power supply is configured to provide a second voltage signal to the charge bin system.
For example, as shown in fig. 3, when the charging bin device is abnormal, the charging bin system may access a 5V charger through VBUS of the charging boosting module and GND1 charging contact, so as to power up the entire charging bin system, and 5V _ VIN rises to 5V.
In step S920, in response to the input of the second voltage signal, a first output signal is transmitted to the main control MCU module through the reset module.
For example, as shown in fig. 4, at the instant when 5V _ VIN rises to 5V, the resistor R16 and the resistor R21 form a voltage divider circuit before the capacitor C8 is fully charged. Assuming that the resistance of the resistor R16 is 47K Ω and the resistance of the resistor R21 is 150K Ω, the voltage divided by the node between the resistor R21 and the capacitor C8 is:
5V/(150KΩ+47KΩ)150KΩ=3.8V;
the 3.8V divided voltage output to the gate of the switching tube Q5 causes the switching tube to turn on, and the resistance between the source and the drain decreases to below 0.4 Ω. Assuming that the resistance of the resistor R17 is 47K Ω, the voltage divided by the node between the resistor R17 and the switching tube Q5 at this time becomes 47K Ω and 0.4 Ω due to the original 47K Ω and high resistance, so that the divided output voltage changes from 3.3V to 0V low level, i.e., the level output through the RST interface changes to 0V low level (the first output signal).
In step S930, in response to the main control MCU module receiving the first output signal, the main control MCU module is controlled to perform a reset operation on itself according to a preset program.
For example, as shown in fig. 10, the 0V low level pulls down the RST interface of the main control MCU through the resistor R19 for about 30ms, so as to reset and restart the main control MCU module, and the main control MCU module resets itself according to a preset program.
In the embodiment of the application, when the storehouse equipment that charges crashes, insert external power supply for the storehouse that charges through the charger, the module that resets can transmit a first output signal to the master control MCU module, control master control MCU module is according to the operation that resets of presetting the procedure to self, can be swift through simple reset circuit module the realization storehouse system that charges reset, need not to research and develop complicated watchdog software, also need not to install the reset key, the higher technical problem of the function cost that adds for the storehouse that charges among the prior art has been alleviated.
The above steps are described in detail below.
In some embodiments, after the power supply is connected for a period of time, the reset module stops inputting the first output signal to the main control MCU module, so that the main control MCU module can be prevented from being repeatedly restarted to affect the normal operation of the charging bin system.
As an example, after the step S910, the method may further include the steps of:
and a), responding to the input of the first voltage signal, and outputting a second output signal to the main control MCU module through the reset module.
And b), responding to the input of the second output signal, and controlling the main control MCU module to operate based on the second output signal.
For example, as shown in fig. 4, when the capacitor C8 is fully charged, the capacitor C8 becomes a high-impedance state, and at this time, the series-connected voltage division formed by the resistor R16, the capacitor C8 and the resistor R21 hinders the direct current flow in this series-connected path after the capacitor C8 is fully charged, so that the voltage divided by the node between the resistor R21 and the capacitor C8 sharply drops to 0V, and the voltage input to the gate of the switching tube Q5 drops to 0V. At this time, the switch tube Q5 is turned off, the source terminal and the drain terminal are in a high impedance state, the node voltage division between the switch tube Q5 and the resistor R17 is increased from 0V to 3.3V (a second output signal), that is, the level output through the RST interface is changed into 3.3V and is stable, so that the RST interface of the main control MCU module stably operates at a high level. As shown in fig. 10, when the capacitor C8 is fully charged, and the 5V _ VIN power supply is pulled out, the RST interface can also be stabilized at a high level.
It should be noted that, when the charger is connected to charge, the reset module will actively reset the main control MCU module once, and the charge boost module completes the charging action by itself, and when the current is smaller than the preset current value, it is determined that the charging function of the charge boost module is fully turned off.
Through making the storehouse system that charges respond to the input of first voltage signal, export the second output signal to the master control MCU module through the module that resets, later make the storehouse system that charges respond to the input of second output signal, control master control MCU module and move based on the second output signal, can avoid the master control MCU module to restart repeatedly, can guarantee the storehouse system that charges and normally operate.
Fig. 11 is a schematic structural diagram of a reset device of a charging bin system according to an embodiment of the present application. As shown in fig. 11, the apparatus includes:
a determining module 1101, configured to determine that a power-on event occurs in response to an access event of a power supply; wherein the power supply is configured to provide a second voltage signal to the charge bin system.
And the output module 1102 is configured to transmit the first output signal to the main control MCU module through the reset module in response to the input of the second voltage signal.
And the control module 1103 is configured to, in response to the main control MCU module receiving the first output signal, control the main control MCU module to perform a reset operation on itself according to a preset program.
In some embodiments, the apparatus may further comprise:
the second output module is used for responding to an access event of the power supply, responding to the input of the first voltage signal after determining that the power-on event occurs, and outputting a second output signal to the main control MCU module through the reset module;
and responding to the input of the second output signal, and controlling the main control MCU module to operate based on the second output signal.
The embodiment of the invention provides electronic equipment, which particularly comprises a processor and a storage device; the storage means has stored thereon a computer program which, when executed by the processor, performs the method of any of the above described embodiments.
Fig. 12 is a schematic structural diagram of an electronic device according to an embodiment of the present application, where the electronic device includes: a processor 1201, a memory 1202, a bus 1203 and a communication interface 1204, the processor 1201, the communication interface 1204 and the memory 1202 being connected by the bus 1203; the processor 1201 is used to execute executable modules, such as computer programs, stored in the memory 1202.
The Memory 1202 may include a Random Access Memory (RAM) and a Non-volatile Memory (Non-volatile Memory), such as at least one disk Memory. The communication connection between the network element of the system and at least one other network element is realized through at least one communication interface 1204 (which may be wired or wireless), and the internet, a wide area network, a local network, a metropolitan area network, and the like can be used.
Bus 1203 may be an ISA bus, PCI bus, EISA bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one double-headed arrow is shown in FIG. 12, but that does not indicate only one bus or one type of bus.
The memory 1202 is configured to store a program, and the processor 1201 executes the program after receiving an execution instruction, and a method executed by the apparatus defined by the flow process disclosed in any embodiment of the present invention may be applied to the processor 1201, or implemented by the processor 1201.
The processor 1201 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be implemented by integrated logic circuits of hardware or instructions in the form of software in the processor 1201. The Processor 1201 may be a general-purpose Processor including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field-Programmable Gate arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 1202, and the processor 1201 reads information in the memory 1202 and completes the steps of the above method in combination with hardware thereof.
The computer program product of the readable storage medium provided in the embodiment of the present invention includes a computer readable storage medium storing a program code, where instructions included in the program code may be used to execute the method described in the foregoing method embodiment, and specific implementation may refer to the foregoing method embodiment, which is not described herein again.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present invention, which are used for illustrating the technical solutions of the present invention and not for limiting the same, and the protection scope of the present invention is not limited thereto, although the present invention is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A charging bin system, comprising: the charging and boosting device comprises a charging and boosting module, a reset module, a main control MCU module and a battery;
the main control MCU module is used for controlling the operation of the charging and boosting module;
the battery is used for inputting a first voltage signal to the main control MCU module, the charging boosting module and the reset module;
the charging and boosting module is respectively connected with the battery and the main control MCU module and is used for boosting the first voltage signal;
the reset module is connected with the main control MCU module, and is used for converting the first voltage signal into a first output signal and transmitting the first output signal to the main control MCU module, and the first output signal is used for controlling the main control MCU module to reset itself according to a preset program.
2. The charging bin system of claim 1, further comprising:
the MCU power supply module;
the MCU power supply module is respectively connected with the battery and the main control MCU module, and is used for converting the voltage provided by the battery into the first voltage signal.
3. The charging bin system of claim 2, further comprising:
a battery voltage detection module;
the battery voltage detection module is respectively connected with the battery and the main control MCU module and is used for detecting the voltage of the battery.
4. The charging bin system of claim 3, further comprising:
a battery temperature detection module;
the battery temperature detection module is connected with the main control MCU module and is used for detecting the temperature of the battery.
5. The charging bin system of claim 4, further comprising:
an output and load detection module;
the output and load detection module is respectively connected with the charging and boosting module and the master control MCU module, and the battery supplies power to the load through the output and load detection module.
6. A method for resetting a charging bin system, which is applied to the charging bin system according to any one of claims 1 to 5; the method comprises the following steps:
responding to an access event of a power supply, and determining that a power-on event occurs; wherein the power supply is configured to provide a second voltage signal to the charge bin system;
responding to the input of the second voltage signal, and transmitting the first output signal to the main control MCU module through the reset module;
and responding to the main control MCU module to receive the first output signal, and controlling the main control MCU module to reset itself according to a preset program.
7. The method of claim 6, wherein after the step of determining that a power-up event has occurred in response to an access event of the power source, the method further comprises:
responding to the input of the first voltage signal, and outputting a second output signal to the main control MCU module through the reset module;
and responding to the input of the second output signal, and controlling the main control MCU module to operate based on the second output signal.
8. A resetting device of a charging bin system, which is applied to the charging bin system of any one of claims 1 to 5; the device comprises:
the determining module is used for responding to an access event of the power supply and determining that a power-on event occurs; wherein the power supply is configured to provide a second voltage signal to the charge bin system;
the output module is used for responding to the input of the second voltage signal and transmitting the first output signal to the main control MCU module through the reset module;
and the control module is used for responding to the receiving of the first output signal by the main control MCU module and controlling the main control MCU module to carry out reset operation on the main control MCU module according to a preset program.
9. An electronic device comprising a memory and a processor, wherein the memory stores a computer program operable on the processor, and wherein the processor implements the steps of the method of any of claims 6 to 7 when executing the computer program.
10. A computer readable storage medium having stored thereon computer executable instructions which, when invoked and executed by a processor, cause the processor to execute the method of any of claims 6 to 7.
CN202210195733.XA 2022-03-01 2022-03-01 Charging bin system, resetting method and device thereof and electronic equipment Pending CN114614526A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210195733.XA CN114614526A (en) 2022-03-01 2022-03-01 Charging bin system, resetting method and device thereof and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210195733.XA CN114614526A (en) 2022-03-01 2022-03-01 Charging bin system, resetting method and device thereof and electronic equipment

Publications (1)

Publication Number Publication Date
CN114614526A true CN114614526A (en) 2022-06-10

Family

ID=81860785

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210195733.XA Pending CN114614526A (en) 2022-03-01 2022-03-01 Charging bin system, resetting method and device thereof and electronic equipment

Country Status (1)

Country Link
CN (1) CN114614526A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4586179A (en) * 1983-12-09 1986-04-29 Zenith Electronics Corporation Microprocessor reset with power level detection and watchdog timer
KR950002223A (en) * 1993-06-12 1995-01-04 이헌조 System automatic reset circuit
CN101290662A (en) * 2008-05-19 2008-10-22 浙江九州机电工程有限公司 Multi- frequency range multifunctional electronic label
CN103905756A (en) * 2014-03-26 2014-07-02 深圳创维-Rgb电子有限公司 Television set failure processing device and television set
CN110740401A (en) * 2019-10-30 2020-01-31 歌尔科技有限公司 earphone reset device and wireless earphone equipment
CN111900792A (en) * 2020-07-27 2020-11-06 深圳市优锁科技有限公司 Intelligent lock reset circuit and method for replacing physical keys

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4586179A (en) * 1983-12-09 1986-04-29 Zenith Electronics Corporation Microprocessor reset with power level detection and watchdog timer
KR950002223A (en) * 1993-06-12 1995-01-04 이헌조 System automatic reset circuit
CN101290662A (en) * 2008-05-19 2008-10-22 浙江九州机电工程有限公司 Multi- frequency range multifunctional electronic label
CN103905756A (en) * 2014-03-26 2014-07-02 深圳创维-Rgb电子有限公司 Television set failure processing device and television set
CN110740401A (en) * 2019-10-30 2020-01-31 歌尔科技有限公司 earphone reset device and wireless earphone equipment
CN111900792A (en) * 2020-07-27 2020-11-06 深圳市优锁科技有限公司 Intelligent lock reset circuit and method for replacing physical keys

Similar Documents

Publication Publication Date Title
US10768244B2 (en) Power loss protection integrated circuit with autonomous capacitor health check
US9246342B2 (en) Charging system for portable electronic equipment
US9472967B2 (en) Power management system and method for a portable device
US20160099608A1 (en) Power adapter with built-in battery and power storage and supply method thereof
CN112805987B (en) Startup process control method, startup process control device, terminal equipment and computer readable storage medium
JP2005151696A (en) Battery pack, battery protection processor, and control method of battery protection processor
TW200928710A (en) Methods and apparatus for managing power on a computer in the event of a power interruption
CN106155942A (en) Power-fail memory function device and system thereof
CN113113959A (en) A charger
CN208110316U (en) Power-off sequential control circuit
CN114614526A (en) Charging bin system, resetting method and device thereof and electronic equipment
CN111124041A (en) Wearable device control device and method and wearable device
US10514744B2 (en) Portable computing device with hibernate mode
CN112003346B (en) Charging method and electronic device
CN106998081B (en) Electronic device and charging and discharging management method thereof
US20190027880A1 (en) Power adapter for cutting off standby power and control method therefor
CN108232346B (en) Charging method and device
US20110307731A1 (en) Method capable of preventing erroneous data writing and computer system
US20120297228A1 (en) Data recorder for harsh environments
JP2014092712A (en) Residual electric charge removal device, image processing device, residual electric charge removal method, and residual electric charge removal program
CN112269463A (en) Power-down protection circuit and method and electric energy meter
CN114816230A (en) Flash data storage method and device and household appliance
JP2020088719A (en) Recorder and termination method
CN114281179B (en) CPU forced shutdown control method and circuit
CN114460478B (en) Detection method and circuit for electronic equipment battery and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination