Charger anti-theft method based on logic gate

By burning the encoding module and encryption module in the charger and battery, we ensure that only matching encoding and encryption information can make the charger work normally, solving the problem of easy loss of electric bicycle chargers and achieving high security, low cost and high reliability anti-theft effect.

CN119813448APending Publication Date: 2025-04-11SHENZHEN ATNEN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411938057.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-26
Publication Date
2025-04-11

AI Technical Summary

Technical Problem

When charging an electric bicycle outdoors, the charger is easily taken away or lost by others, resulting in increased losses, and the prior art is difficult to increase the anti-loss characteristics under the situation of production cost control.

Method used

The anti-theft method based on logic gate is adopted. By burning the encoding module and the encryption module, only the matching encoding and encryption information between the charger and the battery can work normally, ensuring that the charger matches the specific battery.

Benefits of technology

It effectively reduces the probability of charger loss, improves safety and reliability, and controls production costs, ensuring that the newly added anti-loss technology matches the existing assembly line.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119813448A_ABST
    Figure CN119813448A_ABST
Patent Text Reader

Abstract

The invention relates to an anti-theft method based on a logic gate, and belongs to the technical field of electric bicycle charging, the method is applied to an anti-theft charger and a battery, and the method comprises a burning coding module, the method comprises the steps of determining the connection condition of an M'phase wire which needs to be electrified and is output from an authentication head in a coding module and a battery according to a coding rule, burning an encryption module, applying burning voltage to the corresponding M-phase wire through a breakdown port, and carrying out breakdown or burning on the encryption module in a charger, so that the encryption module can be matched with one or more codes; according to the charger, charging is matched, the authentication head and the coding port are connected, if one code in the coding module is matched with one code in the encryption module, the encryption module starts the switch module to supply power to the switch oscillation module in the charger, and therefore the charger can normally work to charge the battery. The reliability is high; and the executability is high.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application of application number CN202311817884.5, application date December 26, 2023, and invention name "An anti-theft charger, its matching battery and application method". Technical Field

[0002] The invention relates to the technical field of electric bicycle charging, in particular to a charger, in particular to a charger anti-theft method based on logic gates. Background Art

[0003] Lithium batteries have the disadvantage of instability. Poor quality or aging lithium batteries may have the risk of spontaneous combustion. Therefore, various cities are promoting the action of banning electric vehicles from entering residential buildings. In many communities with a large number of electric vehicle users, electric vehicle sheds have been set up with sockets for outdoor charging of electric bicycles.

[0004] Although charging outdoors improves the overall safety of the community, sometimes the charger is taken away and used by others or even lost when the electric vehicle is charging outdoors. For a certain brand of electric vehicles that our company cooperates with, the sales volume of chargers in 2022 was about 127% of that in 2021, while the sales volume of electric vehicles was 112% of that in 2021, indicating that the loss of chargers is greater than before, and dealers have responded that some users said when they purchased them that the previous charger was lost. However, since electric bicycles themselves are a means of transportation for civilians, there is a low-priced market demand, and the charger technology is mature, the production lines of charger manufacturers are relatively solidified, and there are often problems with technology or assembly lines that have been used for five years or even earlier. Therefore, when adding anti-loss features to the power supply, the production cost needs to be controlled, and the newly added anti-loss technology should be made to match the existing assembly line as much as possible. Summary of the invention

[0005] The present invention proposes a charger anti-theft method based on logic gates, which can effectively solve the problem that electric vehicle chargers are easily lost outdoors and reduce the probability of loss. It has the characteristics of high safety, low production cost, high reliability and strong executability.

[0006] The technical solution of the present invention is as follows:

[0007] A theft prevention method based on logic gates, the method is applied to an anti-theft charger and battery, including

[0008] Burn the coding module, burn the coding module in the battery, and determine the connection between the M' phase wire output from the authentication head in the coding module and the battery according to the coding rules,

[0009] Burning the encryption module, applying a burning voltage to the corresponding M-phase conductor through the breakdown port, breaking down or burning the encryption module in the charger, so that the encryption module can match one or more codes;

[0010] Matching charging, connecting the authentication head and the encoding port, if the encoding module matches one of the codes in the encryption module, the encryption module starts the switch module to power the switch oscillation module in the charger, so that the charger can work normally to charge the battery.

[0011] As a further optimization of this solution, for the encryption module of "OR" logic, confirm the output of the encoding module, determine the power supply status of each L-phase conductor, connect the battery to the L-phase conductor with logic 1 when working, and measure the high potential point in the M' conductor through the encoding port.

[0012] As a further optimization of this solution, for the encryption module of the "OR" logic, in the burning encryption module, the output of the N-phase conductor is connected to a low potential, and the breakdown potential is first input directly to the M-phase conductor corresponding to the connection point α that needs to be burned in the N-direction conductor; then the N*-phase conductor is connected to a low potential, and the fusing voltage is input to the M-phase conductor whose logic output is 1 during operation, so that the corresponding U* fuse is blown into an open circuit.

[0013] As a further optimization of this scheme, for the encryption module of "AND" logic, the burning coding module includes first connecting the power ground to a high potential, applying a high voltage to the output end of the M' phase conductor with a logical output of 0 during operation, Vhigh applying a breakdown voltage higher than the working high voltage, applying a low voltage to the output end of the M' phase conductor with a logical output of 1 during operation, breaking down the corresponding Schottky diode, and then applying a high voltage to the output end of the M' phase conductor with a logical output of 0 during operation, connecting the power ground to a low potential, breaking down the corresponding DK*, and realizing the burning of the coding module.

[0014] As a further optimization of this solution, for the encryption module of "AND" logic, the burning encryption module includes disconnecting the outputs of the N and N* phase conductors that need to be burned, applying a normal high potential to the input of the M phase conductor where the connection point α does not exist, inputting a low potential to the M phase conductor that needs to be burned, applying a breakdown voltage to the power supply output of VCC1, and first burning the connection point α; then applying a low potential to the output end of the N* phase conductor, applying a normal high potential to VCC1, inputting a normal high potential to the input end of the M phase conductor whose logic input is 1 when working, inputting a breakdown voltage to the input end of the M phase conductor whose logic input is 0 when working, and then connecting the output end of the N phase conductor.

[0015] Working principle and beneficial effects of this application:

[0016] When charging is needed, the battery connection line of the charger is inserted into the charging interface of the battery. After the rectifier module in the traditional charger rectifies the DC, it passes through the starting resistor of the starting module to start the switch oscillation module. The enable end of the switch chip in the switch oscillation module obtains the start command. The switch oscillation module controls the MOS tube and controls the on and off of the MOS tube through the PWM signal, so that the original trigger of the current flowing through the transformer is a PWM square wave. Among them, the secondary power supply module is the core module for powering the switch oscillation module. When the charger is working stably, the secondary power supply module is required to power the switch oscillation module, so that the current in the transformer module is a changing current. The transformer in the transformer module converts the voltage, and further rectifies and filters it in the charging module to send the electrical energy to the battery to charge the battery. At the same time, the voltage feedback module can also provide feedback to the switch oscillation module through the battery power and the strength of the charging voltage to adjust the output voltage strength in the transformer module. The above is the prior art. In this case, as long as the mechanical shape of the plug is adapted, different chargers can be used for all electric bicycles.

[0017] Applying the scheme in this application, a switch module is connected in series in the secondary power supply module by means of a relay or a switch tube, wherein the switch module is controlled by an encryption module, and an encryption information is stored in the encryption module according to the number of each battery or in a randomly generated manner, and the encryption information is not necessarily unique. As long as the library of the startup information is large enough, the effect of making it difficult for the charger to match at will can be achieved. When plugging in the charging interface, the authentication head and the encoding head need to be docked, wherein the encoding module is powered by the battery core. Since the power required by the encoding module and the encryption module is extremely low relative to electric vehicles, even the power-deficient state does not affect the work of the encoding and encryption modules. The encoding module transmits the authentication code written in the factory to the encryption module in the form of an electrical signal through the authentication head. If the password matches, the encryption module starts the switch module so that the secondary power supply module normally supplies power to the switch oscillation module, thereby ensuring that the charger charges the battery normally. If the encryption module does not recognize the signal in the encoding module, the encryption module cannot be powered normally. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0019] Figure 1 This is a structural diagram of this application;

[0020] Figure 2 This is a schematic diagram of the working principle of the encryption module and the encoding module of Example 1 in this application;

[0021] Figure 3 Logic operation relationship diagram of N phase and N* phase in Examples 1 and 2;

[0022] Figure 4is an exemplary circuit schematic diagram of a control switch module circuit in Example 1;

[0023] Figure 5 This is a schematic diagram of the working principle of the encryption module and the encoding module of Example 2 in this application;

[0024] Figure 6 This is a principle block diagram of the output operation logic of multiple N-phase conductors in Example 2 of the present application. DETAILED DESCRIPTION

[0025] The following will be combined with the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0026] Embodiment 1, as attached to the specification Figure 1 As shown, an anti-theft charger includes a power charging cable, a circuit board and a battery connecting cable. The circuit board carries a charging system. The power charging cable is connected to the AC power supply end of the charging system. The battery connecting cable is connected to the charging end of the charging system. The circuit board is protected by a charger shell. The circuit board also carries an encryption module. The encryption module control is connected to a switch module. The switch module is used to control the power on and off of the charging system. The encryption module is provided with a breakdown port. The breakdown port is used to mark the encryption module. The rear end of the encryption module is connected to an authentication head. The authentication head can be connected to a battery adapted for the charger. The breakdown port and the authentication head are arranged to overlap or be separated. The authentication head is used to identify the battery number. The breakdown port is used to write authentication information in the encryption module. When the encryption module detects that the battery matches through the authentication head, the command When the switch module is turned on, the charging system is allowed to operate normally. The charging system includes a rectifier module, a transformer module, a starting module, a switch oscillator module, a secondary power supply module, a voltage feedback module and a charging module. The input of the rectifier module is connected to the AC power supply end, the output of the rectifier module is connected to the primary side of the transformer module through the starting module, the secondary side of the transformer module is connected to the charging module, the input end of the voltage feedback module is connected to the battery connector, the output end of the voltage feedback module is connected to the reference point of the switch oscillator module, the output end of the switch oscillator module is connected to the primary side of the transformer module, the starting circuit and the secondary power supply module are powered and connected to the switch oscillator module, the switch side of the switch module is arranged between the secondary power supply module and the connection point between the secondary power supply module and the starting module, and the signal receiving side of the switch module is connected to the encryption module.

[0027] A battery for an electric vehicle, which is compatible with the above-mentioned charger, comprises a battery core and a shell, wherein the battery core is connected to a charging interface, the charging interface is arranged on the surface of the shell and is compatible with the charging head of the charger, the battery core is also powered by a voltage stabilizer and connected to a coding module, the coding module is also connected to a coding port, the coding port is compatible with an authentication head, the coding module is authenticated with a compatible charger by means of the authentication head and the coding port, and a buffer processing unit is also arranged between the coding module and the coding port.

[0028] When the present application is used, the battery connection line of the charger is inserted into the charging interface of the battery core, and the authentication head needs to be inserted into the coding port on the battery. After the plug is connected to the power supply, the rectifier module rectifies the AC power into DC, and then sends a start signal to the enable end of the switch chip in the switch oscillation module through the start module. The signal output of the switch chip in the switch oscillation module is connected to the gate of the switch tube, and the square wave signal is applied to the gate voltage to control the conduction state of the switch tube. The primary side input of the transformer module is a DC signal. Due to the action of the switch tube that is always in an on-off flashing state, the input is a pulse current. The transformer module has two output sides, one connected to the charging module to charge the battery, and the other connected to the secondary power supply module. After the secondary power supply is rectified into a stable DC, it supplies power to the switch oscillation module. When the charger is working stably, the secondary power supply module is required to supply power to the switch oscillation module. The switch side of the switch module is set at the connection between the secondary power supply module and the switch oscillation module. The controlled side of the switch module is connected to the output end of the encryption module. The signal input side of the encryption module is connected to the coding module in the battery through the authentication head and the coding port to identify the signal in the coding module and determine whether to turn on the switch module. The current in the transformer module is a changing current. The charging module further rectifies and filters the pulse voltage sent by the transformer and sends the electrical energy to the battery for charging. At the same time, the voltage feedback module can also provide feedback to the switch oscillation module through the battery power and the strength of the charging voltage to adjust the intensity of the voltage in the output transformer module.

[0029] The authentication head is arranged in the battery connector of the battery connecting line, and can be connected to the charging interface of the corresponding battery along with the battery connecting line; or the authentication head shown is led out by a data line alone, and can be connected to the coding port of the battery.

[0030] The authentication head and the coding port can use a USB interface or other communication interface that can realize signal interaction, or a special connector and plug interface. A signal line can be led out from the charger as a connector. In this case, another coding port needs to be set on the battery. The advantage of this connection method is that it does not need to change the process and equipment of the existing battery connection line and charging interface. It only needs to add a process of authentication head. It is more friendly and economical for production upgrades. The original charger generally has three leads. When adding an authentication head, the original charging head can be modified, and an authentication head can be added outside the charging lead to transmit identification information. This method does not require adding a connection line. When plugging in the charger, the user only needs to insert a charging connection line into the charging interface, which is consistent with the original charging operation. This design is better for the user experience, but it is necessary to replace the production line and production process of the charging connector of the original charger, which is a big change.

[0031] As the instruction manual Figure 2 As shown, the encryption module includes an N-phase wire, on which one end of K M-phase wires are cross-arranged, and the other end of each M-phase wire is communicatively connected to an authentication head. The N-phase wire can be communicatively connected to the encoding module of the battery with the help of the M-phase wire and the authentication head. There is a connection point α between x of the K M-phase wires and the N-phase wire, and the logical relationship between each connection point α on the N-phase wire is an "OR" logic, and the remaining Kx wires are in an open circuit state.

[0032] Each battery is provided with a unique product code. When the coding port and the authentication head are connected, there is a powered wire in the output of the coding module. This powered wire is powered through the authentication head in a certain pattern corresponding to an M-phase wire. The corresponding pattern of the powered wire and the M-phase wire is related to the product code of the battery or randomly generated. There is a connection point α between the connected M-phase wire and the N-phase wire.

[0033] The coding module and encryption module apply this design. Each battery has a unique number during production. In order to facilitate the information in the coding module and keep it traceable, generally 1-3 bits in the battery can be set to parameters related to the information in the coding module. For example, K is 10 or 16. If there is only one connection point α between the M-phase wire and the N-phase wire, the optional positions of the connection point α of the M-phase wire are 10 or 16. In this case, if a person with ill intentions wants to take away someone else's charger for convenience, the probability that this charger matches the battery is 1 / 10 or 1 / 16, which increases the theft cost for the thief. Often in this case, each charger matches one battery.

[0034] If there are multiple electric vehicles in a family, for example, the user of the charger has 3 commonly used electric vehicles, the original charger of the battery has only one connection point α that matches this battery. In this case, the numbers corresponding to other vehicles can be written, such as Figure 2 As shown, insert the authentication head into a special burning device, apply a high potential to the M-phase conductor to be burned, and connect the output port of the N-phase conductor to a low potential to form a loop, such as the attached Figure 2 In the figure, the original connection point α is the corresponding point of the diode DK-3. When adding the connection point α for burning, for example, the connection points α that need to be added are D3 and DK. Through the authentication head and the read-write unit, each M-phase wire is provided with a read-write unit at the connection with the authentication head, and a strong current is applied to its diode D3 and diode DK through a large voltage. The diode in the encoding module is a Schottky barrier diode. For example, when reading the data in the encoding module normally, the input of the connection point α in the encryption module is about 3V, and 3V is a high potential at this time. During burning, the burning device inputs a voltage of more than 5V to the diode M3 and the MK wire, so that the diodes D3 and DK are broken down and become an ordinary diode, which is permanently turned on in the direction of the breakdown. At this time, it is equivalent to writing the data to be burned in the encryption module.

[0035] The encryption module also includes an N* phase conductor, an M phase conductor that does not have a connection point α with the N phase conductor, and a connection point γ with the N* phase conductor. The logical relationship between each connection point γ on the N* phase conductor is an "OR" logic, and the connection relationship between the remaining M phase conductors and the N* phase conductor is in an open circuit state. The high potential of the N* phase conductor can pull the N phase conductor to a low potential or directly put the switch module into an open circuit state.

[0036] The N* phase conductor can increase the stability of the encryption module. For example, when the user inputs a high potential in all M1-MK, if there is no N* phase conductor, a high potential will be output at the output port of the N phase conductor. Adding the N* phase conductor design can prevent this from happening. For example, if the corresponding encoding module input and output are inserted as M3 phase conductors, at this time the diode D3 is in the on state and the diode D3* is in the off state, then the N phase output is a high potential, but the N* phase output is a low potential. At this time, the switch module can be triggered, but if there is a cracked battery, the encoding module does not exist or the encoding module has been modified, and each or multiple outputs are high potential. If there is no N* phase conductor, the N phase conductor will be forcibly turned on. If the N* phase conductor is added, as long as there is an unwritten code in the output, the N phase output bit will be forcibly pulled down, causing the switch module to be cut off. In one embodiment, if Figure 2As shown, for example, when the inputs of the M2 and M3 wires are both high potential, there is a correct code, which can trigger the N phase wire to output a high potential start signal. At this time, M2 is not the code corresponding to this charger, so D2 inputs a high potential to cut off U2* inputs a high potential to pull up the potential of the N* phase wire. At this time, the N phase wire and the N* phase wire output 1 at the same time, but as shown in the attached Figure 3 As shown in the figure, N* reverse and N output low potential after "AND" operation. Or set the priority of N* phase conductor signal higher than N phase, as shown in the figure. Figure 4 As shown, although N outputs 1, as long as the N* phase outputs 1, the switch tube Q1 is turned on, and the resistor R8 is much smaller than R7, the switch tube Q1 will invalidate the input signal of the N phase wire. In short, the logic is that as long as the N* phase outputs a low potential, the high potential of the N phase wire will be invalidated. The above are just two examples, and there are other such logical connections.

[0037] The encoding module includes z L-phase conductors, each L-phase conductor is parallel to an L*-phase conductor with an opposite potential thereto, and the encoding module also includes K M'-phase conductors, wherein each M'-phase conductor corresponds to each M-phase conductor one by one, and the M'-phase conductor is connected to the M-phase conductor by means of the encoding port and the authentication head, the L-phase conductor and the L*-phase conductor cross the M'-phase conductor but are insulated and isolated, and there are z connection points β at the intersection of each M'-phase conductor with the L-phase conductor and the L*-phase conductor, and the logical relationship between each connection point β on the M'-phase conductor is "AND" logic, and there is only one conduction point for each M'-phase conductor and each pair of L-phase conductors and their corresponding L*-phase conductors, and the arrangement of the conduction points of each M'-phase conductor with the L-phase conductor and the L*-phase conductor is different, and the state of the connection regulator of each L-phase conductor in the encoding module corresponding to each battery is related to the product code of the battery or is randomly generated, and when the encoding port of the battery is docked with the authentication head of the corresponding charger, the M'-phase conductor is an energized conductor.

[0038] As attached Figure 2The upper part of the , at this time, each M' phase wire is in a connection relationship with , so it corresponds to the input of the L phase wire of an encoding module. Each M' wire is connected to multiple L and L* wires in a different way. Then only one of the M' wires corresponds to the output high potential, and the others are low potential. The wiring conditions of the L phase wires in each battery are different, that is, the welding points are different, so the output of each line is different. In order to make the connection point β clear, an interlaced and step-by-step reduction connection method is adopted. For example, 16 M' phase wires are connected to the L1 phase , the connection point β of the first 8 lines is at L1, and the connection point β of the last 8 lines is at L1*; for the L2 phase, the connection point β of M'1-M'4 and M'9-M'12 is at L2, and the remaining connection points β are at L2*; for the L3 phase, the connection point β of M'1-M'2, M'5-M'6, M'9-M'10, M'13-M'14 and M'17-M'18 is at L3, and the others are at L3*; for the L4 phase, one connection point β is alternately at L4, the other is at L4*, and so on.

[0039] K = 128 or 1024, the position of the energized M-phase conductor is related to some bits in the battery product code. Generally, a decimal integer is used, so that it can correspond to one bit in the serial number. If K is 10, if a household connects 5 batteries with different codes, that is, 5 connection points α, if others use the charger, the probability of use is 1 / 2; when K = 128, even if there are 10 connection points α, the probability of others using it is 1 / 10. Such a low probability matching rate can already increase the cost of theft to the cost of buying a new charger. If K is 1024, the matching rate is even lower.

[0040] Embodiment 2,

[0041] An anti-theft charger comprises a power charging cable, a circuit board and a battery connecting cable. The circuit board carries a charging system. The power charging cable is connected to the AC power supply end of the charging system. The battery connecting cable is connected to the charging end of the charging system. The circuit board is protected by a charger shell. The circuit board also carries an encryption module. The encryption module control is connected to a switch module. The switch module is used to control the power on and off of the charging system. The encryption module is provided with a breakdown port. The breakdown port is used to mark the encryption module. An authentication head is connected to the rear end of the encryption module. The authentication head can be connected to a battery adapted for the charger. The breakdown port and the authentication head are arranged to overlap or be separated. The authentication head is used to identify the battery number. The breakdown port is used to write authentication information in the encryption module. When the encryption module detects that the battery matches through the authentication head, the command switch module is turned on to allow the charging system to operate normally.

[0042] The authentication head is arranged in the battery connector of the battery connecting line, and can be connected to the charging interface of the corresponding battery along with the battery connecting line;

[0043] Alternatively, the authentication head shown is led out by a data line alone and can be connected to the coding port of the battery.

[0044] The charging system includes a rectifier module, a transformer module, a starting module, a switch oscillator module, a secondary power supply module, a voltage feedback module and a charging module. The input of the rectifier module is connected to the AC power supply end, the output of the rectifier module is connected to the primary side of the transformer module through the starting module, the secondary side of the transformer module is connected to the charging module, the input end of the voltage feedback module is connected to the battery connector, the output end of the voltage feedback module is connected to the reference point of the switch oscillator module, the output end of the switch oscillator module is connected to the primary side of the transformer module, the starting circuit and the secondary power supply module are connected to the switch oscillator module, the switch side of the switch module is arranged between the secondary power supply module and the connection point between the secondary power supply module and the starting module, and the signal receiving side of the switch module is connected to the encryption module.

[0045] The above principle is the same as that of Embodiment 1 and will not be described in detail here.

[0046] As the instruction manual Figure 3 As shown, the encryption module includes y N-phase wires and K M-phase wires. There are x connection points α at the intersection of each N-phase wire and the M-phase wire. The control logic of the x connection points α on the potential state of the N-phase wire is "AND" logic.

[0047] An electric vehicle battery, each battery is provided with a unique product code, a coding module comprises x M'-phase conductors that can be energized, the energized M'-phase conductors correspond to the positions of x M-phase conductors with connection points α in an N-phase conductor in an encryption module in a charger, after a coding port and an authentication head are connected, the energized x M'-phase conductors in the coding module are powered on for x connection points α in an N-phase conductor through the x M-phase conductors in the encryption module, a voltage stabilizing module further leads out y conductors at the coding port, and the y conductors are connected to y power supply connectors corresponding to the y N-phase conductors in the encryption module through the coding port and the authentication head.

[0048] An N'-phase conductor is also arranged under each N-phase conductor. If there is no M-phase conductor with a connection point α with an N-phase conductor, then there is a connection point α* between the M-phase conductor and the N'-phase conductor corresponding to the N-phase conductor, wherein the control logic of the Kx connection points for the potential state of the N'-phase conductor is an "OR" logic. When the N'-phase conductor is energized to a high potential, the corresponding N-phase conductor's power-on command for the switch module will be shielded. Each N-phase conductor leads out a power supply connector at one end and is communicatively connected to the authentication head.

[0049] The connection point between the N-phase conductor and the M-phase conductor is a selectable on-off structure. The selectable on-off structure is in an open circuit state in an original state, and its on-off state can be modified manually.

[0050] The relationship between the connection points in the N-phase conductor is an AND gate. When each connection point corresponds to a high potential, the N-phase conductor outputs a high potential. For example, for 10 M-phase conductors, M2, M4 and M10 conductors are provided with connection points α. When 2, 4 and 10 are high potentials, the N1 phase outputs a high voltage. As long as one of the M-phase conductors corresponding to the connection point α is at a low potential, the voltage source VCC1 will be short-circuited, thereby pulling down the output of N1.

[0051] If a matching battery is not connected, when the M-phase wire at connection point α is connected to a low potential, the N1 phase outputs a low potential; when there is no connection point α, but there is a connection point α* at the N' phase wire, a high potential is input, and the voltage will be applied to the N' phase output. Since the priority of the N' phase is greater than that of the N phase, the output will be pulled down to ensure that the switch is controlled by the encryption module.

[0052] The switch structure can be selected as two opposite diodes. Schottky barrier diodes can be used, or fuses, MOS tubes, etc. can be used.

[0053] Each M-phase conductor is provided with a read-write unit at the connection with the authentication head. The read-write unit facilitates writing of the charger identification code and increases reliability.

[0054] like Figure 5 As shown, multiple N-phase wires are pre-stored in the charger. When it is necessary to add a battery code to be identified, the connection point α can be written in the blank N-phase wire, and a higher voltage than normal operation is connected to the interface corresponding to VCC1. A high potential is connected to the M-phase wire without the connection point α to ensure that there is no large voltage between VCC1 and the M-phase wire that does not need to be written, and a low voltage is applied to the M-phase wire that needs to be written to break down the Schottky barrier diode to form a connection point α.

[0055] When writing the connection point α*, a normal high potential is connected to VCC1, and a strong voltage higher than normal operation is input to the M-phase wire where the connection point α* needs to be written, so as to break down the diode at the connection point α*.

[0056] Example 3, as attached to the specification Figure 6 As shown, a charger anti-theft method includes:

[0057] Burn the coding module in the battery, and determine the connection between the M' phase wire output from the authentication head in the coding module and the battery according to the coding rules.

[0058] For the connection method in Example 1, determine the power supply status of each L-phase wire, and connect the battery to the L-phase wire whose logic is 1 during operation;

[0059] For the connection method in Example 2, the power ground is first connected to a high potential, a high voltage is applied to the output end of the M' phase conductor with a logic output of 0 during operation, Vhigh applies a breakdown voltage higher than the working high voltage, a low voltage is applied to the output end of the M' phase conductor with a logic output of 1 during operation, and the corresponding Schottky diode is broken down, and then a high voltage is applied to the output end of the M' phase conductor with a logic output of 0 during operation, the power ground is connected to a low potential, and the corresponding DK* is broken down to achieve the burning of the encoding module.

[0060] Apply a burning voltage to the corresponding M-phase conductor through the breakdown port to break down or burn the encryption module in the charger so that the encryption module can match one or more codes;

[0061] For Example 1, the output of the N-phase conductor is connected to a low potential, and a breakdown potential is first input directly to the M-phase conductor corresponding to the connection point α that needs to be burned in the N-direction conductor; then the N*-phase conductor is connected to a low potential, and a fusing voltage is input to the M-phase conductor whose logic output is 1 during operation, so that the corresponding U* fuse is blown to open the circuit.

[0062] For Example 2, the outputs of the N and N* phase conductors that need to be burned are disconnected, and a normal high potential is applied to the input of the M phase conductor where the connection point α does not exist, a low potential is input to the M phase conductor that needs to be burned, and a breakdown voltage is applied to the power supply output of VCC1. The connection point α is burned first; then a low potential is applied to the output end of the N* phase conductor, a normal high potential is applied to VCC1, a normal high potential is input to the input end of the M phase conductor whose logic input is 1 during operation, a breakdown voltage is input to the input end of the M phase conductor whose logic input is 0 during operation, and then the output end of the N phase conductor is connected.

[0063] Connect the authentication head and the encoding port. If the encoding module matches one of the codes in the encryption module, the encryption module starts the switch module to power the switch oscillation module, so that the charger can work normally to charge the battery.

[0064] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0065] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.

Claims

1. A theft prevention method based on logic gates, which is applied to an anti-theft charger and battery, characterized in that: include Burn the coding module, burn the coding module in the battery, and determine the connection between the M' phase wire output from the authentication head in the coding module and the battery according to the coding rules, Burning the encryption module, applying a burning voltage to the corresponding M-phase conductor through the breakdown port, breaking down or burning the encryption module in the charger, so that the encryption module can match one or more codes; Matching charging, connecting the authentication head and the encoding port, if the encoding module matches one of the codes in the encryption module, the encryption module starts the switch module to power the switch oscillation module in the charger, so that the charger can work normally to charge the battery.

2. The anti-theft method based on logic gate according to claim 1, characterized in that: For the encryption module with "OR" logic, confirm the output of the encoding module, determine the power supply status of each L-phase conductor, connect the battery to the L-phase conductor with logic 1 during operation, and measure the high potential point in the M' conductor through the encoding port.

3. The anti-theft method based on logic gate according to claim 1, characterized in that: For the encryption module of "OR" logic, in the burning encryption module, the output of the N-phase conductor is connected to a low potential, and the breakdown potential is first input to the M-phase conductor corresponding to the connection point α that needs to be burned directly to the N-direction conductor; then the N*-phase conductor is connected to a low potential, and the fusing voltage is input to the M-phase conductor that has a logic output of 1 during operation, so that the corresponding U* fuse is blown into an open circuit.

4. The anti-theft method based on logic gate according to claim 1, characterized in that: For the encryption module of "AND" logic, the burning coding module includes first connecting the power ground to a high potential, applying a high voltage to the output end of the M' phase wire with a logic output of 0 during operation, applying a breakdown voltage higher than the working high voltage to Vhigh, applying a low voltage to the output end of the M' phase wire with a logic output of 1 during operation, breaking down the corresponding Schottky diode, and then applying a high voltage to the output end of the M' phase wire with a logic output of 0 during operation, connecting the power ground to a low potential, breaking down the corresponding DK*, and realizing the burning of the coding module.

5. The anti-theft method based on logic gate according to claim 1, characterized in that: For the encryption module of "AND" logic, the burning encryption module includes disconnecting the outputs of the N and N* phase wires that need to be burned, applying a normal high potential to the input of the M phase wire where the connection point α does not exist, inputting a low potential to the M phase wire that needs to be burned, applying a breakdown voltage to the power supply output of VCC1, and first burning the connection point α; then applying a low potential to the output end of the N* phase wire, applying a normal high potential to VCC1, inputting a normal high potential to the input end of the M phase wire whose logic input is 1 during operation, inputting a breakdown voltage to the input end of the M phase wire whose logic input is 0 during operation, and then connecting the output end of the N phase wire.