background image

Figure 21. Resolver interface connector

3.10.1 Resolver Generator Inputs

The jumpers J59 and J56 provide positive input to differential amplifiers. For resolver sensor use, pins two and three should
be shorted. The resolver interface analog signals POS_SIN and POS_COS are available to be routed to the ADC pins, as
described in 

ADC Channel Mapping

.

Additionally, the POS_SIN and POS_COS signals pass through a comparator stage, to deliver two digital signals that can be
treated as two phase signals RES_PH_A and RES_PH_B. Jumpers must be placed on headers J39 and J49, pins 2-3,
respectively. These signals can then be routed to the microcontroller Timer inputs, by populating the proper jumpers. For
Phase A, a jumper must be placed on pins 2-3 of header J15. For Phase B, a jumper must be placed on pins 1-2 of header J16.
For phase C, there is a 0- ohm resistor that links it directly to the microcontroller pin PT3.

Figure 22. Resolver input interface

Design Considerations

S12ZVM12EVB Evaluation Board User Guide, Rev. 2, 03/2016

26

Freescale Semiconductor, Inc.

Summary of Contents for S12ZVM12EVB

Page 1: ...it GDU The motor power stage comprises 6 N channel power MOSFETs that are controlled by the MCU integrated GDU A USB to SCI interface is available and can be used for FreeMaster PC based application c...

Page 2: ...hase half H bridge array Motor Control Interface Hall Sensor Resolver interface SINCOS interface Connectivity LIN CAN USB to SCI serial port Phase and DC bus current sensing circuits LED indicators Su...

Page 3: ...to an external Hall sensor via the EVDD pin Another integrated voltage regulator provides the necessary voltages to drive the power MOSFETs The MCU also integrates a Gate Driver Unit to drive the powe...

Page 4: ...put voltage in the range from 3 5 V to 26 V The board is protected against a reverse battery condition 2 2 Alternative Power Supply J64 and J65 The S12VMx12EVB board can also be supplied either by pop...

Page 5: ...sensor Power Output 2 GND Ground reference Power Reference 3 HALL_A PH_A IOC1 PT1 through J15 Hall sensor A Digital Input 4 HALL_B PH_B IOC2 PT2 through J16 Hall sensor B Digital Input 5 HALL_C Index...

Page 6: ...nce 8 5VA 5 V supply voltage Power Supply 2 6 SINCOS Interface J61 An alternative simplified resolver interface is also available on the SINCOS connector The following table shows the pinout descripti...

Page 7: ...pin Signal name MCU signal Description Direction 1 LGND Ground reference Power Reference 2 LGND Ground reference Power Reference 3 HD VBAT Power Supply 4 LIN LIN LIN Bus Digital bidirectional 2 9 LINP...

Page 8: ...erfacing with dedicated debug hardware Table 9 Extended DBG module header Interface pin Signal name MCU signal Description Direction 1 PDO PS5 PDO Extended DBG module data output Digital Output 2 PDOC...

Page 9: ...Reference 2 14 USB Connector for USB to SCI Interface J25 This USB interface is used to communicate with a PC as an interface to a virtual serial port Table 12 USB Connector for USB to SCI interface I...

Page 10: ...SS 2 PT2 PT2 IOC2 PWM5 SCK 3 PT1 PT1 IOC1 PWM4 MOSI TXD0 LPDR1 PTURE 4 PT0 PT0 IOC0 PWM3 MISO RXD0 5 GND Ground reference 2 18 MCU Port S Header J31 The MCU signals from GPIO port S can be monitored...

Page 11: ...nation of dual ADC synchronized with PWM generation and the integration of high voltage analog modules including the voltage regulator VREG Gate Driver Unit GDU and a Local Interconnect Network LIN ph...

Page 12: ...on 20 mA high current output for use as Hall sensor supply Supply voltage sense with low battery warning Chip temperature sensor Two current sense circuits for over current detection or torque measure...

Page 13: ...CP can be enabled to drive the reverse battery MOSFET Additionally a circuit is available on the board to enable a fast turn off of the n channel MOSFET in case of a reverse battery condition using a...

Page 14: ...a couple of bits in register CPMUVREGCTL need to be adjusted by software EXTXON 1 INTXON 0 Additionally a jumper needs to be placed on header J40 shorting pins 1 and 2 Figure 5 External ballast transi...

Page 15: ...2 specification from LIN consortium The LIN physical interface pins LPTXD and LPRXD are available on a 2 pin header J17 This can be used to interface another MCU to the LIN physical interface integra...

Page 16: ...nded from the base to the emitter of the transistor The emitter terminal must be supplied from the VSUP reverse polarity protected battery supply A jumper must be populated on header J2 to enable the...

Page 17: ...headers J27 and J28 from pin 1 to pin 2 on both headers This will route the RXD and TXD signals from the SCI1 module to the RXD and TXD signals from the OSBDM device 3 6 3 Phase Power Bridge The power...

Page 18: ...rates two current sense amplifiers and there are three additional amplifiers provided on board using external op amps The two current sense amplifiers integrated into the MCU are mapped each to a diff...

Page 19: ...he operational amplifier to the AMPx pins the following jumpers need to be placed too J35 pins 1 2 J44 pins 1 2 J45 pins 1 2 The gain of the amplifier is set using external resistors where R198 199 2...

Page 20: ...is mapped to the ADC pins at PAD5 PAD6 and PAD7 with the following configuration PAD5 AMP1 the operational amplifier output PAD6 AMPM1 the operational amplifier inverting input minus PAD7 AMPP1 the op...

Page 21: ...ense the current from each of the three phases routed to three different ADC channels The gain setting resistors have the same values as in the previous two cases with the connection to a 2 5V referen...

Page 22: ...apping The following figures show the jumper configurations for the different ADC external channel mapping options Figure 15 Resolver interface plus 3 phase sensing Design Considerations S12ZVM12EVB E...

Page 23: ...ed to determine the actual motor rotor sector The on board interface provides the 5 V power supply voltage to supply the sensors The Hall interface inputs are designed to support an open collector as...

Page 24: ...A a jumper must be placed on pins 2 3 of header J15 For Phase B a jumper must be placed on pins 1 2 of header J16 For phase C there is a 0 ohm resistor that links it directly to the microcontroller p...

Page 25: ...nsors signal while the left side applied phase voltage Table 20 BLDC motor commutation example Commutation Vector Vector Hall sensor pattern definition Hall sensor pattern result Phase A Phase B Phase...

Page 26: ...to deliver two digital signals that can be treated as two phase signals RES_PH_A and RES_PH_B Jumpers must be placed on headers J39 and J49 pins 2 3 respectively These signals can then be routed to th...

Page 27: ...r different applications 3 11 1 LEDs Two LEDs are available as general purpose features mapped to port S pins PS4 and PS5 To enable each LED a jumper must be populated on header J37 and J53 respective...

Page 28: ...button options 3 11 3 Switch A SPDT mechanical switch is provided as a general purpose feature mapped to port PT1 It provides an active low input pulled up to VDDX through a 4 7 kiloohm resistor when...

Page 29: ...he potentiometer to PAD4 a jumper must be placed on J47 from pin 2 to pin 3 To map it to PAD7 a jumper must be placed from J51 pin 2 to J42 instead Figure 27 Potentiometer configuration options 4 Moto...

Page 30: ...ltage VDC 7 12 20 V Extended Power Supply Voltage VDC EXT 3 5 12 26 V Current Consumption1 ICC 100 mA 1 12 V Power Supply MCU without software 6 References All the references can be found in freescale...

Page 31: ...phase Sensorless BLDC Motor Control Kit with the S12 MagniV MC9S12ZVM 5 AN1942 Application Note 56F80x Resolver Driver and Hardware Interface 7 S12ZVMxEVB Board Schematics For a complete list of sche...

Page 32: ...including without limitation consequential or incidental damages Typical parameters that may be provided in Freescale data sheets and or specifications can and do vary in different applications and ac...

Reviews: