Near field communication circuit and electronic equipment
By using the resonant frequency of the NFC antenna module in the near field communication circuit to detect the approach of objects, the problem of large space occupation and high cost in mobile terminals is solved, the multiplexing of NFC communication and SAR detection is realized, and the power consumption and power consumption of electronic equipment are reduced. volume.
Patent Information
- Application Number
- CN202211206288.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-29
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2042-09-29
AI Technical Summary
In the existing technology, a mobile terminal needs to be separately configured with a SAR sensor IC and multiple SAR induction antennas, which takes up a lot of space, increases costs, and is susceptible to electromagnetic field interference from the NFC circuit, affecting detection accuracy.
Design a near field communication circuit that uses the NFC antenna module to collect voltage signals in the resonant state, and determines the resonant frequency through the vibration detection module to achieve object proximity detection, avoiding the need for SAR sensors and multiple SAR induction antennas, and realizing NFC Multiplexing of communication functions and SAR human body proximity detection.
It realizes the miniaturization and thinning design of electronic equipment, reduces power consumption, extends the use time, and solves the problem of mutual interference between NFC chips and SAR sensors.
Smart Images

Figure CN115801062B
Abstract
Description
Technical Field
[0001] The present application belongs to the field of communication technology, and specifically relates to a near field communication circuit and electronic equipment. Background Art
[0002] At present, in order to make the mobile terminal have a better communication effect, multiple antennas are usually arranged in the mobile terminal. However, when the user is close to the antenna that is transmitting the signal during the use of the mobile terminal, the specific absorption ratio (SAR) value of the corresponding part of the user will exceed the standard, causing harm to the user.
[0003] To this end, in the related art, a SAR sensor can be set to detect whether a human body is close to a mobile terminal, so as to adjust the output power of the antenna when the human body is close. However, on the one hand, this method requires the separate configuration of a SAR sensor IC and multiple SAR sensing antennas, which takes up a large space in the mobile terminal and increases the cost; on the other hand, the SAR sensor is easily interfered by the electromagnetic field generated by the NFC antenna in the Near Field Communication (NFC) circuit in the mobile terminal, affecting the accuracy of detection. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a near field communication circuit and electronic device, which can solve the problem that human body approach detection through SAR sensors and SAR sensing antennas requires occupying a large space in a mobile terminal and also increases costs.
[0005] In a first aspect, an embodiment of the present application provides a near field communication circuit, including:
[0006] NFC antenna module;
[0007] A control module, including an output terminal and an input terminal;
[0008] A driving module, wherein a first end of the driving module is connected to the output end of the control module, and a second end of the driving module is connected to the NFC antenna module;
[0009] A voltage detection module, wherein a first end of the voltage detection module is connected to the NFC antenna module;
[0010] A vibration detection module, wherein a first end of the vibration detection module is connected to a second end of the voltage detection module, and a second end of the vibration detection module is connected to an input end of the control module;
[0011] Among them, the voltage detection module is used to collect the voltage signal of the NFC antenna module when the NFC antenna module is in a resonant state, and output the voltage signal to the vibration detection module; the vibration detection module is used to determine the number of vibrations of the NFC antenna module according to the voltage signal; the control module is used to determine the resonant frequency of the NFC antenna module according to the number of vibrations and the vibration time of the NFC antenna module, so as to determine whether the object is close to the electronic device according to the resonant frequency.
[0012] In a second aspect, an embodiment of the present application provides an electronic device, wherein the electronic device includes the near field communication circuit as described in the first aspect.
[0013] In an embodiment of the present application, a vibration detection module is provided in the near field communication circuit, and the resonant oscillation of the NFC antenna module can be quantified to determine the number of vibrations and the vibration time of the resonant oscillation of the NFC antenna module, and the resonant frequency of the NFC antenna module is determined according to the number of vibrations and the vibration time of the resonant oscillation of the NFC antenna module, and then the object can be determined whether it is close to the electronic device according to the resonant frequency of the NFC antenna module. In this way, by using the near field communication circuit and the NFC antenna module, the NFC communication function and the SAR human body proximity detection function can be realized at the same time, and the near field communication circuit and the NFC antenna module of the electronic device are reused, and the problem of mutual interference between the NFC chip and the SAR sensor is solved. In addition, there is no need to set up a SAR sensor and multiple SAR sensing antennas, which can reduce the layout area requirements, and is conducive to the miniaturization and lightness of the electronic device. In addition, the circuit structure of this embodiment is simple, does not involve new processes, and is convenient for large-scale application.
[0014] Furthermore, compared with the method of performing detection in the driving emission state in the prior art, this embodiment can perform object approach detection when the NFC antenna module is in the resonant state, which can further reduce the power consumption of the electronic device and extend the use time of the electronic device. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 It is a structural schematic diagram of a near field communication circuit in the prior art;
[0016] Figure 2 It is a structural schematic diagram of another near field communication circuit in the prior art;
[0017] Figure 3 is a structural schematic diagram of a near field communication circuit provided in an embodiment of the present application;
[0018] Figure 4 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application;
[0019] Figure 5 is a schematic diagram of the resonant state of the NFC antenna module provided in an embodiment of the present application;
[0020] Figure 6 is a structural schematic diagram of another near field communication circuit provided in an embodiment of the present application;
[0021] Figure 7 is a curve showing the relationship between the reference resonant frequency of the NFC antenna module provided in an embodiment of the present application and the distance between the object and the electronic device;
[0022] Figure 8 It is a schematic diagram of the circuit structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0023] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.
[0024] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0025] At present, on the one hand, with the gradual expansion of the application of Near Field Communication (NFC), more and more electronic devices support NFC technology. NFC technology is a short-range high-frequency wireless communication technology. The antenna in the NFC circuit realizes the transmission of information through electromagnetic induction coupling, and can perform short-range wireless communication between mobile devices, consumer electronics, computers and smart control tools. With the popularization of NFC functions in electronic devices, the application scenarios of NFC are becoming more and more abundant. For example, using the NFC function of mobile phones to swipe bus cards, bank cards, access cards, etc.
[0026] On the other hand, in order to make the mobile terminal have a better communication effect, multiple antennas are usually arranged in the mobile terminal. When the user is close to the antenna that is transmitting the signal during use of the mobile terminal, the SAR value of the corresponding part of the user will exceed the standard, causing harm to the user. To this end, a SAR sensor can be set to detect whether the human body is close to the mobile terminal, so as to adjust the output power of the antenna when the human body is close.
[0027] See also Figure 1 and Figure 2 , which shows an electronic device with NFC function and SAR proximity detection function in the prior art. Figure 1 As shown, the electronic device includes an NFC integrated circuit (IC) 11, an NFC antenna 12, a SAR IC 13, and a SAR antenna 14. The NFC IC 11 and the NFC antenna 12 are used to implement the NFC function, and the SAR IC 13 and the SAR antenna 14 are used to detect human proximity. The NFC antenna 12 is arranged on the top of the electronic device, and the NFC antenna can be the same antenna reused with the main antenna of the electronic device. The SAR antenna 14 is usually arranged on the bottom shell of the electronic device, and one or more SAR antennas 14 can be arranged. Figure 2 As shown, the electronic device also includes an application processor 15, a modem 16, a main antenna matching circuit 17, an NFC antenna matching circuit, etc.
[0028] However, in the prior art, electronic devices need to be separately configured with a SAR sensor IC and multiple SAR sensing antennas, which takes up a large space in the mobile terminal and increases production costs. In addition, the SAR sensor is easily interfered by the electromagnetic field generated by the NFC antenna in the NFC circuit in the mobile terminal, affecting the accuracy of detection.
[0029] To solve the above problems, the embodiment of the present application provides a near field communication circuit. By using the near field communication circuit and the NFC antenna module, the NFC communication function and the SAR human body proximity detection function can be realized at the same time, and the near field communication circuit and the NFC antenna module of the electronic device can be reused, solving the problem of mutual interference between the NFC chip and the SAR sensor. In addition, there is no need to set up a SAR sensor and multiple SAR sensing antennas, which can reduce the layout area requirements and is conducive to the miniaturization and lightweight design of electronic equipment. In addition, the circuit structure of this embodiment is simple, does not involve new processes, and is convenient for large-scale application.
[0030] The near field communication circuit provided in the embodiment of the present application is described in detail below through specific embodiments and application scenarios in conjunction with the accompanying drawings.
[0031] See also Figure 3and Figure 4 , which is a schematic diagram of the structure of a near field communication circuit provided in an embodiment of the present application. The near field communication circuit includes a control module 31, a driving module 32, a voltage detection module 33, a vibration detection module 34 and an NFC antenna module 35. The control module 31 includes an output end and an input end. The first end of the driving module 32 is connected to the output end of the control module 31, and the second end of the driving module 32 is connected to the NFC antenna module 35; the first end of the voltage detection module 33 is connected to the NFC antenna module 35; the first end of the vibration detection module 34 is connected to the second end of the voltage detection module 33, and the second end of the vibration detection module 34 is connected to the input end of the control module 31.
[0032] Among them, the voltage detection module 33 is used to collect the voltage signal of the NFC antenna module 35 when the NFC antenna module 35 is in a resonant state, and output the voltage signal to the vibration detection module 34; the vibration detection module 34 is used to determine the number of vibrations of the NFC antenna module 35 according to the voltage signal; the control module 31 is used to determine the resonant frequency of the NFC antenna module 35 according to the number of vibrations and the vibration time of the NFC antenna module 35, so as to determine whether the object is close to the electronic device according to the resonant frequency.
[0033] In this embodiment, when a metal equivalent (e.g., a human body, an NFC card, or metal) approaches the NFC antenna module 35, the NFC antenna module 35 may be detuned. Based on this, human body approach detection can be implemented according to the near field communication circuit of the electronic device.
[0034] Furthermore, see Figure 5 Since the NFC antenna module 35 itself has certain parasitic capacitance, matching capacitance, parasitic inductance, matching inductance and equivalent DC resistance of the loop, the NFC antenna module 35 is driven by the driving module 32 to generate forced oscillation. At this time, the forced vibration frequency of the NFC antenna module 35 is consistent with the driving frequency (e.g. Figure 5 After the driving module 32 drives the NFC antenna module 35 to vibrate for a certain period of time, the driving module 32 stops driving the NFC antenna module 35 to vibrate. At this time, the NFC antenna module 35 does not stop vibrating immediately. The NFC antenna module 35 is converted from forced vibration to resonant oscillation. As the resonant oscillation occurs, the resonant amplitude gradually decreases and eventually approaches zero (as shown in FIG. 1 ). Figure 6The waveform of the resonant oscillation is shown on the right). In addition, the resonant frequency of the resonant oscillation of the NFC antenna module 35 is determined by its own parasitic capacitance and parasitic inductance. The parasitic capacitance and parasitic inductance of the NFC antenna module 35 are affected by the external environment. For example, when a metal equivalent is close to the NFC antenna module 35, the capacitance value of the parasitic capacitance of the NFC antenna module 35 changes. Based on this, by utilizing the characteristic that the NFC antenna module 35 can resonate and oscillate at a resonant frequency after the driving module 32 stops driving, the resonant frequency of the resonant oscillation of the NFC antenna module 35 can be detected to detect whether the metal equivalent is close to the NFC antenna module 35, that is, to detect whether the object is close to the electronic device.
[0035] In an embodiment of the present application, a vibration detection module is provided in the near field communication circuit, and the resonant oscillation of the NFC antenna module can be quantified to determine the number of vibrations and the vibration time of the resonant oscillation of the NFC antenna module, and the resonant frequency of the NFC antenna module is determined according to the number of vibrations and the vibration time of the resonant oscillation of the NFC antenna module, and then the object can be determined whether it is close to the electronic device according to the resonant frequency of the NFC antenna module. In this way, by using the near field communication circuit and the NFC antenna module, the NFC communication function and the SAR human body proximity detection function can be realized at the same time, and the near field communication circuit and the NFC antenna module of the electronic device are reused, and the problem of mutual interference between the NFC chip and the SAR sensor is solved. In addition, there is no need to set up a SAR sensor and multiple SAR sensing antennas, which can reduce the layout area requirements, and is conducive to the miniaturization and lightness of the electronic device. In addition, the circuit structure of this embodiment is simple, does not involve new processes, and is convenient for large-scale application.
[0036] Furthermore, compared with the method of performing detection in the driving emission state in the prior art, this embodiment can perform object approach detection when the NFC antenna module is in the resonant state, which can further reduce the power consumption of the electronic device and extend the use time of the electronic device.
[0037] Each module in the near field communication circuit is described in detail below.
[0038] In this embodiment, the driving module 32 is used to drive the NFC antenna module 35 to oscillate at a set driving frequency, and the oscillation frequency of the NFC antenna module 35 is the same as the driving frequency.
[0039] For example, Figure 6As shown, the driving module 32 may include a TX driving controller 321, a first switch 322, a second switch 323, a first inductor 324, a first capacitor 325, a third switch 326, a fourth switch 327, a second inductor 328, and a second capacitor 329. The first end of the TX driving controller 321 is connected to the output end of the control module 31, the gate of the first switch 322 is connected to the TX driving controller 321, the source of the first switch 322 is connected to the battery voltage VBAT, the gate of the second switch 323 is connected to the TX driving controller 321, the drain of the second switch 323 is connected to the drain of the first switch 322, and the source of the second switch 323 is grounded; the first end of the first inductor 324 is connected between the drain of the first switch 322 and the drain of the second switch 323, the second end of the first inductor 324 is connected to the first end of the first capacitor 325, and the second end of the first capacitor 325 is grounded. The gate of the third switch 326 is connected to the TX driving controller 321, the source of the third switch 326 is connected to the power supply VDDPA, the gate of the fourth switch 327 is connected to the TX driving controller 321, the drain of the fourth switch 327 is connected to the drain of the third switch 326, and the source of the fourth switch 327 is grounded; the first end of the second inductor 328 is connected between the drain of the third switch 326 and the drain of the fourth switch 327, the second end of the second inductor 328 is connected to the first end of the second capacitor 329, and the second end of the second capacitor 329 is grounded. The first end of the NFC antenna module 35 is connected between the first inductor 324 and the first capacitor 325, and the second end of the NFC antenna module 35 is connected between the second inductor 328 and the second capacitor 329. In addition, the driving module 32 may also include a voltage converter 3210 and a regulator 3211, and the voltage converter 3210 and the regulator 3211 are connected between the battery voltage VBAT and the first switch 322. It can be understood that the first switch 322 and the third switch 326 can be PMOS switch tubes, the second switch 323 and the fourth switch 327 can be NMOS switch tubes, and the regulator 3211 can be a low-power regulator.
[0040] In this embodiment, the voltage detection module 33 is used to detect a voltage signal on the NFC antenna module 35 , that is, to detect an oscillation voltage of the NFC antenna module 35 .
[0041] For example, Figure 6As shown, the voltage detection module 33 includes a third capacitor 331, a first resistor 332, a first variable resistor 333, a fourth capacitor 334, a second resistor 335, a second variable resistor 336, an automatic gain controller 337, a first amplifier 338, and a second amplifier 339. The first end of the third capacitor 331 is connected to the first end of the NFC antenna module 35, the second end of the third capacitor 331 is connected to the first end of the first resistor 332, the first resistor 332 is connected to the first end of the first variable resistor 333, and the second end of the first variable resistor 333 is connected to the bias voltage Vbias. The first end of the fourth capacitor 334 is connected to the second end of the NFC antenna module 35, the second end of the fourth capacitor 334 is connected to the first end of the second resistor 335, the second resistor 335 is connected to the first end of the second variable resistor 336, and the second end of the second variable resistor 336 is connected to the bias voltage Vbias. The first input end of the automatic gain controller 337 is connected to the control end of the first variable resistor 333, the second input end of the automatic gain controller 337 is connected to the control end of the second variable resistor 336, the first output end and the second output end of the automatic gain controller 337 are combined to input the first amplifier 338, the output end of the first amplifier 338 is connected to the input end of the control module 31, the first output end and the second output end of the automatic gain controller 337 are also combined to input the second amplifier 339, and the output end of the second amplifier 339 is connected to the input end of the control module 31.
[0042] In this embodiment, the vibration detection module 34 is used to receive the voltage signal of the NFC antenna module, and determine the number of vibrations of the NFC antenna module 35 that resonates and oscillates according to the voltage signal of the NFC antenna module.
[0043] In this embodiment, when a metal equivalent (e.g., human body, NFC card, metal) approaches an electronic device, the parasitic capacitance of the NFC antenna module will change, which will cause the resonant frequency of the NFC antenna module to change. Based on this, by detecting the voltage signal of the NFC antenna module, the number of vibrations of the NFC antenna module that resonate and oscillate can be determined to determine the resonant frequency of the NFC antenna module, and then whether an object is close to the electronic device can be detected based on the resonant frequency of the NFC antenna module.
[0044] Exemplarily, the number of vibrations of the NFC antenna module that undergo resonant oscillation is determined based on the number of times the signal value of the voltage signal meets a preset condition. The signal value of the voltage signal meeting the preset condition may be that the signal value of the voltage signal is greater than or equal to a preset voltage threshold, thereby avoiding noise interference and improving detection accuracy.
[0045] In some embodiments of the present application, Figure 3As shown, the vibration detection module includes a trigger unit 341 and a counting unit 342. The first end of the trigger unit 341 is connected to the second end of the voltage detection module 33; the first end of the counting unit 342 is connected to the second end of the trigger unit 341, and the second end of the counting unit 342 is connected to the input end of the control module 31; wherein the trigger unit 341 is used to output a counting signal to the counting unit 342 when the signal value of the voltage signal is greater than or equal to a preset voltage threshold; the counting unit 342 determines the number of vibrations of the NFC antenna module 35 according to the counting signal.
[0046] Optionally, the trigger unit 341 may be a Smith trigger.
[0047] In this embodiment, in order to eliminate noise interference, the signal value of the voltage signal of the NFC antenna module can be compared with a preset voltage threshold. When the signal value of the voltage signal of the NFC antenna module is greater than or equal to the preset voltage threshold, it is considered that the NFC antenna module has a resonant oscillation. At this time, the trigger unit outputs a counting signal to the counting unit, so that the counting unit records the number of resonant oscillations of the NFC antenna module according to the counting signal. In this way, through the trigger unit and the counting unit, the resonant oscillation of the NFC antenna module can be quantified, so that the resonant frequency of the NFC antenna module can be accurately detected. In addition, the circuit structure is simple.
[0048] In this embodiment, the control module 31 is used to determine the resonant frequency of the NFC antenna module 35 according to the vibration times and vibration time of the NFC antenna module 35, so as to determine whether the object is close to the electronic device according to the resonant frequency.
[0049] The number of vibrations may be the number of oscillations of the NFC antenna module when the NFC antenna module is in a resonant state.
[0050] The vibration time may be the length of time corresponding to the number of vibrations of the NFC antenna module. Exemplarily, the vibration time may be a preset time, for example, 100ms. In a specific implementation, the number of vibrations of the NFC antenna module that undergo resonant oscillations within the preset vibration time (100ms) may be determined to determine the resonant frequency of the NFC antenna module based on the number of vibrations and the preset vibration time. It should be noted here that the preset vibration time may be set according to the simulation test results, and the embodiments of the present application are not limited thereto.
[0051] Exemplarily, the vibration time can be calculated. In a specific implementation, after the driving module 32 stops driving the NFC antenna module, the voltage detection module 33 collects the voltage signal on the NFC antenna module, determines the number of times the voltage signal meets the preset conditions, that is, determines the number of times the NFC antenna module resonates, and the control module 31 determines the time corresponding to the resonant oscillation of the number of vibrations of the NFC antenna module, that is, the vibration time, and determines the resonant frequency of the NFC antenna module according to the number of vibrations and the preset vibration time.
[0052] In some embodiments of the present application, the control module 31 is also used to control the driving module 32 to drive the NFC antenna module 35 to operate at a driving frequency; the control module 31 is also used to control the driving module 32 to stop driving the NFC antenna module 35 to operate when the NFC antenna module 35 operates at the driving frequency, so that the NFC antenna module 35 is in a resonant state.
[0053] In this embodiment, the control module 31 is used to send a control signal to the driving module to control the driving module to drive the NFC antenna module 35 to work. The control module 31 is also an NFC chip. The NFC chip is an integrated circuit. A microcontroller unit (MCU) and a radio frequency modem are arranged inside the NFC chip. The NFC chip can be an integrated circuit mainly used to realize the near field communication function of an electronic device. The NFC chip has NFC communication functions, such as a card reading function, a card simulation function, etc. In addition, the NFC chip has a low power card detection (LPCD) function, which can detect whether an object is close to an electronic device by using the detuning phenomenon that occurs when a metal equivalent (e.g., a human body, an NFC card, or a metal) is close to the NFC antenna module.
[0054] In some embodiments of the present application, the control module 31 is specifically used to determine a reference distance corresponding to the resonant frequency of the NFC antenna module and preset first mapping data, and determine that the object is close to the electronic device when the reference distance is less than a preset distance threshold; wherein the first mapping data is data reflecting the mapping relationship between the reference resonant frequency of the NFC antenna module and the distance between the object and the electronic device.
[0055] In this embodiment, the first mapping data may include data reflecting the mapping relationship between the reference resonant frequency of the NFC antenna module and the distance between the object and the electronic device, wherein the reference resonant frequency may be the resonant frequency of the NFC antenna module at the pre-measured distance between the object and the electronic device.
[0056] For example, Figure 7As shown, the first mapping data can be a relationship curve between the reference resonant frequency of the NFC antenna module and the distance between the object and the electronic device. More specifically, when the electronic device leaves the factory, different distances of the object close to the electronic device can be simulated, and the reference resonant frequency of the NFC antenna module at different distances, and the relationship curve between the reference resonant frequency of the NFC antenna module and the distance between the object and the electronic device can be obtained. Afterwards, during the use of the electronic device, after obtaining the resonant frequency of the NFC antenna module, the relationship curve between the resonant frequency and the reference resonant frequency of the NFC antenna module and the distance between the object and the electronic device can be fitted to determine the reference distance corresponding to the resonant frequency, and then determine whether the object is close to the electronic device, which can eliminate the interference of environmental factors and further improve the accuracy of detection.
[0057] In some embodiments of the present application, the control module 31 is further configured to perform corresponding operations according to the working mode of the electronic device when the resonant frequency of the NFC antenna module indicates that an object is close to the electronic device.
[0058] In this embodiment, the working module of the electronic device may include a first working module and a second working module. The first working mode may be a SAR detection mode, that is, a human body approaches the detection module. The second working mode may be an NFC mode.
[0059] In some embodiments of the present application, the control module 31 is specifically configured to control the transmission power of the radio frequency signal of the electronic device to be reduced to the target power when the electronic device is in the first working mode.
[0060] In this embodiment, when the electronic device is in the first working mode, that is, the near field communication circuit is used for SAR detection, when the resonant frequency of the NFC antenna module indicates that the object is close to the electronic device, it is considered that the human body is close to the electronic device. At this time, the control module 31 is used to control the transmission power of the radio frequency signal of the electronic device to be reduced to the target power, which can reduce the harm of electromagnetic radiation to the human body.
[0061] In some embodiments of the present application, the control module 31 is specifically used to control the electronic device to send a card checking instruction when the electronic device is in the second working mode.
[0062] In this embodiment, when the electronic device is in the second working mode, that is, the near field communication circuit is used for NFC communication, when the resonant frequency of the NFC antenna module indicates that the object is close to the electronic device, it is considered that the NFC card is close to the electronic device. At this time, the control module 31 is used to control the electronic device to send a card check instruction to enter the card reading and card check program, which can reduce the power consumption of the electronic device.
[0063] In some embodiments of the present application, the control module 31 is further configured to control the electronic device to switch between the first operating mode and the second operating mode according to a preset strategy.
[0064] Exemplarily, the electronic device is controlled to switch between the first working mode and the second working mode in a time-sharing manner. For example, at time T1, the control module 31 is used to control the near field communication circuit of the electronic device to be in the first working mode, at time T2, the control module 31 is used to control the near field communication circuit of the electronic device to be in the second working mode, at time T3, the control module 31 is used to control the near field communication circuit of the electronic device to be in the first working mode, and at time T4, the control module 31 is used to control the near field communication circuit of the electronic device to be in the second working mode. In this way, the NFC function and the SAR detection function can be realized by using the near field communication circuit of the electronic device.
[0065] In this embodiment, if Figure 4 As shown, the NFC antenna module 35 can be an antenna disposed on the top of the electronic device, and the NFC antenna module 35 can be reused with the main antenna of the electronic device. In this way, it is not necessary to set up multiple NFC antennas, and human body approach detection can be realized on both sides of the electronic device.
[0066] In some embodiments of the present application, the NFC antenna module includes a plurality of NFC antenna units connected in series.
[0067] In this embodiment, the near field communication circuit can be provided with multiple NFC antenna units, and the arrangement of the NFC coil is more flexible, which can increase the sensing area of the NFC function and make it more convenient to use. In addition, polling and controlling the operation of multiple NFC antenna units can further reduce the power consumption of the electronic device.
[0068] In some embodiments of the present application, Figure 6 As shown, the near field communication circuit further includes an antenna matching module 36 , which is connected between the driving module 32 and the NFC antenna module 35 .
[0069] For example, Figure 6As shown, the antenna matching module 36 includes a fifth capacitor 361, a sixth capacitor 362, a seventh capacitor 363, and an eighth capacitor 364. The first end of the fifth capacitor 361 is connected between the first inductor 324 and the first capacitor 325, the second end of the fifth capacitor 361 is connected to the first end of the NFC antenna module 35, the sixth capacitor 362 is connected between the second inductor 328 and the second capacitor 329, the second end of the sixth capacitor 362 is connected to the second end of the NFC antenna module 35, the first end of the seventh capacitor 363 is connected between the second end of the fifth capacitor 361 and the first end of the NFC antenna module 35, the second end of the seventh capacitor 363 is grounded, the first end of the eighth capacitor 364 is connected between the second end of the sixth capacitor 361 and the second end of the NFC antenna module 35, and the second end of the eighth capacitor 364 is grounded.
[0070] In this embodiment, when the driving module 32 drives the NFC antenna module 35 to oscillate, the antenna matching module 36 can make the forced vibration frequency of the NFC antenna module 35 consistent with the driving frequency of the driving module 32, thereby improving the transmission efficiency of the NFC antenna module.
[0071] The embodiment of the present application further provides an electronic device, which includes the near field communication circuit of the above embodiment. The electronic device can be a mobile phone, a tablet computer, a notebook computer, a wearable device, etc.
[0072] For example, Figure 8 As shown, the electronic device may include an application processor 81 , a near field communication circuit 82 , a modem 83 , a main antenna matching circuit 84 , and a matching switch 85 .
[0073] Among them, the application processor 81 is the control center of the entire electronic device control system. The application processor 81 is used for software system operation, realization of electronic device functions, control of peripheral devices, etc. Exemplarily, the application processor 81 can control peripheral devices, such as NFC IC and SAR IC. The modem 83 is used to modulate the baseband signal into a radio frequency signal for transmission, and to receive radio frequency signals. The near field communication circuit 82 can be the near field communication circuit described in the above embodiment, which can realize the NFC function and the human body approach detection function. For complex architectures and transmission systems corresponding to different frequencies, there are usually different ground matches. Different ground matches can be selected through the matching switch 85 to achieve different resonant frequencies.
[0074] In an embodiment of the present application, a vibration detection module is provided in the near field communication circuit, and the resonant oscillation of the NFC antenna module can be quantified to determine the number of vibrations and the vibration time of the resonant oscillation of the NFC antenna module, and the resonant frequency of the NFC antenna module is determined according to the number of vibrations and the vibration time of the resonant oscillation of the NFC antenna module, and then the object can be determined whether it is close to the electronic device according to the resonant frequency of the NFC antenna module. In this way, by using the near field communication circuit and the NFC antenna module, the NFC communication function and the SAR human body proximity detection function can be realized at the same time, and the near field communication circuit and the NFC antenna module of the electronic device are reused, and the problem of mutual interference between the NFC chip and the SAR sensor is solved. In addition, there is no need to set up a SAR sensor and multiple SAR sensing antennas, which can reduce the layout area requirements, and is conducive to the miniaturization and lightness of the electronic device. In addition, the circuit structure of this embodiment is simple, does not involve new processes, and is convenient for large-scale application.
[0075] Furthermore, compared with the method of performing detection in the driving emission state in the prior art, this embodiment can perform object approach detection when the NFC antenna module is in the resonant state, which can further reduce the power consumption of the electronic device and extend the use time of the electronic device.
[0076] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A near field communication circuit, characterized in that: include: NFC antenna module; A control module, including an output terminal and an input terminal; A driving module, wherein a first end of the driving module is connected to the output end of the control module, and a second end of the driving module is connected to the NFC antenna module; A voltage detection module, wherein a first end of the voltage detection module is connected to the NFC antenna module; A vibration detection module, wherein a first end of the vibration detection module is connected to a second end of the voltage detection module, and a second end of the vibration detection module is connected to an input end of the control module; Wherein, the voltage detection module is used to collect the voltage signal of the NFC antenna module when the NFC antenna module is in a resonant state, and output the voltage signal to the vibration detection module; the vibration detection module is used to determine the vibration number of the NFC antenna module according to the voltage signal, and the vibration number is the number of times the signal value of the voltage signal meets a preset condition, and the preset condition is that the signal value of the voltage signal is greater than or equal to a preset voltage threshold; The control module is used to determine the resonant frequency of the NFC antenna module according to the vibration number and vibration time of the NFC antenna module, so as to determine whether an object is close to the electronic device according to the resonant frequency.
2. The near field communication circuit according to claim 1, characterized in that: The vibration detection module comprises: A trigger unit, a first end of the trigger unit is connected to the second end of the voltage detection module; A counting unit, wherein a first end of the counting unit is connected to a second end of the trigger unit, and a second end of the counting unit is connected to an input end of the control module; The trigger unit is used to output a counting signal to the counting unit when the signal value of the voltage signal is greater than or equal to a preset voltage threshold; and the counting unit determines the number of vibrations of the NFC antenna module according to the counting signal.
3. The near field communication circuit according to claim 1, characterized in that: The control module is also used to control the driving module to drive the NFC antenna module to operate at a driving frequency; The control module is further configured to control the driving module to stop driving the NFC antenna module to operate when the NFC antenna module operates at a driving frequency, so that the NFC antenna module is in a resonant state.
4. The near field communication circuit according to claim 1, characterized in that: The control module is specifically used to determine a reference distance corresponding to the resonant frequency according to the resonant frequency of the NFC antenna module and the preset first mapping data, and determine that the object is close to the electronic device when the reference distance is less than a preset distance threshold; The first mapping data is data reflecting a mapping relationship between a reference resonant frequency of the NFC antenna module and a distance between an object and an electronic device.
5. The near field communication circuit according to claim 1, characterized in that: The control module is further configured to perform corresponding operations according to a working mode of the electronic device when the resonant frequency of the NFC antenna module indicates that an object is close to the electronic device.
6. The near field communication circuit according to claim 5, characterized in that: The control module is specifically configured to control the transmission power of the radio frequency signal of the electronic device to be reduced to a target power when the electronic device is in the first working mode.
7. The near field communication circuit according to claim 5, characterized in that: The control module is specifically used to control the electronic device to send a card checking instruction when the electronic device is in the second working mode.
8. The near field communication circuit according to claim 1, characterized in that: The control module is also used to control the electronic device to switch between the first working mode and the second working mode according to a preset strategy.
9. The near field communication circuit according to claim 1, characterized in that: The NFC antenna module includes a plurality of NFC antenna units connected in series.
10. The near field communication circuit according to claim 1, characterized in that: Also includes: An antenna matching module is connected between the driving module and the NFC antenna module.
11. An electronic device, characterized in that: The electronic device comprises the near field communication circuit according to any one of claims 1 to 10.
