Camera battery charging management method and device, equipment and storage medium

By detecting the external device type in the camera battery charging device and prioritizing the memory card identification and data transmission, the problem of poor compatibility in the prior art is solved, and higher charging and data transmission compatibility is achieved.

CN119401589APending Publication Date: 2025-02-07SHENZHEN GREEN CONNECTION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411382999.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-27
Publication Date
2025-02-07

AI Technical Summary

Technical Problem

The existing camera battery charging devices have poor compatibility and cannot effectively identify the memory card and transmit data, resulting in some mainstream devices not being able to recognize the memory card.

Method used

After the external device is connected, it is detected within the preset time whether the accessed device is a terminal device. If it is a terminal device, a part of the current will be reserved for the identification and data transmission of the memory card, and the remaining current will be used for the camera battery. Charge; if it is not a terminal device, turn on the camera battery to charge directly.

Benefits of technology

It realizes the priority identification of memory cards and data transmission after external devices are connected, and supports charging and transmission while improving the compatibility of the camera battery charging device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119401589A_ABST
    Figure CN119401589A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of battery charging, in particular to a camera battery charging management method and device, equipment and a storage medium. The method is applied to a camera battery charging device capable of charging a camera battery and identifying a memory card. The method comprises the following steps: after external equipment is accessed, detecting whether the accessed equipment is terminal equipment or not within preset time; if the access equipment is the terminal equipment, inducing the terminal equipment to carry out memory card identification and data transmission operation, and in the current output by the access equipment, controlling to reserve a first preset current for identification and data transmission of the memory card, and adopting a residual current for charging a camera battery; and if the camera is not the terminal equipment, judging that the adapter is charged after the preset time, and controlling to directly start charging the camera battery. The compatibility of the camera battery charging device can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of battery charging, and in particular to a camera battery charging management method, device, equipment and storage medium. Background Art

[0002] Currently, some camera battery charging devices can only charge and have relatively simple functions; some camera battery charging devices only have charging functions and memory card storage functions, but do not have the functions of identifying and transmitting data with memory cards; a few camera battery charging devices have the functions of charging and transmitting data with memory cards, but the logical processing of the charging and memory card data transmission functions is not ideal, resulting in poor compatibility with memory card identification, and some mainstream computers or tablets cannot recognize the memory card through the camera battery charging device. Summary of the invention

[0003] The technical problem to be solved by the embodiments of the present invention is to provide a camera battery charging management method, device, equipment and storage medium to solve the problem of poor compatibility of camera battery charging devices in the prior art.

[0004] The present invention discloses a camera battery charging management method, which is applied to a camera battery charging device capable of charging a camera battery and identifying a memory card. The camera battery charging management method comprises:

[0005] When an external device is connected, it detects whether the connected device is a terminal device within a preset time;

[0006] If it is a terminal device, inducing the terminal device to perform memory card identification and data transmission operations, wherein, among the current output by the connected device, a first preset current is controlled to be reserved for memory card identification and data transmission, and the remaining current is used to charge the camera battery;

[0007] If it is not a terminal device, after the preset time, it is determined that it is adapter charging, and the control is directly turned on to charge the camera battery.

[0008] Optionally, the preset time is 3 to 6 seconds.

[0009] Optionally, the step of controlling to reserve a first preset current for memory card identification and data transmission, and using the remaining current to charge a camera battery includes:

[0010] A first preset current is reserved for memory card identification and data transmission;

[0011] Use the maximum power point tracking algorithm to find the maximum charging power output by the connected device;

[0012] Use the maximum charging power to charge the camera battery until the camera battery charging power requirement is met.

[0013] Optionally, the step of using a maximum power point tracking algorithm to find the maximum charging power output by the connected device includes:

[0014] Obtaining the charging current of the camera battery, and gradually increasing the charging current in steps of a second preset current;

[0015] When the voltage output by the connected device is less than the preset voltage, the current charging current of the camera battery is reduced by one step as the target charging current, and the camera battery is charged using the target charging current.

[0016] Optionally, the step of controlling to directly start charging the camera battery includes:

[0017] Inducing the connected device to output a first charging voltage, controlling to charge a camera battery with a first charging power, or to charge two camera batteries simultaneously with a second charging power;

[0018] Alternatively, inducing the connected device to output a second charging voltage, controlling to charge a camera battery with a third charging power, or charging two camera batteries simultaneously with the first charging power;

[0019] Among them, the first charging voltage is lower than the second charging voltage, the third charging power is higher than the first charging power, and the first charging power is higher than the second charging power.

[0020] The present invention also discloses a camera battery charging device, which uses the above-mentioned camera battery charging management method to perform charging management. The camera battery charging device includes an interface module, a charging circuit module, a memory card identification module and a main control chip. The charging circuit module and the memory card identification module are both connected to the interface module. The main control chip is connected to the charging circuit module, the memory card identification module and the interface module.

[0021] The interface module is used to connect to external devices;

[0022] The charging circuit module obtains electric energy through the interface module, and the charging circuit module is used to convert the obtained electric energy into a charging voltage to charge the external camera battery;

[0023] The memory card identification module is used to detect whether the connected device is a terminal device within a preset time, to induce the connected device to perform memory card identification and data transmission operations and to communicate with an external memory card, and to perform data transmission with an external device through the interface module;

[0024] The memory card identification module outputs the detection result to the main control chip. When the connected device is a terminal device, the main control chip controls the first preset current in the output current of the connected device to be reserved for the memory card identification module to identify the memory card and transmit data, controls the remaining current to be used for the charging circuit module to charge the camera battery, and when the connected device is not a terminal device, controls the charging circuit module to be directly turned on to charge the camera battery.

[0025] Optionally, the charging circuit module includes a switch tube, a fast charging protocol chip and a buck-boost unit. The switch tube is arranged between the interface module and the power input end of the fast charging protocol chip, the driving end of the switch tube is connected to the main control chip, the voltage input end of the buck-boost unit is connected to the interface module, the voltage output end of the buck-boost unit is used to connect an external camera battery, the driving end of the buck-boost unit is connected to the main control chip, and the main control chip controls the working status of the switch tube and the buck-boost unit according to the detection results.

[0026] Optionally, the switching tube is a first PMOS tube, and the charging circuit module also includes a first transistor and a pull-up resistor, the base of the first transistor is connected to the main control chip, the emitter is grounded, and the collector is connected to the gate of the first PMOS tube, one end of the pull-up resistor is connected to the gate of the first PMOS tube, and the other end is connected to the interface module, the source of the first PMOS tube is connected to the interface module, and the drain is connected to the power input end of the fast charging protocol chip.

[0027] The present invention also discloses a camera battery charging management device, comprising a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the method described above.

[0028] The present invention also discloses a computer-readable storage medium, characterized in that a computer program is stored therein, and when the computer program is executed by a processor, the processor executes the steps of the method described above.

[0029] Compared with the prior art, the camera battery charging management method provided by the embodiment of the present invention has the beneficial effect that: after the external device is connected, the camera battery charging management method of the present invention detects whether the connected device is a terminal device within a preset time. When the connected device is a terminal device, the terminal device is induced to perform memory card identification and data transmission operations, and a portion of the output current of the connected device is preferentially reserved for memory card identification and data transmission. The remaining current is used to charge the camera battery, rather than directly starting to charge the camera battery after the external device is connected. This can avoid the situation where the memory card identification and data transmission functions are directly skipped for charging after the external device is connected, and priority is given to memory card identification and data transmission after the external device is connected. At the same time, data transmission while charging is supported, so that normal charging and data transmission operations can be performed after the external device is connected, thereby improving the compatibility of the camera battery charging device. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] The scheme of the present invention will be further described in detail below with reference to the accompanying drawings and embodiments, in which:

[0031] Figure 1 is a flow chart of a camera battery charging management method provided by an embodiment of the present invention;

[0032] Figure 2 is a schematic diagram of a process of performing memory card identification and camera battery charging provided by an embodiment of the present invention;

[0033] Figure 3 is a structural block diagram of a camera battery charging device provided by an embodiment of the present invention;

[0034] Figure 4 It is a structural block diagram of the charging circuit module connected to the interface module and the main control chip provided by an embodiment of the present invention;

[0035] Figure 5 It is a partial circuit diagram of the main control chip provided by an embodiment of the present invention;

[0036] Figure 6 It is a partial circuit diagram of the fast charging protocol chip provided by an embodiment of the present invention;

[0037] Figure 7 is a partial circuit diagram of a charging circuit module provided by an embodiment of the present invention;

[0038] Figure 8 is a structural block diagram of a camera battery charging management device provided by an embodiment of the present invention;

[0039] Fig. 9 It is a partial circuit diagram of a computer-readable storage medium provided by an embodiment of the present invention.

[0040] The reference numerals in the figures are:

[0041] 100. Camera battery charging device;

[0042] 110, interface module; 120, charging circuit module; 121, buck-boost unit; 1211, buck subunit; 1212, boost subunit; 122, switch tube; 123 (U2), fast charging protocol chip; 130, memory card identification module; 140 (U1), main control chip;

[0043] Q1, first PMOS tube; Q2, first transistor; Q3, second PMOS tube; Q4, second transistor; Q5, third transistor; Q6, fourth transistor; Q7, NMOS tube; R1, pull-up resistor; L1, energy storage inductor; C1, energy storage capacitor; D1, first diode; D2, second diode;

[0044] 200. Camera battery charging management equipment;

[0045] 210, memory; 220, processor;

[0046] 300. Computer readable storage medium;

[0047] 310. Computer program. DETAILED DESCRIPTION

[0048] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. Now, in conjunction with the accompanying drawings, the preferred embodiments of the present invention are described in detail.

[0049] An embodiment of the present invention provides a camera battery charging management method, which is applied to a camera battery charging device capable of charging a camera battery and identifying a memory card.

[0050] like Figure 1 As shown, the embodiment of the present invention provides a preferred embodiment of a camera battery charging management method.

[0051] refer to Figure 1 , the camera battery charging management method includes:

[0052] S110, when an external device is connected, detecting whether the connected device is a terminal device within a preset time;

[0053] S120, if it is a terminal device, inducing the terminal device to perform memory card identification and data transmission operations, wherein, among the current output by the connected device, a first preset current is controlled to be reserved for memory card identification and data transmission, and the remaining current is used to charge the camera battery;

[0054] S130: If it is not a terminal device, after a preset time, it is determined that the device is being charged by an adapter, and the camera battery is directly charged.

[0055] The camera battery charging management method of the present invention detects whether the connected device is a terminal device within a preset time after the external device is connected. When the connected device is a terminal device, the terminal device is induced to perform memory card identification and data transmission operations, and a portion of the output current of the connected device is preferentially reserved for memory card identification and data transmission, and the remaining current is used to charge the camera battery, rather than directly starting to charge the camera battery after the external device is connected. This can avoid the situation where the memory card identification and data transmission functions are directly skipped for charging after the external device is connected, and memory card identification and data transmission are preferentially recognized after the external device is connected. At the same time, data transmission while charging is supported, so that normal charging and data transmission operations can be performed after the external device is connected, thereby improving the compatibility of the camera battery charging device.

[0056] In a specific implementation scenario, when an external device is connected, the camera battery charging device communicates with the external device through an interface, detects whether the connected device outputs a handshake communication signal for memory card identification, and if a corresponding handshake communication signal is detected, determines that the connected device is a terminal device, and then communicates with the external device to induce its output voltage to perform memory card identification and data transmission operations through the camera battery charging device. After the external device outputs the voltage, the control reserves the first preset current for memory card identification and data transmission, ensures that the memory card identification and data transmission are carried out normally, and uses the remaining current to charge the camera battery.

[0057] By setting a suitable preset time to detect the connected device, the compatibility of the connected device for memory card recognition and charging is balanced. Specifically, the time for different devices to communicate with external memory cards and the time for recognition and charging are different. By setting a suitable preset time to detect the connected device, when the connected device is a terminal device, it is preferentially induced to perform memory card recognition and data transmission operations, and a part of the current is used to charge the camera battery. When the connected device is not a terminal device but an adapter, a reasonable preset time will not affect the compatibility of the camera battery charging device with different adapters, and a good balance is achieved between the charging compatibility and memory card recognition compatibility, thereby improving the compatibility of the camera battery charging device.

[0058] Specifically, the preset time set in the embodiment of the present application is 3 to 6 seconds, which can be well compatible with multiple adapters and terminal devices of different brands and models, such as mobile phones, computers, tablets or notebooks. Preferably, the preset time is set to 3.5 seconds, and the connected device is detected within 3.5 seconds. If it is not a terminal device, it is judged as adapter charging after 3.5 seconds, and the control is directly turned on to charge the camera battery.

[0059] In an optional embodiment of the present application, refer to Figure 2 The step of controlling to reserve the first preset current for memory card identification and data transmission in step S120 and using the remaining current to charge the camera battery may include:

[0060] S210, reserving a first preset current for memory card identification and data transmission;

[0061] S220, using a maximum power point tracking algorithm to find the maximum charging power output by the connected device;

[0062] S230: Charge the camera battery using the maximum charging power until the charging power requirement of the camera battery is met.

[0063] Since the output capabilities of different terminal devices are different and the external output power is limited, the first preset current is uniformly reserved to ensure that the memory card recognition and data transmission functions are normal. At the same time, the maximum charging power output by the connected device is found by using the maximum power tracking point algorithm, and the camera battery is charged with the maximum charging power, thereby ensuring that the camera battery is charged at a faster charging speed without destroying the memory card recognition and data transmission functions, so that the memory card recognition and data transmission functions and the charging function can be used to a higher degree.

[0064] In step S210, in a specific implementation scenario, different devices have different output capabilities, and the output current ranges from 500mA to 3A. The first preset current setting can be set to 300mA, which is used for normal implementation of memory card identification and data transmission functions, and is compatible with different devices for memory card identification and data transmission.

[0065] In an optional embodiment of the present application, step S220 uses a maximum power point tracking algorithm to find the maximum charging power output by the connected device, including:

[0066] Obtaining the charging current of the camera battery, and gradually increasing the charging current in steps of a second preset current;

[0067] When the voltage output by the connected device is less than the preset voltage, the current charging current of the camera battery is reduced by one step as the target charging current, and the camera battery is charged using the target charging current.

[0068] By controlling the charging current of the camera battery to gradually increase in steps of a second preset current, and then determining whether to continue adjusting the charging current based on changes in the output voltage of the connected device, a stable and efficient charging process is ensured, the maximum charging power is found, and the camera battery is charged with the maximum charging power, thereby effectively improving the charging speed.

[0069] The second preset current can be 80-150mA. Preferably, the second preset current is 100mA, and the charging current is gradually increased in steps of 100mA, which can achieve fine adjustment, so that the charging current output by the camera battery charging device gradually approaches the optimal charging current value, and stably finds the optimal charging current value to achieve the best charging efficiency, avoids the adverse effects of sudden current changes on the camera battery, and ensures that the optimal charging current value is found within a safe range, avoids excessive current from damaging the battery, and does not affect the data transmission function.

[0070] The preset voltage can be set according to the output voltage of the connected device. In a specific implementation scenario, the output voltage of the connected device is induced to be 5V, and the preset voltage can be set to 4.7V. In the process of gradually increasing the charging current, when the output voltage of the connected device is less than 4.7V, the charging current at this time is reduced by one step and used as the target charging current to ensure that the camera battery charging device charges the camera battery with the maximum charging power while realizing the memory card recognition communication. In other implementation scenarios, the preset voltage can also be 4.6V, 4.8V, etc.

[0071] In an optional embodiment of the present application, step S130 controls the step of directly starting to charge the camera battery, including:

[0072] Inducing the connected device to output a first charging voltage, controlling to charge a camera battery with a first charging power, or to charge two camera batteries simultaneously with a second charging power;

[0073] Alternatively, inducing the connected device to output a second charging voltage, controlling to charge a camera battery with a third charging power, or charging two camera batteries simultaneously with the first charging power;

[0074] Among them, the first charging voltage is lower than the second charging voltage, the third charging power is higher than the first charging power, and the first charging power is higher than the second charging power.

[0075] When the connected device is not a terminal device, it is judged as an adapter, and the connected device is induced to output a charging voltage. The camera battery charging device charges one camera battery or two camera batteries at the same time, and the entire camera charging device is in charging mode.

[0076] According to the different charging voltages output by the connected devices and the different numbers of camera batteries, different charging powers are used to charge the camera batteries, and the charging power is reasonably allocated to make the charging process faster and more efficient.

[0077] The first charging voltage and the second charging voltage can be set according to the fast charging protocol chip inside the camera battery charging device and the charging protocol supported by the connected device. In a specific implementation scenario, the connected device is induced to output a 5V voltage, and a camera battery is charged at a charging power of 8.4V*1A=8.4W, or two camera batteries are charged at a charging power of 8.4V*0.6A=5.04W; the connected device is induced to output a 9V voltage, and a camera battery is charged at a charging power of 8.4V*1.5A=12.6W, or two camera batteries are charged at a charging power of 8.4V*1A=8.4W.

[0078] like Figure 3 As shown, the embodiment of the present invention also provides a preferred embodiment of a camera battery charging device 100.

[0079] The camera battery charging device 100 applies the above-mentioned camera battery charging management method to perform charging management. Figure 3 The camera battery charging device 100 includes an interface module 110, a charging circuit module 120, a memory card identification module 130 and a main control chip 140 (U1). The charging circuit module 120 and the memory card identification module 130 are both connected to the interface module 110, and the main control chip 140 (U1) is connected to the charging circuit module 120, the memory card identification module 130 and the interface module 110.

[0080] The interface module 110 is used to connect to an external device, which may be an adapter or a terminal device such as a mobile phone, a computer, or a notebook.

[0081] The charging circuit module 120 obtains electric energy through the interface module 110 , and is used to convert the obtained electric energy into a charging voltage to charge the external camera battery.

[0082] The memory card identification module 130 is used to detect whether the connected device is a terminal device within a preset time, to induce the connected device to perform memory card identification and data transmission operations and to communicate with an external memory card, and to perform data transmission with an external device through the interface module 110;

[0083] The memory card identification module 130 outputs the detection result to the main control chip 140 (U1). When the connected device is a terminal device, the main control chip 140 (U1) controls the first preset current in the output current of the connected device to be reserved for the memory card identification module 130 to perform memory card identification and data transmission, controls the use of the remaining current for the charging circuit module 120 to charge the camera battery, and when the connected device is not a terminal device, controls the charging circuit module 120 to be directly turned on to charge the camera battery.

[0084] The camera battery charging device 100 of the embodiment of the present invention is configured to detect whether the connected device is a terminal device within a preset time by setting a memory card identification module 130. The main control chip 140 (U1) controls the operation of the charging circuit module 120 and the memory card identification module 130 according to the detection result. When the connected device is a terminal device, the first preset current is controlled to be reserved for the memory card identification module 130 to identify the memory card and transmit data, and the remaining current is controlled to be used for the charging circuit module 120 to charge the camera battery. When the connected device is not a terminal device, the charging circuit module 120 is controlled to be directly turned on to charge the camera battery, rather than directly turning on the charging of the camera battery after the external device is connected. This can avoid the situation where the memory card identification and data transmission functions are directly skipped to charge after the external device is connected, and the memory card is preferentially identified and data is transmitted after the external device is connected. At the same time, data transmission while charging is supported, so that normal charging and data transmission operations can be performed after the external device is connected, thereby improving the compatibility of the camera battery charging device 100.

[0085] In a specific implementation scenario, the memory card identification module 130 is used to detect whether the connected device is a terminal device within a preset time, and output the detection result to the main control chip 140 (U1). It can be that when the connected device is detected as a terminal device, an output level signal is fed back to the main control chip 140 (U1), and the main control chip 140 (U1) determines whether the connected device is a terminal device according to the level signal. For example, the memory card identification module 130 detects that the connected device is a terminal device and outputs a high level signal. The main control chip 140 (U1) detects the high level signal and controls the first preset current to be reserved for the storage. The memory card identification module 130 identifies the memory card and controls the use of residual current for the charging circuit module 120 to charge the camera battery; the memory card identification module 130 detects that the connected device is not a terminal device, outputs a low-level signal, and directly turns on the charging circuit module 120 to charge the camera battery; or the memory card identification module 130 detects that the connected device is a terminal device and outputs a high-level signal. The high-level signal passes through some circuits to pull down the level of the detection pin of the main control chip 140 (U1), and the main control chip 140 (U1) detects the low-level signal and determines that the connected device is a terminal device.

[0086] In an optional embodiment of the present application, reference Figure 3 and Figure 4 The charging circuit module 120 includes a switch tube 122, a fast charging protocol chip 123 (U2) and a buck-boost unit 121. The switch tube 122 is arranged between the interface module 110 and the power input end of the fast charging protocol chip 123 (U2). The driving end of the switch tube 122 is connected to the main control chip 140 (U1). The voltage input end of the buck-boost unit 121 is connected to the interface module 110. The voltage output end of the buck-boost unit 121 is used to connect to an external camera battery. The driving end of the buck-boost unit 121 is connected to the main control chip 140 (U1). The main control chip 140 (U1) controls the working state of the switch tube 122 and the buck-boost unit 121 according to the detection result.

[0087] By setting the switch tube 122, the main control chip 140 (U1) can control the conduction and cutoff of the switch tube 122 according to the detection result output by the memory card identification module 130, thereby controlling the opening or closing of the fast charging protocol chip 123 (U2), and controlling the timing of inducing the connected device to output the charging voltage, so as to realize that when the connected device is a terminal device, the memory card identification and data transmission operations are prioritized, and then the buck-boost unit 121 is turned on to avoid the camera battery charging device 100 directly skipping the memory card identification for charging operation, or when the connected device is not a terminal device but an adapter, the fast charging protocol chip 123 (U2) and the buck-boost unit 121 are directly turned on to charge the camera battery, thereby improving the compatibility of the camera battery charging device 100.

[0088] The switch tube 122 has a low on-resistance and switching time, has a fast switching speed, can quickly respond to the control of the main control chip 140 (U1), and improve circuit efficiency. In addition, the switch tube 122 is small in size and light in weight, which is conducive to miniaturization of the circuit and the camera battery charging device 100.

[0089] The buck-boost unit 121 can implement buck-boost functions to convert the electrical energy input from the interface module 110 into a suitable charging voltage to charge the camera battery.

[0090] The fast charging protocol chip 123 (U2) can communicate with the connected device through the interface module 110, induce the connected device to output a suitable charging voltage, and achieve fast charging.

[0091] In an optional embodiment of the present application, reference Figures 4 to 6The switch tube 122 is a first PMOS tube Q1, and the charging circuit module 120 also includes a first transistor Q2 and a pull-up resistor R1. The base of the first transistor Q2 is connected to the main control chip 140 (U1), the emitter is grounded, and the collector is connected to the gate of the first PMOS tube Q1. One end of the pull-up resistor R1 is connected to the gate of the first PMOS tube Q1, and the other end is connected to the interface module 110. The source of the first PMOS tube Q1 is connected to the interface module 110, and the drain is connected to the power input end of the fast charging protocol chip 123 (U2).

[0092] The first PMOS tube Q1 is used as the switch tube 122, and its input impedance is high, which means that it is less sensitive to the input signal, can effectively reduce the interference caused by the change of the input signal, and improve the stability of the circuit; secondly, the driving power of the first PMOS tube Q1 is small, which means that less energy is required when driving the first PMOS tube Q1, which helps to reduce the energy consumption of the overall circuit. The first triode Q2 and the pull-up resistor R1 are used as the driving circuit of the first PMOS tube Q1, and the circuit structure is simple.

[0093] In other embodiments, the switch tube 122 may also be an NMOS tube. Since the source of the NMOS tube is connected to the interface module 110 and has a higher voltage, its gate needs to use a higher voltage to drive the NMOS tube. Therefore, the corresponding driving circuit of the NMOS tube requires a more complex boost circuit to provide a higher voltage to drive the NMOS tube. This embodiment uses a PMOS tube as the switch tube 122 between the interface module 110 and the power input terminal of the fast charging protocol chip 123 (U2). The circuit of its corresponding driving circuit is relatively simple, which improves the reliability and stability of the switch tube control and can further reduce the overall circuit cost.

[0094] When it is necessary to directly start charging the camera battery, the main control chip 140 (U1) outputs a high-level signal, the first transistor Q2 is turned on, the gate voltage of the first PMOS tube Q1 is pulled down, the first PMOS tube Q1 is turned on, the path between the interface module 110 and the power input terminal of the fast charging protocol chip 123 (U2) is connected, and the fast charging protocol chip 123 (U2) works normally. When it is not necessary to directly start charging the camera battery, the main control chip 140 (U1) outputs a low-level signal, the first transistor Q2 is turned off, the gate voltage of the first PMOS tube Q1 is pulled up to a high level by the pull-up resistor R1, the first PMOS tube Q1 is turned off, the path between the interface module 110 and the power input terminal of the fast charging protocol chip 123 (U2) is disconnected, and the fast charging protocol chip 123 (U2) stops working.

[0095] like Figure 7 As shown, the embodiment of the present invention also provides a preferred embodiment of the buck-boost unit 121.

[0096] like Figures 5 to 7 As shown, the buck-boost unit 121 includes a buck subunit 1211, an energy storage inductor L1, an energy storage capacitor C1 and a boost subunit 1212. The driving end of the buck subunit 1211 and the driving end of the boost subunit 1212 are both connected to the main control chip 140 (U1). One end of the energy storage inductor L1 is connected to the buck subunit 1211, and the other end is connected to the boost subunit 1212, the positive electrode of the energy storage capacitor C1 and the external camera battery.

[0097] The main control chip 140 (U1) can drive the buck subunit 1211 and the boost subunit 1212 of the buck-boost unit 121 to work. The buck subunit 1211 and the boost subunit 1212 cooperate with the energy storage inductor L1 and the energy storage capacitor C1 to form a buck-boost topology to charge the external camera battery. The energy storage inductor L1 is used to prevent current mutations, and the energy storage capacitor C1 is used to prevent voltage mutations.

[0098] Specifically, refer to Figures 5 to 7 The step-down subunit 1211 includes a second PMOS tube Q3, a first diode D1, a second triode Q4, a third triode Q5 and a fourth triode Q6. The base of the second triode Q4 is connected to the main control chip 140 (U1), the collector is connected to the base of the third triode Q5 and the base of the fourth triode Q6, the emitter of the second triode Q4 and the collector of the fourth triode Q6 are grounded, the collector of the third triode Q5 is connected to the interface module 110 and the source of the second PMOS tube Q3, the emitter of the third triode Q5 is connected to the emitter of the fourth triode Q6 and the gate of the second PMOS tube Q3, the drain of the second PMOS tube Q3 is connected to the first end of the energy storage inductor L1 and the cathode of the first diode D1, and the anode of the first diode D1 is grounded.

[0099] By using the second PMOS tube Q3 as a step-down switch tube, in conjunction with the first diode D1, the energy storage inductor L1 and the energy storage capacitor C1 to achieve step-down, the second PMOS tube Q3 has a high input impedance, which means that it is less sensitive to the input signal, can effectively reduce the interference caused by the change of the input signal, and improve the stability of the circuit; secondly, the driving power of the second PMOS tube Q3 is small, which means that less energy is required when driving the second PMOS tube Q3, which helps to reduce the energy consumption of the overall circuit.

[0100] A driving circuit is formed by setting a second transistor Q4, a third transistor Q5 and a fourth transistor Q6. With the driving circuit, the main control chip 140 (U1) controls the conduction and cutoff of the second PMOS tube Q3 driven by the driving circuit, thereby achieving precise control of the second PMOS tube Q3, ensuring its stability and reliability when turned on and off, and improving the efficiency of the circuit.

[0101] During specific implementation, the second transistor Q4 and the third transistor Q5 are both NPN transistors, and the fourth transistor Q6 is a PNP transistor.

[0102] During specific operation, the main control chip 140 (U1) outputs a PWM signal. When the PWM signal is at a high level, the second transistor Q4 and the fourth transistor Q6 are turned on, the third transistor Q5 is turned off, the gate level of the second PMOS tube Q3 is pulled low, and the second PMOS tube Q3 is turned on; when the PWM signal is at a low level, the second transistor Q4 and the fourth transistor Q6 are disconnected, the third transistor Q5 is turned on, the gate level of the second PMOS tube Q3 is pulled high, and the second PMOS tube Q3 is turned off.

[0103] In other embodiments, the voltage reduction subunit 1211 may also use an NMOS tube and its driving circuit in conjunction with the first diode D1, with the gate of the NMOS tube connected to the corresponding driving circuit, the source connected to the interface module 110, and the drain connected to the first end of the energy storage inductor L1 and the cathode of the first diode D1. The main control chip 140 (U1) drives the NMOS tube to be turned on or off through the corresponding driving circuit to cooperate with the first diode D1 and the energy storage inductor L1 to achieve voltage reduction.

[0104] When an NMOS tube is used as the switch tube of the buck subunit 1211, since the source of the NMOS tube is connected to the interface module 110, the voltage is relatively high, and its gate needs to use a relatively high voltage to drive the NMOS tube. Therefore, the corresponding driving circuit of the NMOS tube requires a more complex boost circuit to provide a relatively high voltage to drive the NMOS tube. In this embodiment, a PMOS tube is used as the switch tube 122 of the buck subunit 1211, and the circuit of the corresponding driving circuit is relatively simple, which can further reduce the overall circuit cost.

[0105] refer to Figures 5 to 7 In an optional embodiment of the present application, the boost subunit 1212 includes an NMOS tube Q7 and a second diode D2, the gate of the NMOS tube Q7 is connected to the main control chip 140 (U1), the source of the NMOS tube Q7 is grounded, the drain of the NMOS tube Q7 is connected to the second end of the energy storage inductor L1 and the positive electrode of the second diode D2, and the cathode of the second diode D2 is connected to the positive electrode of the energy storage capacitor C1 and the external camera battery.

[0106] By setting the NMOS tube Q7 and the second diode D2, and cooperating with the energy storage inductor L1 and the energy storage capacitor C1 to achieve voltage boost, the main control chip 140 (U1) can achieve precise control and regulation of the NMOS tube Q7, and the circuit structure is relatively simple, wherein the second diode D2 can ensure unidirectional current flow.

[0107] The boost subunit 1212 uses an NMOS tube Q7 as the switch tube 122. The NMOS tube Q7 usually has a lower on-resistance, which means that in the on state, the NMOS tube Q7 can provide a smaller voltage drop and power consumption, which helps to improve the efficiency of the boost circuit. The driving circuit of the NMOS tube Q7 is relatively simple and is controlled by outputting a PWM signal through the main control chip 140 (U1). In the high level segment of the PWM signal, the gate level of the NMOS tube Q7 is pulled high and the NMOS tube Q7 is turned on. In the low level segment of the PWM signal, the gate level of the NMOS tube Q7 is pulled low and the NMOS tube Q7 is turned off.

[0108] In an optional embodiment of the present application, the interface module 110 may include a type-C interface and its peripheral circuits, or lightning and its peripheral circuits, etc. Preferably, the interface module 110 includes a type-C interface and its peripheral circuits, the charging circuit module 120 can obtain power from an external device through the type-C interface, and the memory card identification module 130 can transmit data with an external device through the type-C interface.

[0109] like Figure 8 As shown, the embodiment of the present invention also provides a preferred embodiment of a camera battery charging management device 200.

[0110] like Figure 8 As shown, the camera battery charge management device 200 includes a memory 210 and a processor 220. The memory 210 stores a computer program 310. When the computer program 310 is executed by the processor 220, the processor 220 performs the steps of the above method. The detailed steps can be found above and will not be repeated here.

[0111] like Fig. 9 As shown, the embodiment of the present invention also provides a preferred embodiment of a computer-readable storage medium 300.

[0112] The computer readable storage medium 300 stores a computer program 310. When the computer program 310 is executed by the processor 220, the processor 220 executes the steps of the above method. The detailed steps can be found above and will not be repeated here. In one embodiment, the computer readable storage medium 300 can be a storage chip, a hard disk, or a mobile hard disk or a USB flash drive, a CD, or other readable and writable storage tools in the terminal, or a server, etc.

[0113] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program. The program can be stored in a non-volatile computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in the present application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0114] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0115] It should be understood that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. For those skilled in the art, the technical solutions described in the above embodiments can be modified, or some of the technical features therein can be replaced by equivalents; and all these modifications and replacements should fall within the protection scope of the claims attached to the present invention.

Claims

1. A camera battery charging management method, characterized in that: Applied to a camera battery charging device capable of charging a camera battery and identifying a memory card, the camera battery charging management method comprises: When an external device is connected, it detects whether the connected device is a terminal device within a preset time; If it is a terminal device, inducing the terminal device to perform memory card identification and data transmission operations, wherein, among the current output by the connected device, a first preset current is controlled to be reserved for memory card identification and data transmission, and the remaining current is used to charge the camera battery; If it is not a terminal device, after the preset time, it is determined that it is adapter charging, and the control is directly turned on to charge the camera battery.

2. The camera battery charging management method according to claim 1, characterized in that: The preset time is 3 to 6 seconds.

3. The camera battery charging management method according to claim 1, characterized in that: The step of controlling to reserve a first preset current for memory card identification and data transmission, and using the remaining current to charge the camera battery, comprises: A first preset current is reserved for memory card identification and data transmission; Use the maximum power point tracking algorithm to find the maximum charging power output by the connected device; Use the maximum charging power to charge the camera battery until the camera battery charging power requirement is met.

4. The camera battery charging management method according to claim 3, characterized in that: The step of using the maximum power point tracking algorithm to find the maximum charging power output by the connected device includes: Obtaining the charging current of the camera battery, and gradually increasing the charging current in steps of a second preset current; When the voltage output by the connected device is less than the preset voltage, the current charging current of the camera battery is reduced by one step as the target charging current, and the camera battery is charged using the target charging current.

5. The camera battery charging management method according to claim 1, characterized in that: The step of controlling to directly start charging the camera battery includes: Inducing the connected device to output a first charging voltage, controlling to charge one camera battery with a first charging power, or to charge two camera batteries simultaneously with a second charging power; Alternatively, inducing the connected device to output a second charging voltage, controlling to charge one camera battery with a third charging power, or charging two camera batteries simultaneously with the first charging power; Among them, the first charging voltage is lower than the second charging voltage, the third charging power is higher than the first charging power, and the first charging power is higher than the second charging power.

6. A camera battery charging device, characterized in that: The camera battery charging management method according to any one of claims 1 to 5 is applied to perform charging management, wherein the camera battery charging device comprises an interface module, a charging circuit module, a memory card identification module and a main control chip, wherein the charging circuit module and the memory card identification module are both connected to the interface module, and the main control chip is connected to the charging circuit module, the memory card identification module and the interface module, wherein: The interface module is used to connect to external devices; The charging circuit module obtains electric energy through the interface module, and the charging circuit module is used to convert the obtained electric energy into a charging voltage to charge the external camera battery; The memory card identification module is used to detect whether the connected device is a terminal device within a preset time, to induce the connected device to perform memory card identification and data transmission operations and to communicate with an external memory card, and to perform data transmission with an external device through the interface module; The memory card identification module outputs the detection result to the main control chip. When the connected device is a terminal device, the main control chip controls the first preset current in the output current of the connected device to be reserved for the memory card identification module to identify the memory card and transmit data, controls the remaining current to be used for the charging circuit module to charge the camera battery, and when the connected device is not a terminal device, controls the charging circuit module to be directly turned on to charge the camera battery.

7. The camera battery charging device according to claim 6, characterized in that: The charging circuit module includes a switch tube, a fast charging protocol chip and a buck-boost unit. The switch tube is arranged between the interface module and the power input end of the fast charging protocol chip, the driving end of the switch tube is connected to the main control chip, the voltage input end of the buck-boost unit is connected to the interface module, the voltage output end of the buck-boost unit is used to connect an external camera battery, the driving end of the buck-boost unit is connected to the main control chip, and the main control chip controls the working status of the switch tube and the buck-boost unit according to the detection result.

8. The camera battery charging device according to claim 7, characterized in that: The switching tube is a first PMOS tube, and the charging circuit module also includes a first transistor and a pull-up resistor. The base of the first transistor is connected to the main control chip, the emitter is grounded, and the collector is connected to the gate of the first PMOS tube. One end of the pull-up resistor is connected to the gate of the first PMOS tube, and the other end is connected to the interface module. The source of the first PMOS tube is connected to the interface module, and the drain is connected to the power input end of the fast charging protocol chip.

9. A camera battery charging management device, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the method according to any one of claims 1 to 5.

10. A computer-readable storage medium, characterized in that: A computer program is stored, and when the computer program is executed by a processor, the processor is caused to perform the steps of the method according to any one of claims 1 to 5.