Near field communication system, control method thereof and electronic equipment

CN118696527APending Publication Date: 2024-09-24HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202280091469.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2022-02-15
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

Existing near field communication system demodulators have low sensitivity and cannot effectively demodulate signals with low modulation depth, such as the 6.8Mbps signal in the VHBR protocol.

Method used

A demodulator including a transconductance circuit, a current source, a comparator and a load module is designed. Through the transconductance circuit, the current flow direction is selected based on the voltage comparison result of the received radio frequency signal, thereby improving the sensitivity of the demodulator and passing the current Comparators and voltage comparators perform signal quantization to achieve high-sensitivity demodulation.

Benefits of technology

Effective demodulation of low modulation depth signals, such as the 6.8Mbps signal in the VHBR protocol, is achieved, and the demodulator has a small area, low cost, and higher sensitivity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118696527A
    Figure CN118696527A
Patent Text Reader

Abstract

The embodiment of the invention provides a near field communication system, a control method thereof and electronic equipment, which can improve the problem of low sensitivity of a demodulator. The near field communication system comprises a rectifier, a demodulator and a power management unit. The demodulator comprises a transconductance circuit, a first current source, a signal source, a load module, a first signal input end, a second signal input end, a third signal input end and a signal output end. The bias end of the transconductance circuit is coupled with the first current source, the second end of the transconductance circuit is coupled with the third signal input end, and the control end of the transconductance circuit is coupled with the first signal input end, the second signal input end and the third signal input end; the transconductance circuit is used for selecting whether a current signal provided by the third signal input end flows to the first current source through the first end of the transconductance circuit or the second end of the transconductance circuit according to the comparison result of the voltage of the first signal input end or the voltage of the second signal input end and the voltage of the third signal input end.
Need to check novelty before this filing date? Find Prior Art

Description

Near field communication system, control method thereof, and electronic device Technical Field

[0001] The present application relates to the field of near field communication technology, and in particular to a near field communication system, a control method thereof, and an electronic device. Background Art

[0002] Near field communication (NFC), also known as short-range near field communication, is a near field communication technology that enables information exchange between two or more devices. It is used for contactless data transmission and exchange between devices.

[0003] At present, the near-field communication system used to implement near-field communication mainly includes a rectifier, a demodulator, a power management unit (PMU), and other parts. Among them, the rectifier is used to convert the radio frequency signal received by the antenna into a DC signal for use by other modules within the near-field communication system, such as the demodulator. The demodulator is used to demodulate the received modulated signal into a digital signal. However, due to the low sensitivity of the existing demodulator, it cannot demodulate signals with low modulation depth, such as the 6.8Mbps signal in the VHBR (very-high-bit-rates) protocol.

[0004] Summary of the Invention

[0005] The embodiments of the present application provide a near field communication system and a control method thereof, and an electronic device, which can improve the problem of low sensitivity of a demodulator.

[0006] In a first aspect, a near field communication system is provided, which comprises: a rectifier, a demodulator and a power management unit; the demodulator comprises: a transconductance circuit, a first current source, a signal source, a load module, a first signal input terminal, a second signal input terminal, a third signal input terminal and a signal output terminal; wherein the first signal input terminal and the second signal input terminal are used to receive radio frequency signals, and the radio frequency signals received by the first signal input terminal and the second signal input terminal are a pair of differential signals, the signal output terminal of the rectifier is coupled to the power management unit, and the power management unit is coupled to the power input terminal of the demodulator for powering the demodulator; the rectifier The signal output end of the transconductance circuit is also coupled to the third signal input end of the demodulator, and is used to provide a DC signal to the third signal input end; the bias end of the transconductance circuit is coupled to the first current source, the second end of the transconductance circuit is coupled to the third signal input end, and the control end of the transconductance circuit is coupled to the first signal input end, the second signal input end and the third signal input end; the transconductance circuit is used to select whether to allow the current signal provided by the third signal input end to flow to the first current source through the first end of the transconductance circuit or the second end of the transconductance circuit based on the comparison result of the voltage of the first signal input end or the voltage of the second signal input end with the voltage of the third signal input end.

[0007] In a near-field communication system, the first signal input terminal and the second signal input terminal of the demodulator usually receive the RF signal transmitted by the antenna, and the third signal input terminal of the demodulator is usually coupled to the output terminal of the rectifier to receive the DC signal converted by the rectifier from the RF signal received from the antenna. Therefore, the peak value of the RF signal received by the first signal input terminal, the peak value of the RF signal received by the second signal input terminal, and the value of the DC signal received by the third signal input terminal are relatively close. On this basis, when demodulating, the demodulator provided by the present application uses the voltage of the third signal input terminal as a reference and compares it with the voltage of the first signal input terminal and the voltage of the second signal input terminal. The peak value of the RF signal received by the first signal input terminal, the peak value of the RF signal received by the second signal input terminal, and the value of the DC signal received by the third signal input terminal are relatively close. Therefore, when demodulating, the demodulator provided by the present application only quantizes useful signals, thereby achieving a higher sensitivity of the demodulator.

[0008] In one possible implementation, the transconductance circuit is configured to direct a current signal provided by the third signal input terminal to flow to the first current source via the first terminal of the transconductance circuit when the voltage at the first signal input terminal or the voltage at the second signal input terminal is greater than the voltage at the third signal input terminal. This provides one example of a function that the transconductance circuit can achieve.

[0009] In one possible implementation, the transconductance circuit is configured to direct a current signal provided by the third signal input terminal to flow to the first current source via the second terminal of the transconductance circuit when both the voltage at the first signal input terminal and the voltage at the second signal input terminal are less than the voltage at the third signal input terminal. This provides one example of a function that the transconductance circuit can achieve.

[0010] In one possible embodiment, the demodulator further includes a comparator; a first input terminal of the comparator is coupled to the first terminal of the transconductance circuit, the first input terminal of the comparator is further coupled to the third signal input terminal via a load module, a second input terminal of the comparator is coupled to the signal source, and an output terminal of the comparator is coupled to the signal output terminal. The comparator is configured to compare the signal at the first input terminal with the signal at the second input terminal and output a comparison result. For example, the comparator outputs a first digital signal when the signal at the first input terminal is greater than the signal at the second input terminal; and outputs a second digital signal when the signal at the first input terminal is less than the signal at the second input terminal.

[0011] In one possible embodiment, the signal source is a second current source, and the comparator is a current comparator. The load module includes a first current mirror, wherein a first input of the first current mirror is coupled to the first end of the transconductance circuit, a second input of the first current mirror is coupled to the third signal input, and an output of the first current mirror is coupled to the first input of the current comparator. The first current mirror is configured to amplify the current mirror at the first end of the transconductance circuit and output the amplified current to the output of the first current mirror. When the demodulator includes the first current mirror, since the first current mirror can amplify the current mirror at the first end of the transconductance circuit and output the amplified current to the first input of the current comparator, the sensitivity requirement for the current comparator can be reduced when comparing the currents at the first and second inputs of the current comparator.

[0012] In one possible embodiment, the transconductance circuit includes a first transistor, a second transistor, and a third transistor; the gate and the second electrode of the first transistor are both coupled to the third signal input terminal, and the first electrode is coupled to the first current source; one of the first electrode and the second electrode of the first transistor is a source, and the other is a drain; the gate of the second transistor is coupled to the first signal input terminal, the first electrode is coupled to the first current source, and the second electrode is coupled to the first input terminal of the comparator; one of the first electrode and the second electrode of the second transistor is a source, and the other is a drain; the gate of the third transistor is coupled to the second signal input terminal, the first electrode is coupled to the first current source, and the second electrode is coupled to the first input terminal of the comparator; one of the first electrode and the second electrode of the third transistor is a source, and the other is a drain. Taking the first signal input terminal as an example, when the voltage of the first signal input terminal is greater than the voltage of the third signal input terminal, the third transistor is turned off, the first transistor is turned off, and the second transistor is turned on. The current signal provided by the third signal input terminal flows to the first current source through the second transistor (i.e., the first end of the transconductance circuit), and flows to the ground terminal through the first current source; when the voltage of the first signal input terminal is less than the voltage of the third signal input terminal, the third transistor is turned off, the second transistor is turned off, and the first transistor is turned on. The current signal provided by the third signal input terminal flows to the first current source through the first transistor (i.e., the second end of the transconductance circuit), and flows to the ground terminal through the first current source.

[0013] In one possible embodiment, the transconductance circuit further includes a fourth transistor; the gate of the fourth transistor is coupled to the third signal input terminal, the first electrode is coupled to the first current source, and the second electrode is coupled to the first input terminal of the comparator; one of the first electrode and the second electrode of the fourth transistor is a source electrode, and the other is a drain electrode. Taking the first signal input terminal as an example, when the voltage at the first signal input terminal is less than the voltage at the third signal input terminal, the current signal provided by the third signal input terminal flows to the first current source through the first transistor (i.e., the second terminal of the transconductance circuit), and then flows to the ground terminal through the first current source; the current signal provided by the third signal input terminal also flows to the first current source through the fourth transistor (i.e., the first terminal of the transconductance circuit), and then flows to the ground terminal through the first current source. Based on this, it can be seen that the addition of the fourth transistor can maintain a continuous current at the first terminal of the transconductance circuit, thereby accelerating the response speed of the op amp.

[0014] In one possible embodiment, a current comparator includes: a voltage comparator, a first resistor, and a second resistor; the first input of the voltage comparator is coupled to the first end of the transconductance circuit, the second input of the voltage comparator is coupled to the second current source, and the output of the voltage comparator is coupled to the signal output; the first resistor is coupled between the first input of the voltage comparator and the ground, and the second resistor is coupled between the second input of the voltage comparator and the ground. The voltage comparator is configured to compare the voltage at the first input of the voltage comparator with the voltage at the second input of the voltage comparator, thereby outputting a first digital signal or a second digital signal at the output of the voltage comparator. When the voltage at the first input of the voltage comparator is greater than the voltage at the second input of the voltage comparator, the first digital signal is output; when the voltage at the first input of the voltage comparator is less than the voltage at the second input of the voltage comparator, the second digital signal is output. In addition, the voltage at the first input of the voltage comparator is equal to the current at the first input of the voltage comparator multiplied by the first resistor, and the voltage at the second input of the voltage comparator is equal to the current at the second input of the voltage comparator multiplied by the second resistor.

[0015] In one possible embodiment, the current comparator further includes: a fifth transistor and a sixth transistor; the fifth transistor and the first resistor are connected in series between the first input terminal and the ground terminal of the voltage comparator; the gate and first electrode of the fifth transistor are both coupled to the first input terminal of the voltage comparator, and the second electrode of the fifth transistor is coupled to the ground terminal; one of the first and second electrodes of the fifth transistor is a source, and the other is a drain; a sixth transistor and the second resistor are connected in series between the second input terminal and the ground terminal of the voltage comparator; the gate and first electrode of the sixth transistor are both coupled to the second input terminal of the voltage comparator, and the second electrode of the sixth transistor is coupled to the ground terminal; one of the first and second electrodes of the sixth transistor is a source, and the other is a drain. Because the current comparator includes the fifth transistor, the fifth transistor can act as a resistor, thereby increasing the voltage at the first input terminal of the voltage comparator. Furthermore, given the same resistance value, the area occupied by the fifth transistor is smaller than that of a pure resistor. Similarly, because the current comparator includes the sixth transistor, the sixth transistor can act as a resistor, thereby increasing the voltage at the second input terminal of the voltage comparator. Furthermore, given the same resistance value, the area occupied by the sixth transistor is smaller than that of a pure resistor.

[0016] In one possible embodiment, the first current mirror includes a seventh transistor and an eighth transistor; the gate and first electrode of the seventh transistor are coupled to the first end of the transconductance circuit, and the second electrode of the seventh transistor is coupled to the third signal input end; one of the first electrode and the second electrode of the seventh transistor is a source, and the other is a drain; the gate of the eighth transistor is coupled to the gate of the seventh transistor, the first electrode of the eighth transistor is coupled to the first input end of the current comparator, and the second electrode of the eighth transistor is coupled to the third signal input end VE; one of the first electrode and the second electrode of the eighth transistor is a source, and the other is a drain. The mirror amplification factor of the first current mirror can be adjusted by adjusting the aspect ratio of the seventh transistor and the eighth transistor.

[0017] In one possible embodiment, the current comparator includes a second current mirror; an input end of the second current mirror is coupled to a second current source, and an output end and a signal output end of the second current mirror are both coupled to the first electrode of the eighth transistor; the second current mirror is configured to amplify a current mirror of the second current source and output the amplified current to the output end of the second current mirror. When the current comparator includes the second current mirror, the circuit structure of the current comparator is simpler, the area is smaller, and the cost is lower.

[0018] In one possible embodiment, the second current mirror includes: a ninth transistor and a tenth transistor; the gate and first electrode of the ninth transistor are both coupled to the second current source, the second electrode of the ninth transistor is coupled to the ground terminal; one of the first electrode and the second electrode of the ninth transistor is a source, and the other is a drain; the gate of the tenth transistor is coupled to the second current source, the first electrode and the signal output terminal of the tenth transistor are both coupled to the first electrode of the eighth transistor; the second electrode of the tenth transistor is coupled to the ground terminal; one of the first electrode and the second electrode of the tenth transistor is a source, and the other is a drain. When the current comparator includes the second current mirror, the current output by the second current source is amplified by the second current mirror and compared with the current output by the first electrode of the eighth transistor to generate a corresponding digital signal. When the current output by the first electrode of the eighth transistor is greater than the current output by the second current source after amplification by the second current mirror, the signal output terminal outputs a first digital signal; when the current output by the first electrode of the eighth transistor is less than the current output by the second current source after amplification by the second current mirror, the signal output terminal outputs a second digital signal.

[0019] In a possible implementation, the demodulator further includes: an eleventh transistor, wherein the gate and the first electrode of the eleventh transistor are coupled to the second end of the transconductance circuit, and the second electrode of the eleventh transistor is coupled to the third signal input end; and one of the first electrode and the second electrode of the eleventh transistor is a source, and the other is a drain. When the eleventh transistor is provided in the demodulator, for the first transistor, the fourth transistor, the second transistor, and the third transistor in the transconductance circuit, since the second electrode of the first transistor is coupled to the third signal input terminal via the eleventh transistor, and the second electrodes of the fourth transistor, the second transistor, and the third transistor are coupled to the third signal input terminal via the seventh transistor, it can be considered that the voltages of the second electrodes of the first transistor, the fourth transistor, the second transistor, and the third transistor are the same or similar, and the first electrodes of the first transistor, the fourth transistor, the second transistor, and the third transistor are all coupled to the first current source. Therefore, it can be considered that the voltages of the first electrodes of the first transistor, the fourth transistor, the second transistor, and the third transistor are the same. In this way, the Vds of the first transistor, the Vds of the fourth transistor, the second transistor, and the third transistor are the same or similar, thereby reducing the influence of the channel length modulation effect.

[0020] In one possible implementation, the demodulator further includes a filter connected in series between the third signal input terminal and the ground terminal. Because the filter can stabilize voltage, coupling the filter to the third signal input terminal ensures a stable voltage, thereby improving demodulator performance.

[0021] In one possible implementation, the filter includes a capacitor and a third resistor, which are coupled between the third signal input terminal and the ground terminal. The capacitor and the third resistor can form a filter.

[0022] In a possible implementation, the load module includes an impedance, the signal source is a reference voltage source, the comparator is a voltage comparator, and the second input terminal of the voltage comparator is coupled to the reference voltage source.

[0023] In one possible embodiment, the impedance includes a twelfth transistor, the gate and the first electrode of the twelfth transistor are coupled to the first end of the transconductance circuit, and the second electrode of the twelfth transistor is coupled to the third signal input end, wherein one of the first electrode and the second electrode of the twelfth transistor is a source and the other is a drain; or, the impedance includes a resistor, one end of the resistor is coupled to the third signal input end, and the other end is coupled to the first end of the transconductance circuit.

[0024] In one possible implementation, the near-field communication system further includes an antenna, and the first signal input terminal and the second signal input terminal of the demodulator are both coupled to the antenna, and the antenna transmits a received radio frequency signal to the first signal input terminal and the second signal input terminal. The antenna can provide radio frequency signals to the first signal input terminal and the second signal input terminal.

[0025] In a second aspect, a control method for a near field communication system is provided, wherein the near field communication system includes: a rectifier, a demodulator and a power management unit; the demodulator includes: a transconductance circuit, a first current source, a signal source, a load module, a first signal input terminal, a second signal input terminal, a third signal input terminal and a signal output terminal; the signal output terminal of the rectifier is coupled to the power management unit, the power management unit is coupled to the power input terminal of the demodulator, and the signal output terminal of the rectifier is also coupled to the third signal input terminal of the demodulator; the bias terminal of the transconductance circuit is coupled to the first current source, the second terminal of the transconductance circuit is coupled to the third signal input terminal, and the control terminal of the transconductance circuit is coupled to The first signal input terminal, the second signal input terminal, and the third signal input terminal are all coupled; the above-mentioned control method includes: first, the first signal input terminal and the second signal input terminal of the demodulator receive a radio frequency signal, and the third signal input terminal of the demodulator receives a direct current signal; wherein, the radio frequency signal received by the first signal input terminal and the second signal input terminal is a pair of differential signals; next, the demodulator selects whether to pass the current signal provided by the third signal input terminal to the first current source through the first end of the transconductance circuit or the second end of the transconductance circuit according to the comparison result of the voltage of the first signal input terminal or the voltage of the second signal input terminal and the voltage of the third signal input terminal. The control method of the near-field communication system has the same technical effect as the near-field communication system provided by the first aspect above, and the description of the first aspect above can be referred to, which will not be repeated here.

[0026] In one possible embodiment, the demodulator further includes a comparator; the first input terminal of the comparator is coupled to the first terminal of the transconductance circuit, the first input terminal of the comparator is further coupled to the third signal input terminal through a load module, the second input terminal of the comparator is coupled to the signal source, and the output terminal of the comparator is coupled to the signal output terminal; the above-mentioned control method further includes: the comparator compares the signal at the first input terminal with the signal at the second input terminal and outputs the comparison result. For example, when the signal at the first input terminal is greater than the signal at the second input terminal, the first digital signal is output; when the signal at the first input terminal is less than the signal at the second input terminal, the second digital signal is output. Please refer to the relevant description of the first aspect above, and no further details will be given here.

[0027] In a third aspect, a near-field communication system is provided, comprising: a rectifier, a demodulator, and a power management unit; the demodulator comprises: a transconductance circuit, a first current source, a signal source, a load module, a first signal input terminal, a third signal input terminal, and a signal output terminal; wherein the first signal input terminal is used to receive a radio frequency signal, the signal output terminal of the rectifier is coupled to the power management unit, and the power management unit is coupled to the power input terminal of the demodulator for powering the demodulator; the signal output terminal of the rectifier is also coupled to the third signal input terminal of the demodulator for providing a DC signal to the third signal input terminal; the bias terminal of the transconductance circuit is coupled to the first current source, the second terminal of the transconductance circuit is coupled to the third signal input terminal, and the control terminal of the transconductance circuit is coupled to both the first signal input terminal and the third signal input terminal; the transconductance circuit is used to select whether to flow the current signal provided by the third signal input terminal to the first current source through the first terminal of the transconductance circuit or the second terminal of the transconductance circuit based on a comparison result of the voltage at the first signal input terminal and the voltage at the third signal input terminal. For details, reference may be made to the relevant description of the first aspect above, which will not be repeated here.

[0028] In a possible implementation, the transconductance circuit is configured to direct the current signal provided by the third signal input terminal to flow to the first current source through the first terminal of the transconductance circuit when the voltage at the first signal input terminal is greater than the voltage at the third signal input terminal.

[0029] In a possible implementation, the transconductance circuit is configured to direct the current signal provided by the third signal input terminal to flow to the first current source through the second terminal of the transconductance circuit when the voltage at the first signal input terminal is lower than the voltage at the third signal input terminal.

[0030] In one possible implementation, the demodulator further includes a comparator; a first input terminal of the comparator is coupled to a first terminal of the transconductance circuit, the first input terminal of the comparator is further coupled to a third signal input terminal via a load module, a second input terminal of the comparator is coupled to a signal source, an output terminal of the comparator is coupled to a signal output terminal, and the comparator is configured to compare a signal at the first input terminal with a signal at the second input terminal and output a comparison result. For details, reference may be made to the relevant description of the first aspect above, which will not be repeated here.

[0031] In a fourth aspect, a control method for a near-field communication system is provided, the near-field communication system comprising: a rectifier, a demodulator, and a power management unit; the demodulator comprising: a transconductance circuit, a first current source, a signal source, a load module, a first signal input terminal, a third signal input terminal, and a signal output terminal; the signal output terminal of the rectifier is coupled to the power management unit, which is coupled to the power input terminal of the demodulator; the signal output terminal of the rectifier is also coupled to the third signal input terminal of the demodulator; the bias terminal of the transconductance circuit is coupled to the first current source, the second terminal of the transconductance circuit is coupled to the third signal input terminal, and the control terminal of the transconductance circuit is coupled to both the first signal input terminal and the third signal input terminal; the control method comprises: first, the first signal input terminal of the demodulator receives a radio frequency signal, and the third signal input terminal of the demodulator receives a direct current signal; then, the demodulator selects, based on a comparison result of a voltage between the first signal input terminal and a voltage between the third signal input terminal, whether to direct a current signal provided by the third signal input terminal to flow to the first current source through the first terminal of the transconductance circuit or the second terminal of the transconductance circuit. For details, reference may be made to the relevant description of the first aspect above, which will not be repeated here.

[0032] In one possible implementation, the demodulator further includes a comparator; a first input terminal of the comparator is coupled to a first terminal of the transconductance circuit, the first input terminal of the comparator is further coupled to a third signal input terminal via a load module, a second input terminal of the comparator is coupled to a signal source, and an output terminal of the comparator is coupled to a signal output terminal; the control method further includes: the comparator compares the signal at the first input terminal with the signal at the second input terminal, and outputs a comparison result. For details, please refer to the relevant description of the first aspect above, which will not be repeated here.

[0033] In a fifth aspect, an electronic device is provided, comprising a printed circuit board and the near-field communication system provided in the first or third aspect. This electronic device has the same technical effects as the near-field communication system provided in the first aspect, and the relevant description of the first aspect can be referred to and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] FIG1 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;

[0035] FIG2 is a schematic structural diagram of a near field communication system provided in an embodiment of the present application;

[0036] FIG3a is a schematic structural diagram of a demodulator provided by the related art;

[0037] FIG3b is a schematic structural diagram of a demodulator provided by another related art;

[0038] FIG4 is a schematic structural diagram of a demodulator provided in an embodiment of the present application;

[0039] FIG5 is a schematic structural diagram of a demodulator provided by another embodiment of the present application;

[0040] FIG6 is a graph showing the voltage terminals, current terminals, and signal output terminals of the demodulator shown in FIG5 ;

[0041] FIG7a is a schematic structural diagram of a demodulator provided in yet another embodiment of the present application;

[0042] FIG7 b is a schematic structural diagram of a demodulator provided in yet another embodiment of the present application;

[0043] FIG8 is a schematic structural diagram of a demodulator provided in yet another embodiment of the present application;

[0044] FIG9 is a schematic structural diagram of a demodulator provided in yet another embodiment of the present application;

[0045] FIG10 is a schematic structural diagram of a demodulator provided in yet another embodiment of the present application;

[0046] FIG11 is a schematic structural diagram of a demodulator provided in yet another embodiment of the present application;

[0047] FIG12a is a schematic structural diagram of a demodulator provided in yet another embodiment of the present application;

[0048] FIG12b is a schematic structural diagram of a demodulator provided in yet another embodiment of the present application;

[0049] FIG13 is a flow chart of a demodulator control method provided in an embodiment of the present application;

[0050] FIG14 is a schematic structural diagram of a demodulator provided in yet another embodiment of the present application.

[0051] Figure numerals: 1-electronic device; 10-wireless communication system; 10A-near field communication system; 11-processor; 12-power supply; 13-memory; 14-input unit; 15-display device; 16-audio circuit; 100-rectifier; 141-touch screen; 142-other input devices; 151-display panel; 161-speaker; 162-microphone; 200-demodulator; 201-transconductance circuit; 202-comparator; 202A-current comparator; 203-load module; 203A-first current mirror; 204-filter; 300-load modulator; 400-clock data recovery circuit; 500-power management unit; 600-digital processing circuit; 700-other modules; 800-antenna; 900-matching network and / or filter; 2021-voltage comparator; 2022-second current mirror. DETAILED DESCRIPTION

[0052] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments.

[0053] In the following, the terms "first," "second," etc., are used for descriptive convenience only and should not be understood to indicate or imply relative importance or implicitly specify the number of the technical features indicated. Thus, a feature specified as "first," "second," etc. may explicitly or implicitly include one or more of the features. In the description of this application, unless otherwise specified, "plurality" means two or more.

[0054] In the embodiments of the present application, unless otherwise clearly specified and limited, the term "coupling" may refer to a direct electrical connection or an indirect electrical connection through an intermediate medium.

[0055] In the embodiments of this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of this application should not be construed as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.

[0056] The embodiments of the present application provide an electronic device, which may be, for example, a mobile phone, a tablet computer, a personal digital assistant (PDA), a television, a smart wearable product (e.g., a smart watch, a smart bracelet), a virtual reality (VR) electronic device, an augmented reality (AR) electronic device, a rechargeable small household appliance (e.g., a soymilk maker, a robot vacuum), a drone, a radar, aerospace equipment, and a vehicle-mounted device, among other different types of user devices or electronic devices; the electronic device may also be a network device such as a base station. The embodiments of the present application do not impose any particular restrictions on the specific form of the electronic device.

[0057] Figure 1 is a schematic diagram of the structure of an electronic device exemplarily provided in an embodiment of the present application. As shown in Figure 1, the electronic device 1 includes components such as a wireless communication system 10, a processor 11, a power supply 12, a memory 13, an input unit 14, a display device 15, and an audio circuit 16. It will be understood that the structure illustrated in Figure 1 does not constitute a specific limitation on the electronic device 1. In other embodiments of the present application, the electronic device 1 may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The illustrated components can be implemented in hardware, software, or a combination of software and hardware.

[0058] The processor 11 is the control center of the electronic device 1. It connects the various parts of the entire electronic device using various interfaces and lines. By running or executing software programs and / or modules stored in the memory 13 and calling data stored in the memory 13, it performs various functions of the electronic device and processes data, thereby monitoring the electronic device as a whole. Optionally, the processor 11 may include one or more processing units. In some examples, the processor 11 may integrate an application processor (AP) and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes near-field communication. It is understandable that the modem processor may not be integrated into the processor 11.

[0059] The wireless communication system 10 can be used for receiving and sending signals during information transmission or calls. In particular, after receiving the downlink information from the base station, it is sent to the processor 11 for processing; in addition, the uplink data is sent to the base station. The wireless communication system 10 includes a near-field communication system and a far-field communication system. Generally, the wireless communication system 10 can communicate with the network and other devices through near-field communication or far-field communication. Near-field communication can use any communication standard or protocol, including but not limited to global system of mobile communication (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), long term evolution (LTE), email, short messaging service (SMS), etc.

[0060] The power supply 12 may include a battery, for example, and the power supply 12 may supply power to various components. Optionally, the power supply 12 may be logically connected to the processor 11 via a power management unit, thereby managing charging, discharging, and power consumption management functions through the power management unit.

[0061] The memory 13 can be used to store software programs and modules. The processor 11 executes various functional applications and data processing of the electronic device by running the software programs and modules stored in the memory 13. The memory 13 mainly includes a program storage area and a data storage area. The program storage area can store an operating system, at least one application required for a function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created based on the use of the mobile phone (such as audio data, image data, phone book, etc.). In addition, the memory 13 can include a high-speed random access memory and a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage device.

[0062] The above-mentioned input unit 14 can be used to receive input digital or character information, and generate key signal input related to user settings and function control of the electronic device. Specifically, the input unit 14 may include a touch screen 141 and other input devices 142. The touch screen 141, also known as a touch panel, can collect user touch operations on or near the touch screen (such as operations performed by the user using fingers, stylus, or any other suitable object or accessory on or near the touch screen 141) and drive the corresponding connected electronic device according to a pre-set program. Other input devices 142 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, power switch keys, etc.), a trackball, a mouse, a joystick, and the like.

[0063] The display device 15 can be used to display information input by the user or information provided to the user, as well as various menus of the electronic device. The display device 15 may include a display panel 151, which may be a liquid crystal display (LCD) panel, an organic light emitting diode (OLED) display panel, or a Micro-LED (micro light emitting diode) display panel. In addition, the touch screen 141 may cover the display panel 151. When the touch screen 141 detects a touch operation on or near the touch screen 141, it transmits the information to the processor 11 to determine the type of touch event. The processor 11 then provides a corresponding visual output on the display panel 151 based on the type of touch event. Although in FIG1 , the touch screen 141 and the display panel 151 are two independent components to implement the input and output functions of the device, in some embodiments, the touch screen 141 and the display panel 151 may be integrated to implement the input and output functions of the device.

[0064] The audio circuit 16, speaker 161, and microphone 162 provide an audio interface between the user and the electronic device. The audio circuit 16 converts received audio data into electrical signals and transmits them to the speaker 161, which then converts them into sound signals for output. Meanwhile, the microphone 162 converts collected sound signals into electrical signals, which are then received by the audio circuit 16 and converted into audio data. The audio data is then output to a near-field communication system for transmission to, for example, another electronic device, or to the memory 13 for further processing.

[0065] Optionally, the electronic device shown in FIG1 may further include various sensors. For example, a gyroscope sensor, a hygrometer sensor, an infrared sensor, a magnetometer sensor, etc., which are not described in detail here. Optionally, the electronic device shown in FIG1 may further include a wireless fidelity (WiFi) module, a Bluetooth module, etc., which are not described in detail here.

[0066] On this basis, the electronic device 1 may further include printed circuit boards (PCBs), and some chips or electronic devices in the electronic device 1, such as the processor 11 and the memory 13, may be arranged on the PCB.

[0067] Embodiments of the present application also provide a near field communication (NFC) system, which can be used as a type of wireless communication system 10 in the above-mentioned electronic device 1. As shown in FIG2 , the NFC system 10A may include a rectifier 100, a demodulator 200, a load modulator 300, a clock and data recovery (CDR) circuit 400, a power management unit (PMU) 500, a digital processing circuit 600, and other modules 700. The other modules may include, for example, a radio frequency limiter (RF limiter) module, a field detector module, and a secure element (SE).

[0068] On this basis, as shown in FIG2 , the near-field communication system 10A may further include an antenna 800, a matching network and / or a filter 900. The antenna 800 may be coupled to the rectifier 100, the demodulator 200, the load modulator 300, the clock data recovery circuit 400, and the like via the matching network and / or the filter 900.

[0069] It should be noted that the rectifier 100, demodulator 200, load modulator 300, clock data recovery circuit 400, power management unit 500, digital processing circuit 600, and other modules 700, such as a radio frequency limiter module, a field monitoring module, and a security module, can be integrated on the same radio frequency chip or on different radio frequency chips. FIG2 illustrates an example in which the rectifier 100, demodulator 200, load modulator 300, clock data recovery circuit 400, power management unit 500, digital processing circuit 600, and other modules 700, such as a radio frequency limiter module, a field monitoring module, and a security module, are integrated on the same radio frequency chip. When the near-field communication system 10A is applied to an electronic device 1, the radio frequency chip can be provided on a printed circuit board.

[0070] It is understood that, as shown in FIG2 , the RF chip may include multiple input and output ports (IO pads) 10a. The antenna 800 may be coupled to the IO ports 10a on the RF chip via a matching network and / or a filter 900. The rectifier 100, demodulator 200, load modulator 300, clock and data recovery circuit 400, etc. on the RF chip may be coupled to the IO ports 10a to receive signals received by the antenna 800 or transmit signals to the antenna 800. In addition, the RF chip may further include a port 10b coupled to a ground terminal. In some examples, as shown in FIG2 , the port 10b coupled to the ground terminal may be coupled to the ground terminal GND via a capacitor C.

[0071] In the aforementioned near-field communication system 10A, a rectifier 100 is coupled to an antenna 800 and is configured to convert RF signals received by the antenna 800 into DC energy for use by other modules or other chips within the RF chip. The signal output of the rectifier 100 is coupled to a power management unit 500, which is in turn coupled to the power inputs of other modules or other chips within the chip, such as the demodulator 200, the load modulator 300, the clock and data recovery circuit 400, the digital processing circuit 600, the RF limiter module, the field monitoring module, the security module, and the like. Power is supplied to other modules or other chips, such as the demodulator 200, the load modulator 300, the clock and data recovery circuit 400, the digital processing circuit 600, the RF limiter module, the field monitoring module, and the security module, through the power management unit 500.

[0072] The demodulator 200 is coupled to the antenna 800 and the digital processing circuit 600 , and is configured to demodulate the received modulated signal into a digital signal and transmit the digital signal to the digital processing circuit 600 for further demodulation.

[0073] The load modulator 300 is coupled to the digital processing circuit 600 and the antenna 800. The load modulator 300 serves as a transmitting module, configured to load modulate the digital signal output by the digital processing circuit 600 and output the result to the antenna 800, which then transmits the signal outwards through the antenna 800.

[0074] The clock data recovery circuit 400 is coupled to the antenna 800 and the digital processing circuit 600, and is used to convert the radio frequency signal received by the antenna 800 into a clock signal of the same frequency, and then transmit the clock signal to the digital processing circuit 600, allowing the digital processing circuit 600 to operate under the clock signal.

[0075] The digital processing circuit 600 is used for demodulation and RF chip control. The RF limiter module is coupled to the antenna 800 to prevent the signal from being too strong, exceeding the chip's voltage tolerance and causing damage. The field monitoring module is used to monitor whether the antenna 800 has a signal.

[0076] Improving the sensitivity of demodulator 200 in near-field communication system 10A is a current challenge in demodulator 200 research. This is because, in addition to signal distortion caused by rectifier 100, the limited bandwidth of the antenna significantly attenuates input high-speed modulated signals, such as the 6.8 Mbps signal in the VHBR protocol. This significantly attenuates these signals, leading to high sensitivity requirements for demodulator 200. After system attenuation, the modulation depth of a 6.8 Mbps signal may be as low as 0.1%. In low-speed communications, such as those below 848 kbps, the unidirectional conduction characteristics of diodes are commonly used to implement envelope detection, thereby achieving demodulation. However, this type of demodulator 200 has very low sensitivity and can typically only demodulate signals with a modulation depth of approximately 8%.

[0077] To address the low sensitivity of existing demodulators 200, the related art provides a demodulator 200, as shown in FIG3a . The demodulator 200 includes a programmable gain amplifier (PGA) and an analog-to-digital converter (ADC). VAC in FIG3a represents an antenna. The PGA is coupled to the antenna VAC, which provides a radio frequency signal to the PGA. The PGA is coupled to the analog-to-digital converter ADC, which outputs a digital signal. Theoretically, the demodulator 200 shown in FIG3a can achieve infinitesimal sensitivity. However, because both the PGA and the ADC require a large area, the chip cost is significantly increased. For a signal with a modulation depth of 0.1%, an ADC with at least 10 effective bits is required. The PGA must also be able to achieve the performance of a 10-bit ADC or higher, resulting in high costs.

[0078] Another related art provides a demodulator 200, as shown in FIG3b, which includes an envelope detector, a source follower, differentiators, comparators, and a control logic circuit. logic), a first signal input terminal VC, a second signal input terminal VD and a signal output terminal Dout; wherein, the first signal input terminal VC and the second signal input terminal VD are used to receive the radio frequency signal received by the antenna, and the radio frequency signal received by the first signal input terminal VC and the radio frequency signal received by the second signal input terminal VD are a pair of differential signals, the first signal input terminal VC and the second signal input terminal VD are coupled to the envelope detector, the envelope detector is coupled to the source follower, the source follower is coupled to the differentiator, the differentiator is coupled to the comparator, the comparator is coupled to the control logic circuit, and the control logic circuit is coupled to the signal output terminal Dout, the first signal input terminal VC and the second signal input terminal VD transmit the received radio frequency signal to the envelope detector, which is then processed by the envelope detector and then transmitted to the source follower, which is then processed by the source follower and then transmitted to the differentiator, which is then processed by the differentiator and then transmitted to the comparator, which is then processed by the comparator and then transmitted to the control logic circuit, and then a digital signal "1" or a digital signal "0" is output to the signal output terminal Dout through the control logic circuit. Because the demodulator 200 provided in FIG3b is composed of an envelope detector, a source follower, a differentiator, a comparator, and a control logic circuit, and the envelope detector, source follower, differentiator, and comparator can all be composed of simple circuits, the demodulator 200 provided in FIG3b occupies a smaller area and has a lower cost than the demodulator 200 provided in FIG3a . However, although the sensitivity of the demodulator 200 provided in FIG3b of the related art has been improved, the demodulator 200 still cannot demodulate signals with low modulation depths, such as the 6.8 Mbps signal in the VHBR protocol. In other words, the sensitivity of the demodulator 200 is still insufficient.

[0079] To address the issues of large area, high cost, and insufficient sensitivity of the demodulator 200 provided in the aforementioned related art, an embodiment of the present application provides a near-field communication system 10A. The near-field communication system 10A includes a demodulator 200. As shown in FIG4 , the demodulator 200 in the near-field communication system 10A includes a transconductance circuit 201, a first current source Iref1, a signal source Ref, a comparator 202, a load module 203, a first signal input terminal VC, a second signal input terminal VD, a third signal input terminal VE, and a signal output terminal Dout. The first signal input terminal VC and the second signal input terminal VD are configured to receive radio frequency signals, each of which is a differential pair of signals. The signal output terminal of the rectifier 100 is further coupled to the third signal input terminal VE of the demodulator 200 to provide a DC signal to the third signal input terminal VE.

[0080] In an embodiment of the present application, the radio frequency signals received by the first signal input terminal VC and the second signal input terminal VD contain communication information, the peak value of the radio frequency signal received by the first signal input terminal VC and the peak value of the radio frequency signal received by the second signal input terminal VD are both greater than the value of the DC signal received by the third signal input terminal VE, and the peak value of the radio frequency signal received by the first signal input terminal VC and the peak value of the radio frequency signal received by the second signal input terminal VD are relatively close to the value of the DC signal received by the third signal input terminal VE.

[0081] It can be understood that when the near-field communication system 10A includes the antenna 800, the first signal input terminal VC and the second signal input terminal VD of the demodulator 200 are both coupled to the antenna 800, and the antenna 800 can transmit the received RF signal to the first signal input terminal VC and the second signal input terminal VD.

[0082] In the near-field communication system 10A, the function of the rectifier 100 is to convert a radio frequency signal (for example, a radio frequency signal received from the antenna 800) into a direct current signal. The third signal input terminal VE of the demodulator 200 is coupled to the signal output terminal of the rectifier 100 for receiving the direct current signal outputted from the signal output terminal of the rectifier 100.

[0083] It should be noted that, since the first signal input terminal VC and the second signal input terminal VD of the demodulator 200 receive the RF signal transmitted by the antenna 800, and the rectifier 100 converts the RF signal received from the antenna 800 into a DC signal, and then provides it to the third signal input terminal VE of the demodulator 200, the peak value of the RF signal received by the first signal input terminal VC, the peak value of the RF signal received by the second signal input terminal VD, and the value of the DC signal received by the third signal input terminal VE are relatively close.

[0084] 4 , the bias terminal of the transconductance circuit 201 is coupled to the first current source Iref1, the first terminal of the transconductance circuit 201 is coupled to the first input terminal a of the comparator 202, the second terminal of the transconductance circuit 201 is coupled to the third signal input terminal VE, and the control terminal of the transconductance circuit 201 is coupled to the first signal input terminal VC, the second signal input terminal VD, and the third signal input terminal VE.

[0085] Here, one end of the first current source Iref1 is coupled to the bias end of the transconductance circuit 201 , and the other end may be coupled to the ground end GND.

[0086] It should be understood that the first end of the transconductance circuit 201 can be directly coupled to the first input terminal a of the comparator 202; or the first end of the transconductance circuit 201 can be indirectly coupled to the first input terminal a of the comparator 202, that is, the first end of the transconductance circuit 201 and the first input terminal a of the comparator 202 are coupled together through other circuit structures.

[0087] The transconductance circuit 201 is used to select whether to flow the current signal provided by the third signal input terminal VE to the first current source Iref1 through the first terminal of the transconductance circuit 201 or the second terminal of the transconductance circuit 201 according to the comparison result of the voltage of the first signal input terminal VC or the voltage of the second signal input terminal VD with the voltage of the third signal input terminal VE.

[0088] In some examples, the transconductance circuit 201 is configured to, when the voltage at the first signal input terminal VC or the voltage at the second signal input terminal VD is greater than the voltage at the third signal input terminal VE, direct the current signal provided by the third signal input terminal VE to flow to the first current source Iref1 through the first terminal of the transconductance circuit 201, and then to the ground terminal GND through the first current source Iref1. In some examples, the transconductance circuit 201 is configured to, when both the voltage at the first signal input terminal VC and the voltage at the second signal input terminal VD are less than the voltage at the third signal input terminal VE, direct the current signal provided by the third signal input terminal VE to flow to the first current source Iref1 through the second terminal of the transconductance circuit 201, and then to the ground terminal GND through the first current source Iref1.

[0089] It should be noted that when the voltage of the first signal input terminal VC and the voltage of the second signal input terminal VD are both lower than the voltage of the third signal input terminal VE, in some examples, the current signal provided by the third signal input terminal VE can also flow to the first current source Iref1 through the first end of the transconductance circuit 201, and flow to the ground terminal GND through the first current source Iref1.

[0090] On this basis, the first input terminal a of the comparator 202 is also coupled to the third signal input terminal VE through the load module 203, the second input terminal b of the comparator 202 is coupled to the signal source Ref, and the output terminal of the comparator 202 is coupled to the signal output terminal Dout. The comparator 202 is used to compare the signal at the first input terminal a with the signal at the second input terminal b, and output the comparison result.

[0091] In some examples, the comparator 202 is configured to compare a signal at a first input terminal a with a signal at a second input terminal b. When the signal at the first input terminal a is greater than the signal at the second input terminal b, the comparator 202 outputs a first digital signal, such as "1." When the signal at the first input terminal a is less than the signal at the second input terminal b, the comparator 202 outputs a second digital signal, such as "0." For ease of description, the following example uses a case where the first digital signal is "1" and the second digital signal is "0."

[0092] The demodulator 200 is exemplarily described below through several embodiments.

[0093] Example 1

[0094] In the first embodiment, as shown in FIG5 , the load module 203 includes a first current mirror 203A, the signal source Ref is a second current source Iref2, the comparator 202 is a current comparator 202A, and the second input terminal b of the current comparator 202A is coupled to the second current source Iref2. The current comparator 202A is configured to compare the current at the first input terminal a with the current at the second input terminal b and output a comparison result. In some examples, the current comparator 202A is configured to compare the current at the first input terminal a with the current at the second input terminal b, and output a first digital signal "1" when the current at the first input terminal a is greater than the current at the second input terminal b; and output a second digital signal "0" when the current at the first input terminal a is less than the current at the second input terminal b.

[0095] When the signal source Ref is the second current source Iref2 , as shown in FIG5 , one end of the second current source Iref2 is coupled to the second input terminal b of the current comparator 202A, and the other end may be coupled to the third signal input terminal VE.

[0096] 5 , the first input terminal c of the first current mirror 203A is coupled to the first terminal of the transconductance circuit 201, the second input terminal d of the first current mirror 203A is coupled to the third signal input terminal VE, and the output terminal e of the first current mirror 203A is coupled to the first input terminal a of the current comparator 202A. The first current mirror 203A is configured to amplify the current mirror of the first terminal of the transconductance circuit 201 and output the amplified current to the output terminal e of the first current mirror 203A, i.e., output the amplified current to the first input terminal a of the current comparator 202A.

[0097] In the first embodiment, the first terminal of the transconductance circuit 201 is coupled to the first input terminal a of the current comparator 202A through the first current mirror 203A.

[0098] Here, the current at the first input terminal a of the current comparator 202A is a multiple of the current at the first terminal of the transconductance circuit 201. The multiple by which the first current mirror 203A amplifies the current at the first terminal of the transconductance circuit 201 is not limited, and the mirror amplification multiple of the first current mirror 203A can be adjusted by adjusting the structure and parameters of the first current mirror 203A.

[0099] When the load module 203 includes the first current mirror 203A, since the first current mirror 203A can amplify the current at the first end of the transconductance circuit 201 and output it to the first input terminal a of the current comparator 202A, when comparing the currents at the first input terminal a and the second input terminal b of the current comparator 202A, the sensitivity requirement of the current comparator 202A can be reduced.

[0100] In some examples, as shown in FIG5 , the first current mirror 203A includes a seventh transistor M7 and an eighth transistor M8; the gate and the first electrode of the seventh transistor M7 are coupled to the first end of the transconductance circuit 201, and the second electrode of the seventh transistor M7 is coupled to the third signal input end VE; one of the first electrode and the second electrode of the seventh transistor M7 is a source, and the other is a drain; the gate of the eighth transistor M8 is coupled to the gate of the seventh transistor M7, the first electrode of the eighth transistor M8 is coupled to the first input end a of the current comparator 202A, and the second electrode of the eighth transistor M8 is coupled to the third signal input end VE; one of the first electrode and the second electrode of the eighth transistor M8 is a source, and the other is a drain.

[0101] The gate and first electrode of the seventh transistor M7, and the gate of the eighth transistor M8 are coupled together to serve as a first input terminal c of the first current mirror 203A. The second electrode of the seventh transistor M7 and the second electrode of the eighth transistor M8 are coupled together to serve as a second input terminal d of the first current mirror 203A. The first electrode of the eighth transistor M8 is used as an output terminal e of the first current mirror 203A.

[0102] Here, the mirror magnification of the first current mirror 203A can be adjusted by adjusting the aspect ratio of the seventh transistor M7 and the eighth transistor M8.

[0103] In addition, the seventh transistor M7 and the eighth transistor M8 may be MOS transistors, for example.

[0104] On this basis, in the embodiment of the present application, the seventh transistor M7 and the eighth transistor M8 are P-type transistors. Taking the seventh transistor M7 as an example, for a P-type transistor, when a low-level signal is provided to the gate of the seventh transistor M7, the seventh transistor M7 is turned on.

[0105] When the voltage of the first signal input terminal VC is greater than the voltage of the third signal input terminal VE, the current I at the first end of the transconductance circuit 201 is I=Gm×(VC-VE); when the voltage of the second signal input terminal VD is greater than the voltage of the third signal input terminal VE, the current I at the first end of the transconductance circuit 201 is I=Gm×(VD-VE), where Gm is the transconductance coefficient, which can be set as needed.

[0106] It can be understood that, since the first terminal of the transconductance circuit 201 is coupled to the first input terminal a of the current comparator 202A, the magnitude of the current at the first input terminal a of the current comparator 202A is related to the magnitude of the current at the first terminal of the transconductance circuit 201. Since the second input terminal b of the current comparator 202A is coupled to the second current source Iref2, the magnitude of the current at the second input terminal b of the current comparator 202A is related to the magnitude of the current of the second current source Iref2.

[0107] Based on the above, during the operation of demodulator 200, when the voltage at the first signal input terminal VC or the voltage at the second signal input terminal VD is greater than the voltage at the third signal input terminal VE, and the difference between the voltage at the first signal input terminal VC or the voltage at the second signal input terminal VD and the voltage at the third signal input terminal VE is greater than or equal to a threshold voltage, the current at the first input terminal a of current comparator 202A is greater than the current at the second input terminal b of current comparator 202A. When the voltage at the first signal input terminal VC or the voltage at the second signal input terminal VD is greater than the voltage at the third signal input terminal VE, and the difference between the voltage at the first signal input terminal VC or the voltage at the second signal input terminal VD and the voltage at the third signal input terminal VE is less than the threshold voltage, or when both the voltage at the first signal input terminal VC and the voltage at the second signal input terminal VD are less than the voltage at the third signal input terminal VE, the current at the first input terminal a of current comparator 202A is less than the current at the second input terminal b of current comparator 202A. The threshold voltage can be set as needed.

[0108] It should be understood that when the voltage of the first signal input terminal VC and the voltage of the second signal input terminal VD are both lower than the voltage of the third signal input terminal VE, since the current signal provided by the third signal input terminal VE mainly flows to the first current source Iref1 through the second end of the transconductance circuit 201, or the current signal provided by the third signal input terminal VE partially flows to the first current source Iref1 through the second end of the transconductance circuit 201 and partially flows to the first current source Iref1 through the first end of the transconductance circuit 201, the current at the first end of the transconductance circuit 201 is relatively small, and the first end of the transconductance circuit 201 is coupled to the first input terminal a of the current comparator 202A, so the current at the first input terminal a of the current comparator 202A is lower than the current at the second input terminal b of the current comparator 202A. At this time, the output terminal Dout of the current comparator 202A outputs the second digital signal "0".

[0109] When the voltage of the first signal input terminal VC or the voltage of the second signal input terminal VD is greater than the voltage of the third signal input terminal VE, taking the case where the voltage of the first signal input terminal VC is greater than the voltage of the third signal input terminal VE as an example, there are two cases. The first case is: the difference between the voltage of the first signal input terminal VC and the voltage of the third signal input terminal VE is greater than or equal to the threshold voltage, and the current signal provided by the third signal input terminal VE mainly flows to the first current source Iref1 through the first end of the transconductance circuit 201. At this time, the current I of the first end of the transconductance circuit 201 is I=Gm×(VC-VE), and the current of the first end of the transconductance circuit 201 is larger. Therefore, the current of the first input terminal a of the current comparator 202A is greater than the current of the second input terminal b of the current comparator 202A. At this time, the output terminal Dout of the current comparator 202A outputs the first digital signal "1". The second type: the difference between the voltage of the first signal input terminal VC and the voltage of the third signal input terminal VE is less than the threshold voltage, and the current signal provided by the third signal input terminal VE mainly flows to the first current source Iref1 through the first end of the transconductance circuit 201. At this time, the current I of the first end of the transconductance circuit 201 is I=Gm×(VC-VE), but the current of the first end of the transconductance circuit 201 is small, so the current of the first input terminal a of the current comparator 202A is less than the current of the second input terminal b of the current comparator 202A. At this time, the output terminal Dout of the current comparator 202A outputs the second digital signal "0".

[0110] Referring to FIG. 6 , FIG. 6 includes three relationship graphs: an upper graph, a middle graph, and a lower graph. The upper graph shows the relationship between the voltages at the first signal input terminal VC, the second signal input terminal VD, and the third signal input terminal VE. The middle graph shows the current Iout at the first input terminal a of the current comparator 202A and the current at the second input terminal b of the current comparator 202A, i.e., the current of the second current source Iref2. The lower graph shows the output result of the input terminal Dout of the current comparator 202A, where the output result is represented as a digital signal. As can be seen from FIG. 6 , when the voltage at the first signal input terminal VC or the voltage at the second signal input terminal VD is greater than the voltage at the third signal input terminal VE, and the difference between the voltage at the first signal input terminal VC or the voltage at the second signal input terminal VD and the voltage at the third signal input terminal VE is greater than or equal to the threshold voltage, the current Iout at the first input terminal a of the current comparator 202A is greater than the current Iref2 at the second input terminal b of the current comparator 202A, and the output terminal Dout of the current comparator 202A outputs the first digital signal "1." When the voltage of the first signal input terminal VC or the voltage of the second signal input terminal VD is greater than the voltage of the third signal input terminal VE, and the difference between the voltage of the first signal input terminal VC or the voltage of the second signal input terminal VD and the voltage of the third signal input terminal VE is less than the threshold voltage, or when the voltage of the first signal input terminal VC and the voltage of the second signal input terminal VD are both less than the voltage of the third signal input terminal VE, the current Iout of the first input terminal a of the current comparator 202A is less than the current Iref2 of the second input terminal b of the current comparator 202A, and the output terminal Dout of the current comparator 202A outputs the second digital signal "0".

[0111] When the demodulator 200 provided in an embodiment of the present application is applied to a near-field communication system 10A, the first signal input terminal VC and the second signal input terminal VD of the demodulator 200 receive the RF signal transmitted by the antenna 800, and the third signal input terminal VE of the demodulator 200 is coupled to the output terminal of the rectifier 100, and is used to receive the DC signal converted by the rectifier 100 from the RF signal received from the antenna 800. Therefore, referring to Figure 6, it can be seen that the peak value of the RF signal received by the first signal input terminal VC, the peak value of the RF signal received by the second signal input terminal VD, and the value of the DC signal received by the third signal input terminal VE are relatively close. On this basis, during demodulation, the demodulator 200 provided in the embodiment of the present application uses the voltage of the third signal input terminal VE as a reference and compares it with the voltage of the first signal input terminal VC and the voltage of the second signal input terminal VD. The peak values ​​of the RF signal received by the first signal input terminal VC and the peak values ​​of the RF signal received by the second signal input terminal VD are close to the value of the DC signal received by the third signal input terminal VE. Therefore, during demodulation, the demodulator 200 provided in the embodiment of the present application only quantizes the useful signal, thereby achieving high sensitivity of the demodulator 200. In this way, the demodulator 200 can demodulate signals with low modulation depth, for example, it can demodulate 6.8Mbps signals in the VHBR protocol. Compared with the demodulator 200 provided in FIG3b, the demodulator 200 provided in the embodiment of the present application has higher sensitivity. In addition, since the demodulator 200 provided in the embodiment of the present application is mainly composed of the transconductance circuit 201 and the current comparator 202A, the demodulator 200 provided in the embodiment of the present application occupies a small area and has low cost. Compared with the demodulator 200 provided in FIG. 3 a and the demodulator 200 provided in FIG. 3 b , the demodulator 200 provided in the embodiment of the present application occupies a smaller area and has a lower cost.

[0112] In the embodiment of the present application, the transconductance circuit 201 may illustratively include the following implementations:

[0113] In the first embodiment, as shown in FIG7 a , the transconductance circuit 201 includes a first transistor M1, a second transistor M2, and a third transistor M3; the gate and the second electrode of the first transistor M1 are both coupled to the third signal input terminal VE, and the first electrode of the first transistor M1 is coupled to the first current source Iref1; one of the first electrode and the second electrode of the first transistor M1 is a source, and the other is a drain; the gate of the second transistor M2 is coupled to the first signal input terminal VC, the first electrode of the second transistor M2 is coupled to the first current source Iref1, and the second electrode of the second transistor M2 is coupled to the first input terminal a of the comparator 202; one of the first electrode and the second electrode of the second transistor M2 is a source, and the other is a drain; the gate of the third transistor M3 is coupled to the second signal input terminal VD, the first electrode of the third transistor M3 is coupled to the first current source Iref1, and the second electrode of the third transistor M3 is coupled to the first input terminal a of the comparator 202; one of the first electrode and the second electrode of the third transistor M3 is a source, and the other is a drain.

[0114] In the second embodiment, as shown in FIG7b , the transconductance circuit 201 includes a first transistor M1, a second transistor M2, a third transistor M3, and a fourth transistor M4; the gate and the second electrode of the first transistor M1 are both coupled to the third signal input terminal VE, and the first electrode of the first transistor M1 is coupled to the first current source Iref1; one of the first electrode and the second electrode of the first transistor M1 is a source and the other is a drain; the gate of the second transistor M2 is coupled to the first signal input terminal VC, the first electrode of the second transistor M2 is coupled to the first current source Iref1, and the second electrode of the second transistor M2 is coupled to the first input terminal a of the comparator 202; the first electrode of the second transistor M2 is coupled to the first signal input terminal VC, the first electrode of the second transistor M2 is coupled to the first current source Iref1, and the second electrode of the second transistor M2 is coupled to the first input terminal a of the comparator 202; One of the first and second electrodes of the third transistor M3 is a source, and the other is a drain; the gate of the third transistor M3 is coupled to the second signal input terminal VD, the first electrode of the third transistor M3 is coupled to the first current source Iref1, and the second electrode of the third transistor M3 is coupled to the first input terminal a of the comparator 202; one of the first and second electrodes of the third transistor M3 is a source, and the other is a drain; the gate of the fourth transistor M4 is coupled to the third signal input terminal VE, the first electrode of the fourth transistor M4 is coupled to the first current source Iref1, and the second electrode of the fourth transistor M4 is coupled to the first input terminal a of the comparator 202; one of the first and second electrodes of the fourth transistor M4 is a source, and the other is a drain.

[0115] For the transconductance circuit 201, the difference between the first mode and the second mode is that the second mode has a fourth transistor M4 compared to the first mode. The following describes the transconductance circuit 201 using the second mode as an example, i.e., the transconductance circuit 201 includes the first transistor M1, the second transistor M2, the third transistor M3, and the fourth transistor M4. When the transconductance circuit 201 is in the first mode, the description of the transconductance circuit 201 in the second mode can be referred to.

[0116] It should be noted that the second electrode of the second transistor M2, the second electrode of the third transistor M3, and the second electrode of the fourth transistor M4 are coupled together to serve as the first end of the transconductance circuit 201; the first electrode of the first transistor M1, the first electrode of the second transistor M2, the first electrode of the third transistor M3, and the first electrode of the fourth transistor M4 are coupled together to serve as the bias end of the transconductance circuit 201; and the second electrode of the first transistor M1 is used as the second end of the transconductance circuit 201.

[0117] Here, the first transistor M1 , the second transistor M2 , the third transistor M3 and the fourth transistor M4 may be, for example, metal-oxide-semiconductor field-effect transistors (MOSFETs), or MOS transistors.

[0118] In addition, in the embodiment of the present application, the first transistor M1, the second transistor M2, the third transistor M3, and the fourth transistor M4 are N-type transistors. Taking the first transistor M1 as an example, for an N-type transistor, when a high-level signal is provided to the gate of the first transistor M1, the first transistor M1 is turned on.

[0119] It is understandable that the transconductance circuit 201 includes but is not limited to the first and second modes described above, and may further include one or more other transistors connected in series or in parallel with the first transistor M1 , the fourth transistor M4 , the second transistor M2 and the third transistor M3 .

[0120] Taking the transconductance circuit 201 including the first transistor M1, the second transistor M2, the third transistor M3 and the fourth transistor M4 as an example, the working process of the transconductance circuit 201 is described below: when the voltage at the first signal input terminal VC is greater than the voltage at the third signal input terminal VE, the third transistor M3 is turned off, the first transistor M1 and the fourth transistor M4 are turned off, the second transistor M2 is turned on, and the current signal provided by the third signal input terminal VE flows to the first current source Iref1 through the second transistor M2 (that is, the first terminal of the transconductance circuit 201), and flows to the ground terminal GND through the first current source Iref1; when the voltage at the first signal input terminal VC is greater than the voltage at the third signal input terminal VE, the third transistor M3 is turned off, the first transistor M1 and the fourth transistor M4 are turned off, and the second transistor M2 is turned on. When the voltage at the input terminal VC is less than the voltage at the third signal input terminal VE, the third transistor M3 is turned off, the second transistor M2 is turned off, the first transistor M1 and the fourth transistor M4 are turned on, and the current signal provided by the third signal input terminal VE flows to the first current source Iref1 through the first transistor M1 (i.e., the second terminal of the transconductance circuit 201), and flows to the ground terminal GND through the first current source Iref1. The current signal provided by the third signal input terminal VE also flows to the first current source Iref1 through the fourth transistor M4 (i.e., the first terminal of the transconductance circuit 201), and flows to the ground terminal GND through the first current source Iref1.

[0121] Based on the above, when the current signal provided by the third signal input terminal VE flows to the first current source Iref1 through the second transistor M2 (i.e., the first end of the transconductance circuit 201), and flows to the ground terminal GND through the first current source Iref1, depending on the difference between the voltages of the first signal input terminal VC and the third signal input terminal VE, when the difference between the voltage of the first signal input terminal VC and the voltage of the third signal input terminal VE is greater than or equal to the threshold voltage, the current of the first input terminal a of the current comparator 202A is greater than the current of the second input terminal b of the current comparator 202A; when the difference between the voltage of the first signal input terminal VC and the voltage of the third signal input terminal VE is less than the threshold voltage, the current of the first input terminal a of the current comparator 202A is less than the current of the second input terminal b of the current comparator 202A.

[0122] When the current signal provided by the third signal input terminal VE flows to the first current source Iref1 through the first transistor M1 (i.e., the second end of the transconductance circuit 201), and flows to the ground terminal GND through the first current source Iref1; when the current signal provided by the third signal input terminal VE also flows to the first current source Iref1 through the fourth transistor M4 (i.e., the first end of the transconductance circuit 201), and flows to the ground terminal GND through the first current source Iref1, the current at the first input terminal a of the current comparator 202A is less than the current at the second input terminal b of the current comparator 202A.

[0123] Similarly, when the voltage at the second signal input terminal VD is greater than the voltage at the third signal input terminal VE, the second transistor M2 is turned off, the first transistor M1 and the fourth transistor M4 are turned off, and the third transistor M3 is turned on. The current signal provided by the third signal input terminal VE flows to the first current source Iref1 through the third transistor M3 (i.e., the first terminal of the transconductance circuit 201), and then flows to the ground terminal GND through the first current source Iref1. When the voltage at the second signal input terminal VD is less than the voltage at the third signal input terminal VE, the second transistor M2 is turned off, the third transistor M3 is turned off, and the first transistor M1 and the fourth transistor M4 are turned on. The current signal provided by the third signal input terminal VE flows to the first current source Iref1 through the first transistor M1 (i.e., the second terminal of the transconductance circuit 201), and then flows to the ground terminal GND through the first current source Iref1. The current signal provided by the third signal input terminal VE also flows to the first current source Iref1 through the fourth transistor M4 (i.e., the first terminal of the transconductance circuit 201), and then flows to the ground terminal GND through the first current source Iref1.

[0124] Taking the first signal input terminal VC as an example, in the case where the transconductance circuit 201 includes the first transistor M1, the second transistor M2, and the third transistor M3, but does not include the fourth transistor M4, when the voltage at the first signal input terminal VC is less than the voltage at the third signal input terminal VE, the current signal provided by the third signal input terminal VE flows to the first current source Iref1 through the first transistor M1 (i.e., the second terminal of the transconductance circuit 201), and flows to the ground terminal GND through the first current source Iref1; in the case where the transconductance circuit 201 includes the first transistor M1, the second transistor M2, the third transistor M3, and the fourth transistor M4, when the voltage at the first signal input terminal VC is less than the voltage at the third signal input terminal VE, the current signal provided by the third signal input terminal VE flows to the first current source Iref1 through the first transistor M1 (i.e., the second terminal of the transconductance circuit 201), and flows to the ground terminal GND through the first current source Iref1; When the voltage at the terminal VC is less than the voltage at the third signal input terminal VE, the current signal provided by the third signal input terminal VE flows to the first current source Iref1 through the first transistor M1 (i.e., the second terminal of the transconductance circuit 201), and then flows to the ground terminal GND through the first current source Iref1. The current signal provided by the third signal input terminal VE also flows to the first current source Iref1 through the fourth transistor M4 (i.e., the first terminal of the transconductance circuit 201), and then flows to the ground terminal GND through the first current source Iref1. Based on this, it can be seen that the addition of the fourth transistor M4 can maintain a continuous current at the first terminal of the transconductance circuit 201, thereby accelerating the response speed of the operational amplifier.

[0125] In the case where the transconductance circuit 201 includes a first transistor M1, a second transistor M2, a third transistor M3, and a fourth transistor M4, and the first current mirror 203A includes a seventh transistor M7 and an eighth transistor M8, the gates of the first transistor M1 and the fourth transistor M4 are coupled to the third signal input terminal VE, the gate of the second transistor M2 is coupled to the first signal input terminal VC, and the gate of the third transistor M3 is coupled to the second signal input terminal VD. Based on the above, it can be seen that the voltages at the first signal input terminal VC, the second signal input terminal VD, and the third signal input terminal VE are similar, that is, it can be roughly assumed that the gate voltages of the first transistor M1, the fourth transistor M4, the second transistor M2, and the third transistor M3 are the same. In addition, because the first electrode of the first transistor M1, the first electrode of the fourth transistor M4, the first electrode of the second transistor M2, and the first electrode of the third transistor M3 are all coupled to the first current source Iref1, it can be assumed that the voltages at the first electrode of the first transistor M1, the first electrode of the fourth transistor M4, the first electrode of the second transistor M2, and the first electrode of the third transistor M3 are the same. In addition, since the second electrode of the fourth transistor M4, the second electrode of the second transistor M2, and the second electrode of the third transistor M3 are coupled to the third signal input terminal VE via the seventh transistor M7, it can be considered that the voltages of the second electrode of the fourth transistor M4, the second electrode of the second transistor M2, and the second electrode of the third transistor M3 are the same. Considering that if the second electrode of the first transistor M1 is directly coupled to the third signal input terminal VE, the voltage of the second electrode of the first transistor M1 will be different from the voltages of the second electrode of the fourth transistor M4, the second electrode of the second transistor M2, and the second electrode of the third transistor M3, that is, the Vds of the first transistor M1 will be different from the Vds of the fourth transistor M4, the Vds of the second transistor M2, and the Vds of the third transistor M3, which will lead to a channel length modulation effect. Based on this, in order to reduce the influence of the channel length modulation effect, in some examples, as shown in Figure 8, the above-mentioned demodulator 200 also includes an eleventh transistor M11, and the gate and the first electrode of the eleventh transistor M11 are coupled to the second end of the transconductance circuit 201. When the transconductance circuit 201 includes the first transistor M1, the second transistor M2, the third transistor M3 and the fourth transistor M4, that is, the gate and the first electrode of the eleventh transistor M11 are coupled to the second electrode of the first transistor M1, and the second electrode of the eleventh transistor M11 is coupled to the third signal input terminal VE; wherein, one of the first electrode and the second electrode of the eleventh transistor M11 is a source, and the other is a drain.

[0126] Here, the eleventh transistor M11 may be, for example, a MOS transistor.

[0127] In addition, in the embodiment of the present application, the eleventh transistor M11 is a P-type transistor.

[0128] When the eleventh transistor M11 is provided in the demodulator 200, for the first transistor M1, the second transistor M2, the third transistor M3, and the fourth transistor M4 in the transconductance circuit 201, since the second electrode of the first transistor M1 is coupled to the third signal input terminal VE via the eleventh transistor M11, and the second electrode of the fourth transistor M4, the second electrode of the second transistor M2, and the second electrode of the third transistor M3 are coupled to the third signal input terminal VE via the seventh transistor M7, it can be considered that the voltages of the second electrode of the first transistor M1, the second electrode of the fourth transistor M4, the second electrode of the second transistor M2, and the second electrode of the third transistor M3 are the same or similar, and the first electrode of the first transistor M1, the first electrode of the fourth transistor M4, the first electrode of the second transistor M2, and the first electrode of the third transistor M3 are all connected to the first current source Iref. 1 coupling, it can be considered that the voltages of the first electrode of the first transistor M1, the first electrode of the fourth transistor M4, the first electrode of the second transistor M2, and the first electrode of the third transistor M3 are the same. In this way, the Vds of the first transistor M1, the Vds of the fourth transistor M4, the Vds of the second transistor M2, and the Vds of the third transistor M3 are the same or similar, thereby reducing the influence of the channel length modulation effect.

[0129] Considering that the third signal input terminal VE of the demodulator 200 is usually coupled to the output terminal of the rectifier 100, and the output terminal of the rectifier 100 may jitter, thereby causing the voltage outputted from the output terminal of the rectifier 100 to be unstable, the voltage at the third signal input terminal VE of the demodulator 200 may be unstable. Based on this, referring to FIG8 , in some examples, the demodulator 200 further includes a filter 204, which is coupled between the third signal input terminal VE and the ground terminal GND.

[0130] Since the filter 204 can function as a voltage stabilizer, coupling the filter 204 to the third signal input terminal VE can ensure that the voltage provided by the third signal input terminal VE is stable, thereby facilitating improved performance of the demodulator 200 .

[0131] In some examples, as shown in FIG8 , the filter 204 may include a capacitor C and a third resistor R3 ; the capacitor C and the third resistor R3 are connected in series between the third signal input terminal VE and the ground terminal GND.

[0132] Based on the above, the current comparator 202A in the demodulator 200 may be implemented in the following ways, for example.

[0133] Method 1

[0134] As shown in Figure 9, the current comparator 202A may include: a voltage comparator 2021, a first resistor R1 and a second resistor R2; the first input terminal of the voltage comparator 2021 is coupled to the first end of the transconductance circuit 201, the second input terminal of the voltage comparator 2021 is coupled to the second current source Iref2, and the output terminal of the voltage comparator 2021 is coupled to the signal output terminal Dout; the first resistor R1 is coupled between the first input terminal of the voltage comparator 2021 and the ground terminal GND, and the second resistor R2 is coupled between the second input terminal of the voltage comparator 2021 and the ground terminal GND.

[0135] It should be noted that the first input end of the voltage comparator 2021 is used as the first input end of the current comparator 202A, the second input end of the voltage comparator 2021 is used as the second input end of the current comparator 202A, and the output end of the voltage comparator 2021 is used as the output end of the current comparator 202A.

[0136] It is understandable that the first input terminal of the voltage comparator 2021 and the first terminal of the transconductance circuit 201 can be directly coupled, or can be coupled together through other circuit structures, such as the first current mirror 203A. In the case where the first input terminal of the voltage comparator 2021 is coupled to the first terminal of the transconductance circuit 201 through the first current mirror 203A, the first input terminal of the voltage comparator 2021 is coupled to the output terminal of the first current mirror 203A.

[0137] It should be understood that the voltage comparator 2021 is configured to compare the voltage at the first input terminal of the voltage comparator 2021 with the voltage at the second input terminal of the voltage comparator 2021, thereby outputting a first digital signal "1" or a second digital signal "0" at the output terminal of the voltage comparator 2021. When the voltage at the first input terminal of the voltage comparator 2021 is greater than the voltage at the second input terminal of the voltage comparator 2021, the first digital signal "1" is output; and when the voltage at the first input terminal of the voltage comparator 2021 is less than the voltage at the second input terminal of the voltage comparator 2021, the second digital signal "0" is output. Here, the voltage at the first input terminal of the voltage comparator 2021 is equal to the current at the first input terminal of the voltage comparator 2021 multiplied by the first resistor R1, and the voltage at the second input terminal of the voltage comparator 2021 is equal to the current at the second input terminal of the voltage comparator 2021 multiplied by the second resistor R2.

[0138] Here, the size of the first resistor R1 and the size of the second resistor R2 may be equal or different.

[0139] For the voltage comparator 2021, the greater the voltage at the first input terminal of the voltage comparator 2021 and the voltage at the second input terminal of the voltage comparator 2021, the more accurate the result output by the output terminal of the voltage comparator 2021. Taking the voltage at the first input terminal of the voltage comparator 2021 as an example, if the current at the first input terminal of the voltage comparator 2021 is constant, if the voltage at the first input terminal of the voltage comparator 2021 is increased by increasing the resistance value of the first resistor R1, the resistance value of the first resistor R1 needs to be larger, which results in a larger area occupied by the first resistor R1. Based on this, in some examples, as shown in FIG10 , the current comparator 202A further includes: a fifth transistor M5 and a sixth transistor M6; the fifth transistor M5 and the first resistor R1 are connected in series between the first input terminal of the voltage comparator 2021 and the ground terminal GND, the gate and the first electrode of the fifth transistor M5 are both coupled to the first input terminal of the voltage comparator 2021, and the second electrode of the fifth transistor M5 is coupled to the ground terminal GND; one of the first electrode and the second electrode of the fifth transistor M5 is a source, and the other is a drain; the sixth transistor M6 and the second resistor R2 are connected in series between the second input terminal of the voltage comparator 2021 and the ground terminal GND, the gate and the first electrode of the sixth transistor M6 are both coupled to the second input terminal of the voltage comparator 2021, and the second electrode of the sixth transistor M6 is coupled to the ground terminal GND; one of the first electrode and the second electrode of the sixth transistor M6 is a source, and the other is a drain.

[0140] Here, the gate and first electrode of the fifth transistor M5 may be coupled to the first input terminal of the voltage comparator 2021 via the first resistor R1, and the second electrode of the fifth transistor M5 may be directly coupled to the ground terminal GND; or the gate and first electrode of the fifth transistor M5 may be directly coupled to the first input terminal of the voltage comparator 2021, and the second electrode of the fifth transistor M5 may be coupled to the ground terminal GND via the first resistor R1. Similarly, the gate and first electrode of the sixth transistor M6 may be coupled to the second input terminal of the voltage comparator 2021 via the second resistor R2, and the second electrode of the sixth transistor M6 may be directly coupled to the ground terminal GND; or the gate and first electrode of the sixth transistor M6 may be directly coupled to the second input terminal of the voltage comparator 2021, and the second electrode of the sixth transistor M6 may be directly coupled to the ground terminal GND via the second resistor R2.

[0141] In addition, the fifth transistor M5 and the sixth transistor M6 may be MOS transistors, for example.

[0142] On this basis, in the embodiment of the present application, the fifth transistor M5 and the sixth transistor M6 are N-type transistors.

[0143] Because the current comparator 202A includes the fifth transistor M5, the fifth transistor M5 can act as a resistor, thereby increasing the voltage at the first input terminal of the voltage comparator 2021. Moreover, when the resistance value is the same, the area occupied by the fifth transistor M5 is smaller than that of a pure resistor. Similarly, because the current comparator 202A includes the sixth transistor M6, the sixth transistor M6 can act as a resistor, thereby increasing the voltage at the second input terminal of the voltage comparator 2021. Moreover, when the resistance value is the same, the area occupied by the sixth transistor M6 is smaller than that of a pure resistor.

[0144] Method 2

[0145] When the demodulator 200 includes a first current mirror 203A, and the first current mirror 203A includes a seventh transistor M7 and an eighth transistor M8, as shown in FIG11 , the current comparator 202A includes: a second current mirror 2022; an input end of the second current mirror 2022 is coupled to the second current source Iref2, and an output end of the second current mirror 2022 and a signal output end Dout are both coupled to the first electrode of the eighth transistor M8; the second current mirror 2022 is configured to amplify the current mirror of the second current source Iref2 and output the amplified current to the output end of the second current mirror 2022.

[0146] It can be understood that, when the current comparator 202A includes the second current mirror 2022, the first electrode of the eighth transistor M8 is equivalent to the first input terminal a of the current comparator 202A2, and the first input terminal a of the current comparator 202A2 is coupled to the signal output terminal Dout.

[0147] It should be noted that one input terminal of the second current mirror 2022 is coupled to the second current source Iref2 , and the other input terminal may be coupled to the ground terminal GND.

[0148] Here, the amplification factor of the second current mirror 2022 is not limited, and the amplification factor of the second current mirror 2022 can be adjusted by adjusting the structure and parameters of the second current mirror 2022 .

[0149] In some examples, as shown in FIG11 , the second current mirror 2022 includes: a ninth transistor M9 and a tenth transistor M10; the gate and the first electrode of the ninth transistor M9 are both coupled to the second current source Iref2, and the second electrode of the ninth transistor M9 is coupled to the ground terminal GND; one of the first electrode and the second electrode of the ninth transistor M9 is a source, and the other is a drain; the gate of the tenth transistor M10 is coupled to the second current source Iref2, the first electrode and the signal output terminal Dout of the tenth transistor M10 are both coupled to the first electrode of the eighth transistor M8, and the second electrode of the tenth transistor M10 is coupled to the ground terminal GND; one of the first electrode and the second electrode of the tenth transistor M10 is a source, and the other is a drain.

[0150] Here, the ninth transistor M9 and the tenth transistor M10 may be MOS transistors, for example.

[0151] In addition, in the embodiment of the present application, the ninth transistor M9 and the tenth transistor M10 are N-type transistors.

[0152] In addition, the mirror magnification of the second current mirror 2022 can be adjusted by adjusting the aspect ratio of the ninth transistor M9 and the tenth transistor M10.

[0153] When the current comparator 202A includes the second current mirror 2022, the current output by the second current source Iref2 is amplified by the second current mirror 2022 and compared with the current output by the first electrode of the eighth transistor M8 to generate a corresponding digital signal. When the current output by the first electrode of the eighth transistor M8 is greater than the current output by the second current source Iref2 after amplification by the second current mirror 2022, the signal output terminal Dout outputs a first digital signal "1." When the current output by the first electrode of the eighth transistor M8 is less than the current output by the second current source Iref2 after amplification by the second current mirror 2022, the signal output terminal Dout outputs a second digital signal "0." When the current comparator 202A includes the second current mirror 2022, the circuit structure of the current comparator 202A is simpler, the area is smaller, and the cost is lower.

[0154] It can be understood that the implementation method of the current comparator 202A in the demodulator 200 includes but is not limited to the above two methods, and may also include other methods, so as to output the first digital signal "1" or the second digital signal "0" after comparing the current of the first input terminal a of the current comparator 202A with the current of the second input terminal b of the current comparator 202A.

[0155] Example 2

[0156] In the second embodiment, as shown in Figures 12a and 12b, the load module 203 includes an impedance, the signal source Ref is a reference voltage source Vref, the comparator 202 is a voltage comparator 2021, and the second input terminal b of the voltage comparator 2021 is coupled to the reference voltage source Vref. The voltage comparator 2021 is configured to compare the voltage at the first input terminal a with the voltage at the second input terminal b and output a comparison result. In some examples, the voltage comparator 2021 is configured to compare the voltage at the first input terminal a with the voltage at the second input terminal b, and output a first digital signal "1" when the voltage at the first input terminal a is greater than the voltage at the second input terminal b; and output a second digital signal "0" when the voltage at the first input terminal a is less than the voltage at the second input terminal b.

[0157] In the second embodiment, the first terminal of the transconductance circuit 201 is directly coupled to the first input terminal a of the voltage comparator 2021 .

[0158] It should be noted that, when the load module 203 includes an impedance, illustratively, the impedance may include a twelfth transistor M12 as shown in FIG12a , wherein the gate and the first electrode of the twelfth transistor M12 are coupled to the first end of the transconductance circuit 201, and the second electrode of the twelfth transistor M12 is coupled to the third signal input terminal VE, wherein one of the first electrode and the second electrode of the twelfth transistor M12 is a source and the other is a drain; the impedance may also include a resistor RL as shown in FIG12b , wherein one end of the resistor RL is coupled to the third signal input terminal VE, and the other end is coupled to the first end of the transconductance circuit 201.

[0159] This second embodiment only describes the parts that differ from the first embodiment. The parts that are the same as the first embodiment can be referred to in the first embodiment and will not be repeated here. For example, the operating principle of the demodulator 200, the specific structure of the transconductance circuit 201, the eleventh transistor M11, and the filter 204 can all be referred to in the first embodiment.

[0160] In the case where the demodulator 200 is the demodulator 200 provided in the first or second embodiment, an embodiment of the present application further provides a control method for the near field communication system 10A, as shown in FIG13 . The control method includes:

[0161] S10, the first signal input terminal VC and the second signal input terminal VD of the demodulator 200 receive a radio frequency signal, and the third signal input terminal VE of the demodulator 200 receives a direct current signal; wherein, the radio frequency signal received by the first signal input terminal VC and the second signal input terminal VD is a pair of differential signals.

[0162] S11. The demodulator 200 selects whether to allow the current signal provided by the third signal input terminal VE to flow to the first current source Iref1 through the first terminal of the transconductance circuit 201 or the second terminal of the transconductance circuit 201 based on the comparison result of the voltage of the first signal input terminal VC or the voltage of the second signal input terminal VD with the voltage of the third signal input terminal VE.

[0163] In some examples, based on a comparison result between the voltages of the first signal input terminal VC, the second signal input terminal VD, and the third signal input terminal VE, the demodulator 200 directs the current signal provided by the third signal input terminal VE to flow to the first current source Iref1 through the first terminal of the transconductance circuit 201, and then to the ground terminal GND through the first current source Iref1, when the voltage of the first signal input terminal VC or the voltage of the second signal input terminal VD is greater than the voltage of the third signal input terminal VE. In some examples, based on a comparison result between the voltages of the first signal input terminal VC, the second signal input terminal VD, and the third signal input terminal VE, the demodulator 200 directs the current signal provided by the third signal input terminal VE to flow to the first current source Iref1 through the second terminal of the transconductance circuit 201, and then to the ground terminal GND through the first current source Iref1, when both the voltages of the first signal input terminal VC and the second signal input terminal VD are less than the voltage of the third signal input terminal VE.

[0164] S12 , the comparator 202 compares the signal at the first input terminal a with the signal at the second input terminal b, and outputs a comparison result.

[0165] In some examples, the comparator 202 compares the signal at the first input terminal a with the signal at the second input terminal b, and outputs a first digital signal "1" when the signal at the first input terminal a is greater than the signal at the second input terminal b; and outputs a second digital signal "0" when the signal at the first input terminal a is less than the signal at the second input terminal b.

[0166] If the comparator 202 is a current comparator 202A, the current comparator 202A compares the current at the first input terminal a with the current at the second input terminal b. When the current at the first input terminal a is greater than the current at the second input terminal b, the current comparator 202A outputs a first digital signal "1." When the current at the first input terminal a is less than the current at the second input terminal b, the current comparator 202A outputs a second digital signal "0." If the comparator 202 is a voltage comparator 2021, the voltage comparator 2021 compares the voltage at the first input terminal a with the voltage at the second input terminal b. When the voltage at the first input terminal a is greater than the voltage at the second input terminal b, the current comparator 202A outputs a first digital signal "1." When the voltage at the first input terminal a is less than the voltage at the second input terminal b, the current comparator 202A outputs a second digital signal "0."

[0167] It should be noted that the control method of the near field communication system 10A provided in the embodiment of the present application has the same technical effect as the above-mentioned near field communication system 10A. Please refer to the description of the technical effect of the above-mentioned near field communication system 10A, which will not be repeated here.

[0168] Example 3

[0169] The difference between the third embodiment and the first embodiment is that, in the first embodiment, the antenna 800 in the near-field communication system 10A provides a pair of differential signals to the demodulator 200, i.e., the demodulator 200 includes a first signal input terminal VC and a second signal input terminal VD. In the third embodiment, the antenna 800 in the near-field communication system 10A provides a single-ended signal to the demodulator 200, i.e., the demodulator 200 includes a first signal input terminal VC but does not include a second signal input terminal VD.

[0170] In the third embodiment, as shown in FIG14 , the demodulator 200 in the near-field communication system 10A includes: a transconductance circuit 201, a first current source Iref1, a signal source Ref, a comparator 202, a load module 203, a first signal input terminal VC, a third signal input terminal VE, and a signal output terminal Dout; wherein the first signal input terminal VC is used to receive a radio frequency signal, and the signal output terminal of the rectifier 100 is also coupled to the third signal input terminal VE of the demodulator 200 to provide a DC signal to the third signal input terminal VE.

[0171] The bias terminal of the transconductance circuit 201 is coupled to the first current source Iref1. The first terminal of the transconductance circuit 201 is coupled to the first input terminal a of the comparator 202. The second terminal of the transconductance circuit 201 is coupled to the third signal input terminal VE. The control terminal of the transconductance circuit 201 is coupled to both the first signal input terminal VC and the third signal input terminal VE. The transconductance circuit 201 is configured to select whether to direct the current signal provided by the third signal input terminal VE to the first current source Iref1 via the first terminal of the transconductance circuit 2001 or the second terminal of the transconductance circuit 201, based on a comparison result between the voltage at the first signal input terminal VC and the voltage at the third signal input terminal VE.

[0172] In some examples, the transconductance circuit 201 is configured to, when the voltage at the first signal input terminal VC is greater than the voltage at the third signal input terminal VE, direct the current signal provided by the third signal input terminal VE to flow to the first current source Iref1 through the first terminal of the transconductance circuit 201, and then to the ground terminal GND through the first current source Iref1. In some examples, the transconductance circuit 201 is configured to, when the voltage at the first signal input terminal VC is less than the voltage at the third signal input terminal VE, direct the current signal provided by the third signal input terminal VE to flow to the first current source Iref1 through the second terminal of the transconductance circuit 201, and then to the ground terminal GND through the first current source Iref1.

[0173] The first input terminal a of the comparator 202 is further coupled to the third signal input terminal VE via the load module 203. The second input terminal b of the comparator 202 is coupled to the signal source Ref. The output terminal of the comparator 202 is coupled to the signal output terminal Dout. The comparator 202 is configured to compare the signal at the first input terminal a with the signal at the second input terminal b and output a comparison result. In some examples, the comparator 202 is configured to compare the signal at the first input terminal a with the signal at the second input terminal b and output a first digital signal, such as "1," when the signal at the first input terminal a is greater than the signal at the second input terminal b; and output a second digital signal, such as "0," when the signal at the first input terminal a is less than the signal at the second input terminal b.

[0174] The load module 203 includes a first current mirror 203A, the signal source Ref is a second current source Iref2, and the comparator 202 is a current comparator 202A. The second input terminal b of the current comparator 202A is coupled to the second current source Iref2. The current comparator 202A is configured to compare the current at the first input terminal a with the current at the second input terminal b and output a comparison result. In some examples, the current comparator 202A is configured to compare the current at the first input terminal a with the current at the second input terminal b. When the current at the first input terminal a is greater than the current at the second input terminal b, the current comparator outputs a first digital signal "1"; when the current at the first input terminal a is less than the current at the second input terminal b, the current comparator outputs a second digital signal "0."

[0175] In the case where the demodulator 200 includes the first signal input terminal VC but does not include the second signal input terminal VD, the working process of the demodulator 200 may refer to the above and will not be described in detail here.

[0176] When the demodulator 200 includes the first signal input terminal VC but does not include the second signal input terminal VD, in some examples, the transconductance circuit 201 includes only the first transistor M1 and the second transistor M2. In other examples, the transconductance circuit 201 includes the first transistor M1, the second transistor M2, and the fourth transistor M4. The connection relationship and function of the first transistor M1, the second transistor M2, and the fourth transistor M4 can be referred to above and will not be repeated here.

[0177] When the demodulator 200 includes the first signal input terminal VC but does not include the second signal input terminal VD, the demodulator 200 may further include a first current mirror 203A, an eleventh transistor M11, a filter 204, etc. The structures, connections, and functions of the first current mirror 203A, the eleventh transistor M11, the filter 204, etc., can be referenced above and will not be described in detail here. Furthermore, the implementation of the current comparator 202A in the demodulator 200 and the control method of the near-field communication system 10A can also be referenced above and will not be described in detail here.

[0178] In the third embodiment, the load module 203 includes a first current mirror 203A, the signal source Ref is a second current source Iref2, and the comparator 202 is a current comparator 202A. In other embodiments, the load module 203 includes an impedance, the signal source Ref is a reference voltage source Vref, the comparator 202 is a voltage comparator 2021, and the second input terminal b of the voltage comparator 2021 is coupled to the reference voltage source Vref. For details, please refer to the second embodiment and will not be repeated here.

[0179] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.

Claims

1. A near field communication system, characterized in that: include: rectifier, demodulator, and power management unit; The demodulator includes: a transconductance circuit, a first current source, a signal source, a load module, a first signal input terminal, a second signal input terminal, a third signal input terminal, and a signal output terminal; wherein the first signal input terminal and the second signal input terminal are used to receive a radio frequency signal, and the radio frequency signal received by the first signal input terminal and the second signal input terminal is a pair of differential signals; The signal output terminal of the rectifier is coupled to the power management unit, and the power management unit is coupled to the power input terminal of the demodulator for supplying power to the demodulator; the signal output terminal of the rectifier is also coupled to the third signal input terminal of the demodulator for providing a DC signal to the third signal input terminal; The bias terminal of the transconductance circuit is coupled to the first current source, the second terminal of the transconductance circuit is coupled to the third signal input terminal, and the control terminal of the transconductance circuit is coupled to the first signal input terminal, the second signal input terminal, and the third signal input terminal; The transconductance circuit is used to select whether to allow the current signal provided by the third signal input terminal to flow to the first current source through the first terminal of the transconductance circuit or the second terminal of the transconductance circuit based on the comparison result of the voltage of the first signal input terminal or the voltage of the second signal input terminal with the voltage of the third signal input terminal.

2. The near field communication system according to claim 1, wherein: The transconductance circuit is configured to direct the current signal provided by the third signal input terminal to flow to the first current source through the first terminal of the transconductance circuit when the voltage of the first signal input terminal or the voltage of the second signal input terminal is greater than the voltage of the third signal input terminal.

3. The near field communication system according to claim 1 or 2, characterized in that: The transconductance circuit is configured to allow the current signal provided by the third signal input terminal to flow to the first current source through the second terminal of the transconductance circuit when the voltage of the first signal input terminal and the voltage of the second signal input terminal are both lower than the voltage of the third signal input terminal.

4. The near field communication system according to any one of claims 1 to 3, characterized in that: The demodulator further includes a comparator; The first input terminal of the comparator is coupled to the first terminal of the transconductance circuit, and the first input terminal of the comparator is also coupled to the third signal input terminal through the load module. The second input terminal of the comparator is coupled to the signal source, and the output terminal of the comparator is coupled to the signal output terminal. The comparator is used to compare the signal at the first input terminal with the signal at the second input terminal and output the comparison result.

5. The near field communication system according to claim 4, characterized in that The signal source is a second current source, and the comparator is a current comparator; The load module includes a first current mirror, a first input terminal of the first current mirror is coupled to the first terminal of the transconductance circuit, a second input terminal of the first current mirror is coupled to the third signal input terminal, and an output terminal of the first current mirror is coupled to the first input terminal of the current comparator; The first current mirror is used to amplify the current at the first end of the transconductance circuit and output the amplified current to the output end of the first current mirror.

6. The near field communication system according to any one of claims 1 to 5, characterized in that: The transconductance circuit includes a first transistor, a second transistor and a third transistor; The gate and the second electrode of the first transistor are both coupled to the third signal input terminal, and the first electrode is coupled to the first current source; one of the first electrode and the second electrode of the first transistor is a source, and the other is a drain; The gate of the second transistor is coupled to the first signal input terminal, the first electrode is coupled to the first current source, and the second electrode is coupled to the first input terminal of the comparator; one of the first electrode and the second electrode of the second transistor is a source and the other is a drain; The gate of the third transistor is coupled to the second signal input terminal, the first electrode is coupled to the first current source, and the second electrode is coupled to the first input terminal of the comparator; one of the first electrode and the second electrode of the third transistor is a source, and the other is a drain.

7. The near field communication system according to claim 6, wherein: The transconductance circuit further includes a fourth transistor; The gate of the fourth transistor is coupled to the third signal input terminal, the first electrode is coupled to the first current source, and the second electrode is coupled to the first input terminal of the comparator; one of the first electrode and the second electrode of the fourth transistor is a source, and the other is a drain.

8. The near field communication system according to claim 5, wherein: The current comparator includes: a voltage comparator, a first resistor and a second resistor; A first input terminal of the voltage comparator is coupled to a first terminal of the transconductance circuit, a second input terminal of the voltage comparator is coupled to the second current source, and an output terminal of the voltage comparator is coupled to the signal output terminal; The first resistor is coupled between a first input terminal of the voltage comparator and the ground terminal, and the second resistor is coupled between a second input terminal of the voltage comparator and the ground terminal.

9. The near field communication system according to claim 8, wherein: The current comparator further includes: a fifth transistor and a sixth transistor; The fifth transistor and the first resistor are connected in series between the first input terminal of the voltage comparator and the ground terminal, the gate and the first electrode of the fifth transistor are coupled to the first input terminal of the voltage comparator, and the second electrode of the fifth transistor is coupled to the ground terminal; one of the first electrode and the second electrode of the fifth transistor is a source, and the other is a drain; The sixth transistor and the second resistor are connected in series between the second input terminal of the voltage comparator and the ground terminal, the gate and the first electrode of the sixth transistor are coupled to the second input terminal of the voltage comparator, and the second electrode of the sixth transistor is coupled to the ground terminal; one of the first electrode and the second electrode of the sixth transistor is a source, and the other is a drain.

10. The near field communication system according to claim 5, wherein: The first current mirror includes a seventh transistor and an eighth transistor; The gate and the first electrode of the seventh transistor are coupled to the first end of the transconductance circuit, and the second electrode of the seventh transistor is coupled to the third signal input end; One of the first electrode and the second electrode of the seventh transistor is a source electrode and the other is a drain electrode; The gate of the eighth transistor is coupled to the gate of the seventh transistor, the first electrode of the eighth transistor is coupled to the first input terminal of the current comparator, and the second electrode of the eighth transistor is coupled to the third signal input terminal; one of the first electrode and the second electrode of the eighth transistor is a source, and the other is a drain.

11. The near field communication system according to claim 10, wherein: The current comparator includes: a second current mirror; an input end of the second current mirror is coupled to the second current source, and an output end of the second current mirror and the signal output end are both coupled to the first electrode of the eighth transistor; The second current mirror is used to amplify the current of the second current source and output the amplified current to the output end of the second current mirror.

12. The near field communication system according to claim 11, wherein: The second current mirror includes: a ninth transistor and a tenth transistor; The gate and the first electrode of the ninth transistor are both coupled to the second current source, and the second electrode of the ninth transistor is coupled to the ground terminal; one of the first electrode and the second electrode of the ninth transistor is a source, and the other is a drain; The gate of the tenth transistor is coupled to the second current source, the first electrode of the tenth transistor and the signal output end are both coupled to the first electrode of the eighth transistor; the second electrode of the tenth transistor is coupled to the ground end; one of the first electrode and the second electrode of the tenth transistor is a source, and the other is a drain.

13. The near field communication system according to any one of claims 10 to 12, characterized in that: The demodulator further includes: an eleventh transistor, wherein a gate and a first electrode of the eleventh transistor are coupled to the second end of the transconductance circuit, and a second electrode of the eleventh transistor is coupled to the third signal input end; One of the first electrode and the second electrode of the eleventh transistor is a source electrode, and the other is a drain electrode.

14. The near field communication system according to any one of claims 1 to 13, characterized in that: The demodulator further includes a filter connected in series between the third signal input terminal and the ground terminal.

15. The near field communication system according to claim 14, wherein: The filter includes a capacitor and a third resistor; The capacitor and the third resistor are coupled between the third signal input terminal and the ground terminal.

16. The near field communication system according to any one of claims 1 to 15, characterized in that: The near field communication system further includes an antenna, and the first signal input terminal and the second signal input terminal of the demodulator are both coupled to the antenna, and the antenna transmits the received radio frequency signal to the first signal input terminal and the second signal input terminal.

17. A method for controlling a near field communication system, characterized in that: The near-field communication system includes: a rectifier, a demodulator, and a power management unit; the demodulator includes: a transconductance circuit, a first current source, a signal source, a load module, a first signal input terminal, a second signal input terminal, a third signal input terminal, and a signal output terminal; the signal output terminal of the rectifier is coupled to the power management unit, the power management unit is coupled to the power input terminal of the demodulator, and the signal output terminal of the rectifier is also coupled to the third signal input terminal of the demodulator; the bias terminal of the transconductance circuit is coupled to the first current source, the second terminal of the transconductance circuit is coupled to the third signal input terminal, and the control terminal of the transconductance circuit is coupled to the first signal input terminal, the second signal input terminal, and the third signal input terminal; The control method includes: The first signal input terminal and the second signal input terminal of the demodulator receive a radio frequency signal, and the third signal input terminal of the demodulator receives a direct current signal; wherein the radio frequency signals received by the first signal input terminal and the second signal input terminal are a pair of differential signals; The demodulator selects whether to allow the current signal provided by the third signal input terminal to flow to the first current source through the first terminal of the transconductance circuit or the second terminal of the transconductance circuit based on a comparison result of the voltage of the first signal input terminal or the voltage of the second signal input terminal with the voltage of the third signal input terminal.

18. The control method according to claim 17, characterized in that: The demodulator further includes a comparator; a first input terminal of the comparator is coupled to the first terminal of the transconductance circuit, the first input terminal of the comparator is further coupled to the third signal input terminal through the load module, a second input terminal of the comparator is coupled to the signal source, and an output terminal of the comparator is coupled to the signal output terminal; The control method further includes: The comparator compares the signal at the first input terminal with the signal at the second input terminal and outputs a comparison result.

19. An electronic device, characterized in that: The device comprises a printed circuit board and the near field communication system according to any one of claims 1 to 16.