Two-wire authentication chip communication method and device

Through the two-wire authentication chip communication method, the two-way signal transmission is achieved using power signal coding, which solves the problem of many contact points and complex structures in the prior art, reduces costs and simplifies the communication path.

CN119248682APending Publication Date: 2025-01-03JISIXIN MICROELECTRONICS (GUANGDONG) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411299103.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-18
Publication Date
2025-01-03

AI Technical Summary

Technical Problem

When existing certification chips communicate with host devices, the power supply lines and communication lines are separated, resulting in many contact points and complex structures, increasing the cost in the field of consumables.

Method used

The two-wire authentication chip communication method is adopted to electrically connect the two contacts between the main control circuit and the authentication circuit, and the two-way signal transmission is achieved by encoding the power signal, reducing the number of contacts in the system.

Benefits of technology

On the basis of ensuring bidirectional data transmission, the number of contacts is reduced, cost is saved, and the signal path is directly compressed into the power path.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119248682A_ABST
    Figure CN119248682A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a two-wire type authentication chip communication device and method, and relates to the technical field of electronic equipment. The authentication chip communication device comprises a main control circuit and an authentication circuit, the main control circuit is provided with a first contact and a second contact, and the authentication circuit is provided with a third contact and a fourth contact. The main control circuit comprises a battery, a main control chip and a switch module; wherein the first pin of the main control chip and the first end of the switch module are electrically connected with one end of the battery; a second pin of the main control chip is electrically connected with a second end of the switch module; a third pin of the main control chip and the other end of the battery are electrically connected with the second contact; the third end of the switch module is electrically connected with the first contact, and the second end of the switch module is a control end; the authentication circuit includes: an authentication chip; wherein the first pin of the authentication chip is electrically connected with the third contact, and the second pin of the authentication chip is electrically connected with the fourth contact. The cost of the authentication chip communication device can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the technical field of electronic equipment, and in particular to a two-wire authentication chip communication method and device. Background Art

[0002] In our daily life and work, we often use a large number of consumable products, such as ink cartridges, e-cigarette cartridges, various filters, medical consumables, etc.

[0003] In the prior art, in order to better control the quality of consumable products, various manufacturers usually add authentication chips to consumable products, and use the authentication chips to enable the host device to authenticate the consumable products, thereby achieving quality control of the consumable products.

[0004] However, the inventors found that the power supply circuit and the communication circuit of the existing authentication chip are separated during the communication process with the host device, resulting in more contact points between the authentication chip and the host device and a more complex structure. This communication method is not conducive to cost control in the field of consumables with large quantities.

[0005] It should be noted that the above content is not necessarily prior art, nor is it intended to limit the scope of patent protection of this application. Summary of the invention

[0006] The embodiments of the present application provide a two-wire authentication chip communication method and device to solve or alleviate one or more of the technical problems mentioned above.

[0007] One aspect of an embodiment of the present application provides a two-wire authentication chip communication device, the authentication chip communication device comprising a main control circuit and an authentication circuit, the main control circuit having a first contact and a second contact, the authentication circuit having a third contact and a fourth contact, the two contacts of the main control circuit being electrically connected to the two contacts of the authentication circuit respectively; The main control circuit includes: a battery, a main control chip, and a switch module; The first pin of the main control chip and the first end of the switch module are both electrically connected to one end of the battery; the second pin of the main control chip is electrically connected to the second end of the switch module; the third pin of the main control chip and the other end of the battery are both electrically connected to the second contact; the third end of the switch module is electrically connected to the first contact, and the second end of the switch module is a control end; The authentication circuit includes: an authentication chip; The first pin of the authentication chip is electrically connected to the third contact, and the second pin of the authentication chip is electrically connected to the fourth contact.

[0008] Optionally, when the main control circuit sends data to the authentication chip, the main control chip controls the switch module to open and close in a first preset manner, generates a first signal, and transmits the first signal to the authentication chip through two contacts of the main control circuit; After receiving the first signal, the authentication chip decodes the first signal to obtain the data sent by the main control circuit.

[0009] Optionally, the first signal includes at least one pulse signal, each pulse signal is used to represent a data to be sent, and after receiving the first signal, the authentication chip measures the high-level pulse width and the low-level pulse width in each pulse signal respectively, and determines the data corresponding to each pulse signal according to the measurement result, wherein when the high-level pulse width and the low-level pulse width in the pulse signal meet the preset conditions, the data corresponding to the pulse signal is determined to be "1"; when the high-level pulse width and the low-level pulse width in the pulse signal do not meet the preset conditions, the data corresponding to the pulse signal is determined to be "0".

[0010] Optionally, when the main control circuit reads data from the authentication chip, the main control chip controls the switch module to open and close in a second preset manner, generates a second signal, and transmits the second signal to the authentication chip through two contacts of the main control circuit, wherein the second signal includes at least two pulse signals; After receiving the second signal, the authentication chip lowers the voltage of the high-level pulse in at least one pulse signal in the second signal according to a preset coding strategy and the data to be sent to obtain a third signal, and returns the third signal to the main control circuit through the two contacts of the authentication circuit; The main control chip decodes the third signal to obtain data sent by the authentication chip.

[0011] Optionally, when the second signal includes two pulse signals, the preset encoding strategy is: If the data to be sent is "1", the voltage of the high level pulse in the second pulse signal in the second signal is pulled down; If the data to be sent is "0", the voltage of the high-level pulse in the first pulse signal in the second signal is pulled down; Or, when the second signal includes three pulse signals, the preset encoding strategy is: If the data to be sent is "1", the voltage of the first pulse signal in the second signal and the high-level pulse in the third pulse signal are pulled down; If the data to be sent is "0", the voltage of the high-level pulse in the second pulse signal in the second signal is pulled down.

[0012] Optionally, the authentication chip includes a load regulation module, a first end of the load regulation module is electrically connected to the third contact, and a second end of the load regulation module is electrically connected to the fourth contact, and the authentication chip controls the load regulation module to connect to the authentication circuit when the voltage of the high-level pulse in at least one pulse signal in the second signal is pulled down.

[0013] Optionally, the load regulation module includes a field effect transistor having an internal resistance greater than a preset resistance value, and the authentication chip controls the field effect transistor to be turned on by pulling down the voltage of a high-level pulse in at least one pulse signal in the second signal.

[0014] Optionally, the switch module includes a field effect transistor or a triode.

[0015] Another aspect of an embodiment of the present application provides a two-wire authentication chip communication method, which is applied to the two-wire authentication chip communication device described above, and the method includes: When the main control circuit sends data to the authentication chip, the main control chip controls the switch module to open and close in a first preset manner, generates a first signal, and transmits the first signal to the authentication chip through two contacts of the main control circuit; After receiving the first signal, the authentication chip decodes the first signal to obtain the data sent by the main control circuit.

[0016] Optionally, the method further comprises: When the main control circuit reads data from the authentication chip, the main control chip controls the switch module to open and close in a second preset manner, generates a second signal, and transmits the second signal to the authentication chip through two contacts of the main control circuit, wherein the second signal includes at least two pulse signals; After receiving the second signal, the authentication chip lowers the voltage of the high-level pulse in at least one pulse signal in the second signal according to a preset coding strategy and the data to be sent to obtain a third signal, and returns the third signal to the main control circuit through the two contacts of the authentication circuit; The main control circuit decodes the third signal to obtain data sent by the authentication chip.

[0017] The above technical solution adopted in the embodiment of the present application may have the following advantages: The main control circuit and the authentication circuit are electrically connected through two contacts to form a communication link, which realizes the direct compression of the signal path into the power path, and the two-way transmission of the signal can be realized by encoding the power signal. The above two-wire authentication chip communication device can reduce the number of contacts in the entire system to two on the basis of ensuring two-way data transmission, thereby saving costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The accompanying drawings exemplarily illustrate the embodiments and constitute a part of the specification, and together with the text description of the specification, are used to explain the exemplary implementation of the embodiments. The embodiments shown are for illustrative purposes only and do not limit the scope of the claims. In all drawings, the same reference numerals refer to similar but not necessarily identical elements.

[0019] Figure 1 A schematic diagram of a module of a two-wire authentication chip communication device according to the first embodiment of the present application is shown; Figure 2 A schematic diagram showing the pulse signal representation corresponding to data "1" in one embodiment is shown; Figure 3 A schematic diagram showing the pulse signal representation corresponding to data "0" in one embodiment is shown; Figure 4 A schematic diagram showing the pulse signal representation corresponding to data "1" in another embodiment is shown; Figure 5 A schematic diagram showing the pulse signal characterization corresponding to data "0" in another embodiment is shown; Figure 6 A schematic diagram of a second signal in an embodiment is schematically shown; Figure 7 A schematic diagram of a second signal in another embodiment is schematically shown; Figure 8 A schematic diagram of a second signal in another embodiment is schematically shown; Fig. 9 The step flow chart of the two-wire authentication chip communication method of the second embodiment of the present application is schematically shown. DETAILED DESCRIPTION

[0020] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. The components of the embodiments of the present invention generally described and shown in the drawings here can be arranged and designed in various different configurations. The present invention can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the disclosure of the present invention more thorough and comprehensive. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the invention claimed for protection, but merely represents the selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present invention.

[0021] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.

[0022] In the description of the present invention, it is also necessary to explain that, unless otherwise clearly specified and limited, the terms "disposed", "connected", and "electrically connected" should be understood in a broad sense, for example, it can be directly connected, or indirectly connected through an intermediate medium, or it can be the internal connection of two elements. It should be noted that when an element is considered to be "connected" to another element, it can be directly connected to the other element or there may be an intermediate element at the same time.

[0023] Some embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.

[0024] Embodiment 1 Figure 1 The module diagram of the two-wire authentication chip communication device according to the first embodiment of the present application is schematically shown.

[0025] like Figure 1 As shown, the authentication chip communication device includes a main control circuit 100 and an authentication circuit 200. The main control circuit 100 is provided on a host device (not shown), and the authentication circuit 200 is provided on a consumable product (not shown) that needs to be installed in the host device.

[0026] Among them, the host device can be a printer, an electronic cigarette rod, a water dispenser, medical equipment and other equipment, and correspondingly, the consumable products are ink cartridges, electronic cigarette cartridges, water dispenser filters, medical consumables and the like.

[0027] The main control circuit 100 has a first contact 101 and a second contact 102, and the authentication circuit 200 has a third contact 201 and a fourth contact 202. When the consumable product is correctly installed on the host device, the two contacts in the main control circuit 100 provided on the host device will be electrically connected to the two contacts in the authentication circuit 200 provided on the consumable product, respectively, thereby forming a complete communication transmission link, that is, the first contact 101 will be electrically connected to the third contact 201, and the second contact 102 will be electrically connected to the fourth contact 202.

[0028] It should be noted that when the consumable product supports forward and reverse connection when inserted into the host device, the first contact 101 may also be electrically connected to the fourth contact 202 , and the second contact 102 may also be electrically connected to the third contact 201 .

[0029] In this embodiment, the main control circuit 100 includes a battery 103 , a main control chip 104 and a switch module 105 .

[0030] The battery 103 may be a built-in rechargeable battery or a detachable non-rechargeable battery. The battery 103 is used to supply power to the main control circuit 100 and the authentication circuit 200 .

[0031] The main control chip 104 is used to encode the data sent by the main control circuit 100 and decode the data returned by the authentication circuit 200. The main control chip 104 can be a chip such as an MCU, a CPU, or a field programmable gate array (FPGA).

[0032] The switch module 105 is used to realize opening and closing under the control of the main control chip 104. The switch module 105 includes a field effect transistor or a triode.

[0033] In this embodiment, the first pin 1041 of the main control chip 104 and the first end 1051 of the switch module 105 are both electrically connected to one end (positive or negative) of the battery 103. The second pin 1042 of the main control chip 104 is electrically connected to the second end 1052 of the switch module 105. The third pin 1043 of the main control chip 104 and the other end (negative or positive) of the battery 103 are both electrically connected to the second contact 102. The third end 1053 of the switch module 105 is electrically connected to the first contact 101, and the second end 1052 of the switch module 105 is a control end.

[0034] The authentication circuit 200 includes a load module 203 and an authentication chip 204 .

[0035] The load module 203 is a working module in a consumable product. The consumable product is an electronic cigarette cartridge as an example. The load module 203 is a heating circuit in the electronic cigarette cartridge, such as a heating wire.

[0036] The authentication chip 204 is a chip in a consumable product that is used to communicate with the main control chip in the main control circuit 100 to implement various authentication functions.

[0037] In this embodiment, the first pin 2041 of the authentication chip 204 is electrically connected to the third contact 201, and the second pin 2042 of the authentication chip 204 is electrically connected to the fourth contact 202. The first end of the load module 203 is also electrically connected to the third contact 201, and the other end of the load module 203 is also electrically connected to the fourth contact 202.

[0038] The two-wire authentication chip communication device in this embodiment electrically connects the main control circuit and the authentication circuit through two contacts to form a communication link, thereby directly compressing the signal path into the power path, and bidirectional transmission of the signal can be achieved by encoding the power signal. The above two-wire authentication chip communication device can reduce the number of contacts in the entire system to two on the basis of ensuring bidirectional data transmission, thereby saving costs.

[0039] In an optional embodiment, when the main control circuit 100 sends data to the authentication chip 204, the main control chip 104 in the main control circuit 100 controls the switch module 105 to open and close in a first preset manner, generates a first signal, and transmits the first signal to the authentication chip 204 through two contacts of the main control circuit 100. After receiving the first signal, the authentication chip 204 decodes the first signal to obtain the data sent by the main control circuit 100.

[0040] In this embodiment, when the main control circuit sends data to the authentication chip, each piece of data to be sent may be encoded using a coding method such as Morse code, Manchester code, etc.

[0041] Correspondingly, the first preset mode includes the setting of the switch module control mode corresponding to the data "1" and the setting of the switch module control mode corresponding to the data "0". The setting of the switch module control mode corresponding to the data "1" and the setting of the switch module control mode corresponding to the data "0" can be set according to actual conditions, and the specific control mode is not limited in this embodiment.

[0042] It should be noted that when different encoding methods are used to encode the data to be sent, the first preset method should also correspond to the encoding method used.

[0043] In one example, when Morse code is used to encode the data to be transmitted, the time required to transmit one bit of data (hereinafter referred to as bit time) can be divided into two time periods of unequal length, for example, a time period of one quarter of a bit time and a time period of three quarters of a bit time. Since the voltage (also called level) of each time period can be high or low, when the data to be transmitted is data "1", the data "1" can be represented by a first pulse signal consisting of a high level pulse of three quarters of a bit time in the first time period and a low level pulse of one quarter of a bit time in the second time period, such as Figure 2 When the data to be sent is data "0", the data "0" can be set to be represented by a second pulse signal consisting of a low-level pulse with a first time period of 3 / 4 bit time and a high-level pulse with a second time period of 1 / 4 bit time, as shown in FIG. Figure 3 shown.

[0044] It should be noted that the representation of data "0" and data "1" may also be the opposite of the above description.

[0045] In addition, it should be noted that in order to improve interference resistance, the representation method of data "0" and data "1" can also be represented by the multiple pulse signals described above. For example, data "0" and data "1" are represented by the two pulse signals described above, that is, data "0" is represented by the two second pulse signals, and data "1" is represented by the two first pulse signals.

[0046] In one example, when Manchester coding is used to encode the data to be transmitted, the time required to transmit one bit of data (hereinafter referred to as bit time) can be divided into two time periods of equal length. Since the voltage (also called level) of each time period can be high or low, when the data to be transmitted is data "1", the data "1" can be represented by a third pulse signal consisting of a high level pulse in the first time period and a low level pulse in the second time period, such as Figure 4 When the data to be sent is data "0", the data "0" can be set to be represented by a fourth pulse signal consisting of a low-level pulse in the first time period and a high-level pulse in the second time period, such as Figure 5 shown.

[0047] It should be noted that in order to improve the interference resistance, the representation method of data "0" and data "1" can also be represented by the multiple pulse signals described above. For example, data "0" and data "1" are represented by the two pulse signals described above, that is, data "0" is represented by the two fourth pulse signals, and data "1" is represented by the two third pulse signals.

[0048] It can be understood that when the data to be sent is encoded using the Morse code described in the above example, when the data to be sent is "1", the main control chip 104 will control the switch module 105 to be in a closed state during the first three quarters of the bit time, and control the switch module 105 to be in an open state during the second quarter of the bit time, thereby encoding the power signal into the first signal corresponding to the data to be sent "1". Similarly, when the data to be sent is "0", the main control chip 104 will control the switch module 105 to be in an open state during the first three quarters of the bit time, and control the switch module 105 to be in a closed state during the second quarter of the bit time, thereby encoding the power signal into the first signal corresponding to the data to be sent "0".

[0049] It should be noted that, when a plurality of data to be sent need to be sent, the main control chip 104 will control the opening and closing time of the switch module 105 in the above manner for each data to be sent.

[0050] After the power signal is encoded into the first signal, the first signal can be transmitted to the authentication chip 204 through the two contacts of the main control circuit. After receiving the first signal, the authentication chip 204 can decode the first signal to restore the data corresponding to the first signal, that is, restore the data sent by the main control circuit.

[0051] In this embodiment, forward transmission of data is achieved by encoding the power signal, thereby eliminating the need for an additional data transmission link, so that the number of contacts of the entire system can be reduced to two, thereby saving costs.

[0052] In an optional embodiment, a pulse signal can be used to represent a data to be sent. When at least one data to be sent needs to be sent, the main control chip 104 can control the switch module 105 to open and close in a first preset manner to form a first signal composed of at least one pulse signal. In this way, after receiving the first signal, the authentication chip 204 will respectively measure the high-level pulse width and the low-level pulse width in each pulse signal, and determine the data corresponding to each pulse signal based on the measurement results.

[0053] After obtaining the measurement results of each pulse signal, the authentication chip 204 will determine whether the high-level pulse width and the low-level pulse width in the pulse signal meet the preset conditions according to the decoding rules pre-stored in the authentication chip 204. When the high-level pulse width and the low-level pulse width in the pulse signal meet the preset conditions, it can be determined that the data corresponding to the pulse signal is "1"; when the high-level pulse width and the low-level pulse width in the pulse signal do not meet the preset conditions, it is determined that the data corresponding to the pulse signal is "0".

[0054] The preset condition is a condition required in a decoding rule for determining that the data corresponding to a pulse signal is "1". For example, the preset condition is that the high-level pulse width in the pulse signal accounts for three quarters.

[0055] In this embodiment, a pulse signal is used to represent a piece of data to be sent. Thus, after receiving a first signal composed of a plurality of pulse signals, the authentication chip 204 can quickly and accurately decode the first signal to obtain data corresponding to each pulse signal.

[0056] In an optional embodiment, when the main control circuit 100 needs to read a bit of data from the authentication chip 204, the main control chip 104 controls the switch module 105 to open and close according to a second preset mode, generates a second signal, and transmits the second signal to the authentication chip 204 through two contacts of the main control circuit 100, wherein the second signal includes at least two pulse signals. The second preset mode includes the time period during which the switch module 105 is in an open or closed state within a pulse cycle. For example, the second preset mode is: the switch module 105 is in a closed state in the first half of a pulse cycle and in an open state in the second half of a pulse cycle. For another example, the second preset mode is: the switch module 105 is in a closed state in the first two-thirds of a pulse cycle and in an open state in the last one-third of a cycle.

[0057] After receiving the second signal, the authentication chip 204 will lower the voltage of the high-level pulse in at least one pulse signal in the second signal according to the preset coding strategy and the data to be sent, obtain a third signal, and return the third signal to the main control circuit 100 through the two contacts of the authentication circuit 200.

[0058] The encoding strategy may be set according to the number of pulse signals included in the second signal.

[0059] In one example, when the second signal includes two pulse signals, such as Figure 6 As shown, the preset encoding strategy can be: if the data to be sent is "1", the voltage of the high-level pulse in the second pulse signal in the second signal is pulled down; if the data to be sent is "0", the voltage of the high-level pulse in the first pulse signal in the second signal is pulled down.

[0060] In one example, when the second signal includes three pulse signals, such as Figure 7As shown, the preset encoding strategy can be: if the data to be sent is "1", the voltage of the high-level pulse in the first pulse signal and the third pulse signal in the second signal is pulled down; if the data to be sent is "0", the voltage of the high-level pulse in the second pulse signal in the second signal is pulled down.

[0061] In one example, when the second signal includes four pulse signals, such as Figure 8 As shown, the preset encoding strategy can be: if the data to be sent is "1", the voltage of the high-level pulse in the first pulse signal and the third pulse signal in the second signal is pulled down; if the data to be sent is "0", the voltage of the high-level pulse in the second pulse signal and the fourth pulse signal in the second signal is pulled down.

[0062] It should be noted that in other coding strategies, the number of pulses on both sides of the pulses for coding can be adjusted, and the number is greater than or equal to 1, and the number of pulses for coding on the left and right sides can also be asymmetric; the number of pulses in the middle can also be adjusted, and the number is greater than or equal to 1. Even, coding can be performed using interleaved pulses, and the number of interleaving is greater than or equal to 1.

[0063] The main control chip 104 decodes the third signal to obtain data sent by the authentication chip 204 .

[0064] In this embodiment, when the main control chip 104 decodes the third signal, it will use a decoding method corresponding to the encoding strategy to decode the third signal.

[0065] In one example, it is assumed that the coding strategy for the data "1" to be sent is to pull down the voltage of the high-level pulse in the first pulse signal and the third pulse signal in the second signal (including 3 pulse signals); the coding strategy for the data "0" to be sent is to pull down the voltage of the high-level pulse in the second pulse signal in the second signal (including 3 pulse signals). When decoding the third signal, the main control chip 104 calculates the voltage average of the high-level pulses in the first pulse signal and the third pulse signal, and measures the voltage value of the high-level pulse in the second pulse signal, and then compares the calculated voltage average with the voltage value. If the voltage average is less than the voltage value, it can be determined that the data represented by the third signal is "1"; if the voltage average is greater than the voltage value, it can be determined that the data represented by the third signal is "0".

[0066] In another example, assuming that the coding strategy for the data "1" to be sent is to pull down the voltage of the high-level pulse in the first pulse signal and the third pulse signal in the second signal (including 4 pulse signals), and the coding strategy for the data to be sent is to pull down the voltage of the high-level pulse in the second pulse signal and the fourth pulse signal in the second signal. When decoding the third signal, the main control chip 104 calculates the first voltage average value of the high-level pulse in the first pulse signal and the third pulse signal, and calculates the second voltage average value of the high-level pulse in the second pulse signal and the fourth pulse signal, and then compares the calculated first voltage average value with the second voltage average value. If the first voltage average value is less than the second voltage average value, it can be determined that the data represented by the third signal is "1"; if the first voltage average value is greater than the second voltage average value, it can be determined that the data represented by the third signal is "0".

[0067] In this embodiment, since there will be noise and interference in the circuit during actual application, in order to filter the noise and interference to improve the stability of the circuit, when the main control circuit 100 reads one bit of data from the authentication chip 204, it will use multiple pulses to encode one bit of data to generate a second signal corresponding to each bit of data, thereby reducing the impact of the drop in battery voltage.

[0068] In an optional embodiment, the authentication chip 204 includes a load adjustment module, a first end of the load adjustment module is electrically connected to the third contact 201, a second end of the load adjustment module is electrically connected to the fourth contact 202, and the load adjustment module also has at least one control end, which is used to receive a control signal of the authentication chip 204. The authentication chip 204 controls the load adjustment module to access the authentication circuit 200 when the voltage of the high-level pulse in at least one pulse signal in the second signal is pulled down.

[0069] In this embodiment, by integrating the load regulation module into the authentication chip 204, when the authentication chip 204 needs to lower the voltage of the high-level pulse in at least one pulse signal in the second signal, the control signal can be output in time to control the load regulation module to be connected to the authentication circuit 200, so that the resistance of the authentication circuit 200 in the entire circuit changes, that is, the resistance of the authentication circuit 200 in the entire circuit increases, thereby causing the voltage of the high-level pulse to decrease, thereby achieving the pull-down process of the high-level pulse.

[0070] In an optional embodiment, the load regulation module includes a field effect transistor having an internal resistance greater than a preset resistance value, and the authentication chip 204 controls the field effect transistor to conduct when the voltage of a high-level pulse in at least one pulse signal in the second signal is pulled down, thereby achieving voltage lowering processing.

[0071] In an optional embodiment, the load regulation module may also be a high-frequency ring shock circuit. When the authentication chip 204 lowers the voltage of a high-level pulse in at least one pulse signal in the second signal, the high-frequency ring shock circuit may be controlled to connect to the authentication circuit 200 to achieve the voltage lowering process.

[0072] In an optional embodiment, the load regulation module may also be a digital logic circuit. When the authentication chip 204 lowers the voltage of a high-level pulse in at least one pulse signal in the second signal, it may directly control the digital logic circuit to turn on, thereby connecting the digital logic circuit to the authentication circuit 200, which will lower the voltage of the high-level pulse.

[0073] In the authentication chip communication device of this embodiment, the authentication chip 204 changes the load characteristics of the entire circuit by changing its own load characteristics, thereby achieving the purpose of reverse transmission of data according to the change of the voltage of the power supply signal.

[0074] Embodiment 2 Fig. 9 A flowchart of the steps of a two-wire authentication chip communication method according to the second embodiment of the present application is schematically shown. The two-wire authentication chip communication method is applied to the two-wire authentication chip communication device described in the first embodiment.

[0075] See also Fig. 9 , the method comprising: Step S90, when the main control circuit sends data to the authentication chip, the main control chip controls the switch module to open and close in a first preset manner, generates a first signal, and transmits the first signal to the authentication chip through two contacts of the main control circuit; Step S91: After receiving the first signal, the authentication chip decodes the first signal to obtain data sent by the main control circuit.

[0076] In an optional embodiment, the method further comprises: When the main control circuit reads data from the authentication chip, the main control chip controls the switch module to open and close in a second preset manner, generates a second signal, and transmits the second signal to the authentication chip through two contacts of the main control circuit, wherein the second signal includes at least two pulse signals; After receiving the second signal, the authentication chip lowers the voltage of the high-level pulse in at least one pulse signal in the second signal according to a preset coding strategy and the data to be sent to obtain a third signal, and returns the third signal to the main control circuit through the two contacts of the authentication circuit; The main control circuit decodes the third signal to obtain data sent by the authentication chip.

[0077] It should be noted that the above are only preferred embodiments of the present application, and the patent protection scope of the present application is not limited thereto. Any equivalent structure or equivalent process transformation made using the contents of the specification and drawings of the present application, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A two-wire authentication chip communication device, characterized in that: The authentication chip communication device comprises a main control circuit and an authentication circuit, wherein the main control circuit has a first contact and a second contact, and the authentication circuit has a third contact and a fourth contact, and the two contacts of the main control circuit are electrically connected to the two contacts of the authentication circuit respectively; The main control circuit includes: a battery, a main control chip, and a switch module; The first pin of the main control chip and the first end of the switch module are both electrically connected to one end of the battery; the second pin of the main control chip is electrically connected to the second end of the switch module; the third pin of the main control chip and the other end of the battery are both electrically connected to the second contact; the third end of the switch module is electrically connected to the first contact, and the second end of the switch module is a control end; The authentication circuit includes: an authentication chip; The first pin of the authentication chip is electrically connected to the third contact, and the second pin of the authentication chip is electrically connected to the fourth contact.

2. The authentication chip communication device according to claim 1, characterized in that: When the main control circuit sends data to the authentication chip, the main control chip controls the switch module to open and close in a first preset manner, generates a first signal, and transmits the first signal to the authentication chip through two contacts of the main control circuit; After receiving the first signal, the authentication chip decodes the first signal to obtain the data sent by the main control circuit.

3. The authentication chip communication device according to claim 1 or 2, characterized in that: The first signal includes at least one pulse signal, each pulse signal is used to represent a data to be sent. After receiving the first signal, the authentication chip measures the high-level pulse width and the low-level pulse width in each pulse signal respectively, and determines the data corresponding to each pulse signal according to the measurement result, wherein when the high-level pulse width and the low-level pulse width in the pulse signal meet the preset conditions, the data corresponding to the pulse signal is determined to be "1"; when the high-level pulse width and the low-level pulse width in the pulse signal do not meet the preset conditions, the data corresponding to the pulse signal is determined to be "0".

4. The authentication chip communication device according to claim 1, characterized in that: When the main control circuit reads data from the authentication chip, the main control chip controls the switch module to open and close in a second preset manner, generates a second signal, and transmits the second signal to the authentication chip through two contacts of the main control circuit, wherein the second signal includes at least two pulse signals; After receiving the second signal, the authentication chip lowers the voltage of the high-level pulse in at least one pulse signal in the second signal according to a preset coding strategy and the data to be sent to obtain a third signal, and returns the third signal to the main control circuit through the two contacts of the authentication circuit; The main control chip decodes the third signal to obtain data sent by the authentication chip.

5. The authentication chip communication device according to claim 4, characterized in that: When the second signal includes two pulse signals, the preset encoding strategy is: If the data to be sent is "1", the voltage of the high level pulse in the second pulse signal in the second signal is pulled down; If the data to be sent is "0", the voltage of the high level pulse in the first pulse signal in the second signal is pulled down; Or, when the second signal includes three pulse signals, the preset encoding strategy is: If the data to be sent is "1", the voltage of the first pulse signal in the second signal and the high-level pulse in the third pulse signal are pulled down; If the data to be sent is "0", the voltage of the high level pulse in the second pulse signal in the second signal is pulled down.

6. The authentication chip communication device according to claim 4 or 5, characterized in that: The authentication chip includes a load adjustment module, a first end of the load adjustment module is electrically connected to the third contact, and a second end of the load adjustment module is electrically connected to the fourth contact. The authentication chip controls the load adjustment module to connect to the authentication circuit when the voltage of the high-level pulse in at least one pulse signal in the second signal is pulled down.

7. The authentication chip communication device according to claim 6, characterized in that: The load regulation module includes a field effect tube whose internal resistance is greater than a preset resistance value, and the authentication chip controls the field effect tube to be turned on when the voltage of the high-level pulse in at least one pulse signal in the second signal is pulled down.

8. The authentication chip communication device according to claim 1, characterized in that: The switch module includes a field effect transistor or a triode.

9. A two-wire authentication chip communication method, applied to the two-wire authentication chip communication device according to any one of claims 1 to 8, characterized in that: The method comprises: When the main control circuit sends data to the authentication chip, the main control chip controls the switch module to open and close in a first preset manner, generates a first signal, and transmits the first signal to the authentication chip through two contacts of the main control circuit; After receiving the first signal, the authentication chip decodes the first signal to obtain the data sent by the main control circuit.

10. The two-wire authentication chip communication method according to claim 9, characterized in that: The method further comprises: When the main control circuit reads data from the authentication chip, the main control chip controls the switch module to open and close in a second preset manner, generates a second signal, and transmits the second signal to the authentication chip through two contacts of the main control circuit, wherein the second signal includes at least two pulse signals; After receiving the second signal, the authentication chip lowers the voltage of the high-level pulse in at least one pulse signal in the second signal according to a preset coding strategy and the data to be sent to obtain a third signal, and returns the third signal to the main control circuit through the two contacts of the authentication circuit; The main control circuit decodes the third signal to obtain data sent by the authentication chip.