Freescale Semiconductor, Inc... Freescale Semiconductor Application Note AN2201/D Rev. 0, 11/2001 Low Battery Cranking Pulse in Automotive Applications by Axel Bahr Freescale Field Applications Engineering Munich, Germany 1 Introduction Electronic modules in automotive applications have to withstand the enviromental conditions in the car. These can be separated into mechanical stresses, for example, vibrations, temperature or humidity, and electrical stresses that are applied to the module. This application note gives some more detailed information specifically about significant voltage drops of the car’s battery. 2 Cranking Pulse Huge voltage drops can occur when certain events happen together, for example, a discharged battery, low temperatures and the driver attempting to start up the car. This situation has been termed ‘cranking pulse‘ by car manufacturers. Although different car manufacturers might have different voltage values defined in their cranking pulse specification, the shape of the voltage dropping down and recovering can be described by Figure 1. © Freescale Semiconductor, Inc., 2004. All rights reserved. © Motorola, Inc., 2001 For More Information On This Product, Go to: www.freescale.com Freescale Semiconductor, Inc. AN2201/D Cranking Pulse (Example from Car maker) U 12-14V VBat Freescale Semiconductor, Inc... 6,5V 4,5 - 3.0V 5ms 15ms 50ms 3000ms 100ms t Black Line = VBat coming directly from the car battery Figure 1 A simplified power supply for any application might look as shown in Figure 2. A reverse battery protection diode feeds the Vbat from the battery into the voltage regulator (with integrated reset circuitry), which then supplies the MCU. V Bat Vdd Vcc1 VBat1 Voltage Reg. Reset MCU ECU Figure 2 This schematic, applied to the cranking pulse from Figure 1, shows the areas where problems are likely to occur (Figure 3). 2 Low Battery Cranking Pulse in Automotive Applications For More Information On This Product, Go to: www.freescale.com Freescale Semiconductor, Inc... Freescale Semiconductor, Inc. AN2201/D Note that the absolute shape of the voltages Vbat, Vbat1 and Vdd can look different from application to application due to combinations of voltage regulator specifications and the surrounding components, but the overall desired result is still the same; the module must not exhibit uncontrolled behavior. In some non-critical systems, it is often enough to make sure that the MCU is being put into proper reset that keeps the application under control. Still, with the rising complexity and increase of networking in the car, the desire is to finish the ongoing communication with other modules before the application ceases to work. Furthermore, it is not enough to simply reboot the system – data must be stored safely while the MCU is unable to work. Cranking Pulse U 12-14V (Example from Car maker) VBat 1 1 VBat falling 2 Early warning- MCU saves Data, enters power saving mode (e.g. pseudo Stop + cyclic wake up) 3 MCU sees RESET 4 MCU resumes normal operation, data integrity check VBat1 6,5V-8.5V (?) early voltage drop warning 2 Data must be safe 5.0V Vdd 3 4 4.2V 3.7V 3.0V MCU Reset 0V t Black Line = VBat coming directly from the car battery Blue Line = Vbat1 (incl. voltage reversal protection) Red Line = Vdd to MCU Figure 3 Low Battery Cranking Pulse in Automotive Applications For More Information On This Product, Go to: www.freescale.com 3 Freescale Semiconductor, Inc. AN2201/D 1. VBat falling Note that there is a difference between the VBat (actual Battery Voltage) and VBat1 (reduced by a Diode and buffered by a Capacitor) 2. Early warning MCU realizes that the Module supply is breaking down --> MCU saves data and enters power saving mode (Example: Pseudo Stop + cyclic wake up, thus the MCU can monitor the voltage and can resume work when the voltage is rising again without going through reset) Freescale Semiconductor, Inc... 3. MCU sees RESET As the voltage is dropping further down, the MCU is being put in reset state Note that this also puts all I/Os and registers in predefined states. 4. MCU resumes normal operation, PORF check The MCU voltage is high enough to allow the MCU to operate properly, so reset is being removed. The MCU software may check the power on flag (PORF) which indicates whether the RAM data integrity is good or a complete initialization sequence is needed. NOTE: Provided an appropriate external reset signal is applied to the MCU, preventing the CPU from executing code when VDD5 is out of specification limits, the SRAM content’s integrity is guaranteed, if after a reset has occurred, the PORF bit in the CRG flags register has not been set (taken from HCS12 Specification). Figure 4 shows a possible power supply for the module, utilizing the advantages of the Freescale system basis chip (SBC) MC33389 in combination with a member of the HCS12 family, the latest Freescale 16-Bit Microcontrollers (for example, the MC9S12DP256). 4 Low Battery Cranking Pulse in Automotive Applications For More Information On This Product, Go to: www.freescale.com Freescale Semiconductor, Inc... Freescale Semiconductor, Inc. AN2201/D VBat Vdd Vcc1 VBat1 2 Options for early warning source: Use VBat or VBat1 ? Reset SBC IRQ Low Voltage detect SPI 4 L0 wake up STAR12 2 Options for early warning connection: Use analog input from MCU or Wake up Pin from SBC ? A/D ECU Figure 4 NOTE: The MC33389 SBC offers additional advantages, such as the integrated CAN physical interface, a second MCU power supply, an external watchdog functionality and high voltage key wake up ports. This is not shown here. Please refer to the data book of the SBC MC33389 for detailed information. Table 1 suggests different ways to create early warning options. Table 1 Early Warning Options Source Connection Remarks VBat1 SBC Causes interrupt when early warning occurs, therefore usable when MCU is in STOP mode, but less accuracy for measurement VBat1 HCS12 ATD Higher measurement accuracy, but SW effort required to detect early warning, more effort required to detect early warning when MCU is in STOP VBat SBC May give many early warning interrupts due to spikes on VBat VBat HCS12 ATD May give many early warning interrupts due to spikes on VBat, also problems with protection of ATD input (reverse polarity, over voltage) Low Battery Cranking Pulse in Automotive Applications For More Information On This Product, Go to: www.freescale.com 5 Freescale Semiconductor, Inc... Freescale Semiconductor, Inc. AN2201/D 3 Conclusion The HCS12 and the SBC are well suited to cope with automotive conditions. Using this kind of system approach for the development, the user can save on costs for external circuitry, while gaining an integrated ‘toolkit’ to fulfill the car manufacturer’s requirements. 4 Data Sources and WEB pages Freescale Parts search engine: http://e-www.freescale.com MCU Literature (App Notes, Data Books, Reference Manuals): http://e-www.freescale.com MCU 3rd Party Tools (search engine for Compiler / Emulators / etc): http://www.freescale.com 6 Low Battery Cranking Pulse in Automotive Applications For More Information On This Product, Go to: www.freescale.com Freescale Semiconductor, Inc. Freescale Semiconductor, Inc... AN2201/D Low Battery Cranking Pulse in Automotive Applications For More Information On This Product, Go to: www.freescale.com 7 Freescale Semiconductor, Inc... Freescale Semiconductor, Inc. How to Reach Us: Home Page: www.freescale.com E-mail: [email protected] USA/Europe or Locations Not Listed: Freescale Semiconductor Technical Information Center, CH370 1300 N. Alma School Road Chandler, Arizona 85224 +1-800-521-6274 or +1-480-768-2130 [email protected] Europe, Middle East, and Africa: Freescale Halbleiter Deutschland GmbH Technical Information Center Schatzbogen 7 81829 Muenchen, Germany +44 1296 380 456 (English) +46 8 52200080 (English) +49 89 92103 559 (German) +33 1 69 35 48 48 (French) [email protected] How to Reach Us: Home Page: www.freescale.com E-mail: [email protected] USA/Europe or Locations Not Listed: Freescale Semiconductor Technical Information Center, CH370 1300 N. Alma School Road Chandler, Arizona 85224 +1-800-521-6274 or +1-480-768-2130 [email protected] Europe, Middle East, and Africa: Freescale Halbleiter Deutschland GmbH Technical Information Center Schatzbogen 7 81829 Muenchen, Germany +44 1296 380 456 (English) +46 8 52200080 (English) +49 89 92103 559 (German) +33 1 69 35 48 48 (French) [email protected] Japan: Freescale Semiconductor Japan Ltd. Headquarters ARCO Tower 15F 1-8-1, Shimo-Meguro, Meguro-ku, Tokyo 153-0064 Japan 0120 191014 or +81 3 5437 9125 [email protected] Asia/Pacific: Freescale Semiconductor Hong Kong Ltd. Technical Information Center 2 Dai King Street Tai Po Industrial Estate Tai Po, N.T., Hong Kong +800 2666 8080 [email protected] For Literature Requests Only: Freescale Semiconductor Literature Distribution Center P.O. Box 5405 Denver, Colorado 80217 1-800-441-2447 or 303-675-2140 Fax: 303-675-2150 [email protected] Japan: Freescale Semiconductor Japan Ltd. Headquarters ARCO Tower 15F 1-8-1, Shimo-Meguro, Meguro-ku, Tokyo 153-0064 Japan 0120 191014 or +81 3 5437 9125 [email protected] Asia/Pacific: Freescale Semiconductor Hong Kong Ltd. Technical Information Center 2 Dai King Street Tai Po Industrial Estate Tai Po, N.T., Hong Kong +800 2666 8080 [email protected] Information in this document is provided solely to enable system and software implementers to use Freescale Semiconductor products. There are no express or implied copyright licenses granted hereunder to design or fabricate any integrated circuits or integrated circuits based on the information in this document. Freescale Semiconductor reserves the right to make changes without further notice to any products herein. Freescale Semiconductor makes no warranty, representation or guarantee regarding the suitability of its products for any particular purpose, nor does Freescale Semiconductor assume any liability arising out of the application or use of any product or circuit, and specifically disclaims any and all liability, including without limitation consequential or incidental damages. “Typical” parameters which may be provided in Freescale Semiconductor data sheets and/or specifications can and do vary in different applications and actual performance may vary over time. All operating parameters, including “Typicals” must be validated for each customer application by customer’s technical experts. Freescale Semiconductor does not convey any license under its patent rights nor the rights of others. Freescale Semiconductor products are not designed, intended, or authorized for use as components in systems intended for surgical implant into the body, or other applications intended to support or sustain life, or for any other application in which the failure of the Freescale Semiconductor product could create a situation where personal injury or death may occur. Should Buyer purchase or use Freescale Semiconductor products for any such unintended or unauthorized application, Buyer shall indemnify and hold Freescale Semiconductor and its officers, employees, subsidiaries, affiliates, and distributors harmless against all claims, costs, damages, and expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury or death associated with such unintended or unauthorized use, even if such claim alleges that Freescale Semiconductor was negligent regarding the design or manufacture of the part. Information in this document is provided solely to enable system and software implementers to use Freescale Semiconductor products. There are no express or implied copyright licenses granted hereunder to design or fabricate any integrated circuits or integrated circuits based on the information in this document. Freescale Semiconductor reserves the right to make changes without further notice to any products herein. Freescale Semiconductor makes no warranty, representation or guarantee regarding the suitability of its products for any particular purpose, nor does Freescale Semiconductor assume any liability arising out of the application or use of any product or circuit, and specifically disclaims any and all liability, including without limitation consequential or incidental damages. “Typical” parameters which may be provided in Freescale Semiconductor data sheets and/or specifications can and do vary in different applications and actual performance may vary over time. All operating parameters, including “Typicals” must be validated for each customer application by customer’s technical experts. Freescale Semiconductor does not convey any license under its patent rights nor the rights of others. Freescale Semiconductor products are not designed, intended, or authorized for use as components in systems intended for surgical implant into the body, or other applications intended to support or sustain life, or for any other application in which the failure of the Freescale Semiconductor product could create a situation where personal injury or death may occur. Should Buyer purchase or use Freescale Semiconductor products for any such unintended or unauthorized application, Buyer shall indemnify and hold Freescale Semiconductor and its officers, employees, subsidiaries, affiliates, and distributors harmless against all claims, costs, damages, and expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury or death associated with such unintended or unauthorized use, even if such claim alleges that Freescale Semiconductor was negligent regarding the design or manufacture of the part. For Literature Requests Only: Freescale Semiconductor Literature Distribution Center P.O. Box 5405 Denver, Colorado 80217 1-800-441-2447 or 303-675-2140 Fax: 303-675-2150 [email protected] AN2201/D For More Information On This Product, Go to: www.freescale.com