SLAU915 May   2024 ULC1001

 

  1.   1
  2.   Description
  3.   Get Started
  4.   Features
  5.   5
  6. 1Evaluation Module Overview
    1. 1.1 Introduction
    2. 1.2 Kit Contents
    3. 1.3 Specification
    4. 1.4 Device Information
    5. 1.5 General Texas Instruments High Voltage Evaluation (TI HV EVM) User Safety Guidelines
  7. 2Hardware
    1. 2.1 Hardware Information
    2. 2.2 Connection Procedure
  8. 3Software
    1. 3.1 GUI Setup
    2. 3.2 System Overview
      1. 3.2.1 System ISR Period
      2. 3.2.2 System Drive Voltage
      3. 3.2.3 System Calibration
        1. 3.2.3.1 DC Bias Calibration
        2. 3.2.3.2 Temperature Calibration
        3. 3.2.3.3 Auto Sense Calibration
        4. 3.2.3.4 Cleaning and Power Calibration
      4. 3.2.4 System Cleaning
      5. 3.2.5 System Diagnostics
    3. 3.3 GUI Overview
      1. 3.3.1 GUI Top Level Layout
        1. 3.3.1.1 North Pane
        2. 3.3.1.2 South Pane
        3. 3.3.1.3 Center Pane
      2. 3.3.2 High Level Page
        1. 3.3.2.1 Burst Parameters
        2. 3.3.2.2 Calibration Settings
          1. 3.3.2.2.1 Voltage and Current Sense Circuitry
        3. 3.3.2.3 Cleaning Mode Settings
          1. 3.3.2.3.1 Auto-Cleaning
          2. 3.3.2.3.2 Water Cleaning
          3. 3.3.2.3.3 Deice Cleaning
          4. 3.3.2.3.4 Mud Cleaning Mode
        4. 3.3.2.4 Power and Diagnostic Settings
      3. 3.3.3 Register Map Page
      4. 3.3.4 I2C Configuration Page
      5. 3.3.5 GUI Functions
        1. 3.3.5.1 Monitor Communication Status
        2. 3.3.5.2 Load and Save Configuration Files
          1. 3.3.5.2.1 MSP430 Firmware Programming
        3. 3.3.5.3 Re-initialize System
        4. 3.3.5.4 Fault and Flag Monitoring and Clearing
        5. 3.3.5.5 Run Calibration
        6. 3.3.5.6 Run Cleaning Modes
        7. 3.3.5.7 Run Diagnostic Mode
        8. 3.3.5.8 Run Abort
        9. 3.3.5.9 Script Recording
  9. 4Hardware Design Files
    1. 4.1 Schematics
    2. 4.2 PCB Layouts
    3. 4.3 Bill of Materials (BOM)
  10. 5Additional Information
    1. 5.1 Trademarks

Run Cleaning Modes

Texas Instruments created three main cleaning modes for removing ice, mud and water from the lens of the LCS and an Auto mode that can be programmed to drive a cleaning sequence when mass, such as water, is detected on the lens. Two additional custom modes are also available for flexibility. Assuming the user has already run Calibration Mode and updated the appropriate settings, a cleaning mode can be run by hitting the Run/Play buttons next to the mode configuration matrix in the Cleaning Modes High Level Page. For convenience, the Run/Play buttons automatically put the device in Active Mode and send a Reinit System command before the mode is run. The device is returned to Software Shutdown Mode after a cleaning mode. TI highly recommends the Amp (puV) settings for each burst of the cleaning modes equal the Amp (puV) settings used when Calibration Mode was run.

When running any cleaning mode, all but the GUI Abort Sequence button is grayed out. The Abort Sequence button ends the running mode and resets the ULC1001-DRV2911 EVM to the state of the device just before the cleaning mode was initiated.

Note: Do not check the Continuous Mode check box and the Continuous Auto Mode check box when running Auto Mode. See Section 3.3.2.3.1.

The register sequence for running calibration mode is displayed in Table 4-21.

Table 3-21 Cleaning Mode Sequence 0x3 = Custom Mode 1, 0x4 = Custom Mode 2, 0x5 = Device, 0x6 = Auto Mode, and 0x7 = Mud mode.
Register Read/Write Data Description
00 W 00 Change to Page 0
7F W 00 Change to Book 0
02 W 00 Put device in active mode
NA NA NA Wait 5ms
00 W 1A Change to page 0x1A
58 W 0000000X Set Cleaning Mode Command in the UserCommand Register
5C W 00000001 Notifies the device there is a new command to be executed
NA NA NA Wait until above register, 0x5C, = 0. The wait time depends on the cleaning modes' settings.
00 W 00 Change to page 0
02 W 02 Put device in software shutdown mode

In the GUI, the following script can be used in the Python window to run a cleaning mode. The cleaning modes are 0x3 = Custom Mode 1, 0x4 = Custom Mode 2, 0x5 = Deice, 0x6 = Auto Mode, and 0x7 = Mud mode.

GUI_Module=__import__('ULC1001')
import time

GUI=GUI_Module.Device_GUI("ULC1001.exe",6640.000000)
GUI.write_register("ULC1001","PWR_CTL",0x0) # put device in active mode
# Set Cleaning Command (0x3-0x7)
GUI.write_register("USER_Commands","USER_Commands_userCommand",0xX) # set Cleaning Command
GUI.write_register("USER_Commands","USER_Commands_flag_newCommand",0x1) # sets lock bit
time.sleep(x)  # set appropriate wait time
GUI.write_register("ULC1001","PWR_CTL",0x02) # returns device to Software Shutdown