NFC power supply detection device and method and NFC system

By working together with the NFC chip, antenna module, and control module, the power supply status is monitored and fed back in real time, which solves the problem of communication interruption caused by unstable power transmission of NFC devices. This ensures that the device will promptly prompt the user to adjust the position when the power supply is insufficient, thereby improving the stability of the system and the user experience.

CN121984540APending Publication Date: 2026-05-05SHENZHEN EXCELSECU DATA TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411505809.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-25
Publication Date
2026-05-05

AI Technical Summary

Technical Problem

When NFC devices are close to a card reader, unstable power transmission can lead to insufficient power supply, resulting in communication interruptions or failures, especially when the device is in an unsuitable position or far from the card reader. This can significantly impact the user experience, particularly during high-power operations such as authentication or encryption.

Method used

Through the coordinated operation of the NFC chip, NFC antenna module, and control module, the power supply status of the NFC antenna module is monitored and fed back in real time. The current consumption module increases the load current to detect changes in the power supply voltage. Combined with the preset voltage value, the power supply status is determined, and a prompt is sent to the user through the NFC chip.

Benefits of technology

It enables stable power supply status monitoring and feedback for NFC devices, avoids communication interruptions, and ensures that the device promptly prompts the user to adjust the position when the power supply is insufficient, thereby improving the stability and reliability of the system and enhancing the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121984540A_ABST
    Figure CN121984540A_ABST
Patent Text Reader

Abstract

The invention discloses an NFC power supply detection device and method and an NFC system, the NFC power supply detection device comprises an NFC chip, an NFC antenna module and a control module, and the NFC antenna module supplies power to the control module when receiving an electromagnetic signal; and the control module obtains the power supply state of the NFC antenna module according to the power supply voltage output by the NFC antenna module, and sends the power supply state to the NFC chip, so that the NFC chip gives out a prompt. According to the technical scheme, through the synergistic effect of the NFC chip, the NFC antenna module and the control module, the power supply state of the NFC antenna module can be monitored and fed back in real time, communication interruption or functional faults caused by insufficient power supply are avoided, the stability of the system is improved, the equipment can timely prompt a user to adjust the position of the equipment under the condition of insufficient power supply, and the user experience is improved. Continuous operation of the equipment is ensured, and the reliability and user experience of the equipment are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of wireless communication technology, and in particular to an NFC power supply detection device, method, and NFC system. Background Technology

[0002] In existing technologies, NFC (Near Field Communication) technology is widely used in scenarios such as payment, identity verification, and access control. NFC devices transmit data and acquire energy through electromagnetic induction, typically requiring no power supply of their own, especially passive NFC devices, whose operating power depends entirely on the electromagnetic field provided by the card reader. However, when an NFC device is near a card reader, although the terminal can identify basic information such as the NFC device's type and serial number, communication may be interrupted or fail due to insufficient power when complex data interaction or encryption operations are required. This is because the energy transfer between the NFC device and the card reader is unstable, especially when the device is in an unsuitable position or far from the card reader, making it difficult for the device to receive enough energy from the terminal. Particularly during high-power operations or data exchanges, such as identity verification or encryption, users may only discover the communication failure due to insufficient power in the middle or later stages of the process, thus having to readjust the device's position and wasting a significant amount of time. Summary of the Invention

[0003] This invention provides an NFC power supply detection device, method, and NFC system to solve the above-mentioned technical problems.

[0004] A first aspect of this invention provides an NFC power supply detection device, comprising: an NFC chip, an NFC antenna module, and a control module, wherein the control module is connected to the NFC chip and the NFC antenna module respectively;

[0005] When the NFC antenna module receives an electromagnetic signal, it supplies power to the control module;

[0006] The control module obtains the power supply status of the NFC antenna module based on the power supply voltage output by the NFC antenna module, and sends the power supply status to the NFC chip, causing the NFC chip to issue a prompt.

[0007] Optionally, the NFC power supply detection device further includes a current consumption module, which is connected to the control module;

[0008] When the control module controls the current consumption module to start working, it detects the change in the supply voltage and determines the power supply status of the NFC antenna module based on the change in the supply voltage and a preset voltage value.

[0009] Optionally, the current consumption module includes a load resistor, one end of which is connected to the output terminal of the control module, and the other end of which is grounded.

[0010] Optionally, the NFC antenna module includes: an NFC antenna and a voltage conversion module, wherein the NFC antenna is connected to the voltage conversion module, and the voltage conversion module is connected to the control module;

[0011] The NFC antenna receives electromagnetic signals and converts them into AC signals. The voltage conversion module converts the AC signals into DC signals and outputs them to the control module.

[0012] Optionally, the NFC antenna module includes: a first capacitor module and a second capacitor module, wherein the first capacitor module is located between the NFC antenna and the voltage conversion module to form a resonant circuit with the NFC antenna, and the second capacitor module is located between the voltage conversion module and the control module to filter the DC signal output by the voltage conversion module.

[0013] A second aspect of this invention provides a detection method based on the NFC power supply detection device described in the first aspect, the detection method comprising:

[0014] Based on the power supply voltage output by the NFC antenna module, the power supply status of the NFC antenna module is obtained, and the power supply status is sent to the NFC chip, causing the NFC chip to issue a prompt.

[0015] Optionally, the power supply status of the NFC antenna module is obtained based on the power supply voltage output by the NFC antenna module, including:

[0016] When the current consumption control module starts working, it detects the power supply voltage and determines the power supply status of the NFC antenna module based on the power supply voltage and a preset voltage value.

[0017] Optionally, the power supply status of the NFC antenna module is determined based on the change in the power supply voltage and a preset voltage value, including:

[0018] When the change in the power supply voltage exceeds the preset voltage value, it is determined that the power supply to the NFC antenna module is insufficient.

[0019] Otherwise, when the change in the power supply voltage tends to stabilize, it is determined that the NFC antenna module is powered normally.

[0020] Optionally, the current consumption control module starts operating, and then includes:

[0021] A PWM control signal is output to the current consumption module, causing the current consumption module to consume a preset current.

[0022] A third aspect of the present invention provides an NFC system, comprising: the NFC power supply detection device and the NFC reader / writer device described in the first aspect, wherein the NFC chip sends a prompt message to the NFC reader / writer device, and the NFC reader / writer device displays the prompt message.

[0023] The technical effects of this invention are as follows: through the synergistic effect of the NFC chip, NFC antenna module and control module, the power supply status of the NFC antenna module can be monitored and fed back in real time, avoiding communication interruption or functional failure due to insufficient power supply, improving the stability of the system, and enabling the device to promptly prompt the user to adjust the device position or perform other operations when the power supply is insufficient, ensuring the continuous operation of the device, improving the reliability of the device and the user experience. Attached Figure Description

[0024] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0025] Figure 1 This is a schematic diagram of the first structure of an NFC power supply detection device provided in Embodiment 1 of the present invention;

[0026] Figure 2 This is a schematic diagram of a second structure of an NFC power supply detection device provided in Embodiment 1 of the present invention;

[0027] Figure 3 This is a schematic diagram of the first structure of the NFC antenna module in an NFC power supply detection device provided in Embodiment 1 of the present invention;

[0028] Figure 4 This is a schematic diagram of the second structure of the NFC antenna module in an NFC power supply detection device provided in Embodiment 1 of the present invention;

[0029] Figure 5 This is a circuit diagram of an NFC power supply detection device provided in Embodiment 1 of the present invention;

[0030] Figure 6 This is a schematic diagram of the structure of an NFC system provided in Embodiment 1 of the present invention;

[0031] In the diagram: 101, NFC chip; 102, NFC antenna module; 103, control module; 104, current consumption module; 121, NFC antenna coil; 122, voltage conversion module; 123, first capacitor module; 124, second capacitor module; 10, NFC power supply detection device; 20, NFC reader / writer device. Detailed Implementation

[0032] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0033] It should be understood that the invention can be embodied in various forms and should not be construed as being limited to the embodiments set forth herein. Rather, providing these embodiments will make the disclosure thorough and complete, and will fully convey the scope of the invention to those skilled in the art. In the drawings, for clarity, the dimensions and relative dimensions of layers and regions may be exaggerated. The same reference numerals denote the same elements throughout.

[0034] It should be understood that when an element or layer is referred to as "on," "adjacent to," "connected to," or "coupled to" other elements or layers, it may be directly on, adjacent to, connected to, or coupled to other elements or layers, or there may be intervening elements or layers. Conversely, when an element is referred to as "directly on," "directly adjacent to," "directly connected to," or "directly coupled to" other elements or layers, there are no intervening elements or layers. It should be understood that although the terms first, second, third, etc., may be used to describe various elements, components, areas, layers, and / or portions, these elements, components, areas, layers, and / or portions should not be limited by these terms. These terms are only used to distinguish one element, component, area, layer, or portion from another element, component, area, layer, or portion. Therefore, without departing from the teachings of this invention, the first element, component, area, layer, or portion discussed below may be referred to as the second element, component, area, layer, or portion.

[0035] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the invention. When used herein, the singular forms “a,” “an,” and “the” are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the terms “comprising” and / or “including,” when used in this specification, identify the presence of the stated features, integers, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups. When used herein, the term “and / or” includes any and all combinations of the associated listed items.

[0036] To fully understand this invention, detailed structures and steps will be presented in the following description to illustrate the technical solution proposed by this invention. Preferred embodiments of the invention are described in detail below; however, in addition to these detailed descriptions, the invention may have other embodiments.

[0037] Example 1

[0038] This embodiment provides an NFC power supply detection device, such as... Figure 1 As shown, it includes: NFC chip 101, NFC antenna module 102 and control module 103, with control module 103 connected to NFC chip 101 and NFC antenna module 102 respectively.

[0039] When the NFC antenna module 102 receives an electromagnetic signal, it supplies power to the control module 103.

[0040] The control module 103 obtains the power supply status of the NFC antenna module 102 based on the power supply voltage output by the NFC antenna module 102, and sends the power supply status to the NFC chip 101, causing the NFC chip 101 to issue a prompt.

[0041] The NFC chip 101 can communicate with the external NFC reader / writer 20 and execute various NFC functions within the NFC reader / writer 20, such as payment, authentication, and data exchange. Simultaneously, the NFC chip 101 receives power status information from the control module 103 and performs corresponding actions based on this information. The operation of the NFC chip 101 is as follows: The NFC chip 101 communicates with the external NFC reader / writer 20 through the NFC antenna module 102. When the control module 103 detects insufficient power, the NFC chip 101 receives status information sent by the control module 103 and alerts the user to the insufficient power issue, which can be done through the software interface of the NFC reader / writer 20 or the device's display.

[0042] The NFC antenna module 102 receives electromagnetic signals from the NFC reader / writer device 20 and converts these electromagnetic signals into electrical energy to power the control module 103 and the NFC chip 101. The operation of the NFC antenna module 102 is as follows: when the NFC device approaches the NFC reader / writer device 20, the NFC antenna module 102 receives 13.56MHz electromagnetic signals, converts these signals into alternating current (AC), and then converts them into direct current (DC) through rectification and filtering processes, supplying power to the control module 103 and the NFC chip 101.

[0043] The control module 103 detects the power supply status of the NFC antenna module 102, monitors the power supply voltage, and determines whether there is insufficient power supply based on the detection results. The operation of the control module 103 is as follows: when the NFC antenna module 102 receives an electromagnetic signal, the control module 103 obtains DC power from the NFC antenna module 102 through its power input terminal. The voltage detection circuit inside the control module 103 monitors the power supply voltage in real time. If the power supply voltage drops below a preset threshold, it is determined that there is insufficient power supply. The control module 103 sends this insufficient power supply status to the NFC chip 101 through a communication interface (such as GPIO, I2C, etc.), notifying the NFC chip 101 of the current power supply status. The control module 103 can also test the power supply capability by adjusting the current consumption; for example, by controlling the current consumption of a load resistor to detect changes in the power supply voltage, further determining the power supply capability.

[0044] The technical advantages of this embodiment are: it enables real-time monitoring and feedback of the power supply status of NFC devices, avoiding communication interruptions or functional failures due to insufficient power supply, improving system stability, and allowing the device to promptly prompt the user to adjust the device's position or perform other operations when power is insufficient, ensuring continuous operation of the device. Through the coordinated action of the NFC chip, NFC antenna module, and control module, the NFC device can be ensured to work efficiently and stably in actual use, avoiding functional failures or communication problems caused by insufficient power supply, thus improving device reliability and user experience.

[0045] As one implementation method, such as Figure 2 As shown, the NFC power supply detection device also includes a current consumption module 104, which is connected to the control module 103. When the control module 103 controls the current consumption module 104 to start working, it detects the power supply voltage and determines the power supply status of the NFC antenna module 102 based on the power supply voltage and the preset voltage value.

[0046] The current consumption module 104 increases the load current of the device, enabling the control module 103 to detect changes in the supply voltage under load conditions and test the power supply capability by controlling the current consumption. When the control module 103 needs to detect the power supply status, it sends a PWM signal via GPIO to control the current consumption module 104. When the current consumption module 104 starts working, it increases the load on the NFC antenna module 102, increasing its current consumption. During the operation of the current consumption module 104, the control module 103 monitors changes in the supply voltage to detect the power supply capability of the NFC antenna module 102.

[0047] The current consumption module 104 operates as follows: When the NFC chip 101 communicates with the NFC reader / writer 20, the NFC antenna module 102 receives electromagnetic signals from the NFC reader / writer and supplies power to the control module 103. The control module 103 monitors the power supply voltage provided by the antenna module in real time. When power supply capability needs to be tested, the control module 103 activates the current consumption module 104. After the current consumption module 104 increases its load, the control module 103 detects the power supply voltage and compares it with a preset voltage value. If the power supply voltage is lower than the preset voltage value, the control module 103 determines that the power supply is insufficient and sends this status to the NFC chip 101. After receiving the power supply status information, the NFC chip 101 prompts the user to adjust the device position or take other actions to ensure normal communication.

[0048] The technical advantages of this implementation are as follows: By dynamically increasing the load through the current consumption module, the power supply capability of the NFC antenna module can be accurately detected. The control module monitors the power supply voltage in real time and compares it with a preset threshold to promptly determine if there is insufficient power. When the power supply is insufficient, the control module will promptly send status information to the NFC chip. The NFC chip will then issue a prompt to the user based on the power supply status, guiding the user to adjust the device position or take other measures. The system can ensure that the NFC device can continue to communicate stably, avoiding communication interruptions or transaction failures caused by power supply problems.

[0049] As one implementation method, the preset voltage value is obtained in the following way:

[0050] Determining the minimum operating voltage of the NFC system: First, the minimum operating voltage of the NFC device needs to be determined based on its specific technical specifications. This value is the lowest voltage required to ensure the NFC device can function properly.

[0051] Choosing a safety factor: To prevent voltage fluctuations from affecting equipment performance, a safety factor is typically set for the minimum operating voltage. This safety factor takes into account potential fluctuations in the power supply system and is usually between 5% and 15%. The specific value can be selected based on the system's stability requirements. For example, let's assume a 10% safety factor is chosen.

[0052] Calculate the preset voltage value: The formula for setting the preset voltage value is as follows: U0=U1×(1+K), where U0 is the preset voltage value, U1 is the minimum operating voltage, and K is the safety factor. The voltage of the NFC antenna module 102 when it is powered on should not be lower than the preset voltage value to ensure that the system can work stably.

[0053] The technical advantages of this implementation are as follows: a preset voltage value is set based on the minimum operating voltage of the NFC device, and a safety factor is added to ensure the stability of the power supply system. By monitoring the preset voltage value, the system can detect insufficient power supply in a timely manner and allow the user to take corresponding measures through a feedback mechanism to ensure the normal operation of the device.

[0054] In one implementation, the current consumption module 104 includes a load resistor, one end of which is connected to the output terminal of the control module 103, and the other end of which is grounded.

[0055] The preset voltage value and the maximum operating current of the NFC device during operation are determined according to the above implementation method. These can be determined through technical documentation or testing. The resistance value of the load resistor is calculated based on the preset voltage value and the maximum operating current. In practice, the resistance value may vary depending on the load conditions, and the system may adjust it according to different operating conditions (such as high load and low load). For more flexible power consumption adjustment, a PWM control signal is also used to dynamically adjust the current consumed by the resistor. The current consumption on the resistor can be dynamically adjusted through the PWM (Pulse Width Modulation) signal output by the control module 103. For example, the duty cycle is used to adjust the current on the resistor, thereby adjusting the total power consumption of the device according to different operating modes.

[0056] The technical advantage of this embodiment is that it can accurately calculate the resistance value of the power consumption to meet the working requirements of the NFC device, and ensure that the device can maintain a stable power supply under the load resistance.

[0057] As a first implementation of the NFC antenna module 102, such as Figure 3As shown, the NFC antenna module 102 includes: an NFC antenna coil 121 and a voltage conversion module 122. The NFC antenna coil 121 is connected to the voltage conversion module 122, and the voltage conversion module 122 is connected to the control module 103. The NFC antenna coil 121 receives electromagnetic signals and converts the electromagnetic signals into AC signals. The voltage conversion module 122 converts the AC signals into DC signals and outputs them to the control module 103.

[0058] The primary function of the NFC antenna coil 121 is to receive electromagnetic signals from the NFC reader / writer 20 and convert them into alternating current (AC) signals. The NFC antenna coil 121 serves as a channel for energy and data transmission, supporting the operation of the NFC device. When the NFC device approaches the NFC reader / writer 20, the NFC antenna coil 121 receives a 13.56MHz electromagnetic field signal through electromagnetic induction. Under the influence of this electromagnetic field, the NFC antenna coil 121 generates an AC signal, which represents both energy and data. The primary function of the voltage conversion module 122 is to convert the AC signal from the NFC antenna coil 121 into a stable DC signal and transmit this DC signal to the control module 103, providing a stable power supply for subsequent circuits.

[0059] The technical advantage of this embodiment is that, through the cooperation of the NFC antenna and the voltage conversion module, a stable DC power supply can be obtained.

[0060] As a second implementation of the NFC antenna module 102, based on the first implementation, such as Figure 4 As shown, the NFC antenna module 102 further includes a first capacitor module 123 and a second capacitor module 124. The first capacitor module 123 is located between the NFC antenna and the voltage conversion module 122 to form a resonant circuit with the NFC antenna. The second capacitor module 124 is located between the voltage conversion module 122 and the control module 103 to filter the DC signal output by the voltage conversion module 122.

[0061] The first capacitor module 123 is located between the NFC antenna coil 121 and the voltage conversion module 122, forming an LC resonant circuit together with the NFC antenna coil 121. It is responsible for adjusting the antenna's resonant frequency, thereby improving signal reception and energy transmission efficiency. The NFC antenna coil 121 receives electromagnetic signals and generates AC signals. The first capacitor module 123 and the NFC antenna coil 121 form an LC resonant circuit. By adjusting the capacitance value of the first capacitor module 123, the resonant frequency of the LC circuit can be tuned to match the 13.56MHz NFC operating frequency, achieving optimal resonance. This helps the antenna to more efficiently receive electromagnetic energy from the NFC reader / writer 20 and convert it into AC signals. The second capacitor module 124 is located between the voltage conversion module 122 and the control module 103. It is mainly used to filter the DC signal output by the voltage conversion module 122, smoothing the rectified DC signal, reducing fluctuations and noise, and ensuring a stable voltage is provided to the control module 103 and other circuits. The DC signal output by the voltage conversion module 122 contains certain ripple and noise. The second capacitor module 124 smooths these fluctuations and filters out high-frequency noise through its capacitance characteristics. The second capacitor module 124 makes the rectified DC signal more stable, thereby reducing the impact on subsequent circuits and ensuring that the control module 103 operates in a stable power supply environment.

[0062] The technical advantages of this embodiment are as follows: the first capacitor module optimizes the resonant frequency of the antenna, enabling the NFC device to achieve optimal performance at the operating frequency; the second capacitor module ensures the stability of the power supply voltage through filtering, reducing the impact of voltage fluctuations on the operation of the device.

[0063] The following describes this embodiment in detail through its specific circuit structure:

[0064] like Figure 5As shown, NFC chip 101 is chip U1, NFC antenna module 102 includes NFC antenna coil U3, voltage conversion module 122, capacitor C1 and capacitor C2, control module 103 is chip U2, voltage conversion module 122 includes Zener diode D1, diode D2, diode D3, diode D4 and diode D5, one end of NFC antenna coil U3 is connected to one end of capacitor C1, pin ANT1 of chip U1, the anode of diode D2 and the cathode of diode D4, and the other end of NFC antenna coil U3 is connected to the other end of capacitor C1. The terminals of the circuit are connected as follows: pin ANT2 of chip U1, anode of diode D3, cathode of diode D5, cathode of diode D2 connected to cathode of diode D3, cathode of Zener diode D1, one end of capacitor C2, and pin VCC of chip U2; anode of diode D4, anode of diode D5, anode of Zener diode D1, the other end of capacitor C2, and pin GND of chip U2 are connected to ground; pin GPIO1 of chip U2 is connected to pin GPIO of chip U1; pin GPIO2 of chip U2 is connected to one end of resistor R1, and the other end of resistor R1 is grounded.

[0065] When the circuit is close to the NFC reader / writer 20, the NFC antenna coil U3 gains energy. Capacitor C1 forms a resonant circuit with the NFC antenna coil U3 to adjust antenna matching. Diodes D2-D5 rectify the energy from the NFC antenna coil U3 into DC power. Capacitor C2 filters the energy it gains to smooth the rectified voltage. MCU chip U2 controls the discharge and detects changes in the supply voltage. Resistor R1 is responsible for the discharge. When the NFC device requires a larger current, MCU chip U2 outputs a high level through resistor R1 connected to pin GPIO2 of MCU chip U2. At this time, MCU chip U2 will discharge through GPIO2. The discharge magnitude can be adjusted by the resistance value of resistor R1 or by sending a PWM waveform through GPIO2. Simultaneously with the discharge, MCU chip U2 initiates supply voltage detection. When GPIO2 is activated for discharge, the supply voltage of MCU chip U2 drops. The magnitude of the voltage drop is used to assess whether the current power supply meets the NFC communication requirements. Because the voltage detection time of MCU chip U2 is very short, it can check the power supply after a short discharge without interrupting NFC communication. When MCU chip U2 detects insufficient NFC power, it notifies chip U1 that the power supply is insufficient. Chip U1 then transmits the insufficient power message to NFC reader / writer device 20. The software interface of NFC reader / writer device 20 can remind the user to reselect the NFC device location through the communication interface until sufficient power is obtained. At this time, MCU chip U2 can notify chip U1 by providing a level signal to the GPIO pin of chip U1 through GPIO1, or by notifying chip U1 through other communication ports such as I2C, SPI, UART, etc.

[0066] The preset voltage value is selected as follows: The preset voltage value is determined by the minimum voltage required by the NFC device plus a safety factor. For example, the minimum operating voltage of the NFC device is 1.8V (which can be determined by the specific NFC device through its own parameters). Considering a safety factor of 10% (which can be taken as 5% to 15%), the voltage drop is set to 1.8 × (1 + 0.1) = 1.98V.

[0067] The resistance value of resistor R1 is selected as follows: The resistance value of R1 is determined by the maximum operating current and the preset voltage value. The resistance value of R1 is equal to the ratio of the preset voltage value to the maximum operating current. For example, if the preset voltage value is 1.98V and the maximum operating current is 10mA (which can be determined by the specific NFC device through its own parameters), then R1 = 1.98 / (10 / 1000) = 198 ohms, typically 200 ohms. When GPIO2 continuously outputs a high level, resistor R1 begins to consume current, and the consumed current is equal to the ratio of the system voltage to the resistance of R1. For example, if the current NFC device voltage is 2.0V and R1 = 200 ohms, then the current is 2.0 / 200 × 1000 = 10mA. At this time, the voltage detection function of MCU chip U2 detects that the system voltage is 2.0V, meeting the power supply requirements of the entire NFC system.

[0068] The control module 103 performs PWM control on resistor R1 in the following way: The control module 103 outputs a PWM waveform through the GPIO2 pin. The PWM waveform duty cycle W = (high-level time T1 / total period T) × 100%. By adjusting the duty cycle of the PWM control signal, the power consumption of the NFC device can be adjusted according to the different power consumption requirements in different modes, using equivalent different current consumption. For example, if the resistance of R1 is 200 ohms and the preset voltage is 2.0V, and a 6mA current needs to be set, then 6 / ((2.0 / 200) × 1000) = 0.6 can be calculated, meaning the GPIO2 pin needs to output a 60% PWM waveform. (A preset mode and PWM waveform duty cycle relationship table can be set in the NFC device settings. The NFC reader / writer can transmit the specific mode to the NFC device, and the NFC device can look up the relationship table according to the mode to obtain the PWM waveform duty cycle, and output the PWM waveform through GPIO2 based on the PWM waveform duty cycle). When the detected actual voltage drop exceeds the preset voltage value, it is determined that the voltage requirement is not met; when the detected actual voltage tends to stabilize, it is determined that the voltage requirement is met. NFC reader / writer devices can initiate detection by controlling the NFC device to power on and off or by sending preset commands.

[0069] Example 2

[0070] This second embodiment provides a detection method based on the NFC power supply detection device provided in the first embodiment. The detection method includes:

[0071] Based on the power supply voltage output by the NFC antenna module, the power supply status of the NFC antenna module is obtained, and the power supply status is sent to the NFC chip, causing the NFC chip to issue a prompt.

[0072] In this detection method, the control module is the main implementer. When the NFC device approaches the NFC reader / writer, the NFC antenna module begins receiving electromagnetic signals from the reader / writer, converting these signals into DC signals, which are then transmitted to the control module. The control module monitors the DC voltage output by the voltage conversion module in real time. Through an internal voltage detection circuit or an ADC (analog-to-digital converter), the control module can obtain the current power supply voltage value. The control module compares the obtained power supply voltage value with a preset power supply threshold. If the power supply voltage is higher than or equal to the threshold, it is considered sufficient power supply; if it is lower than the threshold, it is considered insufficient power supply. After detecting the power supply status, the control module sends this status information to the NFC chip through a communication interface (such as GPIO, I2C, SPI, etc.). If the power supply is sufficient, a "normal power supply" status is sent. If the power supply is insufficient, a "low power supply" warning status is sent. After receiving the power supply status information from the control module, the NFC chip immediately takes corresponding actions based on the status. If the power supply is normal, the NFC chip continues normal communication; if the power supply is insufficient, the NFC chip issues a warning to the user according to the device design. When the NFC chip detects insufficient power supply, it sends a prompt to the user in different ways. For example, users might see a low power warning message on the NFC application interface, or be prompted to adjust the NFC device's position to obtain sufficient power through device vibration or sound. Following the prompts, the user adjusts the device, allowing it to receive more electromagnetic energy and restoring power stability. After adjustment, the NFC device can re-establish communication with the reader / writer and complete subsequent operations.

[0073] The technical effect of this second embodiment is that by sending the power supply status to the NFC chip and promptly notifying the user, the user can quickly understand the device status when the power supply is insufficient, take timely measures to avoid communication interruption or transaction failure, enhance the user's control over the device status, and reduce the negative experience caused by insufficient power supply.

[0074] Furthermore, based on the power supply voltage output by the NFC antenna module, the power supply status of the NFC antenna module is obtained, including:

[0075] When the current consumption control module starts working, it detects the power supply voltage and determines the power supply status of the NFC antenna module based on the power supply voltage and the preset voltage value.

[0076] When the control module needs to assess the power supply capability of the NFC antenna module, it activates the current-consuming module. At this time, the control module activates the current-consuming module via a control signal (such as sending a PWM waveform via GPIO). When the current-consuming module is working, it increases the total current load of the system, causing a drop in the supply voltage. The supply voltage provided by the NFC antenna module will then decrease to a certain extent due to the increased load. The control module continuously monitors the supply voltage through its built-in voltage detection circuit or ADC. The control module compares the detected supply voltage with a preset voltage value. The preset voltage value can be set according to the minimum operating voltage of the NFC system and its safety factor, such as 1.8V or a higher value. If the voltage drop is small and the final supply voltage is still higher than the set threshold, it indicates that the NFC antenna module can provide sufficient power to support the device to operate normally under high load, and is judged as "sufficient power supply". If the voltage drop is large and the supply voltage is lower than the set threshold, it indicates that the NFC antenna module cannot provide sufficient power when the load increases, and is judged as "insufficient power supply". The control module makes a final judgment on the power supply status of the NFC antenna module based on the test results (i.e., the magnitude of the supply voltage change) and transmits the power supply status information to the NFC chip.

[0077] The technical advantages of this implementation are as follows: By increasing the system load through the current-consuming module, the system dynamically detects changes in the supply voltage and determines the power supply status of the NFC antenna module. This not only assesses the device's power supply capability under high load conditions but also determines whether the power supply is sufficient through precise voltage comparison, ensuring stable operation of the NFC device under different working conditions. Through this step, the system can monitor and provide feedback on the power supply status in real time, preventing communication interruptions or functional abnormalities when the device is under insufficient power, thereby improving device reliability and user experience.

[0078] Furthermore, the power supply status of the NFC antenna module is determined based on the supply voltage and the preset voltage value, including...

[0079] When the power supply voltage is lower than the preset voltage value, it is determined that the NFC antenna module is underpowered.

[0080] Otherwise, when the power supply voltage stabilizes, the NFC antenna module is considered to be powered normally.

[0081] When the current-consuming module is operating, the control module continuously monitors the power supply voltage output by the NFC antenna module. The control module acquires the power supply voltage through its internal voltage detection circuit and records the voltage difference before and after the current-consuming module starts. Changes in the power supply voltage reflect the power supply capability of the NFC antenna module under increased load. The control module compares the monitored power supply voltage with a preset reference voltage value in the system. The preset voltage value is based on the minimum operating voltage of the NFC device plus a safety factor (e.g., 10%) to ensure that the NFC device can still operate normally even with a slight voltage drop. If the power supply voltage is lower than the preset voltage value, it indicates that the NFC antenna module cannot provide sufficient power under high load conditions, resulting in insufficient power supply. In this case, the control module will feed this status back to the NFC chip, which will then notify the user to adjust the device's location or take other measures. A stable power supply voltage means that the voltage drop is small and the change remains within the preset voltage range, indicating that the NFC antenna module's power supply capability is sufficient. The control module feeds back the normal power supply status information to the NFC chip, allowing the NFC device to continue normal communication with the reader / writer.

[0082] The technical advantage of this implementation is that by detecting the power supply voltage and combining it with a preset voltage reference value, the power supply status of the NFC antenna module can be accurately determined. When the power supply is insufficient, the system responds promptly and notifies the user to make adjustments; while when the power supply is normal, the system allows the device to continue to work stably, maintaining efficient and stable operation under different working conditions, thus improving the reliability of the device and the user experience.

[0083] As one implementation method, a preset voltage value is obtained through the following steps:

[0084] Determine the minimum operating voltage of the NFC system. First, you need to determine the minimum operating voltage of the NFC device based on its specific technical specifications. This value is the lowest voltage required to ensure that the NFC device can function properly.

[0085] Choose a safety factor. To prevent voltage fluctuations from affecting equipment performance, a safety factor is typically set for the minimum operating voltage. This safety factor takes into account potential fluctuations in the power supply system and is usually between 5% and 15%. The specific value can be selected based on the system's stability requirements. For example, suppose a 10% safety factor is chosen.

[0086] The formula for calculating and setting the preset voltage value is as follows: U0=U1×(1+K), where U0 is the preset voltage value, U1 is the minimum operating voltage, and K is the safety factor. The voltage of the equipment when it is powered on should not be lower than the preset voltage value to ensure that the system can work stably.

[0087] The technical advantages of this implementation are as follows: a preset voltage value is set based on the minimum operating voltage of the NFC device, and a safety factor is added to ensure the stability of the power supply system. By monitoring the preset voltage value, the system can detect insufficient power supply in a timely manner and allow the user to take corresponding measures through a feedback mechanism to ensure the normal operation of the device.

[0088] As one implementation method, after the current consumption control module starts working, it includes:

[0089] Output a PWM control signal to the current consumption module to make the current consumption module consume a preset voltage.

[0090] The control module adjusts the operating state of the current-consuming module by outputting a PWM (Pulse Width Modulation) control signal. The duty cycle of the PWM signal (the ratio of the high-level time to the total cycle) determines the actual current consumption of the current-consuming module. By adjusting the duty cycle of the PWM signal, the control module can control the current consumption of the current-consuming module in different time periods, thereby achieving dynamic load regulation of the power supply system. When the current-consuming module receives the PWM control signal, it begins to consume current according to the signal's duty cycle. For example, if the PWM signal's duty cycle is 60%, the current-consuming module will consume a corresponding proportion of power based on a preset resistor or other current-consuming components. The current-consuming module begins to consume electrical energy according to a preset current value (controlled by the PWM signal), thereby generating a preset voltage drop in the power supply system. The control module evaluates whether the NFC antenna module can provide sufficient power support based on the preset voltage drop magnitude. During the operation of the current-consuming module, the control module continuously monitors the supply voltage output by the NFC antenna module and records the voltage change value. By observing the magnitude of the voltage change, the control module can determine the current power supply status of the NFC antenna module. If the voltage drop is small and within the preset range, it indicates that the NFC antenna module can provide stable power under high load conditions. Conversely, if the voltage drop is large, it indicates insufficient power supply. After completing the detection, the control module stops outputting the PWM signal, and the current-consuming module also stops working. The power supply system returns to normal load conditions, and the control module re-monitors the restored power supply voltage to ensure that the system power supply has returned to normal.

[0091] The technical effect of this implementation is that by outputting a PWM control signal to the current consumption module, the load can be dynamically controlled and the power supply capability of the NFC antenna module can be accurately evaluated. The flexible adjustment of the PWM signal allows the system to perform power supply tests under different load conditions, ensuring that the NFC device can work stably under high load and avoiding communication interruption or functional failure due to insufficient power supply. This not only improves the stability of power supply but also optimizes the system's energy consumption management, thereby enhancing the overall performance and reliability of the device.

[0092] Example 3

[0093] This third embodiment provides an NFC system, such as Figure 6 As shown, it includes: an NFC power supply detection device 10 and an NFC reader / writer device 20 provided in Embodiment 1. The NFC chip 101 sends a prompt message to the NFC reader / writer device 20, and the NFC reader / writer device 20 displays the prompt message.

[0094] The NFC power supply detection device 10 receives electromagnetic energy from the NFC reader / writer device 20 via the NFC antenna module 102 and supplies power to the NFC chip 101. The control module 103 monitors the power supply voltage output by the NFC antenna module 102 in real time and performs a load test via the current consumption module 104 to detect the power supply capability. If insufficient power is detected, the control module 103 transmits the insufficient power status information to the NFC chip 101. Upon receiving the power status information, the NFC chip 101 sends a prompt message to the NFC reader / writer device 20, reminding the user to adjust the device's position or take other measures. The NFC chip 20 communicates with the NFC reader / writer device 20 via the NFC antenna module 102 to receive or send data. When the NFC chip 101 receives a power shortage warning from the power supply detection device, it generates a prompt message and transmits this information to the NFC reader / writer device 20. Upon receiving the prompt message from the NFC chip 101, the NFC reader / writer device 20 displays the insufficient power warning to the user through a built-in display interface or other notification mechanisms (such as sound or vibration). The user can adjust the position of the NFC device according to the prompt message to ensure the device receives sufficient power again.

[0095] The technical effect of this embodiment three is that, through the collaborative work of the power supply detection device and the NFC reader / writer device, the power supply status can be effectively monitored and fed back, ensuring that the device can maintain a stable power supply and operate normally in various scenarios. Users can adjust the device position or take other operations in a timely manner through the prompts of the NFC reader / writer device, which further improves the overall stability of the system and the user experience.

[0096] The above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included within the protection scope of the present invention.

Claims

1. An NFC power supply detection device, characterized in that, include: The system includes an NFC chip, an NFC antenna module, and a control module, wherein the control module is connected to the NFC chip and the NFC antenna module, respectively. When the NFC antenna module receives an electromagnetic signal, it supplies power to the control module; The control module obtains the power supply status of the NFC antenna module based on the power supply voltage output by the NFC antenna module, and sends the power supply status to the NFC chip, causing the NFC chip to issue a prompt.

2. The NFC power supply detection device as described in claim 1, characterized in that, The NFC power supply detection device also includes a current consumption module, which is connected to the control module. When the control module controls the current consumption module to start working, it detects the power supply voltage and determines the power supply status of the NFC antenna module based on the power supply voltage and a preset voltage value.

3. The NFC power supply detection device as described in claim 2, characterized in that, The current consumption module includes a load resistor, one end of which is connected to the output terminal of the control module, and the other end of which is grounded.

4. The NFC power supply detection device as described in claim 1, characterized in that, The NFC antenna module includes: an NFC antenna coil and a voltage conversion module, wherein the NFC antenna coil is connected to the voltage conversion module, and the voltage conversion module is connected to the control module; The NFC antenna coil receives electromagnetic signals and converts them into AC signals. The voltage conversion module converts the AC signals into DC signals and outputs them to the control module.

5. The NFC power supply detection device as described in claim 4, characterized in that, The NFC antenna module further includes a first capacitor module and a second capacitor module. The first capacitor module is located between the NFC antenna coil and the voltage conversion module to form a resonant circuit with the NFC antenna coil. The second capacitor module is located between the voltage conversion module and the control module to filter the DC signal output by the voltage conversion module.

6. A detection method based on the NFC power supply detection device according to claim 1, characterized in that, The detection method includes: Based on the power supply voltage output by the NFC antenna module, the power supply status of the NFC antenna module is obtained, and the power supply status is sent to the NFC chip, causing the NFC chip to issue a prompt.

7. The detection method as described in claim 6, characterized in that, Based on the power supply voltage output by the NFC antenna module, the power supply status of the NFC antenna module is obtained, including: When the current consumption control module starts working, it detects the power supply voltage and determines the power supply status of the NFC antenna module based on the power supply voltage and a preset voltage value.

8. The detection method as described in claim 7, characterized in that, The power supply status of the NFC antenna module is determined based on the change in the power supply voltage and a preset voltage value, including: When the power supply voltage is lower than the preset voltage value, it is determined that the NFC antenna module is underpowered. Otherwise, when the power supply voltage stabilizes, the NFC antenna module is considered to be powered normally.

9. The detection method as described in claim 7, characterized in that, The current consumption control module starts working, and the following steps are also included: A PWM control signal is output to the current consumption module, causing the current consumption module to consume a preset current.

10. An NFC system, characterized in that, include: The NFC power supply detection device and NFC reader / writer according to any one of claims 1 to 5, wherein the NFC chip sends a prompt message to the NFC reader / writer, and the NFC reader / writer displays the prompt message.