Two-wire authentication chip communication method and device

By adopting a two-wire method in authentication chip communication, using two contacts for electrical connection and signal encoding, the problems of many contact points and complex structure in the existing technology are solved, and cost saving and signal transmission accuracy are achieved promote.

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

Patent Information

Application Number
CN202411299570.5
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

In the communication methods between existing certified chips and host devices, the power supply line and communication line are separated, resulting in many contact points and complex structures, which increases the cost in the consumption product field.

Method used

Using a two-wire authentication chip communication method and device, the two contacts between the main control circuit and the authentication circuit are electrically connected to realize the compression of the signal path in the power path, and the bidirectional transmission is realized by encoding the power signal. , reduce the number of contacts in the system.

Benefits of technology

On the basis of ensuring two-way data transmission, the number of contacts is reduced, cost savings are saved, and environmental interference is reduced through the filtering module, improving the accuracy of signal transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119248683A_ABST
    Figure CN119248683A_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, a switch module and a filtering module; 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; the third pin of the main control chip is electrically connected with the first end of the filtering module; the fourth pin of the main control chip, the other end of the battery and the second end of the filtering module are electrically connected with the second contact; the third end of the switch module and the third end of the filtering module are electrically connected with the first contact; the authentication circuit comprises an authentication chip, a first pin of the authentication chip is electrically connected with the third contact, and a second pin of the authentication chip is electrically connected with the fourth contact.
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 devices, 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 filter elements, medical supplies, etc.

[0003] In the prior art, in order to better control the quality of consumable products, 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 discovered that existing authentication chips use separate power and communication lines when communicating with a host device. This results in numerous contact points between the authentication chip and the host device and a complex structure. This communication method is not conducive to cost control in the field of high-volume consumables.

[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 technical problems raised 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, a switch module and a filter 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 is electrically connected to the first end of the filter module; the fourth pin of the main control chip, the other end of the battery, and the second end of the filter module are all electrically connected to the second contact; the third end of the switch module and the third end of the filter module are both 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. 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 the 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.

[0008] Optionally, the first signal includes at least one pulse signal. 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 based on the measurement results. 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".

[0009] 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 the two contacts of the main control circuit; After receiving the second signal, the authentication chip performs high-frequency modulation processing on the second signal to obtain a third signal, and transmits the third signal to the main control circuit through the two contacts of the authentication circuit; The filtering module in the main control circuit performs filtering processing on the third signal to obtain a high-frequency signal contained in the third signal; The main control chip in the main control circuit decodes the high-frequency signal to obtain data returned by the authentication chip.

[0010] Optionally, the second signal includes two pulse signals. After receiving the second signal, the authentication chip uses a first frequency to perform a first high-frequency modulation process on the first pulse signal in the second signal, and uses a second frequency to perform a second high-frequency modulation process on the second pulse signal in the second signal to obtain the third signal.

[0011] Optionally, the authentication chip includes a load adjustment module, the first end of the load adjustment module is electrically connected to the third contact, and the second end of the load adjustment module is electrically connected to the fourth contact. After receiving the second signal, the authentication chip controls the load adjustment module to dynamically connect to the authentication circuit to generate the third signal.

[0012] Optionally, the load regulation module includes a field effect transistor having an internal resistance greater than a preset resistance value. After receiving the second signal, the authentication chip generates a pulse width modulation signal, and controls the conduction and cutoff of the field effect transistor through the pulse width modulation signal to generate the third signal, wherein the frequency of the pulse width modulation signal is greater than the frequency of the second signal.

[0013] Optionally, the filtering module includes a capacitor and a resistor, one end of the capacitor is electrically connected to the first pin of the main control chip, the other end of the capacitor is electrically connected to the third pin of the main control chip, one end of the resistor is electrically connected to the other end of the capacitor, and the other end of the resistor is electrically connected to the fourth pin of the main control chip.

[0014] 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 is characterized in that 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 according to a first preset method, generates a first signal, and transmits the first signal to the authentication chip through the 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.

[0015] The above technical solution adopted in the embodiments of the present application may have the following advantages: The two-wire authentication chip communication device in this embodiment electrically connects the main control circuit and the authentication circuit via two contacts to form a communication link, thereby directly compressing the signal path within the power path and enabling bidirectional signal transmission by encoding the power signal. This two-wire authentication chip communication device reduces the number of contacts in the entire system to two while ensuring bidirectional data transmission, thus saving costs. Furthermore, the authentication chip communication device detects high-frequency signals in the signal returned by the authentication chip through a filtering module. The main control chip then samples and detects the detected signal using an internal comparator or ADC to determine the feedback value of the authentication chip, thereby reducing environmental interference with the transmitted signal. BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings illustrate exemplary embodiments and constitute a part of the specification. Together with the description of the specification, they serve to explain exemplary implementation of the embodiments. The illustrated embodiments are for illustrative purposes only and do not limit the scope of the claims. Throughout the drawings, the same reference numerals designate similar, but not necessarily identical, elements.

[0016] 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.

[0017] Figure 2 The figure schematically shows a pulse signal representation diagram corresponding to data “1” in one embodiment.

[0018] Figure 3 The figure schematically shows a pulse signal representation diagram corresponding to data “0” in one embodiment.

[0019] Figure 4 A schematic diagram showing the pulse signal representation corresponding to data “1” in another embodiment is shown schematically.

[0020] Figure 5 A schematic diagram showing the pulse signal representation corresponding to data “0” in another embodiment is shown schematically.

[0021] Figure 6 The flowchart schematically shows the steps of the two-wire authentication chip communication method of the second embodiment of the present application. DETAILED DESCRIPTION

[0022] 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 part of the embodiments of the present invention, not all of 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 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 are within the scope of protection of the present invention.

[0023] 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, it does not need to be further defined or explained in subsequent drawings.

[0024] In the description of the present invention, it should also be noted that, unless otherwise expressly specified or limited, the terms "disposed," "connected," and "electrically connected" should be understood in a broad sense. For example, they may refer to direct connection, indirect connection through an intermediary, or internal communication between two elements. It should be noted that when an element is considered to be "connected" to another element, it may be directly connected to the other element or there may be an intervening element.

[0025] The following embodiments of the present invention are described in detail with reference to the accompanying drawings. In the absence of conflict, the following embodiments and features in the embodiments may be combined with each other.

[0026] Example 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.

[0027] 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.

[0028] Among them, the host device can be a printer, an electronic cigarette holder, 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.

[0029] 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 properly installed on the host device, the two contacts in the main control circuit 100 on the host device will be electrically connected to the two contacts in the authentication circuit 200 on the consumable product, 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.

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

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

[0032] The battery 103 can 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.

[0033] 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 an MCU, a CPU, a field programmable gate array (FPGA), or other chips.

[0034] 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.

[0035] The filter module 106 is used for filtering, wherein the filter module 106 is preferably a high-frequency filter module.

[0036] 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 is electrically connected to the first end 1061 of the filter module 106. The fourth pin 1044 of the main control chip 104, the other end (negative or positive) of the battery 103, and the second end 1062 of the filter module 106 are all electrically connected to the second contact 102. The third end 1053 of the switch module 105 and the third end 1063 of the filter module 106 are both electrically connected to the first contact 101. The second end 1052 of the switch module 105 serves as the control end.

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

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

[0039] 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.

[0040] 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.

[0041] The two-wire authentication chip communication device in this embodiment electrically connects the main control circuit and the authentication circuit via two contacts to form a communication link, thereby directly compressing the signal path within the power path and enabling bidirectional signal transmission by encoding the power signal. This two-wire authentication chip communication device reduces the number of contacts in the entire system to two while ensuring bidirectional data transmission, saving costs. Furthermore, the authentication chip communication device detects high-frequency signals in the signal returned by the authentication chip through a filtering module. The main control chip 104 then samples and detects the detected signal using an internal comparator or ADC to determine the feedback value of the authentication chip, reducing environmental interference with the transmitted signal.

[0042] 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 according to a first preset method, generating a first signal, and transmitting the first signal to the authentication chip 204 through the 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.

[0043] 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, or the like.

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

[0045] 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.

[0046] 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 the 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 known as the level) in 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 in the first time period of three-quarters of a bit time and a low-level pulse in the second time period of one-quarter of a bit time, as shown in FIG. 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.

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

[0048] In addition, it should be noted that in order to improve interference resistance, the representation 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 two of the second pulse signals, and data "1" is represented by two of the first pulse signals.

[0049] In one example, when Manchester encoding is used to encode the data to be transmitted, the time required to transmit one bit of data (hereinafter referred to as the bit time) can be divided into two time periods of equal length. Since the voltage (also known as the level) in 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, as shown in FIG. Figure 5 shown.

[0050] It should be noted that in order to improve interference resistance, the representation 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.

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

[0052] 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.

[0053] 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.

[0054] In this embodiment, forward data transmission is achieved by encoding the power signal, thereby eliminating the need for an additional data transmission link, reducing the number of contacts in the entire system to two, and saving costs.

[0055] 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 measure the high-level pulse width and low-level pulse width in each pulse signal respectively, and determine the data corresponding to each pulse signal based on the measurement results.

[0056] 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, the data corresponding to the pulse signal is determined to be "0".

[0057] 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.

[0058] In this embodiment, a pulse signal is used to represent a piece of data to be sent. Thus, when the authentication chip 204 receives a first signal composed of multiple pulse signals, it can quickly and accurately decode the first signal and obtain the data corresponding to each pulse signal.

[0059] 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 method, generating a second signal, and transmitting the second signal to the authentication chip 204 via the two contacts of the main control circuit 100. The second preset method includes setting the time period during which the switch module 105 is open or closed within a one-bit data transmission cycle. The data transmission cycle includes a data preparation period, a data modulation period, and a data transmission completion period. The data preparation period is used for the authentication chip 204 to prepare the data to be transmitted. The data modulation period is used for the authentication chip 204 to modulate the data to be transmitted. The data transmission completion period is used for the authentication chip 204 to transmit information that the modulation of the data to be transmitted has been completed.

[0060] It should be noted that the second signal generated each time a bit of data is read may be composed of one pulse signal or multiple pulse signals. When the second signal is composed of multiple pulse signals, the multiple pulse signals may be subsequently encoded to enhance the anti-interference capability of the data.

[0061] In one example, the second preset mode is: the switch module 105 is in a closed state for the first one-fifth of the data transmission cycle, in a closed state for the middle three-fifths of the cycle, and in an open state for the last one-fifth of the cycle. In another example, the second preset mode is: the switch module 105 is in a closed state for the first one-tenth of the data transmission cycle, in a closed state for the middle seven-tenths of the cycle, and in an open state for the last two-tenths of the cycle.

[0062] After receiving the second signal, the authentication chip 204 performs high-frequency modulation processing on the second signal to obtain a third signal, and transmits the third signal to the main control circuit 100 through the two contacts of the authentication circuit 200 .

[0063] High-frequency modulation refers to the use of a high-frequency signal to modulate the high-level pulse signal in the second signal, thereby encoding the high-level pulses in the second signal into a carrier signal having a frequency greater than that of the second signal, thereby generating the third signal. During the modulation process, the authentication chip 204 frequently changes its own load characteristics during the high-level pulses in the second signal, causing the voltage of the high-level pulses to fluctuate, thereby modulating the data sent by the authentication chip 204 onto the high-level pulses in the second signal.

[0064] In this embodiment, after receiving the second signal, if the data to be transmitted is "0," the authentication chip 204 may not perform high-frequency modulation on the second signal, thereby maintaining the second signal processing unchanged. Only if the data to be transmitted is "1" will the authentication chip perform high-frequency modulation on the second signal to obtain the third signal. It is understood that after receiving the second signal, if the data to be transmitted is "1," the authentication chip 204 may not perform high-frequency modulation on the second signal, thereby maintaining the second signal processing unchanged. Only if the data to be transmitted is "0" will the authentication chip perform high-frequency modulation on the second signal to obtain the third signal.

[0065] In other embodiments, after receiving the second signal, the authentication chip 204 may perform a first high-frequency modulation process on the second signal to obtain a third signal if the data to be transmitted is "0"; and may perform a second high-frequency modulation process on the second signal to obtain a third signal if the data to be transmitted is "1." The first high-frequency modulation process and the second high-frequency modulation process may use different carrier signal frequencies.

[0066] The filtering module 106 in the main control circuit 100 performs filtering processing on the third signal to obtain a high-frequency signal included in the third signal.

[0067] After the authentication circuit 200 transmits the third signal to the main control circuit 100 through two contacts, the filtering module 106 filters the third signal, thereby detecting the high-frequency component in the third signal to obtain the high-frequency signal.

[0068] The main control chip 104 in the main control circuit 100 decodes the high-frequency signal to obtain data returned by the authentication chip 204 .

[0069] After acquiring the high-frequency signal, the main control chip 104 may process the high-frequency signal through an analog-to-digital converter or a comparator integrated therein, thereby obtaining data returned by the authentication chip 204 .

[0070] It should be noted that different modulation schemes are used for the second signal during decoding, resulting in different decoding methods. For example, if the modulation schemes used for the transmitted data "1" and "0" are respectively: high-frequency modulation of data "1" and no processing of data "0," a comparator can be used during decoding. If the comparator detects a high-frequency signal, the data returned by authentication chip 204 is determined to be "1." If the comparator does not detect a high-frequency signal, the data returned by authentication chip 204 is determined to be "0." For another example, if the modulation schemes used for the transmitted data "1" and "0" are respectively: a first high-frequency modulation of data "1" (with a first carrier frequency) and a second high-frequency modulation of data "0" (with a second carrier frequency), an analog-to-digital converter can be used during decoding to determine the frequency of the high-frequency signal. If the frequency is the first frequency, the data returned by authentication chip 204 is determined to be "1." If the frequency is the second frequency, the data returned by authentication chip 204 is determined to be "0."

[0071] In an optional embodiment, the second signal includes two pulse signals. After receiving the second signal, the authentication chip 204 uses a first frequency to perform a first high-frequency modulation process on the first pulse signal in the second signal, and uses a second frequency to perform a second high-frequency modulation process on the second pulse signal in the second signal to obtain the third signal.

[0072] In this embodiment, the two pulse signals in the second signal are modulated separately by using carrier signals of different frequencies, so that when the third signal is subsequently decoded, the modulation signals corresponding to the two pulse signals can be combined to decode and determine whether the data sent by the authentication chip is "1" or "0", thereby better avoiding environmental interference.

[0073] In other embodiments, a combination of the first pulse having a high-frequency signal and the second pulse having no high-frequency signal can be used to represent data "1", and the first pulse having no high-frequency signal and the second pulse having a high-frequency signal can be used to represent data "0". In addition, the signal combination mode indicates that a transmission error occurs and retransmission is required. Through this combination method, more pulses can be used, thereby achieving better transmission stability.

[0074] In an optional embodiment, the authentication chip 204 includes a load adjustment module, one end of which is electrically connected to the third contact 201, and the other end of which is electrically connected to the fourth contact 202. The load adjustment module also has at least one control end, which is configured to receive a control signal from the authentication chip 204. After receiving the second signal, the authentication chip controls the load adjustment module to dynamically connect to the authentication circuit 200 to generate the third signal.

[0075] Among them, the dynamic access to the authentication circuit 200 means that the load adjustment module does not always access the authentication circuit 200, but accesses the authentication circuit 200 at intervals in time. For example, the entire access time is divided into 8 time periods, namely the 1st time period to the 8th time period. The load adjustment module will access the authentication circuit 200 in the 1st time period, the 3rd time period, the 5th time period and the 7th time period, but will not access the authentication circuit 200 in the 2nd time period, the 4th time period, the 6th time period and the 7th time period.

[0076] In this embodiment, the load adjustment module is controlled to dynamically access the authentication circuit, so that the load of the authentication circuit changes dynamically, and thus the generated third signal also generates high-frequency fluctuations.

[0077] In an optional embodiment, the load regulation module includes a field effect transistor having an internal resistance greater than a preset resistance value. After receiving the second signal, the authentication chip 204 generates a pulse width modulation signal, and controls the conduction and cutoff of the field effect transistor through the pulse width modulation signal to generate the third signal, wherein the frequency of the pulse width modulation signal is greater than the frequency of the second signal.

[0078] In this embodiment, by integrating the load regulation module into the authentication chip 204, when the authentication chip 204 needs to modulate the second signal, it can timely output a control signal to control the load regulation module to dynamically connect to the authentication circuit 200, thereby causing the resistance of the authentication circuit 200 in the entire circuit to dynamically change, that is, the resistance of the authentication circuit 200 in the entire circuit will dynamically increase, thereby causing the voltage of the second signal to dynamically decrease, thereby realizing modulation processing of the second signal.

[0079] In an optional embodiment, the load regulation module may also be a high-frequency ring vibration circuit or a digital logic circuit.

[0080] 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 signal.

[0081] In an optional embodiment, the filtering module 106 includes a capacitor C and a resistor R, one end of the capacitor C is electrically connected to the first pin 1041 of the main control chip 104, the other end of the capacitor C is electrically connected to the third pin 1043 of the main control chip 014, one end of the resistor R is electrically connected to the other end of the capacitor C, and the other end of the resistor R is electrically connected to the fourth pin 1044 of the main control chip 104.

[0082] In this embodiment, the use of a RC high-pass filter as the filter module 10 can significantly reduce costs. In actual implementation, additional protection circuits, such as an ESD (Electro-Static Discharge) circuit and an OVP (Over-Voltage Protection) circuit, may be added.

[0083] To facilitate understanding of the two-wire authentication chip communication device process in this application, the following is a detailed description with reference to a specific example: When the master control circuit 100 wishes to read data from the authentication chip 204, it first sends a read command. After sending the read command, the master control chip 104 controls the switch module 105 to the off state, generating a low-level signal. The authentication chip 204 detects this low signal and prepares the data to be fed back. If the authentication chip 204 expects the feedback data to be "1," and if the predefined "1" data is modulated, the authentication chip 204 dynamically activates its internal load regulation module. This generates a high-level signal when the master control chip 104 controls the switch module 105 to the closed state. This dynamic activation of the load regulation module causes high-frequency fluctuations in the load of the authentication circuit 200, which in turn causes voltage fluctuations at the power supply. This high-frequency signal is detected by the ADC or comparator of the master control chip 104 through a high-pass filter. After detecting the data, the master chip 104 controls the switch module 105 to the off state again, lowering the voltage level. The authentication chip 204 detects the low level, completing the data transmission.

[0084] If the authentication chip wants to feedback data "0", then after the main control chip 104 controls the switch module 105 to be in a closed state, a high-level signal is generated, and the authentication chip 204 does not take any action. At this time, no signal will be detected after the high-pass filter.

[0085] Example 2 Figure 6 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.

[0086] See Figure 6 , the method comprising: Step S60: When the main control circuit sends data to the authentication chip, the main control chip controls the switch module to open and close according to a first preset method, generates a first signal, and transmits the first signal to the authentication chip through the two contacts of the main control circuit; Step S61: After receiving the first signal, the authentication chip decodes the first signal to obtain data sent by the main control circuit.

[0087] In an optional embodiment, the method further includes: When the main control circuit reads data from the authentication chip, the main control chip controls the switch module to open and close according to a second preset method, generates a second signal, and transmits the second signal to the authentication chip through the two contacts of the main control circuit; After receiving the second signal, the authentication chip performs high-frequency modulation processing on the second signal to obtain a third signal, and transmits the third signal to the main control circuit through the two contacts of the authentication circuit; The filtering module in the main control circuit performs filtering processing on the third signal to obtain a high-frequency signal contained in the third signal; The main control chip in the main control circuit decodes the high-frequency signal to obtain data returned by the authentication chip.

[0088] It should be noted that the above are only preferred embodiments of the present application and do not limit the scope of patent protection of the present application. Any equivalent structure or equivalent process transformation made using the contents of the description and drawings of this application, or directly or indirectly applied in other related technical fields, are also included in the scope of patent protection 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, a switch module and a filter module; Wherein, 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 is electrically connected to the first end of the filter module; the fourth pin of the main control chip, the other end of the battery, and the second end of the filter module are all electrically connected to the second contact; the third end of the switch module and the third end of the filter module are both electrically connected to the first contact, and the second end of the switch module is the 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. 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 results, 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; After receiving the second signal, the authentication chip performs high-frequency modulation processing on the second signal to obtain a third signal, and transmits the third signal to the main control circuit through the two contacts of the authentication circuit; The filtering module in the main control circuit performs filtering processing on the third signal to obtain a high-frequency signal contained in the third signal; The main control chip in the main control circuit decodes the high-frequency signal to obtain data returned by the authentication chip.

5. The authentication chip communication device according to claim 4, characterized in that: The second signal includes two pulse signals. After receiving the second signal, the authentication chip uses a first frequency to perform a first high-frequency modulation process on the first pulse signal in the second signal, and uses a second frequency to perform a second high-frequency modulation process on the second pulse signal in the second signal to obtain the third signal.

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. After receiving the second signal, the authentication chip controls the load adjustment module to dynamically connect to the authentication circuit to generate the third signal.

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. After receiving the second signal, the authentication chip generates a pulse width modulation signal, and controls the conduction and cutoff of the field effect tube through the pulse width modulation signal to generate the third signal, wherein the frequency of the pulse width modulation signal is greater than the frequency of the second signal.

8. The authentication chip communication device according to claim 1, characterized in that: The filtering module includes a capacitor and a resistor, one end of the capacitor is electrically connected to the first pin of the main control chip, the other end of the capacitor is electrically connected to the third pin of the main control chip, one end of the resistor is electrically connected to the other end of the capacitor, and the other end of the resistor is electrically connected to the fourth pin of the main control chip.

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; After receiving the second signal, the authentication chip performs high-frequency modulation processing on the second signal to obtain a third signal, and transmits the third signal to the main control circuit through the two contacts of the authentication circuit; The filtering module in the main control circuit performs filtering processing on the third signal to obtain a high-frequency signal contained in the third signal; The main control chip in the main control circuit decodes the high-frequency signal to obtain data returned by the authentication chip.