Microsemi LX3301A User manual

Type
User manual

This manual is also suitable for

LX3301A/LX3302A
Auto Calibration User Guide
Preliminary
May 2018
Microsemi Proprietary and Confidential. LX3301A/LX3302A Auto Calibration User Guide Revision 1.0
Contents
1 Revision History ............................................................................................................................. 1
1.1 Revision 1.0 ........................................................................................................................................ 1
2 Software Installation and Validation .............................................................................................. 2
3 Data Preparation for IPCE .............................................................................................................. 7
3.1 LX3301A/LX3302A EEPROM Setting for Data Capture ....................................................................... 9
3.2 How to Capture Data Using IPCE Manually ........................................................................................ 9
3.3 Manual Data Capture Preparation Using LX3302A ............................................................................. 9
3.4 Data Validation ................................................................................................................................. 12
4 Calibration Using IPCE .................................................................................................................. 13
4.1 Loading Data/EEPROM into IPCE ...................................................................................................... 13
4.2 Example Data and EEPROM Parameters Loaded ............................................................................. 14
4.3 Calibration Condition Settings .......................................................................................................... 14
4.4 Auto Calibration ............................................................................................................................... 15
4.5 Auto Calibration of Phase ................................................................................................................. 16
4.6 Save Calibrated Result into EEPROM ................................................................................................ 17
5 Data Capture Using IPCE with Microsemi Bench Control System (BCS) ...................................... 19
5.1 Alternative Way to Take Data Using Dongle Programmer ............................................................... 19
5.2 Collect Measurements with Default Parameters ............................................................................. 19
5.3 Save EEPROM Data to File ................................................................................................................ 21
Microsemi Proprietary and Confidential. LX3301A/LX3302A Auto Calibration User Guide Revision 1.0 1
1 Revision History
The revision history describes the changes that were implemented in the document. The changes are
listed by revision, starting with the most current publication.
1.1 Revision 1.0
Revision 1.0 was published in May 2018. It was the first publication of this document.
Microsemi Proprietary and Confidential. LX3301A/LX3302A Auto Calibration User Guide Revision 1.0 2
2 Software Installation and Validation
The following section describes how to install and validate the software for the LX3301A/LX3302A
device.
1. Connect the dongle to the computer.
2. Connect the sensor PCB to the dongle.
3. Place your target at a desired air gap.
The first three steps are shown in the following image.
Figure 1 • System Setup
4. Set up your bench system to take measurements.
5. Launch Integrated Programming and Calibration Environment (IPCE), as shown.
Microsemi Proprietary and Confidential. LX3301A/LX3302A Auto Calibration User Guide Revision 1.0 3
5. Launch Integrated Programming and Calibration Environment (IPCE), as shown.
Figure 2 • Launch IPCE
6. Verify that the port has opened, as shown.
Figure 3 • Verify Port Has Opened
Note: If it cannot recognize the dongle, then install the driver provided using device manager, then
unplug and replug the USB cable.
7. Read EEPROM from the chip (choose AOUT 11 for LX3301A or IO3 11 for LX3302A), as shown.
Microsemi Proprietary and Confidential. LX3301A/LX3302A Auto Calibration User Guide Revision 1.0 4
7. Read EEPROM from the chip (choose AOUT 11 for LX3301A or IO3 11 for LX3302A), as shown.
Figure 4 • Read EEPROM from Chip
If the result is the same as default parameters or previously programmed ones, then communication has
been done correctly.
If the result is as shown in the following three images, then communication has not been done correctly.
Note: Place the target with proper air gap distance if it won't read EEPROM correctly. Then, try to read
again. Adjust the target until it reads correctly.
The following image shows an example of a communication error. The sensor board is not connected or
AOUT/IO3 is stuck high. All data is FFFF.
Figure 5 • Example Communication Error
The following image shows an example in which the IC detects fault or AOUT/IO3 is stuck at 0 V. The
Microsemi Proprietary and Confidential. LX3301A/LX3302A Auto Calibration User Guide Revision 1.0 5
The following image shows an example in which the IC detects fault or AOUT/IO3 is stuck at 0 V. The
sensor board is not connected or AOUT/IO3 is stuck high. All data is 0000.
Place the target in the proper position or fix AOUT/IO3 shorted GND.
Figure 6 • Example of IC Detects Fault or AOUT/IO3 Stuck at 0 V
The following image shows an example of IC unpowered (VIN). VIN is not connected. Data is garbled.
Figure 7 • Example of IC Unpowered
8. Use the default EEPROM data and write this default EEPROM data to the chip, as shown in the
Microsemi Proprietary and Confidential. LX3301A/LX3302A Auto Calibration User Guide Revision 1.0 6
8. Use the default EEPROM data and write this default EEPROM data to the chip, as shown in the
following image.
Figure 8 • Write Default EEPROM Data to Chip
Microsemi Proprietary and Confidential. LX3301A/LX3302A Auto Calibration User Guide Revision 1.0 7
3 Data Preparation for IPCE
The following section describes how to prepare the data for IPCE.
IPCE supports analog, PWN, and SENT data formats.
The following image shows an example of the analog data format for analog output. It provides the data
format template.
Figure 9 • Analog Data Format for Analog Output
The following image describes the data format for analog data.
Figure 10 • Data Format for Analog Data
SP position—Start point position on the data (target position). See the red arrow.
EP position—End point position on the data. See the blue arrow.
SP AOUT(V)—Start point AOUT voltage (for example, 0.5). See the green arrow.
EP AOUT(V)—End point AOUT voltage (for example, 4.5). See the purple arrow.
VIN—VIN voltage supplied to the sensor board.
A_Tolerance (V)—Allowable tolerance for auto calibration.
The following list describes data preparation using the Excel data template.
Position value must be arranged lowest to highest value (no negative slope).
SP_AOUT—Must be a low setting value.
EP_AOUT—Must be a high setting value.
Microsemi Proprietary and Confidential. LX3301A/LX3302A Auto Calibration User Guide Revision 1.0 8
EP_AOUT—Must be a high setting value.
Regardless of if the slope is negative or positive of the desired curve, SP must be a low value and
EP must be a high value.
SP position—Position of SP_AOUT value.
EP position—Position of EP_AOUT value.
Example—4.5 V (3 mm) –0.5 V (20 mm) (negative slope). SP_AOUT= 0.5 V, EP_AOUT= 4.5. SP
position= 20, EP position=3.
Figure 11 • Data Format for Analog
The following image shows the data format for PWM data.
Figure 12 • Data Format for PWM Data
SP position—Start point position on the data (target position). See the red arrow.
EP position—End point position on the data. See the blue arrow.
SP PWMDuty—Start point PWM duty (for example, 0.9). See the green arrow.
EP PWMDuty—End point PWM duty (for example, 0.1). See the purple arrow.
VIN—N/A.
PWM_Tolerance (duty)—Allowable tolerance for auto calibration.
Microsemi Proprietary and Confidential. LX3301A/LX3302A Auto Calibration User Guide Revision 1.0 9
Figure 13 • Data Format for PWM Data
3.1 LX3301A/LX3302A EEPROM Setting for Data Capture
If analog output mode is selected, use measurement equipment to collect higher-resolution data.
Use the EEPROM setting for uncalibrated data collection.
Click , then click .Use Default EEPROM Data Write eeprom to chip
Figure 14 • EEPROM Setting
3.2 How to Capture Data Using IPCE Manually
If data cannot be captured by a motorized automatic system, then it can be done manually using IPCE.A
position measurement tool is required to get an accurate position value (linear or rotary/angular).After
locating the target at a given position, then record this value.Then, collect data using the customer’s
bench test system.Replace the position/measured data into template file.
3.3 Manual Data Capture Preparation Using LX3302A
The following steps prepare to manually capture the data using the LX3302A.
1. Configure IO2 as SENT and IO3 as DAC and enable debug by choosing ADC1, as shown.
Microsemi Proprietary and Confidential. LX3301A/LX3302A Auto Calibration User Guide Revision 1.0 10
Figure 15 • Manual Data Capture Configuration
2. In the tab, check IO2 and IO3 to see the measurements, as shown.Sensor measurement
Figure 16 • Sensor Measurements Tab
3. Press to record the data. Move the target to the next position and repeat this step until Capture Data
all desired data is captured.
4. Press the button if data is captured by IPCE.Save Datalog
Microsemi Proprietary and Confidential. LX3301A/LX3302A Auto Calibration User Guide Revision 1.0 11
4. Press the button if data is captured by IPCE.Save Datalog
Figure 17 • Update Target Output
After completing a run with default parameter, save all the data in one of the templates shown
previously; or, if you have taken this data through the dongle, you can simply press .Save Datalog
Figure 18 • Save DataLog
Microsemi Proprietary and Confidential. LX3301A/LX3302A Auto Calibration User Guide Revision 1.0 12
3.4 Data Validation
After data collection, check if the data is valid to use.
In Excel, plot and check that the curve is not intermittent and does not have drops.
The following is an example of invalid data.
Figure 19 • Invalid Data
Microsemi Proprietary and Confidential. LX3301A/LX3302A Auto Calibration User Guide Revision 1.0 13
4 Calibration Using IPCE
The following section describes calibration using IPCE.
4.1 Loading Data/EEPROM into IPCE
1. In the IPCE GUI, click , as shown.Load Bench Data From File
Figure 20 • Load Bench Data From File
2. Select the data file captured and prepared as given data format (Excel).
3. When the following window appears, click .OK
Figure 21 • Success Window
3. Click , as shown.Load EEProm Data From File
Figure 22 • Load EEProm Data From File
4. Select or click . Finally, data and EEPROM parameters are eeprom data stored Read eeprom from chip
loaded into IPCE to do autocal and simulation.
Microsemi Proprietary and Confidential. LX3301A/LX3302A Auto Calibration User Guide Revision 1.0 14
4.2 Example Data and EEPROM Parameters Loaded
The following image shows an example of loaded data and EEPROM parameters.
Figure 23 • Example Loaded Data and EEProm Para Loaded
4.3 Calibration Condition Settings
The following image shows the calibration condition settings. The example given is 35 mV. This means
that any given position on the output could be accurate within 35 mV.
IF ANALOG (DAC) output is used, measure VIN from the sensor board connector.
Analog Tol= the Autocal system will calibrate up to this accuracy.
Figure 24 • Calibration Condition Setting
Microsemi Proprietary and Confidential. LX3301A/LX3302A Auto Calibration User Guide Revision 1.0 15
4.4 Auto Calibration
Once the bench data from the file is loaded, phase and calibration can be completed.
1. Check the box for both and .linear Cal phase Cal
2. Click .Auto Calibration
Figure 25 • Auto Calibration
Calibration is complete. The result is shown in Simulated Tolerance.
The following image shows auto calibration of phase and gain.
Figure 26 • Auto Calibration of Phase and Gain
Microsemi Proprietary and Confidential. LX3301A/LX3302A Auto Calibration User Guide Revision 1.0 16
4.5 Auto Calibration of Phase
The following steps and image describe how to auto calibrate phase.
1. Uncheck the box for and check the box for .linear Cal phase Cal
2. Press . Then, the new values of SSIN, SCOS, and GMTCH should appear.Auto Calibration
3. Burn this into the IC by .write Eeprom to chip
Figure 27 • Auto Calibration of Phase
5. Click to open the manual calibration Run Simulation And Open Manual Calibration Environment
environment, shown in the following image.
Figure 28 • Manual Calibration Environment
6. Check the box for to get the MaxErr number that IPCE can achieve. Select to SIM_OUT_ERROR Zoom
Microsemi Proprietary and Confidential. LX3301A/LX3302A Auto Calibration User Guide Revision 1.0 17
6. Check the box for to get the MaxErr number that IPCE can achieve. Select to SIM_OUT_ERROR Zoom
see error versus position. The following image shows an example simulation.
Figure 29 • Example Simulation
4.6 Save Calibrated Result into EEPROM
The following steps describe how to save the calibrated result into EEPROM.
1. When the auto calibration simulation result is acceptable, restore all test modes into normal mode.
2. Uncheck all boxes, except on DIAGMK, as shown.VIN POR Err
Figure 30 • Uncheck Boxes
3. For IO1, IO2, and IO3 Mode, select , as shown. 0 =Normal
Figure 31 • Normal Mode
4. For DEBUG, select , as shown.00000=Disabled
Microsemi Proprietary and Confidential. LX3301A/LX3302A Auto Calibration User Guide Revision 1.0 18
4. For DEBUG, select , as shown.00000=Disabled
Figure 32 • Debug
5. For REFRESH, select the desired rate, as shown.
Figure 33 • Refresh
6. Click .write eeprom to chip
7. Click . Then, select the proper file save location and type in the filename to Save EEProm Data to File
store (for example, SN_01_Final_eeprom).
Recapture the data with calibrated EEPROM parameters and verify the result.
Repeat the previous steps, skipping auto calibration. If the result is acceptable, then the process is
complete.
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24

Microsemi LX3301A User manual

Type
User manual
This manual is also suitable for

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI