Implementation of NCV70522 stall detection in automotive adaptive headlamp system (AFS) application

Introduction

This article refers to the address: http://

Due to mechanical limitations, stepper motors can sometimes stall during adaptive headlamp system (AFS) applications. Once the motor is stalled, the electronic control unit (ECU) will lose track of the headlamp position and react inappropriately, creating a very serious safety problem, so stall detection is essential in AFS applications.

It is usually possible to judge whether the motor is blocked or not by the back electromotive force ( BEMF ) of the motor. BEMF varies depending on motor speed, load and supply voltage. The traditional stepper motor driver chip has no BEMF output, but includes a built-in stall detection algorithm. The customer can only set a fixed stall determination threshold in the register, which means that under real road conditions all settings must be “offline” preset before work, and cannot be adapted to real working conditions.

Semiconductor NCV70522 stepper motor micro-step driver provides an output through SLA BEMF pin, which means that it can calculate in real time stall detection, and the detection level is adjusted depending on the conditions.

Algorithm description

Since the recirculating current during coil current decay is relatively large, the coil voltage Vcoil exhibits transient characteristics. Since the application software does not always want transients, you can pass The set value of the bit selects two operating modes. in To be high, the SLA pin shows a fully visible voltage transient. in case The bit is cleared and only the voltage samples at the end of each coil current crossing the zero are visible on the SLA pin. Since the transient characteristics of the coil voltage are no longer visible, this mode produces a more general BEMF input for subsequent processing by software and the like.

To adapt the sampled BEMF output level to the (0 V to 5 V) range, the sampled coil voltage Vcoil can optionally be divided by 2 or 4. This setting is via the SPI bit. To control. The figure below shows the operation of the SLA pin. The transparent bits "PWMsh" and "Icoil=0" are internal signals that together with SLAT define the sampling and sustaining moments of the coil voltage.

Implementation of Lock Detection in NCV70522 in Automotive Adaptive Headlamp System (AFS) Application

This BEMF voltage is sampled during each so-called "coil current zero crossing". Each coil has two zero current positions in each electrical cycle, so there are four zero-crossing observation points per electrical cycle, so four BEMFs can be measured. If the microstep position is at "coil current zero crossing", the BEMF voltage will only be sampled by the motor driver. The microstep position can be read via the SPI interface.

Through software, we can flexibly determine whether to stall based on the measured 4 SLA values ​​in one electrical cycle.

Algorithm application

The NCV70522 is a microstepping stepper motor driver for bipolar stepper motors. The chip is connected to an external microcontroller via an I/O pin and an SPI interface. The NCV70522 has a variety of output currents. It rotates the next microstep based on the pulse signal on the “NXT” input pin and the state of the direction register [DIRCTRL] or “DIR” input pin. The device provides subdivision from full steps to 32 microsteps and seven step modes selected by the SPI register SM[2:0]. The NCV70522 contains the output of the SLA and can be used for stall detection algorithms and for adjusting torque and speed calculations based on the BEMF of the motor. A typical application circuit diagram is shown in Figure 2.

Implementation of Lock Detection in NCV70522 in Automotive Adaptive Headlamp System (AFS) Application

When the system is powered up, the microcontroller is initialized and the NCV70522 is reset. When these actions are completed, the coil current and step mode will be set. Then the motor drive will be enabled. The NXT pulse will be sent to implement the rotating motor. The motor speed is equal to the NXT pulse frequency multiplied by the value of the step subdivision mode. Figure 3 is a flow chart.

Implementation of Lock Detection in NCV70522 in Automotive Adaptive Headlamp System (AFS) Application

Example: Check the SLA output level during normal and stalled states as follows:

Implementation of Lock Detection in NCV70522 in Automotive Adaptive Headlamp System (AFS) Application

Therefore, we can think that if there are 2 SLA levels below 4 V in 4 "coil current overcurrent points", then it is in a stalled state.

Introduction

Compared with the traditional stepper motor driver IC, the NCV70522 includes BEMF output, which can accurately reflect the motor operation in real time, which is very suitable for applications in automotive adaptive headlamp systems. The stall detection threshold can be adjusted according to the motor speed, load characteristics and supply voltage.

Hand Stick Blenders

As hand belders, customes have many choices, they can buy only hand stick blenders, Hand Blenders 2 In 1 or full set Hand Blenders 4 In 1. Regarding hand Stick Blender, you can choose plastic stick or stainless steel stick.

Description for Hand Stick Blenders

200W/250W/300W low noise

One or two speeds control

Anti-slip leather handle

Plastic stick or stainless steel optional

Carton box:46*34*37cm    24pcs/ctn

20'GP: 13200pcs     40'HQ: 31368pcs

Plastic hand stick blenders

Hand Stick Blenders

Hand Stick Blenders,Hand Held Blender,Electric Stick Blender,Immersion Blender

Flying Electronic Co., Ltd , https://www.flyingelectronic.com

Posted on