CN112886661A - Charger for sharing charger baby and electromagnetic valve protection method - Google Patents

Charger for sharing charger baby and electromagnetic valve protection method Download PDF

Info

Publication number
CN112886661A
CN112886661A CN202110129123.5A CN202110129123A CN112886661A CN 112886661 A CN112886661 A CN 112886661A CN 202110129123 A CN202110129123 A CN 202110129123A CN 112886661 A CN112886661 A CN 112886661A
Authority
CN
China
Prior art keywords
protection circuit
valve protection
electromagnetic valve
charging bin
charging
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
CN202110129123.5A
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.)
Beijing Sankuai Online Technology Co Ltd
Original Assignee
Beijing Sankuai Online Technology 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 Beijing Sankuai Online Technology Co Ltd filed Critical Beijing Sankuai Online Technology Co Ltd
Priority to CN202110129123.5A priority Critical patent/CN112886661A/en
Publication of CN112886661A publication Critical patent/CN112886661A/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/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • H02J7/00304Overcurrent protection
    • 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/0047Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with monitoring or indicating devices or circuits

Landscapes

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

Abstract

The specification discloses a shared charger baby charging device and an electromagnetic valve protection method, wherein the charging device is provided with a power switch, a controller and an electromagnetic valve protection circuit, the electromagnetic valve protection circuit is connected with the power switch, the controller and an electromagnetic valve, the electromagnetic valve is used for popping the shared charger baby out of a charging bin, the controller can respond to a use instruction of the shared charger baby in the charging bin to obtain a voltage value of an electromagnetic valve protection circuit corresponding to the charging bin, determine current overload in the electromagnetic valve protection circuit corresponding to the charging bin after the voltage value is lower than a set threshold value, and disconnect the power switch in the electromagnetic valve protection circuit corresponding to the charging bin as a target switch. It can be seen that the controller can determine whether the current in the electromagnetic valve protection circuit is overloaded or not, and if the current is overloaded, the power switch is switched off, so that the purpose of protecting the electromagnetic valve is achieved, and the efficiency of protecting the electromagnetic valve is improved.

Description

Charger for sharing charger baby and electromagnetic valve protection method
Technical Field
The specification relates to the technical field of computers, in particular to a charging device and an electromagnetic valve protection method of a shared charger baby.
Background
At present, the sharing treasured that charges has been applied to in people's life widely, and people can conveniently charge for the cell-phone through the sharing treasured that charges at the in-process of going on a journey, and the sharing treasured that charges uses and has brought the facility for people's life.
Usually, before the user leased the shared treasured that charges, the shared treasured that charges is in the storehouse of charging of shared treasured rack, and after the user leased the shared treasured that charges, the solenoid valve in the storehouse of charging can pop out the treasured that charges from the storehouse of charging to supply the user to use.
In practical application, faults such as short circuit and the like may occur to the solenoid valve, so that fire and the like may occur. However, in this way of the self-recovery fuse, the response to protect the solenoid valve is often slow, and the power supply of the solenoid valve cannot be disconnected in time.
Therefore, how to effectively protect the solenoid valve is an urgent problem to be solved.
Disclosure of Invention
The present disclosure provides a charger and a protection method for an electromagnetic valve of a shared charger, so as to partially solve the above problems in the prior art.
The technical scheme adopted by the specification is as follows:
the specification provides a charging device of a shared charger, which comprises a plurality of charging bins, shared chargers and electromagnetic valves, wherein each charging bin corresponds to one shared charger, each charging bin is internally provided with one electromagnetic valve, and the electromagnetic valves are used for popping the shared chargers out of the charging bins;
the controller responds to a use instruction of a shared charger in each charging bin, acquires a voltage value of the electromagnetic valve protection circuit corresponding to the charging bin, determines current overload in the electromagnetic valve protection circuit corresponding to the charging bin after the voltage value is lower than a set threshold value, and takes a power switch in the electromagnetic valve protection circuit corresponding to the charging bin as a target switch to be switched off.
Optionally, the controller turns off the target switch in response to a duration in which the voltage value is lower than the set threshold value exceeding a first set duration.
Optionally, after it is determined that the duration of the disconnection of the target switch reaches a second set duration, the target switch is closed, and in response to that the voltage value of the electromagnetic valve protection circuit corresponding to the charging bin is still lower than the set threshold, it is determined that the charging bin has a fault, and a fault repair request for the charging bin is sent to a preset shared charger maintenance platform, so that the charging bin is repaired through the shared charger maintenance platform.
Optionally, the controller, after determining that the duration of the opening of the target switch reaches a second set duration, closes the target switch for the nth time, and determines the first set duration again, after the first set duration is determined again, determines that the voltage value of the electromagnetic valve protection circuit corresponding to the charging bin is still lower than the set threshold, opens the target switch, and closes the target switch for the (N + 1) th time after the second set duration, until the voltage value of the electromagnetic valve protection circuit corresponding to the charging bin is still lower than the set threshold when the first set duration determined again is lower than the specified duration, determines that the charging bin has a fault, wherein the first set duration determined again when the target switch is closed for the (N + 1) th time is shorter than the first set duration determined again when the target switch is closed for the nth time, n is a positive integer.
Optionally, the controller comprises an analog-to-digital converter ADC;
and the controller responds to a use instruction aiming at the shared charger treasure in the charging bin, and acquires the voltage value of the electromagnetic valve protection circuit corresponding to the charging bin by the ADC in a direct memory access DMA mode.
Optionally, the solenoid valve protection circuit further includes at least one sampling resistor, and the at least one sampling resistor is used for dividing voltage in the solenoid valve protection circuit;
the controller responds to a use instruction of the shared charger in the charging bin, and obtains a voltage value obtained by dividing the voltage of the electromagnetic valve protection circuit corresponding to the charging bin through the at least one sampling resistor, and the voltage value is used as the obtained voltage value of the electromagnetic valve protection circuit corresponding to the charging bin.
Optionally, the controller is a micro control unit MCU.
This specification provides a precious solenoid valve protection method of sharing charges, precious charging device of sharing charges includes a plurality of storehouses of charging, sharing treasured and the solenoid valve of charging, and every storehouse of charging corresponds a sharing treasured that charges, is equipped with a solenoid valve in every storehouse of charging, and the solenoid valve is used for with the sharing treasured that charges pops out the storehouse of charging, its characterized in that, charging device is equipped with switch, controller and solenoid valve protection circuit, and solenoid valve protection circuit connects switch, controller and solenoid valve, include:
the controller responds to a use instruction of a shared charger in each charging bin, and acquires a voltage value of the electromagnetic valve protection circuit corresponding to the charging bin;
and after the voltage value is determined to be lower than the set threshold value, determining that the current in the electromagnetic valve protection circuit corresponding to the charging bin is overloaded, and taking a power switch in the electromagnetic valve protection circuit corresponding to the charging bin as a target switch to be switched off.
Optionally, after the voltage value is lower than the set threshold, determining that a current overload in the electromagnetic valve protection circuit corresponding to the charging bin occurs, and turning off a power switch in the electromagnetic valve protection circuit corresponding to the charging bin as a target switch, specifically including:
and in response to the fact that the time length that the voltage value is lower than the set threshold value exceeds a first set time length, determining that the current in the electromagnetic valve protection circuit corresponding to the charging bin is overloaded, and disconnecting the target switch.
Optionally, the method further comprises:
after the fact that the continuous opening duration of the target switch reaches a second set duration is determined, closing the target switch;
and responding to the fact that the voltage value of the electromagnetic valve protection circuit corresponding to the charging bin is still lower than the set threshold value, determining that the charging bin has a fault, and sending a fault repair request aiming at the charging bin to a preset shared charging treasure maintenance platform so as to repair the charging bin through the shared charging treasure maintenance platform.
Optionally, determining that the charging bin has a fault in response to that the voltage value of the electromagnetic valve protection circuit corresponding to the charging bin is still lower than the set threshold, specifically including:
closing the target switch for the Nth time after the fact that the opening duration of the target switch reaches a second set duration is determined, and the first set time length is redetermined, after the redetermined first set time length, the voltage value of the electromagnetic valve protection circuit corresponding to the charging bin is determined to be still lower than the set threshold value, the target switch is switched off, and after the second set time length, closing the target switch for the (N + 1) th time until the redetermined first set time length is lower than the specified time length, the voltage value of the electromagnetic valve protection circuit corresponding to the charging bin is still lower than the set threshold value, the charging bin is determined to have faults, and the first set time length redetermined when the target switch is closed for the (N + 1) th time is shorter than the first set time length redetermined when the target switch is closed for the Nth time, wherein N is a positive integer.
This specification provides a precious solenoid valve protection device of sharing charges, precious charging device of sharing charges includes a plurality of storehouses of charging, sharing treasured and the solenoid valve that charges, and every storehouse of charging corresponds a sharing treasured that charges, is equipped with a solenoid valve in every storehouse of charging, and the solenoid valve is used for with the sharing treasured that charges pops out the storehouse of charging, its characterized in that, charging device be equipped with switch solenoid valve protection device and solenoid valve protection circuit, solenoid valve protection circuit connect switch, solenoid valve protection device and solenoid valve include:
the acquisition module is used for responding to a use instruction aiming at a shared charger in each charging bin by the electromagnetic valve protection device and acquiring a voltage value of an electromagnetic valve protection circuit corresponding to the charging bin;
and the disconnection module is used for determining current overload in the electromagnetic valve protection circuit corresponding to the charging bin after the voltage value is lower than the set threshold value, and disconnecting the power switch in the electromagnetic valve protection circuit corresponding to the charging bin as a target switch.
The present specification provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the above-described shared power bank solenoid valve protection method.
The technical scheme adopted by the specification can achieve the following beneficial effects:
in the charging device, the electromagnetic valve protection method, and the electromagnetic valve protection device for a shared power bank provided in this specification, the controller may, for each charging bin, respond to a usage instruction for the shared power bank in the charging bin, obtain a voltage value of an electromagnetic valve protection circuit corresponding to the charging bin, determine that a current in the electromagnetic valve protection circuit corresponding to the charging bin is overloaded after the voltage value is lower than a set threshold, and turn off a power switch in the electromagnetic valve protection circuit corresponding to the charging bin as a target switch.
According to the method, the controller can determine whether the current in the electromagnetic valve protection circuit is overloaded or not by monitoring the voltage value in the electromagnetic valve protection circuit, so as to determine whether the electromagnetic valve is likely to have a problem or not, and if the current in the electromagnetic valve protection circuit is determined to be overloaded, the power switch is switched off, so that the purpose of protecting the electromagnetic valve is achieved, and the efficiency of protecting the electromagnetic valve is improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the specification and are incorporated in and constitute a part of this specification, illustrate embodiments of the specification and together with the description serve to explain the specification and not to limit the specification in a non-limiting sense. In the drawings:
fig. 1A to fig. 1B are schematic diagrams of a charging device sharing a charger baby according to the present disclosure;
fig. 2 is a schematic flow chart of a method for protecting a solenoid valve of a shared power bank in this specification;
FIG. 3 is a schematic diagram of a solenoid valve protection circuit provided herein;
fig. 4 is a schematic flowchart illustrating a process in which a controller controls a target switch to close multiple times;
fig. 5 is a schematic diagram of a solenoid valve protection device sharing a charger baby in this specification.
Detailed Description
In order to make the objects, technical solutions and advantages of the present disclosure more clear, the technical solutions of the present disclosure will be clearly and completely described below with reference to the specific embodiments of the present disclosure and the accompanying drawings. It is to be understood that the embodiments described are only a few embodiments of the present disclosure, and not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present specification without any creative effort belong to the protection scope of the present specification.
The technical solutions provided by the embodiments of the present description are described in detail below with reference to the accompanying drawings.
The present specification provides a charging device sharing a power bank, as shown in fig. 1A to 1B.
Fig. 1A to fig. 1B are schematic diagrams of a charging device sharing a charger baby according to the present disclosure.
Fig. 1A is a schematic diagram of the shared power banks on the charging device of the shared power bank being borrowed, and fig. 1B is a schematic diagram of the shared power banks on the charging device of the shared power bank being located in the charging bin for charging. Charging device can include a plurality of storehouses that charge, sharing treasured and the solenoid valve of charging, and every storehouse that charges corresponds a sharing treasured that charges, is equipped with a solenoid valve in every storehouse that charges, and the solenoid valve is used for popping out the treasured storehouse that charges with the sharing, and charging device is equipped with switch, controller and solenoid valve protection circuit, solenoid valve protection circuit connection switch, controller and solenoid valve.
The controller in the charging device can monitor the voltage in the electromagnetic valve protection circuit and can also control the disconnection and the connection of a power switch in the electromagnetic valve protection circuit, the electromagnetic valve protection circuit is electrified after the power switch is closed, the electromagnetic valve can pop the shared charging treasure out of the charging bin, and the electromagnetic valve protection circuit is powered off to protect the electromagnetic valve after the power switch is disconnected.
The following description will be made of a method for protecting a solenoid valve of a shared power bank provided in the present specification, standing on the perspective of a controller.
Fig. 2 is a schematic flow chart of a method for protecting an electromagnetic valve of a shared power bank in this specification, which specifically includes the following steps:
s201: and for each charging bin, responding to a use instruction of the shared charging treasure in the charging bin, and acquiring a voltage value of the electromagnetic valve protection circuit corresponding to the charging bin.
In practical Application, a user can request to use the shared charger bank through a terminal or an Application (APP) installed in the terminal, after receiving a use instruction of the user for a certain shared charger bank, the electromagnetic valve protection circuit of a charging bin where the shared charger bank is located is powered on, the electromagnetic valve starts to work to pop up the shared charger bank, and in order to avoid that the electromagnetic valve or other devices are burnt out due to current overload in the electromagnetic valve protection circuit, the controller can monitor the voltage of the electromagnetic valve protection circuit, and the electromagnetic valve and other devices are protected. The terminal mentioned here can refer to a mobile phone, a notebook computer, a tablet computer, and the like.
Based on this, the controller can respond to the use instruction of sharing the treasured that charges in this storehouse for each storehouse of charging, acquires the voltage value of the solenoid valve protection circuit that this storehouse of charging corresponds to. The term "responding to the use instruction for the shared power bank in the charging bin" means that a request of a user to use the shared power bank in the charging bin is received at this time, the user needs to use the shared power bank in the charging bin, the power switch is turned on at this time, the electromagnetic valve protection circuit is powered on, and therefore the controller needs to obtain the voltage value of the electromagnetic valve protection circuit corresponding to the charging bin at this time.
The voltage values of the electromagnetic valve protection circuits corresponding to the multiple charging bins can be monitored by one controller, or the voltage values of the electromagnetic valve protection circuits corresponding to the multiple charging bins can be monitored by multiple controllers, for example, one controller monitors the voltage value of the electromagnetic valve protection circuit corresponding to one charging bin. The number of controllers is not limited in this specification. The controller mentioned herein may be a Micro Controller Unit (MCU), or other types of controllers.
An Analog to Digital Converter (ADC) may be included in the controller, and the ADC may convert an Analog signal to a Digital signal. Therefore, the controller can acquire the voltage value of the electromagnetic valve protection circuit corresponding to the charging bin through the ADC in a Direct Memory Access (DMA) mode, acquire the voltage value of the electromagnetic valve protection circuit corresponding to the charging bin through the DMA mode, and do not need to occupy a Central Processing Unit (CPU) resource in the controller. The controller can also obtain the voltage value of the electromagnetic valve protection circuit corresponding to the charging bin at regular time, that is, the voltage value of the electromagnetic valve protection circuit corresponding to the charging bin is obtained at intervals, and whether the voltage value is lower than a set threshold value is judged.
It should be noted that in practical applications, the voltage value that the controller can monitor may have an upper limit, for example, assuming that the controller can only monitor voltage values up to 4 volts, the voltage of the power supply in the electromagnetic valve protection circuit is 12 volts, the voltage needs to be divided in the electromagnetic valve protection circuit, the controller determines the voltage value after voltage division, specifically, the electromagnetic valve protection circuit can also comprise at least one sampling resistor, these sampling resistors can be used to divide the voltage in the solenoid valve protection circuit, and the controller, in response to a usage command directed to the shared charger bank in the charging bay, a voltage value obtained by dividing the voltage of the electromagnetic valve protection circuit corresponding to the charging bin through at least one sampling resistor may be obtained as the obtained voltage value of the electromagnetic valve protection circuit corresponding to the charging bin, as shown in fig. 3.
Fig. 3 is a schematic diagram of a protection circuit of a solenoid valve provided in the present specification.
In fig. 3, the solenoid valve protection circuit includes 2 sampling resistors, and the 2 sampling resistors can divide the voltage in the solenoid valve protection circuit, and if the current passing through the solenoid valve is overloaded, the voltage of the power supply in the solenoid valve protection circuit will be sharply reduced, and the voltage value between the two sampling resistors will also be reduced. In this example, the solenoid valve protection circuit includes 2 sampling resistors, and the number and the resistance value of the sampling resistors may be set according to actual requirements in practical applications, which is not limited herein.
S202: and after the voltage value is lower than a set threshold value, determining that the current in the electromagnetic valve protection circuit corresponding to the charging bin is overloaded, and taking a power switch in the electromagnetic valve protection circuit corresponding to the charging bin as a target switch to be switched off.
After the controller obtains the voltage value of the electromagnetic valve protection circuit corresponding to the charging bin, whether the voltage value is lower than a set threshold value or not is determined, after the voltage value is lower than the set threshold value, the current overload in the electromagnetic valve protection circuit corresponding to the charging bin can be determined, and a power switch in the electromagnetic valve protection circuit corresponding to the charging bin is used as a target switch to be switched off.
That is to say, the method determines the current in the electromagnetic valve protection circuit by monitoring the voltage value of the electromagnetic valve protection circuit corresponding to the charging bin, that is, whether the current passing through the electromagnetic valve is overloaded or not, if the current passing through the electromagnetic valve is overloaded, the voltage in the electromagnetic valve protection circuit will drop rapidly, and the controller determines that the voltage value in the electromagnetic valve protection circuit is lower than the set threshold value, that is, the current overload in the electromagnetic valve protection circuit can be determined, and the power supply in the electromagnetic valve protection circuit is disconnected.
In addition to the above, the controller may determine whether the target switch should be turned off in various ways, for example, after a time period in which the voltage value of the solenoid valve protection circuit is lower than the set threshold value exceeds a first set time period, the target switch may be turned off. That is, after the solenoid valve protection circuit is powered on, if the voltage value of the solenoid valve protection circuit is lower than the set threshold value in the first set time period, it indicates that the current of the solenoid valve protection circuit is overloaded in the first set time period, and the controller needs to turn off the target switch. The first set time period and the set threshold mentioned here may be set according to actual requirements.
It should be noted that, in order to determine whether the current in the solenoid valve protection circuit is briefly overloaded, whether the fault in the solenoid valve protection circuit is temporary, and whether the fault disappears automatically afterwards, the controller may try to control the target switch to be closed again, so that the solenoid valve protection circuit is powered on, and determine whether the current is still overloaded. For example, if the solenoid valve is short-circuited due to water inflow, but the water inflow is very small, and the current may be restored to normal after being briefly overloaded and then the controller may control the target switch to be closed to determine whether the current is still overloaded.
Therefore, the controller can close the target switch after determining that the off duration of the target switch reaches the second set duration, and then, if the voltage value of the solenoid valve protection circuit corresponding to the charging bin is still lower than the set threshold, it can be determined that the charging bin has a fault, and send a fault repair request for the charging bin to the preset shared charger maintenance platform, so as to repair the charging bin through the shared charger maintenance platform.
The second set time period mentioned above may be set according to an actual requirement, the disconnection duration time period refers to a duration time after the controller disconnects the target switch, that is, the controller disconnects the target switch, and after the second set time period, the target switch may be closed, so that the electromagnetic valve protection circuit corresponding to the charging bin is powered on, and if the current of the electromagnetic valve protection circuit corresponding to the charging bin is still overloaded, it may be determined that the fault in the charging bin is not recovered, and since the electromagnetic valve may have a fault, and also may be a fault in a part of lines or other devices connected to the electromagnetic valve, the controller may send a fault repair request for the charging bin to the shared charger maintenance platform, and may notify a maintenance person to repair the fault in the charging bin.
The controller can directly try to close the target switch after the off duration of the target switch reaches a second set duration, and can also try to close the target switch for multiple times, and if the voltage value of the electromagnetic valve protection circuit corresponding to the charging bin is still lower than the set threshold value after the target switch is tried to be closed for multiple times, the charging bin needs to be repaired.
Specifically, the controller may close the target switch for the nth time after determining that the duration of opening of the target switch reaches the second set time, and re-determine the first set time, if the re-determined first set time is passed, the voltage value of the electromagnetic valve protection circuit corresponding to the charging bin is still lower than the set threshold, open the target switch, and close the target switch for the (N + 1) th time after the second set time, until the re-determined first set time is lower than the specified time, the voltage value of the electromagnetic valve protection circuit corresponding to the charging bin is still lower than the set threshold, and determine that the charging bin is faulty, wherein the first set time re-determined when the target switch is closed for the (N + 1) th time is shorter than the first set time re-determined when the target switch is closed for the nth time, N is a positive integer, where the specified time mentioned herein may also be set according to actual requirements, as shown in fig. 4.
Fig. 4 is a schematic flow chart of a controller that attempts to close a target switch multiple times according to the present disclosure.
As can be seen from fig. 4, after the target switch is turned off, the controller may control the target switch to be turned on for a plurality of times, after each time the target switch is turned on, the first set time length needs to be determined again, and when each time the target switch is turned off, the first set time length determined by the controller needs to be shorter than the last time. For example, if the first set time period is 1 second after the target switch is closed for the first time, the first set time period may be 0.5 second when the target switch is closed for the second time, and so on, and the first set time period should be shorter when the target switch is closed for the third time.
After each target switch is closed, if the voltage value of the electromagnetic valve protection circuit of the charging bin is still lower than the set threshold after the redetermined first set time length, namely, the current of the electromagnetic valve protection circuit of the charging bin is continuously overloaded, the controller needs to continuously control the target switch to be switched off, and after the second set time length, the target switch is controlled to be switched on again until the redetermined first set time length is lower than the specified time length, namely, the redetermined first set time length is too short, at the moment, the voltage value of the electromagnetic valve protection circuit of the charging bin is still lower than the set threshold, the charging bin can be determined to have an unrecoverable fault, and when the target switch is switched off, the charging bin is determined to have the fault, and a fault repair request for the charging bin is sent to the charger maintenance platform.
Of course, if the voltage value of the electromagnetic valve protection circuit of the charging bin exceeds the set threshold value and is not lower than the set threshold value subsequently in the process of closing the target switch for multiple times, it indicates that the current of the electromagnetic valve protection circuit of the charging bin is recovered to be normal, and it is not necessary to send a fault repair request for the charging bin to the charge pal maintenance platform.
It can be seen from the above method that the method can monitor the voltage value in the solenoid valve protection circuit corresponding to each charging bin through the controller, thereby being capable of quickly determining whether the current passing through the solenoid valve is overloaded or not, and determining whether the current passing through the solenoid valve is overloaded for a long time or not through the method, and the power switch is switched off without short overload.
In the prior art, the electromagnetic valve may be protected by a self-recovery fuse, and whether the current passing through the electromagnetic valve is overloaded may be determined by an electronic load switch and a discrete circuit, so as to achieve the effect of protecting the electromagnetic valve. By the method, a resistor does not need to be connected in series in the circuit to cause power loss, and the set threshold value can be configured in a mode of programming the controller, so that compared with the two prior arts, the method can reduce the power loss and change the condition for judging whether the current of the electromagnetic valve is overloaded.
Based on the same idea, the present specification further provides a corresponding shared charger bank solenoid valve protection device, as shown in fig. 5, in order to provide a charger device and a shared charger bank solenoid valve protection method for one or more embodiments of the present specification.
Fig. 5 is a schematic view of an electromagnetic valve protection device of a shared power bank provided in this specification, which specifically includes:
an obtaining module 501, configured to, for each charging bin, respond to a usage instruction for a shared charger in the charging bin by the electromagnetic valve protection device, and obtain a voltage value of an electromagnetic valve protection circuit corresponding to the charging bin;
a disconnection module 502, configured to determine that a current in the electromagnetic valve protection circuit corresponding to the charging bin is overloaded after the voltage value is lower than a set threshold, and disconnect a power switch in the electromagnetic valve protection circuit corresponding to the charging bin as a target switch.
Optionally, the disconnecting module 502 is specifically configured to, in response to a duration that the voltage value is lower than the set threshold exceeding a first set duration, disconnect the target switch.
Optionally, the apparatus further comprises:
a retry module 503, configured to close the target switch after it is determined that the disconnection duration of the target switch reaches a second set duration, determine that the charging bin has a fault in response to that the voltage value of the electromagnetic valve protection circuit corresponding to the charging bin is still lower than the set threshold, and send a fault repair request for the charging bin to a preset shared charger maintenance platform, so as to repair the charging bin through the shared charger maintenance platform.
Optionally, the retry module 503 is specifically configured to, after it is determined that the duration of the opening of the target switch reaches a second set duration, close the target switch for the nth time, and re-determine the first set duration, after the re-determined first set duration, determine that the voltage value of the electromagnetic valve protection circuit corresponding to the charging bin is still lower than the set threshold, open the target switch, and close the target switch for the (N + 1) th time after the second set duration, until the voltage value of the electromagnetic valve protection circuit corresponding to the charging bin is still lower than the set threshold when the re-determined first set duration is lower than the specified duration, and determine that the charging bin is faulty, where the first set duration re-determined when the target switch is closed for the (N + 1) th time is shorter than the first set duration re-determined when the target switch is closed for the nth time, n is a positive integer.
Optionally, the controller comprises an analog-to-digital converter ADC;
the obtaining module 501 is specifically configured to, in response to a use instruction for the shared power bank in the charging bin, obtain, by using the ADC, a voltage value of the electromagnetic valve protection circuit corresponding to the charging bin in a direct memory access DMA manner.
Optionally, the solenoid valve protection circuit further includes at least one sampling resistor, and the at least one sampling resistor is used for dividing voltage in the solenoid valve protection circuit;
the obtaining module 501 is specifically configured to, in response to a usage instruction for a shared power bank in the charging bin, obtain a voltage value obtained by dividing the voltage of the electromagnetic valve protection circuit corresponding to the charging bin by using the at least one sampling resistor, and use the voltage value as the obtained voltage value of the electromagnetic valve protection circuit corresponding to the charging bin.
Optionally, the controller is a micro control unit MCU.
The present specification also provides a computer-readable storage medium storing a computer program, where the computer program is operable to execute the method for protecting a solenoid valve of a shared power bank shown in fig. 2.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, the description may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the description may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only an example of the present specification, and is not intended to limit the present specification. Various modifications and alterations to this description will become apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present specification should be included in the scope of the claims of the present specification.

Claims (13)

1. A charging device of a shared charger bank comprises a plurality of charger banks, the shared charger bank and electromagnetic valves, wherein each charger bank corresponds to one shared charger bank, one electromagnetic valve is arranged in each charger bank, and the electromagnetic valves are used for ejecting the shared charger bank out of the charger banks;
the controller responds to a use instruction of a shared charger in each charging bin, acquires a voltage value of the electromagnetic valve protection circuit corresponding to the charging bin, determines current overload in the electromagnetic valve protection circuit corresponding to the charging bin after the voltage value is lower than a set threshold value, and takes a power switch in the electromagnetic valve protection circuit corresponding to the charging bin as a target switch to be switched off.
2. The charging device of claim 1, wherein the controller opens the target switch in response to a duration of time that the voltage value is below the set threshold exceeding a first set duration of time.
3. The charging device according to claim 1, wherein the controller closes the target switch after determining that the off duration of the target switch reaches a second set duration, determines that the charging bin has a fault in response to that the voltage value of the solenoid valve protection circuit corresponding to the charging bin is still lower than the set threshold, and sends a fault repair request for the charging bin to a preset shared charger maintenance platform to repair the charging bin through the shared charger maintenance platform.
4. The charging device according to claim 3, wherein the controller closes the target switch an nth time after determining that the duration of the opening of the target switch reaches a second set time, and re-determines the first set time, and after the re-determined first set time, determines that the voltage value of the solenoid valve protection circuit corresponding to the charging bin is still lower than the set threshold, opens the target switch, and closes the target switch an N +1 th time after the second set time, until the voltage value of the solenoid valve protection circuit corresponding to the charging bin is still lower than the set threshold when the re-determined first set time is lower than the designated time, and determines that the charging bin is faulty, wherein the first set time re-determined when the target switch is closed N +1 times is longer than the first set time re-determined when the target switch is closed N times, n is a positive integer.
5. The charging device of claim 1, wherein the controller comprises an analog-to-digital converter (ADC);
and the controller responds to a use instruction aiming at the shared charger treasure in the charging bin, and acquires the voltage value of the electromagnetic valve protection circuit corresponding to the charging bin by the ADC in a direct memory access DMA mode.
6. The charging device according to claim 1, wherein the solenoid valve protection circuit further comprises at least one sampling resistor, and the at least one sampling resistor is used for dividing the voltage in the solenoid valve protection circuit;
the controller responds to a use instruction of the shared charger in the charging bin, and obtains a voltage value obtained by dividing the voltage of the electromagnetic valve protection circuit corresponding to the charging bin through the at least one sampling resistor, and the voltage value is used as the obtained voltage value of the electromagnetic valve protection circuit corresponding to the charging bin.
7. A charging arrangement as claimed in any of claims 1 to 6, in which the controller is a Micro Control Unit (MCU).
8. The utility model provides a precious solenoid valve protection method of sharing charges, precious charging device of sharing charges includes a plurality of storehouses, the sharing treasured and the solenoid valve that charges that each storehouse of charging corresponds a sharing treasured that charges, is equipped with a solenoid valve in every storehouse of charging, and the solenoid valve is used for popping up the sharing treasured that charges in the storehouse of charging, its characterized in that, charging device is equipped with switch, controller and solenoid valve protection circuit, solenoid valve protection circuit connects switch, controller and solenoid valve, includes:
the controller responds to a use instruction of a shared charger in each charging bin, and acquires a voltage value of the electromagnetic valve protection circuit corresponding to the charging bin;
and after the voltage value is lower than a set threshold value, determining that the current in the electromagnetic valve protection circuit corresponding to the charging bin is overloaded, and taking a power switch in the electromagnetic valve protection circuit corresponding to the charging bin as a target switch to be switched off.
9. The method for protecting an electromagnetic valve according to claim 8, wherein after the voltage value is lower than the set threshold, determining that the current in the electromagnetic valve protection circuit corresponding to the charging bin is overloaded, and turning off a power switch in the electromagnetic valve protection circuit corresponding to the charging bin as a target switch specifically comprises:
and in response to the fact that the time length that the voltage value is lower than the set threshold value exceeds a first set time length, determining that the current in the electromagnetic valve protection circuit corresponding to the charging bin is overloaded, and disconnecting the target switch.
10. The method of protecting a solenoid valve as described in claim 8, further comprising:
after the fact that the continuous opening duration of the target switch reaches a second set duration is determined, closing the target switch;
and responding to the fact that the voltage value of the electromagnetic valve protection circuit corresponding to the charging bin is still lower than the set threshold value, determining that the charging bin has a fault, and sending a fault repair request aiming at the charging bin to a preset shared charging treasure maintenance platform so as to repair the charging bin through the shared charging treasure maintenance platform.
11. The method for protecting a solenoid valve according to claim 10, wherein determining that the charging bin has a fault in response to the voltage value of the solenoid valve protection circuit corresponding to the charging bin still being lower than the set threshold comprises:
closing the target switch for the Nth time after the fact that the opening duration of the target switch reaches a second set duration is determined, and the first set time length is redetermined, after the redetermined first set time length, the voltage value of the electromagnetic valve protection circuit corresponding to the charging bin is determined to be still lower than the set threshold value, the target switch is switched off, and after the second set time length, closing the target switch for the (N + 1) th time until the redetermined first set time length is lower than the specified time length, the voltage value of the electromagnetic valve protection circuit corresponding to the charging bin is still lower than the set threshold value, the charging bin is determined to have faults, and the first set time length redetermined when the target switch is closed for the (N + 1) th time is shorter than the first set time length redetermined when the target switch is closed for the Nth time, wherein N is a positive integer.
12. The utility model provides a sharing treasured solenoid valve protection device that charges, sharing treasured charging device that charges include a plurality of storehouses that charge, sharing charge treasured and solenoid valve, and every storehouse that charges corresponds a sharing treasured that charges, is equipped with a solenoid valve in every storehouse that charges, and the solenoid valve is used for with sharing is charged precious and is popped out the storehouse that charges, a serial communication port, charging device be equipped with switch solenoid valve protection device and solenoid valve protection circuit, solenoid valve protection circuit connect switch, solenoid valve protection device and solenoid valve include:
the acquisition module is used for responding to a use instruction aiming at a shared charger in each charging bin by the electromagnetic valve protection device and acquiring a voltage value of an electromagnetic valve protection circuit corresponding to the charging bin;
and the disconnection module is used for determining current overload in the electromagnetic valve protection circuit corresponding to the charging bin after the voltage value is lower than the set threshold value, and disconnecting the power switch in the electromagnetic valve protection circuit corresponding to the charging bin as a target switch.
13. A computer-readable storage medium, characterized in that the storage medium stores a computer program which, when executed by a processor, implements the method of any of the preceding claims 8 to 11.
CN202110129123.5A 2021-01-29 2021-01-29 Charger for sharing charger baby and electromagnetic valve protection method Pending CN112886661A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110129123.5A CN112886661A (en) 2021-01-29 2021-01-29 Charger for sharing charger baby and electromagnetic valve protection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110129123.5A CN112886661A (en) 2021-01-29 2021-01-29 Charger for sharing charger baby and electromagnetic valve protection method

Publications (1)

Publication Number Publication Date
CN112886661A true CN112886661A (en) 2021-06-01

Family

ID=76051932

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110129123.5A Pending CN112886661A (en) 2021-01-29 2021-01-29 Charger for sharing charger baby and electromagnetic valve protection method

Country Status (1)

Country Link
CN (1) CN112886661A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090103335A1 (en) * 2007-10-22 2009-04-23 Sanken Electric Co., Ltd. Overcurrent-protected switching-mode power supply
CN102916387A (en) * 2012-10-31 2013-02-06 深圳市虹远通信有限责任公司 Protection circuit for multi-port POE (power over Ethernet) power supply output shunt
CN106877281A (en) * 2017-04-14 2017-06-20 广州力控智电信息科技有限公司 A kind of bus power source with current limliting and short-circuit protection function
CN210377673U (en) * 2019-07-31 2020-04-21 深圳市倍斯特科技股份有限公司 Sharing treasured cabinet machine that charges
CN111682762A (en) * 2020-06-28 2020-09-18 阳光电源股份有限公司 Sampling circuit, sampling control method and power supply equipment
CN111722014A (en) * 2020-06-29 2020-09-29 蜂巢能源科技有限公司 Insulation detection method, insulation detection device, insulation detection medium, and electronic device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090103335A1 (en) * 2007-10-22 2009-04-23 Sanken Electric Co., Ltd. Overcurrent-protected switching-mode power supply
CN102916387A (en) * 2012-10-31 2013-02-06 深圳市虹远通信有限责任公司 Protection circuit for multi-port POE (power over Ethernet) power supply output shunt
CN106877281A (en) * 2017-04-14 2017-06-20 广州力控智电信息科技有限公司 A kind of bus power source with current limliting and short-circuit protection function
CN210377673U (en) * 2019-07-31 2020-04-21 深圳市倍斯特科技股份有限公司 Sharing treasured cabinet machine that charges
CN111682762A (en) * 2020-06-28 2020-09-18 阳光电源股份有限公司 Sampling circuit, sampling control method and power supply equipment
CN111722014A (en) * 2020-06-29 2020-09-29 蜂巢能源科技有限公司 Insulation detection method, insulation detection device, insulation detection medium, and electronic device

Similar Documents

Publication Publication Date Title
US8917061B2 (en) System and method for battery cell balancing
JP6196466B2 (en) Power supply
US20200144845A1 (en) Energy storage systems and methods for fault mitigation
US10275314B2 (en) Data transfer using backup power supply
CN111525656B (en) Battery electric energy feedback system and vehicle
CN111114386A (en) Safe charging method for electric automobile, electronic equipment and storage medium
CN111030211A (en) Battery charging and discharging control method and device, storage medium and electric vehicle
CN205016999U (en) Battery protection circuit and electrical power generating system
US20190115766A1 (en) System and method for providing bidirectional transient voltage support and power
US20190072617A1 (en) In-vehicle power supply device
CN112886661A (en) Charger for sharing charger baby and electromagnetic valve protection method
US20240178692A1 (en) Charge/discharge control method, charging device, and storage medium
CN116461386A (en) Battery control method and device
CN113022312B (en) High-voltage power-on control method, high-voltage power-on circuit and electric vehicle
CN103000966B (en) Processing method and device for charging process of mobile terminal
CN112821485A (en) Control method of battery combination system, battery combination system and unmanned device
CN107769277A (en) The charging system and method for a kind of current constant control
CN111030249A (en) Cut-off voltage control method and electronic equipment
JP2002008511A (en) Circuit breaker
CN218976347U (en) Contactor control circuit of power battery
CN110970946A (en) Power supply circuit and system
CN116231789A (en) Anti-discharge protection method for storage battery of transformer substation
CN115498747B (en) Energy storage parallel operation equipment and energy storage parallel operation method
CN217307310U (en) Battery pre-charging circuit and charging equipment
JP7365883B2 (en) Connection device for power storage 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210601