CN114024579B - Method, device, chip, terminal and readable storage medium for adjusting resonant frequency - Google Patents

Method, device, chip, terminal and readable storage medium for adjusting resonant frequency Download PDF

Info

Publication number
CN114024579B
CN114024579B CN202111294584.4A CN202111294584A CN114024579B CN 114024579 B CN114024579 B CN 114024579B CN 202111294584 A CN202111294584 A CN 202111294584A CN 114024579 B CN114024579 B CN 114024579B
Authority
CN
China
Prior art keywords
near field
field communication
capacitor
preset
communication circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111294584.4A
Other languages
Chinese (zh)
Other versions
CN114024579A (en
Inventor
陈华星
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202111294584.4A priority Critical patent/CN114024579B/en
Publication of CN114024579A publication Critical patent/CN114024579A/en
Application granted granted Critical
Publication of CN114024579B publication Critical patent/CN114024579B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B5/00Near-field transmission systems, e.g. inductive or capacitive transmission systems
    • H04B5/20Near-field transmission systems, e.g. inductive or capacitive transmission systems characterised by the transmission technique; characterised by the transmission medium
    • H04B5/22Capacitive coupling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B5/00Near-field transmission systems, e.g. inductive or capacitive transmission systems
    • H04B5/70Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Near-Field Transmission Systems (AREA)
  • Telephone Function (AREA)

Abstract

The application belongs to the technical field of near field communication, and particularly relates to a method, a device, a chip, a terminal and a readable storage medium for adjusting resonant frequency.

Description

Method, device, chip, terminal and readable storage medium for adjusting resonant frequency
Technical Field
The present application belongs to the field of near field communication technologies, and in particular, to a method, an apparatus, a chip, a terminal, and a readable storage medium for adjusting a resonant frequency.
Background
Near Field Communication (NFC) is a Near Field Communication technology, allows non-contact point-to-point data transmission (within ten centimeters) between terminals with NFC functions, and has the characteristics of low cost, convenience, easy use, richer intuition, and the like. NFC provides a simple, touch-sensitive solution that allows consumers to exchange information, access content, and services simply and intuitively.
However, when the NFC function is implemented by using a terminal having an NFC function, the terminal often fails to operate normally. For example, some existing mobile phone protective cases have a coil and an LED lamp, and the coil receives energy from NFC radiation of the mobile phone to make the LED lamp emit light. The NFC coil on the mobile phone protective shell may change the original load characteristics of the mobile phone, affect the NFC performance of the mobile phone and cause the problem of card swiping insensitivity.
Disclosure of Invention
The embodiment of the application provides a method, a device, a chip, a terminal and a readable storage medium for adjusting a resonant frequency, which can improve the use performance of the NFC function of the terminal.
A first aspect of an embodiment of the present application provides a method for adjusting a resonant frequency, where the method for adjusting a resonant frequency is applied to a near field communication circuit, where the near field communication circuit is provided with a tuning unit including a variable capacitor, and the method for adjusting a resonant frequency includes:
detecting whether the signal parameter of the near field communication circuit is out of a preset parameter range;
if the signal parameter of the near field communication circuit is outside the preset parameter range, sending a card searching instruction, and detecting whether a response signal corresponding to the card searching instruction is received;
and if the response signal corresponding to the card searching instruction is not received, adjusting the capacitance value of the variable capacitor to enable the signal parameter of the near field communication circuit to be within the preset parameter range.
A second aspect of the embodiments of the present application provides an apparatus for adjusting a resonant frequency, where the apparatus for adjusting a resonant frequency is applied to a near field communication circuit, the near field communication circuit is provided with a tuning unit including a variable capacitor, and the apparatus for adjusting a resonant frequency includes:
the first detection unit is used for detecting whether the signal parameter of the near field communication circuit is out of a preset parameter range or not;
the second detection unit is used for sending a card searching instruction if the signal parameter of the near field communication circuit is out of the preset parameter range, and detecting whether a response signal corresponding to the card searching instruction is received or not;
and the adjusting unit is used for adjusting the capacitance value of the variable capacitor if a response signal corresponding to the card searching instruction is not received, so that the signal parameter of the near field communication circuit is in the preset parameter range.
A third aspect of embodiments of the present application provides a near field communication chip, where the near field communication chip is applied to a near field communication circuit provided with a variable capacitance, and the near field communication chip includes a processor, and the processor is configured to read and execute a computer program stored in a memory, so as to implement the method for adjusting a resonant frequency according to the first aspect.
A fourth aspect of the embodiments of the present application provides a near field communication circuit provided with a tuning unit including a variable capacitance and the near field communication chip of the third aspect.
A fifth aspect of embodiments of the present application provides a terminal, including the near field communication circuit of the fourth aspect.
A sixth aspect of the embodiments of the present application provides a terminal, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the terminal is configured with a near field communication circuit, the near field communication circuit is provided with a tuning unit including a variable capacitor, and the processor implements the method for adjusting a resonant frequency of the first aspect when executing the computer program.
A seventh aspect of embodiments of the present application provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements the method for adjusting a resonant frequency of the first aspect.
In the embodiment of the application, when the signal parameter of the near field communication circuit is located outside the preset parameter range and the near field communication circuit does not receive the response signal corresponding to the card searching instruction, the capacitance value of the variable capacitor is adjusted to enable the signal parameter of the near field communication circuit to be located within the preset parameter range, so that the resonant frequency of the NFC circuit is located within the preset resonant frequency range, the NFC circuit at the terminal is prevented from being affected by electromagnetic interference objects, the situation of incapability of normal work occurs, and the use performance of the NFC circuit at the terminal is improved.
Drawings
In order to more clearly explain the method for adjusting the resonant frequency of the embodiments of the present application, the drawings needed in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and that for those skilled in the art, other relevant drawings can be obtained from the drawings without inventive effort.
Fig. 1 is an interaction diagram of an NFC terminal in a passive communication mode according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a first implementation of a method for adjusting a resonant frequency according to an embodiment of the present application;
fig. 3 is a schematic diagram of a first structure of an NFC circuit provided in an embodiment of the present application;
fig. 4 is a schematic flowchart of a second implementation of the method for adjusting the resonant frequency according to the embodiment of the present application;
fig. 5 is a schematic diagram of an NFC card being carried between a mobile phone and a mobile phone shell according to an embodiment of the present application;
fig. 6 is a schematic diagram of two NFC cards carried between a mobile phone and a mobile phone shell according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an apparatus for adjusting a resonant frequency according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of an NFC chip provided in an embodiment of the present application;
fig. 9 is a second structural schematic diagram of an NFC circuit provided in an embodiment of the present application;
fig. 10 is a schematic structural diagram of a terminal according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of and not restrictive on the broad application.
"and/or" herein is merely an association describing an associated object, and means that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, in the description of the embodiments of the present application, "a plurality" means two or more than two, "at least one", "one or more" means one, two or more than two, unless otherwise specified.
Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless expressly specified otherwise.
The method for adjusting the resonant frequency according to the embodiment of the present application can be applied to a near field communication circuit (NFC circuit) and a terminal configured with the NFC circuit, for example, a mobile phone, a tablet computer, an access control system, an on-board device, an Augmented Reality (AR)/Virtual Reality (VR) device, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a Personal Digital Assistant (PDA), and other terminals.
Near Field Communication (NFC) is a near field communication technology, and can be applied to a non-contact smart card, a reader terminal of the smart card, and a data transmission link to the terminal. Its applications can be divided into several basic types:
and (3) contact and completion: applications such as access control or traffic/event ticketing, the user simply brings the terminal storing the ticket or access code close to the reader.
Contact and confirmation: for applications such as mobile payment, the user must enter a password to confirm the transaction or simply accept the transaction.
Contacting and connecting: the two terminals supporting NFC are connected, and point-to-point network data transmission can be carried out, such as music downloading, image exchange or address book synchronous processing.
Terminals currently using NFC can communicate data in either an active communication mode or a passive communication mode.
Specifically, as shown in fig. 1, in the passive communication mode, the data communication process between the NFC terminals is as follows:
step 101, an initiating terminal for starting NFC communication provides a radio frequency field in the whole communication process, and a target terminal (target party) close to the initiating terminal acquires energy from the radio frequency field and is in an interception mode;
in step 102, the initiating terminal may select one of the transmission speeds of 106kbps, 212kbps, or 424kbps to transmit data to the target terminal.
The target terminal (target party) does not have to generate a radio frequency field, but uses a load modulation technique to send data back to the initiating terminal at the same speed, i.e. a data reply, step 103.
The specific implementation principle of step 103 is as follows:
since the radio frequency interface of the near field communication system is actually an inductive coupling system, i.e., a transformer coupling system, belonging to the coupling between the initiator as a primary coil (initiator antenna) and the target as a secondary coil (target antenna), the transformer coupling model is effective as long as the distance of the coils is not more than 0.16 times the wavelength. For example, when the operating frequency of NFC is 13.56MHz and the wavelength is 22m, the definition of the transformer coupling model is followed as long as the distance between the initiator and the target of NFC communication is not more than 3.52 m.
If the inherent resonant frequency of the target is consistent with the transmitting frequency of the initiator, the target is put into the alternating magnetic field of the initiator antenna, the target can obtain energy from the magnetic field, and the resistance of the target antenna becomes the loop load of the initiator antenna. When the load resistance changes, the current of the initiator antenna changes the voltage on the internal resistance, the target controls the on and off of the load resistance through data to be sent, the amplitude modulation of the voltage of the initiator antenna by the target can be realized, and data are transmitted between the NFC initiator and the target.
The target terminal may be an active device, such as a mobile phone in a card emulation mode or a peer-to-peer communication mode, or a passive tag, such as an NFC tag.
It can be seen from the above description that, when the transmission frequency of the initiator terminal changes and is not consistent with the inherent resonant frequency of the target, the implementation of the NFC function of the initiator terminal is affected, and the initiator terminal cannot normally operate.
For example, when the terminal is a mobile phone, if the mobile phone shell of the mobile phone is a mobile phone shell with an inductance coil (generally used for providing energy for electric devices such as an LED lamp on the mobile phone shell through a wireless charging reverse charging function (e.g., qi reverse charging) of the mobile phone or based on NFC radiation of the mobile phone, the LED lamp can be used for performing some personalized functions (e.g., displaying different patterns, etc.)) or a metal decoration, the inductance coil is an inductive load for the NFC circuit of the mobile phone, which changes the resonant frequency of the NFC circuit of the mobile phone, and affects the use of the NFC function of the mobile phone, for example, causing the problem that card swiping (e.g., reading of an NFC tag) of the mobile phone is insensitive.
In addition, the use of the NFC functionality of the mobile phone may also be affected for metal decorations on the mobile phone housing.
Based on this, the method, the apparatus, the chip, the terminal and the readable storage medium for adjusting the resonant frequency provided by the embodiment of the application can improve the use performance of the NFC function of the terminal, so that the terminal is not affected by the electromagnetic interference object. The terminal may be the initiating terminal adopting the passive communication mode.
The following describes an implementation process of the method for adjusting a resonant frequency provided by the present application by using a specific embodiment.
The first embodiment is as follows:
in this embodiment, the method for adjusting the resonant frequency may be applied to an NFC circuit, which may be configured in the terminal, and the method for adjusting the resonant frequency may be performed by an adjusting apparatus for the resonant frequency configured in a near field communication chip of the NFC circuit, or may be performed by an adjusting apparatus for the resonant frequency configured in a processor of the terminal. The NFC circuit is provided with a tuning unit comprising a variable capacitance.
As shown in fig. 2, the method for adjusting the resonant frequency may be implemented by steps 201 to 203.
Step 201, detecting whether a signal parameter of the NFC circuit is outside a preset parameter range.
In this application embodiment, the signal parameter of the NFC circuit is within the preset parameter range, which indicates that the resonant frequency of the NFC circuit is within the preset resonant frequency range, and the function of the NFC circuit can be normally implemented.
For example, when the operating frequency of the NFC circuit is 13.56MHz, and the signal parameter of the NFC circuit is within the preset parameter range, the resonant frequency of the NFC circuit is within the preset resonant frequency range of 13.55MHz to 13.57MHz, that is, within a small range with 13.56MHz as a middle value. When the resonant frequency of the NFC circuit changes within the preset resonant frequency range, the function of the NFC circuit can be normally implemented.
Step 202, if the signal parameter of the NFC circuit is outside the preset parameter range, sending a card-searching instruction, and detecting whether a response signal corresponding to the card-searching instruction is received.
In this embodiment of the application, when a signal parameter of the NFC circuit is outside a preset parameter range, it indicates that the resonant frequency of the NFC circuit is possibly affected by the electromagnetic interference object and is outside the preset resonant frequency range.
Specifically, when the NFC circuit is close to a near field communication object (e.g., an NFC tag) and an electromagnetic interference object that need to perform data communication, a signal parameter of the NFC circuit changes, that is, the signal parameter of the NFC circuit is located outside a preset parameter range, so that when the signal parameter of the NFC circuit is detected to be located outside the preset parameter range, it cannot be directly determined whether the signal parameter is affected by the electromagnetic interference object or the near field communication object that needs to perform data communication, and therefore, a card-searching instruction needs to be sent, so that when a response signal corresponding to the card-searching instruction is received, it is determined that the near field communication object that needs to perform data communication, e.g., the NFC tag, exists; and when the response signal corresponding to the card searching instruction is not received, determining that an electromagnetic interference object close to the NFC circuit exists, or the electromagnetic interference object is moved away, and determining that the resonant frequency of the NFC circuit changes, namely that the resonant frequency of the NFC circuit is located outside the preset resonant frequency.
For example, when detecting that the signal parameter of the NFC circuit is outside the preset parameter range, the mobile phone sends a card-searching instruction to the outside, so that when receiving a response signal corresponding to the card-searching instruction, it is determined that there is a near-field communication object that needs to perform data communication, for example, an NFC tag such as a bus card or a bank card; and when the response signal corresponding to the card searching instruction is not received, determining that an electromagnetic interference object close to the mobile phone NFC circuit exists or the electromagnetic interference object is removed, for example, determining that the mobile phone has an electromagnetic interference object such as a mobile phone shell with a coil or a metal decoration installed or removed, and the resonance frequency of the mobile phone NFC circuit is outside the preset resonance frequency.
In step 203, if the response signal corresponding to the card-searching instruction is not received, the capacitance value of the variable capacitor is adjusted to make the signal parameter of the NFC circuit within the preset parameter range.
In the embodiment of the application, when the signal parameter of the NFC circuit is outside the preset parameter range, and the NFC circuit does not receive the response signal corresponding to the card-searching instruction, it indicates that an electromagnetic interference object close to the terminal exists, or the electromagnetic interference object is removed, and the resonant frequency of the NFC circuit changes, therefore, the capacitance value of the variable capacitor needs to be adjusted, so that the signal parameter of the NFC circuit is within the preset parameter range, and further, the resonant frequency of the NFC circuit is within the preset resonant frequency range, so as to avoid the NFC circuit at the terminal from being affected by the electromagnetic interference object, and the situation of abnormal operation occurs, and the use performance of the NFC circuit at the terminal is improved.
Example two:
this embodiment exemplifies the structure of the NFC circuit in the first embodiment. Fig. 3 is a schematic structural diagram of an NFC circuit provided in the embodiment of the present application.
Optionally, the NFC circuit is provided with a tuning unit 31 including a variable capacitor and a near field communication chip (NFC chip) U1. The NFC chip U1 is configured to adjust a capacitance value of the variable capacitor when the signal parameter of the NFC circuit is outside the preset parameter range and the NFC circuit does not receive the response signal corresponding to the card-searching instruction.
Optionally, the NFC circuit may further include an antenna RF and filtering unit 32 connected to the tuning unit 31, where the filtering unit 32 is connected to the NFC chip U1 and is configured to filter a signal output by the NFC chip U1.
Optionally, in some embodiments of the present application, as shown in fig. 3, the filtering unit may include a first inductor L1, a second inductor L2, a first capacitor C1, and a second capacitor C2;
the tuning unit may include a third capacitor C3, a fourth capacitor C4, a fifth capacitor C5, and a sixth capacitor C6, where the fourth capacitor C4 and the fifth capacitor C5 are variable capacitors;
the first end of the first inductor L1 is connected with a first signal output end TX1 of the near field communication chip U1; the second end of the first inductor L1, the first end of the first capacitor C1 and the first end of the third capacitor C3 are connected in common; the first end of the second inductor L2 is connected with a second signal output end TX2 of the near field communication chip U1; the second end of the second inductor L2, the first end of the second capacitor C2 and the first end of the sixth capacitor C6 are connected in common; the second end of the first capacitor C1, the second end of the second capacitor C2, the first end of the fourth capacitor C4 and the first end of the fifth capacitor C5 are connected to the ground in common; the second end of the third capacitor C3, the second end of the fourth capacitor C4 and the first end of the antenna RF are connected together; the second terminal of the fifth capacitor C5, the second terminal of the sixth capacitor C6 and the second terminal of the antenna RF are connected in common.
Optionally, the third capacitor C3 and the sixth capacitor C6 are used to adjust the impedance of the NFC circuit; the capacitance values of the third capacitor C3 and the sixth capacitor C6 are the same; the capacitance values of the first capacitor C1 and the second capacitor C2 are the same; the capacitance values of the fourth capacitor C4 and the fifth capacitor C5 are the same; the first inductor L1 has the same inductance as the second inductor L2.
This application embodiment, through adjusting the capacitance value to above-mentioned fourth electric capacity C4 and fifth electric capacity C5, the realization is adjusted the resonant frequency of NFC circuit, makes the signal parameter of NFC circuit be located and predetermines the parameter range, and then makes the resonant frequency of NFC circuit be located and predetermine the resonant frequency within range, in order to avoid the NFC circuit at terminal to receive the influence of electromagnetic interference object, the unable normal condition of working appears, the performance of terminal NFC circuit has been improved.
Example three:
the present embodiment exemplifies specific implementation manners of step 201 and step 203 in the first embodiment.
Optionally, in some embodiments of the present application, in the step 201, detecting whether a signal parameter of the NFC circuit is outside a preset parameter range may be implemented by using the following steps a01 to a 02.
Step A01, detecting whether the variation of the voltage at two ends of the antenna in the NFC circuit is larger than a preset voltage threshold value or not, or detecting whether the variation of the output current of the NFC chip in the NFC circuit is larger than a preset current threshold value or not.
Step A02, if the variation of the voltage at the two ends of the antenna in the NFC circuit is larger than a preset voltage threshold value, or the variation of the output current of the NFC chip in the NFC circuit is larger than a preset current threshold value, determining that the signal parameter of the NFC circuit is located outside a preset parameter range.
It can be understood that, in the embodiment of the present application, when a variation of a voltage across an antenna in an NFC circuit is smaller than or equal to a preset voltage threshold, or a variation of an output current of an NFC chip in the NFC circuit is smaller than or equal to a preset current threshold, a signal parameter indicating that the NFC circuit is within a preset parameter range is provided.
Optionally, in some embodiments of the present application, in the step 203, the adjusting of the capacitance value of the variable capacitor may be implemented by the following steps B01 to B03.
Step B01, determining the variation of the signal parameter of the NFC circuit;
b02, determining the adjustment quantity of the variable capacitor based on the variation quantity of the signal parameter;
and B03, adjusting the capacitance value of the variable capacitor based on the adjustment amount.
Optionally, in some embodiments of the present application, the adjustment amount of the variable capacitor may be determined by determining a variation amount of a voltage at two ends of an antenna in the NFC circuit or a variation amount of an output current of an NFC chip in the NFC circuit, and then the capacitance value of the variable capacitor is adjusted based on the adjustment amount, so that a signal parameter of the NFC circuit is located within a preset parameter range, and further, the resonant frequency of the NFC circuit is located within a preset resonant frequency range, so as to avoid that the NFC circuit at the terminal is affected by an electromagnetic interference object, and a situation of abnormal operation occurs, thereby improving the use performance of the NFC circuit at the terminal.
It should be noted that, in some embodiments of the present application, determining the adjustment amount of the variable capacitor based on the change amount of the signal parameter may be implemented based on a predetermined correspondence between the change amount of the signal parameter and the adjustment amount of the variable capacitor.
Example four:
this embodiment illustrates a specific implementation of step 202 in the above embodiment.
Optionally, in some embodiments of the application, after detecting whether the response signal corresponding to the card searching instruction is received in step 202, when the response signal corresponding to the card searching instruction is received, it may be determined that the nfc object is identified, and perform data read-write operation with the nfc object.
Optionally, in some embodiments of the application, the data read-write operation may be maintained all the time, that is, the NFC circuit may maintain a communication connection with the near field communication object all the time until the near field communication object is not within a communication range, and disconnect the communication connection with the near field communication object.
For example, after the mobile phone recognizes an NFC card, it may perform data read/write operation with the NFC card, and keep the communication connection state until the mobile phone turns off the screen or the NFC card is removed.
Optionally, in some embodiments of the application, the data read-write operation may be ended after lasting a preset time period, and a capacitance value of a variable capacitor of the NFC circuit is adjusted, so that a signal parameter of the NFC circuit is within a preset parameter range.
As shown in fig. 4, a second implementation flow diagram of the method for adjusting the resonant frequency provided in the embodiment of the present application is shown, where the method for adjusting the resonant frequency may be applied to an NFC circuit, the NFC circuit may be configured in a terminal, and the method for adjusting the resonant frequency may be executed by an adjusting device of the resonant frequency configured in a near field communication chip of the NFC circuit, or executed by an adjusting device of the resonant frequency configured in a processor of the terminal. The NFC circuit is provided with a tuning unit comprising a variable capacitance.
As shown in fig. 4, the method for adjusting the resonant frequency may be implemented by the following steps 401 to 403.
Step 401, detecting whether a signal parameter of the NFC circuit is outside a preset parameter range.
Step 402, if the signal parameter of the NFC circuit is outside the preset parameter range, sending a card-searching instruction, and detecting whether a response signal corresponding to the card-searching instruction is received.
In this embodiment of the application, the implementation manners of the step 401 and the step 402 are the same as the implementation manners of the step 201 and the step 202, and are not described herein again.
Step 403, if a response signal corresponding to the card searching instruction is received, determining that the nfc object is identified, and detecting whether the time length of identifying the nfc object is greater than a preset time length.
In step 404, if the time length of the near field communication object is greater than the preset time length, the capacitance value of the variable capacitor is adjusted to make the signal parameter of the near field communication circuit within the preset parameter range.
In the embodiment of the application, when the time length for identifying the near field communication object is longer than the preset time length, it is indicated that the near field communication object belongs to the near field communication object which is close to the NFC circuit for a long time, and therefore the near field communication object needs to be regarded as an electromagnetic interference object, and the capacitance value of the variable capacitor is adjusted, so that the signal parameter of the NFC circuit is located in the preset parameter range, the influence of the electromagnetic interference object on the NFC circuit is avoided, the condition of abnormal operation occurs, and the use performance of the NFC circuit of the terminal is improved.
For example, after the mobile phone recognizes an NFC card, it may perform data read-write operation with the NFC card, and after the duration of maintaining the communication connection is longer than a preset duration, determine that the mobile phone belongs to an NFC card that is close to the NFC circuit for a longer time.
For another example, as shown in fig. 5, the user places the NFC card 52 between the mobile phone 51 and the mobile phone shell 53, so that when carrying the NFC card 52, the NFC card 52 belongs to an NFC circuit that is relatively close to the mobile phone 51. Because the user does not want the NFC circuit of the mobile phone to keep communication connection with the NFC card all the time, consume electric power, and make it unable to read other NFC cards again, therefore, the NFC circuit needs to regard it as an electromagnetic interference object, and adjust the capacitance value of the variable capacitor, so that the signal parameter of the NFC circuit is located within the preset parameter range, thereby avoiding influencing the NFC circuit to be affected by the NFC card, causing the situation of unable normal operation, and improving the use performance of the terminal NFC circuit.
Example five:
this embodiment exemplifies specific implementations of steps 201 to 203 in the above embodiments.
Optionally, in this embodiment of the application, the detecting whether the signal parameter of the NFC circuit is outside the preset parameter range may refer to periodically detecting whether the signal parameter of the NFC circuit is outside the preset parameter range.
For example, after the capacitance value of the variable capacitor is adjusted in step 203 and step 404, if the preset interval duration is reached, it is detected again whether the signal parameter of the NFC circuit is outside the preset parameter range, and when it is detected that the signal parameter of the NFC circuit is outside the preset parameter range, the card-seeking instruction is sent again, and it is detected whether a response signal corresponding to the card-seeking instruction sent by a new NFC object is received. When a response signal which is sent by a new near field communication object and corresponds to a card searching instruction is received, determining that the new near field communication object is identified, and detecting whether the time length of identifying the new near field communication object is greater than a preset time length; and when a response signal corresponding to the card searching instruction sent by the new near field communication object is not received, or the time length of the new near field communication object is identified to be longer than the preset time length, adjusting the capacitance value of the variable capacitor to enable the signal parameter of the near field communication circuit to be within the preset parameter range, or when the time length of the new near field communication object exceeds the adjustable range of the variable capacitor, finishing the adjustment of the variable capacitor. And the like, and the cycle is repeated periodically.
For example, as shown in fig. 6, a user places a first NFC card 52 between a mobile phone 51 and a mobile phone shell 53, so that after the capacitance value of the variable capacitor of the NFC circuit is adjusted, a second NFC card 54 is placed between the mobile phone 51 and the mobile phone shell 53, the second NFC card 54 is used as a new near field communication object, and if the duration of recognizing the second NFC card 54 is greater than the preset duration, the capacitance value of the variable capacitor is readjusted, so that the signal parameter of the near field communication circuit is within the preset parameter range, or when the adjustable range of the variable capacitor is exceeded, the adjustment of the variable capacitor is finished.
That is, multiple adjustments of the variable capacitance can be achieved depending on the scene.
Optionally, in some embodiments of the application, when the types of the NFC cards are many, for example, the card searching instruction may include preset card searching instructions corresponding to multiple types of NFC cards, in step 202, the sending the card searching instruction specifically includes sequentially sending each preset card searching instruction in the preset card searching instructions. For example, card searching command A, card searching command B, card searching command C, \8230;, are sent in sequence.
Correspondingly, in step 202, detecting whether a response signal corresponding to the card-searching instruction is received includes: in the process of sequentially sending each preset card searching instruction in the plurality of preset card searching instructions, whether a response signal corresponding to any one preset card searching instruction in the plurality of preset card searching instructions is received or not is detected.
Correspondingly, in step 203, if the response signal corresponding to the card searching command is not received, the capacitance value of the variable capacitor is adjusted, specifically: and if a response signal corresponding to any one of the preset card searching instructions is not received, adjusting the capacitance value of the variable capacitor.
In the embodiment of the application, the terminal can be compatible with the identification of different NFC cards by sequentially sending each of the plurality of preset card searching instructions and detecting whether a response signal corresponding to any one of the plurality of preset card searching instructions is received in the process of sequentially sending each of the plurality of preset card searching instructions.
While, for purposes of simplicity of explanation, the foregoing method embodiments have been presented as a series of interrelated acts, it will be appreciated by those skilled in the art that the present disclosure is not limited by the order of acts described, as some steps may occur in other orders in some implementations of the present disclosure.
Example six:
an embodiment of the present application provides an apparatus for adjusting a resonant frequency, which is applied to a near field communication circuit provided with a tuning unit including a variable capacitor, as shown in fig. 7, the apparatus 700 for adjusting a resonant frequency includes: a first detection unit 701, a first detection unit 702, and an adjustment unit 703.
A first detecting unit 701, configured to detect whether a signal parameter of the near field communication circuit is outside a preset parameter range;
a second detecting unit 702, configured to send a card-searching instruction if a signal parameter of the nfc circuit is outside a preset parameter range, and detect whether a response signal corresponding to the card-searching instruction is received;
the adjusting unit 703 is configured to adjust a capacitance value of the variable capacitor if a response signal corresponding to the card-searching instruction is not received, so that a signal parameter of the nfc circuit is within a preset parameter range.
It should be noted that, for convenience and simplicity of description, in the specific working process of the resonant frequency adjusting apparatus 700 described above, reference may be made to the corresponding process of the resonant frequency adjusting method in each embodiment described above, and details are not described herein again.
Illustratively, as shown in fig. 8, the present embodiment further provides a near field communication chip 80, where the near field communication chip 80 is applied to a near field communication circuit provided with a variable capacitance, and the near field communication chip includes a processor 81, and the processor 81 is configured to read and execute a computer program 83 stored in a memory 82, so as to implement the adjustment method of the resonant frequency in the above embodiments.
That is, the adjustment method of the resonance frequency in the above embodiments is implemented by the near field communication chip in the near field communication circuit.
Illustratively, as shown in fig. 9, the present embodiment further provides a near field communication circuit 90, which is provided with a tuning unit 92 containing a variable capacitance and a near field communication chip 91, where the near field communication chip includes a processor, and the processor is configured to read and execute a computer program stored in a memory, so as to implement the method for adjusting the resonant frequency in the foregoing embodiments.
Illustratively, the present application further provides a terminal, including a near field communication circuit, where the near field communication circuit is provided with a tuning unit including a variable capacitor and a near field communication chip, and the near field communication chip includes a processor, and the processor is configured to read and execute a computer program stored in a memory, so as to implement the method for adjusting the resonant frequency in the foregoing embodiments.
That is, the adjustment method of the resonance frequency in the above embodiments is implemented by the near field communication chip in the near field communication circuit.
Illustratively, as shown in fig. 10, the present embodiment further provides a terminal 10, where the terminal 10 is configured with a near field communication circuit 11, the near field communication circuit is provided with a tuning unit containing a variable capacitance, the terminal includes a memory 12, a processor 13, and a computer program 14 stored in the memory 12 and operable on the processor 13, and the processor implements the adjusting method of the resonant frequency in the above embodiments when executing the computer program.
That is, the method for adjusting the resonant frequency in the above embodiments is implemented by the processor of the terminal.
It should be noted that the processor in the terminal and the processor in the NFC chip do not belong to the same processor.
Exemplary, the present application further provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements the method for adjusting the resonant frequency shown in fig. 1 to 6.
Optionally, in this embodiment of the present application, the processor of the terminal may be a central processing unit, and the processor may also be other general processors, digital signal processors, application specific integrated circuits, field programmable gate arrays or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of each functional unit is illustrated, and in practical applications, the above-mentioned functional allocation may be performed by different functional units or modules according to requirements, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only used for distinguishing one functional unit from another, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the description of each embodiment has its own emphasis, and reference may be made to the related description of other embodiments for parts that are not described or recited in any embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the particular application of the tuning method of the resonant frequency and design constraints. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/user terminal and method may be implemented in other manners. For example, the above-described apparatus/user terminal embodiments are merely illustrative, and for example, a division of modules or units is only one logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit may be implemented in the form of hardware, or may also be implemented in the form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method according to the embodiments described above may be implemented by a computer program, which is stored in a computer readable storage medium and used by a processor to implement the steps of the embodiments of the methods described above. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying computer program code, recording medium, U.S. disk, removable hard disk, magnetic disk, optical disk, computer Memory, read-Only Memory (ROM), random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution media, and the like. It should be noted that the computer readable medium may contain other components which may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, in accordance with legislation and patent practice, the computer readable medium does not include electrical carrier signals and telecommunications signals.
The above embodiments are only used to illustrate the method for adjusting the resonant frequency of the present application, and are not limited thereto; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the method for adjusting the resonant frequency described in the foregoing embodiments may still be modified, or some of the method features may be equivalently replaced; such modifications or substitutions do not make the method for adjusting the resonant frequency substantially depart from the spirit and scope of the method for adjusting the resonant frequency of the embodiments of the present application, and are intended to be included within the scope of the present application.

Claims (14)

1. A method for adjusting a resonance frequency, which is applied to a near field communication circuit provided with a tuning unit including a variable capacitance, the method comprising:
detecting whether the signal parameter of the near field communication circuit is out of a preset parameter range; if the signal parameter of the near field communication circuit is out of the preset parameter range, sending a card searching instruction, and detecting whether a response signal corresponding to the card searching instruction is received; if a response signal corresponding to the card searching instruction is not received, adjusting the capacitance value of the variable capacitor to enable the signal parameter of the near field communication circuit to be within the preset parameter range;
and if a response signal corresponding to the card searching instruction is received, determining that a near field communication object is identified, and performing data reading and writing operation with the near field communication object.
2. The adjustment method of claim 1, wherein said detecting whether a signal parameter of the near field communication circuit is outside a preset parameter range comprises:
detecting whether the variation of the voltage at two ends of an antenna in the near field communication circuit is larger than a preset voltage threshold or not, or detecting whether the variation of the output current of a near field communication chip in the near field communication circuit is larger than a preset current threshold or not;
and if the voltage variation is larger than the preset voltage threshold value, or the output current variation is larger than the preset current threshold value, determining that the signal parameter of the near field communication circuit is out of the preset parameter range.
3. The adjustment method of claim 1, after the determining identifies the near field communication object, comprising:
detecting whether the time length of the near field communication object is greater than a preset time length or not;
and if the time length of the near field communication object is identified to be greater than the preset time length, adjusting the capacitance value of the variable capacitor to enable the signal parameter of the near field communication circuit to be within the preset parameter range.
4. The adjustment method according to any one of claims 1 to 3, wherein the detecting whether the signal parameter of the near field communication circuit is outside a preset parameter range comprises:
and periodically detecting whether the signal parameter of the near field communication circuit is out of the preset parameter range.
5. The method according to any one of claims 1 to 3, wherein the card-searching command comprises a plurality of preset card-searching commands, and the method comprises: detecting whether a response signal corresponding to any one of the preset card searching instructions is received or not in the process of sequentially sending each of the preset card searching instructions;
and if a response signal corresponding to any one of the preset card searching instructions is not received, adjusting the capacitance value of the variable capacitor to enable the signal parameter of the near field communication circuit to be within the preset parameter range.
6. The method of any one of claims 1 to 3, wherein the adjusting the capacitance value of the variable capacitor comprises:
determining a variation of the near field communication circuit signal parameter;
determining an adjustment amount of the variable capacitance based on the amount of change in the signal parameter;
adjusting a capacitance value of the variable capacitance based on the adjustment amount.
7. An apparatus for adjusting a resonance frequency, which is applied to a near field communication circuit provided with a tuning unit including a variable capacitance, the apparatus comprising:
the first detection unit is used for detecting whether the signal parameter of the near field communication circuit is out of a preset parameter range;
the second detection unit is used for sending a card searching instruction if the signal parameter of the near field communication circuit is out of the preset parameter range, and detecting whether a response signal corresponding to the card searching instruction is received or not;
the adjusting unit is used for adjusting the capacitance value of the variable capacitor if a response signal corresponding to the card searching instruction is not received, so that the signal parameter of the near field communication circuit is within the preset parameter range;
and the adjusting device is also used for determining that the near field communication object is identified and performing data read-write operation with the near field communication object if a response signal corresponding to the card searching instruction is received.
8. Near field communication chip for application in a near field communication circuit provided with a variable capacitance, characterized in that it comprises a processor for reading and executing a computer program stored in a memory to implement the steps of a method according to any one of claims 1 to 6.
9. A near field communication circuit characterized in that it is provided with a tuning unit comprising a variable capacitance and a near field communication chip of claim 8.
10. The near field communication circuit of claim 9, further comprising an antenna connected to the tuning unit and a filtering unit connected to the near field communication chip for filtering signals output by the near field communication chip.
11. The near field communication circuit of claim 10, wherein the filtering unit comprises a first inductance, a second inductance, a first capacitance, and a second capacitance;
the tuning unit comprises a third capacitor, a fourth capacitor, a fifth capacitor and a sixth capacitor, wherein the fourth capacitor and the fifth capacitor are variable capacitors;
the first end of the first inductor is connected with the first signal output end of the near field communication chip; the second end of the first inductor, the first end of the first capacitor and the first end of the third capacitor are connected in common; the first end of the second inductor is connected with the second signal output end of the near field communication chip; the second end of the second inductor, the first end of the second capacitor and the first end of the sixth capacitor are connected in common; the second end of the first capacitor, the second end of the second capacitor, the first end of the fourth capacitor and the first end of the fifth capacitor are connected to the ground in common; a second end of the third capacitor, a second end of the fourth capacitor and a first end of the antenna are connected in common; and the second end of the fifth capacitor, the second end of the sixth capacitor and the second end of the antenna are connected in common.
12. A terminal characterized by comprising a near field communication circuit according to any of claims 9 to 11.
13. A terminal comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the terminal is provided with a near field communication circuit provided with a tuning unit comprising a variable capacitance, the processor realizing the steps of the method according to any of claims 1-6 when executing the computer program.
14. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 6.
CN202111294584.4A 2021-11-03 2021-11-03 Method, device, chip, terminal and readable storage medium for adjusting resonant frequency Active CN114024579B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111294584.4A CN114024579B (en) 2021-11-03 2021-11-03 Method, device, chip, terminal and readable storage medium for adjusting resonant frequency

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111294584.4A CN114024579B (en) 2021-11-03 2021-11-03 Method, device, chip, terminal and readable storage medium for adjusting resonant frequency

Publications (2)

Publication Number Publication Date
CN114024579A CN114024579A (en) 2022-02-08
CN114024579B true CN114024579B (en) 2022-11-04

Family

ID=80060214

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111294584.4A Active CN114024579B (en) 2021-11-03 2021-11-03 Method, device, chip, terminal and readable storage medium for adjusting resonant frequency

Country Status (1)

Country Link
CN (1) CN114024579B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115242269B (en) * 2022-04-02 2024-04-16 浙江绍兴苏泊尔生活电器有限公司 Device communication method, device communication apparatus, storage medium, and electronic apparatus

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103098330A (en) * 2010-06-10 2013-05-08 捷通国际有限公司 Coil configurations for inductive power transfer
CN106411309A (en) * 2012-12-06 2017-02-15 G2触控股份有限公司 Capacitor detection unit
CN108076544A (en) * 2016-11-15 2018-05-25 佛山市顺德区美的电热电器制造有限公司 Resonant frequency control method, resonant frequency control device and electromagnetic heating system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102118175B (en) * 2009-12-30 2015-01-28 中兴通讯股份有限公司 Antenna matching circuit and implementation method of close-range wireless communication
JP4998582B2 (en) * 2010-04-16 2012-08-15 株式会社日本自動車部品総合研究所 Wireless communication device
US8977197B2 (en) * 2012-10-11 2015-03-10 Qualcomm Incorporated Circuit tuning for device detection in near-field communications
KR20140110335A (en) * 2013-03-07 2014-09-17 삼성전자주식회사 Method of controlling resonance frequency in a near field communication device, near field communication device and electronic system having the same
CN105095812B (en) * 2015-08-28 2017-11-28 飞天诚信科技股份有限公司 A kind of method and apparatus of self-adapting resonance frequency
CN112152675B (en) * 2020-09-28 2021-10-22 维沃移动通信有限公司 NFC antenna resonant frequency adjusting circuit, electronic equipment and calibration method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103098330A (en) * 2010-06-10 2013-05-08 捷通国际有限公司 Coil configurations for inductive power transfer
CN106411309A (en) * 2012-12-06 2017-02-15 G2触控股份有限公司 Capacitor detection unit
CN108076544A (en) * 2016-11-15 2018-05-25 佛山市顺德区美的电热电器制造有限公司 Resonant frequency control method, resonant frequency control device and electromagnetic heating system

Also Published As

Publication number Publication date
CN114024579A (en) 2022-02-08

Similar Documents

Publication Publication Date Title
CA2819006C (en) Multi-mode communication system for a mobile phone
US9913077B2 (en) Switching between multiple coupling modes
CN108055089B (en) Method and device for determining working frequency of NFC device
EP3007364B1 (en) Nfc communicators
EP1856650B1 (en) Near field communications, nfc, communicators and nfc communications enabled devices
JP6088664B2 (en) Method for realizing selection of secure element in short-range wireless communication, mobile terminal, and POS machine
EP2388930B1 (en) Overvoltage protection in a near field communications (NFC) capable device
EP1978665A2 (en) Systems, methods, and computer program products for automatically adjusting the modulation index of a wireless smart device reader
CN102118175B (en) Antenna matching circuit and implementation method of close-range wireless communication
CN101753267A (en) Communication device, communication method, computer program and computer system
CN101656436A (en) Wireless communication device and power receiving device
CN114024579B (en) Method, device, chip, terminal and readable storage medium for adjusting resonant frequency
US20140118115A1 (en) Protection of communication between an electromagnetic transponder and a terminal
CN107659341B (en) Near field communication-type B device
KR20140018603A (en) Rfid reader, rfid tag and rfid system
CN105590208A (en) Mobile terminal having offline transaction notification function and notification method
US11012119B2 (en) NFC arrangement
CN202067299U (en) Radio frequency SIM (subscriber identity module) card and mobile terminal
CN114648081A (en) Dual system RFID tag
CN104408390A (en) Radio frequency card substitution device and use method thereof
US8983544B2 (en) Communication system and communication method
EP4274107A1 (en) System with multiple nfc-chips
CN118095331A (en) Electronic device, NFC-based communication method and system
CN105809078A (en) Method for preventing conflicts between different-frequency cards and bi-frequency card reader
CN115660023A (en) Integrated circuit for digital currency, writing method and digital currency chip card

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant