Download Print this page
ST AEK-MOT-WINH92 User Manual

ST AEK-MOT-WINH92 User Manual

Getting started with window lift dc board driver based on the l99h92 gate driver and an external mcu

Advertisement

Quick Links

Getting started with the AEK-MOT-WINH92 window lift DC board driver based on
Introduction
Most modern vehicles feature electric window lifters controlled using buttons in door control panels.
These electric window lifters are fitted with convenience functions that include automatic full up or down of the window lifter
when the switch is pressed once, link of the window lifter to the central locking so that, when the car is locked, all windows close
automatically, and safety functions, such as antipinch.
The antipinch safety function senses if a motor is running against an obstacle and prevents any injuries to people/objects or
damage to the motor itself. When a resistance is registered during closing, the movement of the window is reversed
automatically so that it reopens immediately.
The antipinch sensing is usually performed by current monitoring, Hall sensors or a combination of both. This safety system
checks continuously the variation of the current and the variation of the velocity. Both are compared with a threshold and if they
simultaneously report the presence of an obstacle, the motor is blocked.
Our
AEK-MOT-WINH92
evaluation board key objective is to drive a DC motor for car window lifters, ensuring high safety levels.
This board perfectly fits in the automotive market trend, which goes towards the evolution of the window lift application, offering
a new antipinch mechanism without leveraging on motor encoders but exploiting the board three different types of current
sensing (in-line, low-side, and high-side).
The board can be configured to work with a single H-bridge for a bidirectional DC motor or two independent half-bridges for two
unidirectional DC motors.
Thanks to its compact size, the board can be connected to any microcontroller easily, exploiting separate and dedicated
connectors for SPI communication, current sensing, and basic motor commands interface with fault detection capabilities.
Another key feature is the adjustable gain for antipinch and for fulfilling any of the car window operative conditions (the current
range levels could change when opening the window with adverse weather conditions, for example in case of ice).
The board also offers three diagnostic features to detect potential short-to-ground, short-to-battery, and open load conditions
when the device is in the off state.
In case of failures, the DIAG pin alerts the external MCU, ensuring a prompt intervention in case of open-load, short-to-ground,
and short-to-battery, thermal warning and overtemperature shutdown, under/overvoltage and overcurrent protection. For system
debugging during the development phase, a fail-safe button was added to the board layout.
To allow the board robust protection and prevent damage due to the inversion of the power supply polarity, reverse polarity
protection has been implemented.
Four external MOSFETs allow current flowing up to 50 A, in line with the board power dissipation capabilities.
The board design is based on the L99H92 H-bridge gate driver for automotive applications, which features flexible current
sensing to offer different tools for advanced antipinching algorithm development. For systems requiring a higher safety level, you
can enable a watchdog with a configurable time window.
Warning:
The
AEK-MOT-WINH92
laboratory use only.
UM3324 - Rev 1 - March 2024
For further information contact your local STMicroelectronics sales office.
the L99H92 gate driver and an external MCU
evaluation board has not to be used in a vehicle as it is designed for R&D
UM3324
User manual
www.st.com

Advertisement

loading
Need help?

Need help?

Do you have a question about the AEK-MOT-WINH92 and is the answer not in the manual?

Questions and answers

Summary of Contents for ST AEK-MOT-WINH92

  • Page 1 UM3324 User manual Getting started with the AEK-MOT-WINH92 window lift DC board driver based on the L99H92 gate driver and an external MCU Introduction Most modern vehicles feature electric window lifters controlled using buttons in door control panels. These electric window lifters are fitted with convenience functions that include automatic full up or down of the window lifter when the switch is pressed once, link of the window lifter to the central locking so that, when the car is locked, all windows close automatically, and safety functions, such as antipinch.
  • Page 2: Figure 1. Aek-Mot-Winh92 Evaluation Board

    UM3324 Figure 1. AEK-MOT-WINH92 evaluation board UM3324 - Rev 1 page 2/46...
  • Page 3: Hardware Overview

    10. Sensing (current sensing and supply sensing) connector L99H92 driver STL285N4F7AG external MOSFET for full-bridge/half-bridge configuration TSC103 operational amplifier for the high-side current sensing 14. External reverse battery protection Figure 2. AEK-MOT-WINH92 evaluation board, top view: main components UM3324 - Rev 1 page 3/46...
  • Page 4: Figure 3. Aek-Mot-Winh92 Evaluation Board, Bottom View: Main Components

    UM3324 Hardware overview Figure 3. AEK-MOT-WINH92 evaluation board, bottom view: main components L99H92 L99H92 is a gate driver, which is programmed through a microcontroller. It is designed to drive four external N-channel MOSFET transistors in a single H-bridge or dual independent half-bridge configuration for DC motor control in automotive applications.
  • Page 5: External Reverse Battery Protection

    BJT base. Current sensing monitoring networks In addition to the two internal current sensings of the L99H92, the AEK-MOT-WINH92 hosts another current sensing network. So, there are three different current sensing networks: two of them are internal to the L99H92 driver and one is external to the driver.
  • Page 6: High Side

    UM3324 Hardware overview 1.4.1 High side For the high-side part, the current sensing network is based on the high-side current sensing topology, where the sensing resistor is located between the power supply and the load. Figure 5. External current sense amplifier The following figure shows the TSC103 operational amplifier circuitry.
  • Page 7: Figure 7. Tsc103 Current Sense Amplifier

    UM3324 Hardware overview Figure 7. TSC103 current sense amplifier The current amplifier gives the possibility of selecting four different gain levels: • • • • In this application, the gain is fixed at 50 as a compromise between information accuracy and current absorbed, considering the power the resistors dissipated.
  • Page 8: In-Line Side

    UM3324 Hardware overview 1.4.2 In-line side For the in-line side part, the current sensing network is based on the in-line current sensing topology, where the sensing resistor is located between the half-bridge and the load. Figure 8. Internal current sense amplifier The current amplifier gives the possibility of selecting four different gain levels: •...
  • Page 9: Low Side

    UM3324 Hardware overview 1.4.3 Low side For the low-side part, the current sensing network is based on the low current sensing topology, where the sensing resistor is located between the load and the GND. Figure 9. Internal current sense amplifier The current amplifier gives the possibility of selecting four different gain levels: •...
  • Page 10: L99H92 State Machine

    UM3324 Hardware overview L99H92 state machine The figure below shows the L99H92 finite state machine (FSM). Figure 10. L99H92 FSM The main states are: • Off state diagnostic mode: the device enters this state when the OLH1L2 control bit or the OLH2L1 control bit is set to one, while the device OUTE control bit is set to zero and CSA is disabled.
  • Page 11: Watchdog Scheme

    SPI frames to be sent in a specific sequence, to control register WDGTRDIS before the end of any long open window. Figure 11. Watchdog timing Note: For further details, refer to the L99H92 documentation on www.st.com. UM3324 - Rev 1 page 11/46...
  • Page 12: Board Outputs

    UM3324 Hardware overview Board outputs AEK-MOT-WINH92 has three outputs for motor drive: LOADA, GND, LOADB.Depending on the value of the INPMODE control bit (DCR register), the device can work as an H-bridge driver or a dual half-bridge driver. H-BRIDGE If INPMODE = 0 (default value), the device works in H-bridge mode. In this case, the active H-bridge diagonal, fixing the motor's rotational direction, is selected by DIR/IN2 input while the driving PWM signal must be applied to PWM/IN1 input.
  • Page 13: Output Sensing

    Section 1.4: Current sensing monitoring networks, the output currents (LOADA, LOADB, GND) can be acquired from the various current sensing networks available on the AEK-MOT-WINH92 board. These currents will be available in the board outputs (respectively, CSO1, CSO2, and CS-AUX).
  • Page 14: How To Implement The Current Sensing Network

    (i.e. > V = I ⋅ R ± V ⋅ GAIN > V SENSE OS MAX Where Note: For further details, refer to the L99H92, TSC103, and AN4366 documentation on www.st.com. UM3324 - Rev 1 page 14/46...
  • Page 15: Power Dissipation In The Aek-Mot-Winh92 Evaluation Board

    UM3324 Hardware overview 1.12 Power dissipation in the AEK-MOT-WINH92 evaluation board Our application example demonstrates the actual dissipation that occurs in the AEK-MOT-WINH92 when an absorption of high current occurs. For simplicity, consider a resistive load and various temperature zones where the temperature will be acquired.
  • Page 16: Figure 17. Temperature Acquisitions With ~10 A

    UM3324 Hardware overview For the test setup, we attached a resistive load to the board, measuring it in continuous mode for 3 minutes. We used a resistive load with high-power dissipation and several resistances in parallel to achieve a value of the load = 43.64A equal to 0.28 Ω.
  • Page 17: Figure 18. Temperature Acquisitions With ~40 A

    UM3324 Hardware overview Figure 18. Temperature acquisitions with ~40 A As we can see, the highest value in the reached temperature is present in the power resistance that represents the most critical part to dissipate the heat. Moreover, the only temperature limitation is due to the layout of the board, which respects the specification expected.
  • Page 18: Autodevkit Ecosystem

    AEK-MOT-WINH92 takes full advantage of the AutoDevKit ecosystem, whose basic components are: • AutoDevKit Studio IDE (STSW-AUTODEVKIT) • PLS UDE and OpenOCD programmers and debuggers aek_mot-winh92_component_rla folder structure Figure 19. AEK-MOT-WINH92 component folder structure UM3324 - Rev 1 page 18/46...
  • Page 19: Using Aek-Mot-Winh92 In Autodevkit

    To drive motors based on their configuration ◦ To configure parameters for current sensing ◦ To set parameters related to AFW and VDS thresholds Using AEK-MOT-WINH92  in AutoDevKit In this example, we created an application for the AEK-MOT-WINH92 configured in full-bridge mode. We used the AEK-MCU-C4MLIT1 as microcontroller board.
  • Page 20: Figure 21. Adding Aek-Mot-Winh92 Component Rla

    Step 2. Add the following additional components: – AEK-MOT-WINH92 Component RLA Figure 21. Adding AEK-MOT-WINH92 Component RLA Step 3. Select [AEK-MOT-WINH92 Component RLA] to open the [Application Configuration] window. Figure 22. Selecting AEK-MOT-WINH92 Component RLA UM3324 - Rev 1 page 20/46...
  • Page 21: Figure 23. Adding A New Element

    UM3324 AutoDevKit ecosystem Step 4. Click on [+] to add a new element to the board list. Figure 23. Adding a new element UM3324 - Rev 1 page 21/46...
  • Page 22: Figure 24. Aek-Mot-Winh92 Configuration

    UM3324 AutoDevKit ecosystem Step 5. Double-click on the newly added element to configure the board. Figure 24. AEK-MOT-WINH92 configuration UM3324 - Rev 1 page 22/46...
  • Page 23 UM3324 AutoDevKit ecosystem Step 6. – Select Bridge Mode – Select Driving PWM and Duty Cycle    – Select DSPI and CS  – Allocate/do not allocate pins for sensing (VSsense, CSAUX, CSO1, and CSO2) – Enable/Disable ‘’Watchdog’’ – Allocate/don’t allocate ‘’DIAGN’’ –...
  • Page 24: Figure 25. Component Allocation

    Then: – Select power supply used by ADCs(5V or 3.3V) – Select VDD voltage (5V or 3.3V) – Click on the “Allocation” button to allocate the AEK-MOT-WINH92 component Figure 25. Component allocation UM3324 - Rev 1 page 24/46...
  • Page 25: Figure 26. Editors For Application Name

    UM3324 AutoDevKit ecosystem Step 8. Click on “Board View” to view the hardware connection between the AEK-MCU-C4MLIT1 board and the AEK-MOT-WINH92. Figure 26. Editors for Application Name Figure 27. Board view UM3324 - Rev 1 page 25/46...
  • Page 26: Figure 28. System Setup

    Note: This application configures the AEK-MOT-WINH92 via SPI, enabling VSsense and CAUX current sensing. The board is set in full bridge mode and a PWM is supplied to the PWMIN1 pin, in order to control bridge outputs. The motor placed between LOADA/LOADB Is going to be actived. The direction of the rotation is defined by DIRIN2 polarity.
  • Page 27: Figure 29. Code Generation And Compilation

    Code generation and compilation Step 11. Open “UDE Starterkit” and import the “.wsx” file from the workspace to flash your application. Figure 30. Importing debug.wsx file Step 12. Switch on your AEK-MCU-C4MLIT1 and run your AEK-MOT-WINH92 application. UM3324 - Rev 1 page 27/46...
  • Page 28: Available Demos For Aek-Mot-Winh92 And Connection Schemes

    UM3324 Available demos for AEK-MOT-WINH92  and connection schemes Available demos for AEK-MOT-WINH92  and connection schemes In the AutoDevKit release 2.2.0 (or higher), the following demos are available for the AEK-MOT-WINH92: • Full bridge mode demos – SPC582Bxx_RLA - AEK_MOT_WINH92 full bridge test application, which is a demo application...
  • Page 29: Figure 32. Dual Half-Bridge Functional Block Diagram

    UM3324 Available demos for AEK-MOT-WINH92  and connection schemes • Dual half-bridge mode demo: – SPC58ECxx_RLA - AEK_MOT_WINH92 dual half-bridge test application, which is a demo application for the AEK-MCU-C4MLIT1 to configure an AEK-MOT-WINH92 in order to drive in Dual Half bridge mode 2 DC motors varying PWM signals duty cycle.
  • Page 30: Figure 33. Full Bridge Functional Block Diagram With Current Sensing

    UM3324 Available demos for AEK-MOT-WINH92  and connection schemes • Full bridge mode demo for window lift application: – SPC58ECxx_RLA - AEK_MOT_WINH92 Window lift test application, to be downloaded on the SPC58EC hosted on the AEK-MCU-C4MLIT1 MCU board. This demo makes a DC motor rotate in both directions by pressing two different buttons on the MCU board.
  • Page 31: Available Apis

    Available APIs Available APIs The APIs listed in the following table are declared in the “AEK_MOT_WINH92_dev_mng.h” file. These routines are used to initialize and configure the board. Table 1. Device Manager APIs for the AEK-MOT-WINH92  API name Description AEK_MOT_WINH92_dev_init() Initializes each...
  • Page 32: Table 3. Register Manager Apis For The Aek-Mot-Winh92

    Reads all information registers The APIs listed in the following table are declared in the “AEK_MOT_WINH92_spi_hld.h” file. These routines are used to drive SPI peripheral. Table 4. SPI high level driver APIs for the AEK-MOT-WINH92  API name Description AEK_MOT_WINH92_spi_init Initializes DSPI...
  • Page 33: Table 6. Adc Callback For The Aek-Mot-Winh92

    Evaluates current and voltages from ADC measurement The APIs listed in the following table are declared in the “AEK_MOT_WINH92_pwm_hld.h” file. These routines are used to drive PWM peripheral. Table 7. PWM high level APIs for the AEK-MOT-WINH92  API name Description AEK_MOT_WINH92_pwm_init...
  • Page 34: Table 10. Diag Apis

    UM3324 Available APIs Table 10. DIAG APIs API name Description AEK_MOT_WINH92_set_VDHOVE_diag Sets VDH overvoltage enable (VDHOVE) diagnostic error AEK_MOT_WINH92_set_VDHUVE_diag Sets VDH undervoltage enable (VDHUVE) diagnostic error AEK_MOT_WINH92_set_VSOVWE_diag Sets VS overvoltage warning enable (VSOVWE) diagnostic error AEK_MOT_WINH92_set_VDDOVE_diag Sets VDD overvoltage enable (VDDOVE) diagnostic error AEK_MOT_WINH92_set_TWE_diag Sets thermal warning enable (TWE) diagnostic error AEK_MOT_WINH92_set_TSDE_diag...
  • Page 35: Schematic Diagrams

    UM3324 Schematic diagrams Schematic diagrams Figure 34. AEK-MOT-WINH92 circuit schematic (1 of 4) 2.7K VS_Sensing L99H92QF CSI2- CSI2- STL285N4F7AG CSI2+ 220nF CP2- CSI2+ 2.7K 220nF 22uF 220nF CSI1- CP2+ CSI1- STPS2H100ZFY SM30T33CAY CSI1+ BC817 100K CPOUT CSI1+ TP10 220nF CP1+...
  • Page 36: Figure 36. Aek-Mot-Winh92 Circuit Schematic (3 Of 4)

    UM3324 Schematic diagrams Figure 36. AEK-MOT-WINH92 circuit schematic (3 of 4) HS Current Sensing HS Current Sensing HS Current Sensing Output CS_AUX HS Current Sensing Output CS_Output N.M. Gain=50 SEL1=1 100nF SEL2=0 N.M. Imin=1.8A Imax=50A TSC103IYPT TP30 CS_AUX N.M. Figure 37.
  • Page 37: Bill Of Materials

    UM3324 Bill of materials Bill of materials Table 11. AEK-MOT-WINH92 bill of materials Item Q.ty Ref. Part/value Description Manufacturer Order code C1, C3, C4, C5, 0603 - 50V - 220nF 885012206125 C10, C11 X7R Class II 1210 - 25V -...
  • Page 38 UM3324 Bill of materials Item Q.ty Ref. Part/value Description Manufacturer Order code Automotive- grade N- channel 40 V, STL285N4F7A 0.9 mΩ typ., Q1, Q3, Q4, Q5, G, PowerFLAT 120 A STL285N4F7AG 5x6 WF STripFET™ F7 Power MOSFET in a PowerFLAT 5x6 package NPN Bipolar BC817...
  • Page 39 UM3324 Bill of materials Item Q.ty Ref. Part/value Description Manufacturer Order code WR-WTB 2.54 mm Female for blister 61900511621 61900511621 Terminal Housing 5p WR-WTB 2.54 mm Female for blister 61900411621 61900411621 Terminal Housing 4p WR-WTB 2.54 mm Female for blister 61900211621 61900211621 Terminal...
  • Page 40: Board Versions

    UM3324 Board versions Board versions Table 12. AEK-MOT-WINH92 versions Finished good Schematic diagrams Bill of materials AEK$MOT-WINH92A AEK$MOT-WINH92A schematic diagrams AEK$MOT-WINH92A bill of materials 1. This code identifies the AEK-MOT-WINH92 evaluation board first version. UM3324 - Rev 1 page 40/46...
  • Page 41: Regulatory Compliance Information

    UM3324 Regulatory compliance information Regulatory compliance information Notice for US Federal Communication Commission (FCC) For evaluation only; not FCC approved for resale FCC NOTICE - This kit is designed to allow: (1) Product developers to evaluate electronic components, circuitry, or software associated with the kit to determine whether to incorporate such items in a finished product and (2) Software developers to write software applications for use with the end product.
  • Page 42: Revision History

    UM3324 Revision history Table 13. Document revision history Date Revision Changes 11-Mar-2024 Initial release. UM3324 - Rev 1 page 42/46...
  • Page 43: Table Of Contents

    Using AEK-MOT-WINH92  in AutoDevKit........
  • Page 44: List Of Tables

    Register Manager APIs for the AEK-MOT-WINH92  ........
  • Page 45: List Of Figures

    AEK-MOT-WINH92 evaluation board, top view: main components....... . . 3...
  • Page 46 ST’s terms and conditions of sale in place at the time of order acknowledgment. Purchasers are solely responsible for the choice, selection, and use of ST products and ST assumes no liability for application assistance or the design of purchasers’...