NXP PN5190 Automatic DPC Calibration User Guide
- September 18, 2024
- NXP
Table of Contents
- NXP PN5190 Automatic DPC Calibration
- Product Information
- Product Usage Instructions
- Document information
- Introduction
- HW and SW prerequisites
- Tool description
- Guidance to automatically calibrate the DPC
- Abbreviations
- References
- Revision history
- Legal information
- Read User Manual Online (PDF format)
- Download This Manual (PDF format)
NXP PN5190 Automatic DPC Calibration
Product Information
Specifications
- Product Name: PN5190 automatic DPC calibration
- Version: Rev. 1.0
- Date: 6 August 2024
- Manufacturer: NXP Semiconductors
- Keywords: PN5190, dynamic power control, DPC, automatic DPC calibration
Product Usage Instructions
Introduction
The PN5190 Dynamic Power Control (DPC) is a tool to control field strength
versus PICC loading. Proper calibration is required for a new antenna design.
Refer to the data sheet of the PN5190 variant in use for device-specific
information.
Manual DPC Calibration
DPC calibration can be done manually using NFC Cockpit for large antennas.
Follow the instructions in section 5.4 PN5190 DPC calibration.
HW and SW Prerequisites
Ensure the following tools are properly installed on the same PC for automatic
DPC calibration:
- Cilab test tool ci230 for EMVCo debug tests, including TestPICC1.
- PN5190 hardware with VCOM interface connected to the NFC Cockpit.
Tool Description
Unzip all three tools and the .xlsx sheet template into a new folder. Open a
CMD shell in this folder to initiate the tools. Use h to display help function
and related tool parameters.
FAQ
Q: Do I need to install additional software for automatic DPC
calibration?
A: No, additional software installation is not required for automatic DPC
calibration.
Document information
Information | Content |
---|---|
Keywords | PN5190, dynamic power control, DPC, automatic DPC calibration |
Abstract | This document introduces three small PC executables, which can be |
used to automatically generate and load a DPC current reduction look up table into the PN5190. Two of the three tools use a cilab ci230 EMVCo test bench including a robot to execute the EMVCo power transfer measurement.
Introduction
The PN5190 Dynamic Power Control (DPC) is a powerful tool to control field
strength versus PICC loading. However, it requires a proper calibration for a
new antenna design.
Note: For device-specific information, refer to the data sheet of the PN5190
variant in use (PN5190B1 [1], PN5190B2 [2]). For more information, refer to
the product page on nxp.com [3].
Manual DPC calibration
The DPC calibration can be performed manually. For large antennas, which
are not critical, the NFC Cockpit (see [4]) provides a simple method to
measure seven VDDPA steps and prepare the current reduction lookup table
(LUT). Then only the missing LUT entries must be interpolated to fill the
complete LUT. Find instructions in section 5.4 “PN5190 DPC calibration” of
[5].
Especially for small antennas, it is highly recommended to measure all 43
VDDPA steps to generate the best input for the driver current reduction LUT,
and use the NXP-NFC-Reader-PN5190-DPC-LUT-Calibration.
xlsx (see [6]) to generate the LUT. For more details, refer to section 5.4.2.2 “NFC Cockpit current reduction calibration accurate method” of [5]. This method is very precise, but the manual measurement and manual programming takes a bit of time and carries the risk of entering incorrect values in the LUT during the process.
Automatic DPC calibration
NXP provides three small PC tools, which support automatic DPC calibration to
simplify and speed up the process:
- measure_vov.exe
- measure_dpc_table.exe
- program_dpc_table.exe
No additional SW installation is required, but is required to have:
- the PN5190 hardware connected to the PC, prepared with VCOM interface.
- the cilab ci230 EMVCo test bench up and running, which controls a robot to execute the EMVCo power transfer measurement (for the first two tools).
HW and SW prerequisites
On the same PC, the following tools must be properly installed for automatic DPC calibration:
- Cilab test tool ci230 for EMVCo debug tests (including TestPICC1)
- This tool must be up and running as for a standard EMVCo L1 test.
- A robot must be connected to the PC and controlled by the cilab tool.
- PN5190 hardware with VCOM
- The VCOM interface is used to connect the PN5190 to the NFC Cockpit.
- NXP provides the NFC Cockpit VCOM source code, see [7]
- The NFC Cockpit must work with the connected PN5190, but for the automatic DPC calibration the NFC Cockpit must be “disconnected” (since the COM port is used by the automatic DPC calibration tools).
- Figure 1 shows the example of a connected PNEV5190BP, using the COM18.
Tool description
All three tools and the .xlsx sheet template shall be unzipped and copied into a new folder. Open a CMD shell in this folder, as shown in Figure 2.
Note: “
measure_vov.exe
The measure_vov.exe simply measures the field strength in the center of the
antenna, using the EMVCo
Test PICC. The Test PICC is moved from a start position above the center of
the antenna down to the center position 000 in steps, and then moves the Test
PICC out and back to the start position in small steps. At every step
position, the tool measures the DC-level voltage (VoV) of the Test PICC, which
is a reference to the field strength (“EMVCo power transfer”), and reads the
VDDPA as well as the TX driver current. All results are stored into an excel
table.
Preparation before start
Before starting the measure_vov.exe, some preparations shall be made:
- The cilab EMVCo test tool must be running and prepared like for analog L1 tests.
- The robot center position (000) must be set properly.
- Cilab tool options:
- The robot positioning in the cilab tool must be disabled.
- The power transfer measurement in the cilab analog test options must be set to ”free mode” (i.e. no loopback is required to measure power).
- The PN5190 must be able to run with the NFC Cockpit. The DPC shall be enabled, but the NFC Cockpit itself disconnected.
Usage
The measure_vov.exe can be started from the CMD shell. measure_vov -h shows
the instruction help (see Figure 3).
Example The command starts the measurement at 60 mm above the
000 position, and then steps down to 0 mm in steps of 1 mm. After reaching the
000 position, the measurement continues and steps up again back to 60 mm in
steps of 1 mm. For each step, the VoV (= field strength equivalent), the VDDPA
and the TX driver current are saved.
The complete results of the measurement is saved in the
Fieldstrength_measured.xls file. The Figure 5 shows a typical measurement of a
working DPC, as a result from the first two columns of the
Fieldstrength_measured.xls in a simple XY diagram (VoV in V versus distance in
mm). The required hysteresis can be clearly seen, showing results in different
VoV values between moving in and out of the field.
measure_dpc_table.exe
The measure_dpc_table.exe automatically measures the DPC calibration table and
fills the NXP-NFC-Reader-PN5190-DPC-LUT-Calibration.template.xlsx file. The
EMVCo Test PICC is used, the usage of Test PICC1 is recommended.
The tool can disable the DPC (as required for calibration), and then moves the
Test PICC from a defined start position above the center of the antenna down
to the center position 000 in small steps. At the start position, the tool
applies the VDDPA = 5.7 V, which drives the maximum available power.
At every step position, the tool measures the DC voltage level (VoV) of the
Test PICC, which is a reference to the field strength (or EMVCo Power
transfer), and it reads the TX driver current. When the VoV exceeds the
defined target VoV in a position, the tool reduces the VDDPA by 100 mV. For
each VDDPA level, the tool saves the related VoV and the related TX driver
current, which corresponds to the required power level to achieve this defined
target VoV in a certain position.
All the results are stored into an excel table, using the NXP-NFC-Reader-
PN5190-DPC-LUT-Calibration. template.xlsx.
Preparation before start
Before starting the measure_dpc_table.exe, some preparations shall be made:
- The cilab EMVCo test tool must be running and prepared like for analog L1 tests.
- The robot center position (000) must be set properly.
- Cilab tool options:
- The robot positioning in the cilab tool must be disabled.
- The power transfer measurement in the cilab analog test options must be set to ”free mode” (i.e. no loopback is required to measure power).
- The PN5190 must be able to run with the NFC Cockpit. The DPC shall be enabled, but the NFC Cockpit itself disconnected.
Usage
The measure_dpc_table.exe can be started from the CMD shell. measure_dpc_table
-h shows the instruction help (see Figure 6).
Example
Measure_dpc_table –com COM6 –disable-dpc –z 60 –step 1 –vov 5.8 –xls
DPCCalibration.
-
For this measurement, the DPC must be disabled in the EEPROM setting: this can either be done as part of the
preparation with the NFC Cockpit upfront, or the tool can do this by using the parameter –disable-dpc. The tool automatically re-enables the DPC after the test, if it had been disabled by the parameter –disable-dpc. -
The target VoV (“power transfer”) in this example is set to 5.8 V, which sits reasonably between the minimum and maximum EMVCo power transfer limits. The measurement results, including the TX driver current reduction proposal values are stored in the DPC-Calibration.xls.
-
Before saving the current reduction LUT, it is required to check the automatic settings and possibly correct some single values to avoid “forbidden” DPC conditions. The excel sheet indicates such “forbidden” settings. In those VDDPA positions, where the “DPC condition is broken”, the TX driver current in column B should be manually increased in mA steps until the condition becomes valid.
-
Note: It is also recommended to check all the TX driver current entries in column B. In some cases, the measurement tolerances result in some minor variations, which should be smoothed out.
-
Save the checked and smoothed excel sheet when all current (reduction) values are correct.
program_dpc_table.exe
The last step is to store the target current and all current reduction LUT
entries (including the missing ones, which need to be interpolated) into the
PN5190 EEPROM. This can be done with the program_dpc_table.exe.
Preparation before start
Before starting the program_dpc_table.exe, some preparations shall be made:
- The PN5190 must be able to run with NFC Cockpit. The DPC shall be enabled, but the NFC Cockpit itself disconnected.
Usage
The program_dpc_table.exe then can be started from the CMD shell.
program_dpc_table -h shows the instruction help (see Figure 8).
Example
The above
command stores the previously generated LUT into the PN5190. Missing LUT
entries are generated with a simple interpolation and stored. In parallel, all
programmed LUT values are saved into a CSV file. The CSV file can be helpful
for the design in project documentation.
Guidance to automatically calibrate the DPC
The following sequence provides step-by-step instructions to run a full DPC calibration with the PN5190 device automatically.
- Prepare setup
- Start ci230 and robot and the cilab GUI.
- Place the PCD device into position and adjust (set) the position 000.
- Disable
in cilab options (see Figure 10). - Switch power transfer to “free” in cilab options (see Figure 11.)
- Connect PCD to PC, and check the assigned COM port.
- Optional: Start measure_vov.exe in CMD shell.
- measure_vov –com COM6 –z 60 –step 1 –xls Fieldstrength_measured.xls
- Check the result.
- Start measure_dpc_table.exe in CMD shell.
- measure_dpc_table –com COM6 –disable-dpc –z 60 –step 1 –vov 5.8 –xls DPCCalibration. xls
- Open result: An example is shown in Figure 12
- Open the excel sheet DPC-Calibration.xls and adjust bad combinations of VDDPA and ITVDD.
- Check for “DPC condition broken” and increase the TX driver current in column B, until the condition is ok.
- Smooth the TX driver current to reasonable values.
- Save the excel sheet: An example is shown in Figure 13.
- Program the LUT with program_dpc_table.exe in the CMD shell.
- program_dpc_table –com COM6 –xls DPC-Calibration.xls –csv DPC-LUT-programmed.csv
- Save both excel sheets for documentation.
- Final: Start measure_vov.exe in CMD shell.
- measure_vov –com COM6 –z 60 –step 1 –xls Fieldstrength_measured.xls
- Check the result: Example is shown in Figure 14.
Abbreviations
Table 1. Abbreviations
Acronym | Description |
---|---|
DPC | dynamic power control |
LUT | lookup table |
NFC | near-field communication |
PICC | proximity chip card or NFC smartphone |
TX | transmitter |
VDDPA | supply voltage of the PN5190 TX driver, as normally controlled by the |
DPC
References
- Data sheet – PN5190B1 NFC frontend (link)
- Data sheet – PN5190B2 NFC frontend (link)
- Web page – PN5190 – NFC Frontend supporting challenging RF environment for payment, physical access control (link)
- Software – NFC Cockpit Configuration Tool for NFC ICs (link)
- Application note – AN12549 – PN5190 antenna design guide (link)
- Resources – OT6824 – NFC Reader antenna design tools (link)
- Resources – NFC Cockpit VCOM source code for PN5190 (link)
Note about the source code in the document
The example code shown in this document has the following copyright and
BSD-3-Clause license:
Copyright 2024 NXP Redistribution and use in source and binary forms, with or
without modification, are permitted provided that the following conditions are
met:
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials must be provided with the distribution.
- Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Revision history
Table 2. Revision history
Document ID | Release date | Description |
---|---|---|
UM11899 v.1.0 | 06 August 2024 | • Initial version |
Legal information
Definitions
Draft — A draft status on a document indicates that the content is still under
internal review and subject to formal approval, which may result in
modifications or additions. NXP Semiconductors does not give any
representations or warranties as to the accuracy or completeness of
information included in a draft version of a document and shall have no
liability for the consequences of use of such information.
Disclaimers
-
Limited warranty and liability — Information in this document is believed to be accurate and reliable. However, NXP Semiconductors does not give any representations or warranties, expressed or implied, as to the accuracy or completeness of such information and shall have no liability for the consequences of use of such information. NXP Semiconductors takes no responsibility for the content in this document if provided by an information source outside of NXP Semiconductors.
-
In no event shall NXP Semiconductors be liable for any indirect, incidental, punitive, special or consequential damages (including – without limitation -lost profits, lost savings, business interruption, costs related to the removal or replacement of any products or rework charges) whether or not such damages are based on tort (including negligence), warranty, breach of contract or any other legal theory.
Notwithstanding any damages that customer might incur for any reason whatsoever, NXP Semiconductors’ aggregate and cumulative liability towards customer for the products described herein shall be limited in accordance with the Terms and conditions of commercial sale of NXP Semiconductors. -
Right to make changes — NXP Semiconductors reserves the right to make changes to information published in this document, including without limitation specifications and product descriptions, at any time and without notice. This document supersedes and replaces all information supplied prior to the publication hereof.
-
Suitability for use — NXP Semiconductors products are not designed, authorized or warranted to be suitable for use in life support, life-critical or safety-critical systems or equipment, nor in applications where failure or malfunction of an NXP Semiconductors product can reasonably be expected to result in personal injury, death or severe property or environmental damage. NXP Semiconductors and its suppliers accept no liability for inclusion and/or use of NXP Semiconductors products in such equipment or applications and therefore such inclusion and/or use is at the customer’s own risk.
-
Applications — Applications that are described herein for any of these products are for illustrative purposes only. NXP Semiconductors makes no representation or warranty that such applications will be suitable for the specified use without further testing or modification.
Customers are responsible for the design and operation of their applications and products using NXP Semiconductors products, and NXP Semiconductors accepts no liability for any assistance with applications or customer product design. It is customer’s sole responsibility to determine whether the NXP Semiconductors product is suitable and fit for the customer’s applications and products planned, as well as for the planned application and use of customer’s third party customer(s). Customers should provide appropriate design and operating safeguards to minimize the risks associated with their applications and products. -
NXP Semiconductors does not accept any liability related to any default, damage, costs or problem which is based on any weakness or default
in the customer’s applications or products, or the application or use by customer’s third party customer(s). Customer is responsible for doing all necessary testing for the customer’s applications and products using NXP Semiconductors products in order to avoid a default of the applications and the products or of the application or use by customer’s third party customer(s). NXP does not accept any liability in this respect. -
Terms and conditions of commercial sale — NXP Semiconductors products are sold subject to the general terms and conditions of commercial sale, as published at https://www.nxp.com/profile/terms unless otherwise agreed in a valid written individual agreement. In case an individual agreement is concluded only the terms and conditions of the respective agreement shall apply. NXP Semiconductors hereby expressly objects to applying the customer’s general terms and conditions with regard to the purchase of NXP Semiconductors products by customer.
-
Export control — This document as well as the item(s) described herein may be subject to export control regulations. Export might require a prior authorization from competent authorities.
-
Suitability for use in non-automotive qualified products — Unless this document expressly states that this specific NXP Semiconductors product is automotive qualified, the product is not suitable for automotive use. It is neither qualified nor tested in accordance with automotive testing or application requirements. NXP Semiconductors accepts no liability for inclusion and/or use of non-automotive qualified products in automotive equipment or applications.
-
In the event that customer uses the product for design-in and use in automotive applications to automotive specifications and standards, customer (a) shall use the product without NXP Semiconductors’ warranty of the product for such automotive applications, use and specifications, and (b) whenever customer uses the product for automotive applications beyond NXP Semiconductors’ specifications such use shall be solely at customer’s own risk, and (c) customer fully indemnifies NXP Semiconductors for any liability, damages or failed product claims resulting from customer design and use of the product for automotive applications beyond NXP Semiconductors’ standard warranty and NXP Semiconductors’ product specifications.
-
Evaluation products — This product is provided on an “as is” and “with all faults” basis for evaluation purposes only. NXP Semiconductors, its affiliates and their suppliers expressly disclaim all warranties, whether express, implied or statutory, including but not limited to the implied warranties of non-infringement, merchantability and fitness for a particular purpose. The entire risk as to the quality, or arising out of the use or performance, of this product remains with customer.
-
In no event shall NXP Semiconductors, its affiliates or their suppliers be liable to customer for any special, indirect, consequential, punitive or incidental damages (including without limitation damages for loss of business, business interruption, loss of use, loss of data or information, and the like) arising out the use of or inability to use the product, whether or not based on tort (including negligence), strict liability, breach of contract, breach of warranty or any other theory, even if advised of the possibility of such damages.
Notwithstanding any damages that customer might incur for any reason whatsoever (including without limitation, all damages referenced above and all direct or general damages), the entire liability of NXP Semiconductors, its affiliates and their suppliers and customer’s exclusive remedy for all of the foregoing shall be limited to actual damages incurred by customer based on reasonable reliance up to the greater of the amount actually paid by customer for the product or five dollars (US$5.00). The foregoing limitations, exclusions and disclaimers shall apply to the maximum extent permitted by applicable law, even if any remedy fails of its essential purpose.
Translations — A non-English (translated) version of a document, including the legal information in that document, is for reference only. The English version shall prevail in case of any discrepancy between the translated and English versions.
Security — Customer understands that all NXP products may be subject to unidentified vulnerabilities or may support established security standards or specifications with known limitations. Customer is responsible for the design and operation of its applications and products throughout their lifecycles to reduce the effect of these vulnerabilities on customer’s applications and products. Customer’s responsibility also extends to other open and/or proprietary technologies supported by NXP products for use in customer’s applications. NXP accepts no liability for any vulnerability. Customer should regularly check security updates from NXP and follow up appropriately.
Customer shall select products with security features that best meet rules, regulations, and standards of the intended application and make the ultimate design decisions regarding its products and is solely responsible for compliance with all legal, regulatory, and security related requirements concerning its products, regardless of any information or support that may be provided by NXP.
NXP has a Product Security Incident Response Team (PSIRT) (reachable at
PSIRT@nxp.com that manages the investigation,
reporting, and solution release to security vulnerabilities of NXP products.
NXP B.V. — NXP B.V. is not an operating company and it does not distribute or
sell products.
Licenses
Purchase of NXP ICs with NFC technology — Purchase of an NXP Semiconductors IC
that complies with one of the Near Field Communication (NFC) standards ISO/IEC
18092 and ISO/IEC 21481 does not convey an implied license under any patent
right infringed by implementation of any of those standards. Purchase of NXP
Semiconductors IC does not include a license to any NXP patent (or other IP
right) covering combinations of those products with other products, whether
hardware or software.
Trademarks
Notice: All referenced brands, product names, service names, and trademarks
are the property of their respective owners.
NXP — wordmark and logo are trademarks of NXP B.V.
EdgeVerse — is a trademark of NXP B.V.
All information provided in this document is subject to legal disclaimers. ©
2024 NXP B.V. All rights reserved.
User manual Rev. 1.0 — 6 August 2024 Document feedback
19 / 22
Read User Manual Online (PDF format)
Read User Manual Online (PDF format) >>