Calibration method and calibration circuit of multi-channel charger and storage medium

By comprehensively considering the detection results of the charging channel and relay circuit, calibration is performed one by one, the problem of superposition of errors in the existing charger calibration methods is solved, and the accuracy of the calibration results and the overall quality of the charger are improved.

CN119805329APending Publication Date: 2025-04-11JIANGSU DONGCHENG TOOLS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411980276.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-31
Publication Date
2025-04-11

AI Technical Summary

Technical Problem

In the existing charger calibration methods, the errors of each detection result will be superimposed, resulting in an increase in the error in the overall circuit of the charger and affecting the quality of the charger.

Method used

By comprehensively considering the detection results of the charging channel and relay circuit, the calibration results are determined, and by controlling the closing and disconnection of the relay circuit, calibration is performed one by one to ensure the accurate detection of the charging channel and relay circuit.

Benefits of technology

It effectively avoids the problem of superposition of errors in separate detection results, improves the accuracy of the charger calibration results, ensures that the overall circuit error of the charger is within an acceptable range, and improves the quality of the charger.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119805329A_ABST
    Figure CN119805329A_ABST
Patent Text Reader

Abstract

The embodiment of the invention relates to the field of chargers, and discloses a calibration method and calibration circuit of a multi-channel charger and a storage medium. The calibration method of the multi-channel charger comprises the following steps: when it is detected that a calibration mode is entered, controlling a relay loop corresponding to a charging channel in the charger to be closed; the power supply anode of the charging channel applies a first standard voltage, and the internal power supply anode of the relay loop applies a second standard voltage; reading a first digital signal corresponding to a first calibration port of the charging channel, and reading a second digital signal corresponding to a second calibration port of the relay loop; and calculating whether the voltage value corresponding to the first digital signal and the voltage value corresponding to the second digital signal meet a preset condition or not, and determining whether a problem exists in the circuit to be calibrated or not based on whether the preset condition is met or not. Problems of resistor chip mounting errors, relay faults and the like in a loop are avoided, and the condition of relatively large errors of detection results in the whole circuit of the charger can also be avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of chargers, and in particular to a calibration method, a calibration circuit and a storage medium for a multi-channel charger. Background Art

[0002] In order to ensure the normal operation of the charger, it is necessary to calibrate the charger. The calibration results can be used to determine whether there are errors in the resistance values ​​of the various circuits of the charger, whether the microcontroller test results are within the normal range, etc. If the above test results are all within a reasonable range, it means that the charger is normal.

[0003] The inventors have found that the current calibration method has at least the following problems: Due to the resistance in the circuit and the impedance of the relay, each detection result has a certain error. And because the current detection of charger-related components, such as resistance detection or single-chip microcomputer detection, is performed independently. The error in the result of each independent detection is reflected in the overall circuit of the charger, which will cause the error in the overall circuit of the charger to increase, and then cause the final calibration result to have too large an error, affecting the quality of the charger. Summary of the invention

[0004] The purpose of the embodiments of the present invention is to provide a calibration method, calibration circuit and storage medium for a multi-channel charger, which not only considers each test result individually to determine whether a fault occurs in an independent circuit, but also comprehensively considers the test results of the charging channel and the test results of the relay circuit to determine the calibration result. While avoiding problems such as resistor patch errors and relay failures in the circuit, it can also avoid the situation where the individual test results meet the requirements, but the test results in the overall circuit of the charger have large errors.

[0005] To solve the above technical problems, an embodiment of the present invention provides a calibration method for a multi-channel charger, comprising: when entering a calibration mode, controlling a relay circuit corresponding to a charging channel in the charger to close; wherein a first standard voltage is applied to the positive pole of the power supply of the charging channel, and a second standard voltage is applied to the internal positive pole of the power supply of the relay circuit; reading a first digital signal corresponding to a first calibration port of the charging channel, and reading a second digital signal corresponding to a second calibration port of the relay circuit; calculating whether a voltage value corresponding to the first digital signal and a voltage value corresponding to the second digital signal meet a preset condition, wherein the preset condition comprises: a voltage value corresponding to the first digital signal is not greater than the first standard voltage, a voltage value corresponding to the second digital signal is not greater than the second standard voltage, and a voltage value corresponding to the first digital signal and a voltage value corresponding to the second digital signal differ within a first preset range; if the preset condition is not met, the calibration of the charging channel fails; if the preset condition is met, the calibration of the charging channel ends, the relay circuit corresponding to the charging channel is controlled to be disconnected, and the relay circuit corresponding to another charging channel is controlled to be closed, and the above calibration process is repeated until all charging channels in the charger are calibrated.

[0006] An embodiment of the present invention also provides a calibration circuit for a multi-channel charger, comprising: a battery pack voltage detection circuit corresponding to each charging channel and a relay detection circuit arranged in a relay loop; the battery pack voltage detection circuit is used to read the first digital signal, and the relay detection circuit is used to detect the second digital signal, so as to implement the above-mentioned calibration method for the multi-channel charger.

[0007] An embodiment of the present invention further provides a computer-readable storage medium storing a computer program, wherein the computer program implements the above-mentioned calibration method for a multi-channel charger when executed by a processor.

[0008] Compared with the prior art, the embodiment of the present invention calibrates each charger channel separately, applies a first standard voltage to the positive power supply of the charging channel, and determines whether there is a resistor patch error problem in the charging channel based on the magnitude relationship between the voltage value corresponding to the first digital signal corresponding to the first calibration port of the charging channel and the first standard voltage. Apply a second standard voltage to the positive power supply of the internal relay circuit, and determine whether there is a relay failure problem based on the magnitude relationship between the voltage value corresponding to the second digital signal corresponding to the second calibration port of the relay circuit and the second standard voltage. At the same time, calculate whether the difference between the voltage value corresponding to the first digital signal and the voltage value corresponding to the second digital signal is within the first preset range, so as to avoid the situation where the individual detection results meet the requirements, but the error in the overall charger circuit is large, resulting in the charging effect not meeting the expectations.

[0009] In addition, when all the charging channels in the charger have completed calibration and the calibration results of all the charging channels are normal, it also includes: when any channel in the charger is inserted into a battery pack, reading the third digital signal of the first calibration port of the charging channel at this time; according to the first digital signal, the first standard voltage and the third digital signal read during the calibration process, calculating the actual voltage value of the battery pack inserted into the charging channel.

[0010] In addition, when any channel in the charger is inserted into a battery pack, it also includes: detecting a first working voltage of the positive power pole of the charging channel corresponding to the channel inserted into the battery pack, and a second working voltage of the internal positive power pole of the relay circuit corresponding to the channel inserted into the battery pack; calculating whether the difference between the first working voltage and the second working voltage is within a second preset range; if it is not within the second preset range, there is a fault in the relay circuit corresponding to the charging channel.

[0011] In addition, the first standard voltage is the same as the second standard voltage.

[0012] In addition, the first standard voltage and the second standard voltage are both 18V.

[0013] In addition, the first preset range is [-5%, +5%] of the voltage value corresponding to the first digital signal or the voltage value corresponding to the second digital signal.

[0014] In addition, the battery pack voltage detection circuit includes a first detection node connected to the first calibration port; a first basic module of the charging channel is arranged between the first detection node and the positive pole of the power supply; wherein the first basic module includes at least: a resistor patch.

[0015] In addition, the relay detection circuit includes a second detection node connected to the second calibration port; a second basic module of the relay circuit is arranged between the second detection node and the positive pole of the internal power supply; wherein the second basic module includes at least: a relay switch. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.

[0017] Figure 1 is a flow chart of a calibration method for a multi-channel charger according to an embodiment of the present invention;

[0018] Figure 21 is a schematic diagram of a detection circuit structure of a relay circuit in a calibration method for a multi-channel charger according to an embodiment of the present invention;

[0019] Figure 3 1 is a schematic diagram of a detection circuit structure of a charging channel in a calibration method for a multi-channel charger according to an embodiment of the present invention;

[0020] Figure 4 is a flow chart of a calibration method for a multi-channel charger according to an embodiment of the present invention;

[0021] Figure 5 is a schematic structural diagram of a battery pack voltage detection circuit in a calibration circuit of a multi-channel charger according to an embodiment of the present invention;

[0022] Figure 6 is a structural schematic diagram of a calibration circuit in a calibration circuit of a multi-channel charger according to an embodiment of the present invention;

[0023] Figure 7 is a structural schematic diagram of a relay driving circuit in a calibration circuit of a multi-channel charger according to an embodiment of the present invention;

[0024] Figure 8 1 is a schematic diagram of the port structure of a relay driving circuit in a calibration circuit of a multi-channel charger according to an embodiment of the present invention;

[0025] Fig. 9 1 is a schematic diagram of the port structure of a relay driving circuit in a calibration circuit of a multi-channel charger according to an embodiment of the present invention;

[0026] Fig.10 The present invention is a schematic diagram of the structure of an MCU circuit in a calibration circuit of a multi-channel charger according to an embodiment of the present invention. DETAILED DESCRIPTION

[0027] In order to make the purpose, technical scheme and advantages of the embodiments of the present invention clearer, the embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, it will be appreciated by those skilled in the art that in the embodiments of the present invention, many technical details are provided to enable the reader to better understand the present application. However, even without these technical details and various changes and modifications based on the following embodiments, the technical scheme claimed in the present application can be implemented.

[0028] The following embodiments are divided for the convenience of description and shall not constitute any limitation on the specific implementation of the present invention. The embodiments may be combined with each other and referenced to each other without contradiction.

[0029] The embodiment of the present invention relates to a calibration method for a multi-channel charger. The core of this embodiment is: when entering the calibration mode is detected, the relay circuit corresponding to one charging channel in the charger is controlled to be closed; wherein, the positive pole of the power supply of the charging channel applies a first standard voltage, and the positive pole of the internal power supply of the relay circuit applies a second standard voltage; a first digital signal corresponding to the first calibration port of the charging channel is read, and a second digital signal corresponding to the second calibration port of the relay circuit is read; whether the voltage value corresponding to the first digital signal and the voltage value corresponding to the second digital signal meet a preset condition is calculated, and the preset condition includes: the voltage value corresponding to the first digital signal is not greater than the first standard voltage, the voltage value corresponding to the second digital signal is not greater than the second standard voltage, and the voltage value corresponding to the first digital signal and the voltage value corresponding to the second digital signal differ within a first preset range; if the preset condition is not met, the calibration of the charging channel fails; if the preset condition is met, the calibration of the charging channel ends, the relay circuit corresponding to the charging channel is controlled to be disconnected, and the relay circuit corresponding to another charging channel is controlled to be closed, and the above calibration process is repeated until all charging channels in the charger are calibrated. Not only is each test result considered individually to determine whether a fault occurs in an independent circuit, but the test results of the charging channel and the test results of the relay circuit are also considered comprehensively to determine the calibration result. While avoiding problems such as resistor patch errors and relay failures in the circuit, it can also avoid the situation where the individual test results meet the requirements, but the error in the overall charger circuit is large, resulting in the charging effect not meeting expectations. The following is a specific description of the implementation details of the calibration method for the multi-channel charger of this embodiment. The following content is only the implementation details provided for the convenience of understanding and is not necessary for the implementation of this solution.

[0030] The following takes two charging channels in a multi-channel charger as an example to introduce the calibration method of the multi-channel charger in this embodiment. Figure 1 As shown, specifically including:

[0031] Step 101, entering calibration mode.

[0032] Specifically, the charger includes a calibration mode and an operating mode, and the switching between different modes can be triggered by a mechanical button, or by voice control, touch screen control, or remote control. After the charger is switched to the calibration mode, the following calibration process is performed.

[0033] Step 102, controlling the relay circuit corresponding to the first charging channel in the charger to be closed.

[0034] Specifically, each charging channel of the charger is tested separately to locate the problem more accurately. When testing a charging channel, the single-chip microcomputer controls the relay of that channel to be closed, and the relay circuit is connected to the charging channel. The single-chip microcomputer controls the relays corresponding to all channels except the charging channel to be tested to be disconnected, and the remaining charging channels are in an open circuit state.

[0035] Step 103 , a first standard voltage is applied to the positive power supply electrode BAT1+ of the charging channel, and a second standard voltage is applied to the internal positive power supply electrode VOUT+ of the relay circuit.

[0036] Step 104, reading a first digital signal corresponding to a first calibration port of the charging channel, and reading a second digital signal corresponding to a second calibration port of the relay circuit.

[0037] The detection circuit for the relay circuit is as follows: Figure 2 As shown, a second standard voltage is applied to the positive electrode VOUT+ of the internal power supply, and the second digital signal AD_relay corresponding to the second calibration port is read. Since a clear voltage is applied to the positive electrode VOUT+ of the internal power supply, the impedance in the relay circuit can be determined based on the voltage corresponding to the read second digital signal AD_relay. The detection circuit for the first charging channel is as follows: Figure 3 As shown, a first standard voltage is applied to the positive electrode BAT1+ of the power supply, and a first digital signal AD_relay1 corresponding to the first calibration port is read. Since a clear voltage is applied to the positive electrode BAT1+ of the power supply, the impedance in the charging channel can be determined based on the voltage corresponding to the read first digital signal AD_relay1. The detection circuit structure of other charging channels is similar to that of the detection circuit structure of the first charging channel.

[0038] The first standard voltage and the second standard voltage may be the same, both being 18V.

[0039] Step 105, calculate whether the voltage value corresponding to the first digital signal and the voltage value corresponding to the second digital signal meet the preset conditions. The preset conditions include: the voltage value corresponding to the first digital signal is not greater than the first standard voltage, the voltage value corresponding to the second digital signal is not greater than the second standard voltage, and the voltage value corresponding to the first digital signal and the voltage value corresponding to the second digital signal differ within the first preset range. In addition, it is also possible to analyze whether the error between the voltage value corresponding to the first digital signal and the first standard voltage is within the expected range, and whether the error between the voltage value corresponding to the second digital signal and the second standard voltage is within the expected range, thereby determining whether the chip resistors in the relay circuit and the charging channel are installed incorrectly. The first preset range in the above preset conditions can be set to [-5%, +5%] of the voltage value corresponding to the first digital signal or the voltage value corresponding to the second digital signal, that is, (U1-U2) / U1 or (U1-U2) / U2 is within ±5%, where U1 represents the voltage value corresponding to the first digital signal and U2 represents the voltage value corresponding to the second digital signal. The expected range can be set to 0 to 5% of the first standard voltage or the second standard voltage. Assuming that the first standard voltage and the second standard voltage are both 18V, then the value of (18V-U1) / 18V or (18V-U2) / 18V is within 0 to 5%. Wherein, U1 represents the voltage value corresponding to the first digital signal, and U2 represents the voltage value corresponding to the second digital signal.

[0040] If the result of step 105 is no, it means that there is a resistor patch error or relay failure in the circuit, and the process goes to step 112 to give a fault alarm. The fault alarm is completed by the charger light flashing red and green alternately, reminding relevant personnel to perform fault detection.

[0041] If the result of step 105 is yes, it means that the currently calibrated charging channel and the corresponding relay circuit have not detected any fault, and the detection result error of the first overall charging circuit of the charger is within the expected range. Enter step 106, store the first digital signal and the second digital signal, recorded as AD11 and AD12. It is convenient to use the recorded data to calculate the accurate battery pack voltage after the battery pack is inserted into the charging channel.

[0042] After the first calibration is completed, proceed to the second calibration. The calibration method of the second calibration is similar to the calibration method of the first calibration. The steps are as follows:

[0043] Step 107, controlling the relay circuit corresponding to the second charging channel in the charger to close.

[0044] Step 108 : A first standard voltage is applied to the positive power supply electrode BAT1+ of the charging channel, and a second standard voltage is applied to the internal positive power supply electrode VOUT+ of the relay circuit.

[0045] Step 109, reading a first digital signal corresponding to a first calibration port of the charging channel, and reading a second digital signal corresponding to a second calibration port of the relay circuit.

[0046] Step 110, calculate whether the voltage value corresponding to the first digital signal and the voltage value corresponding to the second digital signal meet preset conditions, the preset conditions include: the voltage value corresponding to the first digital signal is not greater than the first standard voltage, the voltage value corresponding to the second digital signal is not greater than the second standard voltage, and the voltage value corresponding to the first digital signal and the voltage value corresponding to the second digital signal differ from each other within a first preset range.

[0047] If the result of step 110 is no, it means that there is a problem such as a resistor patch error or a relay failure in the circuit, and the process goes to step 112 to generate a fault alarm.

[0048] If the result of step 110 is yes, it means that the currently calibrated charging channel and the corresponding relay circuit have not detected any fault, and the process goes to step 111 to store the first digital signal and the second digital signal, recorded as AD21 and AD22, so as to facilitate the subsequent calculation of the accurate battery pack voltage using the recorded data after the battery pack is inserted into the charging channel.

[0049] If there are more than two charging channels in the charger, the other charging channels are calibrated in turn according to the above calibration method. If all charging channels are calibrated and the first digital signal and the second digital signal read during the calibration of each charging channel are stored, the overall calibration of the charger is completed.

[0050] After the calibration is completed, if a battery pack is inserted in the charging channel, the battery pack voltage can be accurately calculated. The process is as follows Figure 4 As shown, including:

[0051] Step 401, when a battery pack is inserted into any channel of the charger, a third digital signal of the first calibration port of the charging channel is read.

[0052] Step 402, detecting a first operating voltage of a positive power source of a charging channel corresponding to a channel into which the battery pack is inserted, and a second operating voltage of a positive internal power source of a relay circuit corresponding to a channel into which the battery pack is inserted.

[0053] Step 403, calculating whether the difference between the first operating voltage and the second operating voltage is within a second preset range, where the second preset range may be ±5% of the first operating voltage or the second operating voltage.

[0054] If the result of step 403 is yes, it means that the battery pack is charged normally, and the process goes to step 404 to calculate the actual voltage value of the battery pack inserted into the charging channel according to the first digital signal, the first standard voltage and the third digital signal read during the calibration process.

[0055] Specifically, due to the existence of resistance in the circuit, there is a certain impedance after the relay is energized during charging. Therefore, a certain voltage drop will occur after the charging channel is turned on. The voltage drop problem here can be avoided by utilizing the first digital signal read in the aforementioned calibration process and the first standard voltage applied, so as to obtain an accurate battery pack voltage. The specific calculation formula for the battery pack voltage is: (third digital signal*first standard voltage) / first digital signal. For example, when the charging channel into which the battery pack is inserted is the first charging channel and the first standard voltage is 18V, the battery pack voltage U=AD3*18 / A11; wherein AD3 represents the third digital signal and A11 represents the first digital signal.

[0056] If the judgment result of step 403 is no, it means that there is a fault in the circuit, and the process goes to step 405. There is a fault in the relay circuit corresponding to the charging channel, specifically, the ignition or internal resistance increase caused by aging of the relay, which affects the charging effect, and a fault alarm is issued to facilitate relevant personnel to conduct detection.

[0057] In the above description, the step of calculating the battery pack voltage when the battery pack is inserted and the step of determining whether there is a fault in the relay circuit can be performed separately, that is, after the battery pack is inserted, the actual voltage value of the battery pack inserted into the charging channel is calculated directly according to the first digital signal, the first standard voltage and the third digital signal read during the calibration process. Alternatively, after detecting that there is no fault in the relay circuit, the charging channel is directly fed back to end the detection normally. No specific restrictions are made on the calculation step of the battery pack voltage value and the occurrence of the relay fault detection step; further, the above method can also be used to detect the fault status of the device before the multi-channel charger leaves the factory to avoid damage to the original device or incorrect installation of the device.

[0058] The step division of the above methods is only for the purpose of clear description. When implemented, they can be combined into one step or some steps can be split and decomposed into multiple steps. As long as they include the same logical relationship, they are all within the scope of protection of this patent; adding insignificant modifications to the algorithm or process or introducing insignificant designs without changing the core design of the algorithm and process are all within the scope of protection of this patent.

[0059] The embodiment of the present invention relates to a calibration circuit for a multi-channel charger, comprising: a battery pack voltage detection circuit corresponding to each charging channel and a relay detection circuit in a relay loop; the battery pack voltage detection circuit is used to read a first digital signal, and the relay detection circuit is used to detect a second digital signal, so as to implement the calibration method for the multi-channel charger described above. The relay loop detection circuit is as follows: Figure 2 As shown, the charging channel detection circuit is as follows Figure 3 shown.

[0060] The relay detection circuit includes a second detection node connected to the second calibration port; a second basic module (equivalent to the second basic module as shown in FIG. 1 ) having a relay circuit arranged between the second detection node and the internal power positive electrode VOUT+; Figure 2 Rin1, Rin2, R0 and C0 shown); wherein the second basic module at least includes: a relay switch.

[0061] The battery pack voltage detection circuit includes a first detection node connected to the first calibration port; a first basic module (equivalent to Figure 3 R11, R12, R1 and C1 shown); wherein the first basic module at least includes: a resistor patch.

[0062] The overall structure of the battery pack voltage detection circuit is as follows: Figure 5 As shown, Y0 to Y5 represent the first calibration ports of the 1st to 6th charging channels, respectively, and read the first digital signals (AD_relay1, AD_relay2, AD_relay3, AD_relay4, AD_relay5, AD_relay6) of the 1st to 6th charging channels when calibrated with standard voltage, and Y6 represents the second calibration port of the relay circuit, and reads the second digital signal (AD_relay) of the relay circuit when calibrated with standard voltage. S1 to S3 are used to indicate the switching of different charging channels.

[0063] In addition, the above calibration process is implemented by a calibration circuit, such as Figure 6 As shown, the first port of the circuit board connection port CN2 is connected to the calibration circuit power supply +5V, and the second port receives the calibration input data CALIB_IN, and the input data includes the first digital signal and the second digital signal detected by the above-mentioned battery pack voltage detection circuit and the relay loop detection circuit. The calibration circuit is turned on when the calibration mode is detected, and is in the off state when the non-calibration mode is detected.

[0064] With the battery pack inserted into the charging channel, Figure 7 The relay drive circuit shown controls the relay switch corresponding to the charging channel of the battery pack to close. The data corresponding to each port in the relay drive circuit is as follows Figures 8 to 9 As shown in the figure, each charging channel has an input port IN and an output port OUT. The relay drive circuit is connected to the MCU circuit, which is used to execute the calibration logic and the charging logic of the charger. Fig.10 As shown, the connection structure of each port in the MCU is described in detail.

[0065] It is worth mentioning that all modules involved in this embodiment are logic modules. In practical applications, a logic unit can be a physical unit, a part of a physical unit, or a combination of multiple physical units. In addition, in order to highlight the innovative part of the present invention, this embodiment does not introduce units that are not closely related to solving the technical problem proposed by the present invention, but this does not mean that there are no other units in this embodiment.

[0066] The embodiment of the present invention relates to a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, the above method embodiment is implemented.

[0067] That is, those skilled in the art can understand that all or part of the steps in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a program, and the program is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0068] Those skilled in the art will appreciate that the above embodiments are specific embodiments for implementing the present invention, and that in actual applications, various changes may be made in form and detail without departing from the spirit and scope of the present invention.

Claims

1. A calibration method for a multi-channel charger, characterized in that: include: When entering the calibration mode, the relay circuit corresponding to one charging channel in the charger is controlled to close; Wherein, a first standard voltage is applied to the positive pole of the power supply of the charging channel, and a second standard voltage is applied to the positive pole of the internal power supply of the relay circuit; Reading a first digital signal corresponding to a first calibration port of the charging channel, and reading a second digital signal corresponding to a second calibration port of the relay circuit; Calculating whether a voltage value corresponding to the first digital signal and a voltage value corresponding to the second digital signal meet a preset condition, wherein the preset condition includes: the voltage value corresponding to the first digital signal is not greater than the first standard voltage, the voltage value corresponding to the second digital signal is not greater than the second standard voltage, and the voltage value corresponding to the first digital signal and the voltage value corresponding to the second digital signal differ within a first preset range; If the preset conditions are not met, the charging channel calibration fails; If the preset conditions are met, the calibration of the charging channel is completed.

2. The calibration method of a multi-channel charger according to claim 1, characterized in that: When all charging channels in the charger have been calibrated and the calibration results of all charging channels are normal, the method further includes: When a battery pack is inserted into any channel of the charger, the third digital signal of the first calibration port of the charging channel is read; According to the first digital signal, the first standard voltage and the third digital signal read during the calibration process, the actual voltage value of the battery pack inserted into the charging channel is calculated.

3. The calibration method of a multi-channel charger according to claim 2, characterized in that: When a battery pack is inserted into any channel of the charger, it also includes: Detecting a first operating voltage of a positive power source of a charging channel corresponding to a channel into which the battery pack is inserted, and a second operating voltage of a positive power source of an internal relay circuit corresponding to a channel into which the battery pack is inserted; Calculating whether the difference between the first operating voltage and the second operating voltage is within a second preset range; If it is not within the second preset range, then there is a fault in the relay circuit corresponding to the charging channel.

4. The calibration method of a multi-channel charger according to claim 1, characterized in that: The first standard voltage and the second standard voltage are the same.

5. The calibration method of a multi-channel charger according to claim 4, characterized in that: The first standard voltage and the second standard voltage are both 18V.

6. The calibration method of a multi-channel charger according to claim 1, characterized in that: The first preset range is [-5%, +5%] of the voltage value corresponding to the first digital signal or the voltage value corresponding to the second digital signal.

7. A calibration circuit for a multi-channel charger, characterized in that: include: A battery pack voltage detection circuit and a relay detection circuit in the relay circuit are provided in correspondence with each charging channel; The battery pack voltage detection circuit is used to read the first digital signal, and the relay detection circuit is used to detect the second digital signal, so as to implement the calibration method of the multi-channel charger as described in any one of claims 1 to 6.

8. The calibration circuit of the multi-channel charger according to claim 7, characterized in that: The battery pack voltage detection circuit includes a first detection node connected to the first calibration port; The first basic module of the charging channel is arranged between the first detection node and the positive pole of the power supply; wherein the first basic module at least includes: a resistor patch.

9. The calibration circuit of the multi-channel charger according to claim 7, characterized in that: The relay detection circuit includes a second detection node connected to the second calibration port; A second basic module of the relay circuit is arranged between the second detection node and the positive pole of the internal power supply; wherein the second basic module at least includes: a relay switch.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the calibration method of the multi-channel charger according to any one of claims 1 to 6 is implemented.