NEW DATABASE - 350 MILLION DATASHEETS FROM 8500 MANUFACTURERS
MC33887 DSP56F80X DSP56F801 DSP56F802 DSP56F803 DSP56F805 DSP56F807 MC56F8322 - Datasheet Archive
Electromagnetic Actuator Control Using DSP56F80x Overview Industry demand for precise electronic control of actuators underscores
Motor Control Electromagnetic Actuator Control Using DSP56F80x Overview Industry demand for precise electronic control of actuators underscores the need for sophisticated controllers that can deliver high performance at a reasonable price. To meet today's application demands for precise actuator control from both position and dynamic points of view, an actuator system requires a cost-effective controller with the flexibility and speed to process complex control algorithms. PWM 0 > Contains a hardware fault protection block MC33887 MC33887 DSP56F80x Q1 D1 > Built-in boot loader and boot Flash High Side Driver Coil Coil Cross Voltage Sensor ADC 0 ADC 1 Fault 1 Overcurrent Detection PWM 1 > Allows actuator control in one or both directions > Allows "soft" and "hard" switching techniques DC Voltage ELECTROMAGNETIC ACTUATOR CONTROLLED BY DSP56F80X DSP56F80X Key Benefits > Uses complex algorithms to provide precise actuator control and flexibility Coil Current Sensor Low Side Driver Q2 D2 GND > Out-of-the-box software components designed to expedite time-to-market and reduce development costs. Freescale Ordering Information Part Number Product Highlights Additional Information DSP56F801 DSP56F801 80 MHz, 40 MIPS, SCI, SPI, ADC, PWM, Quad Timer and > 8K Program Flash > 1K Program RAM > 2K Data Flash > 1K Data RAM MCU-friendly instruction set, OnCE for debug, on-chip relaxation oscillator, 2K BootFLASH and up to 11 GPIO available in a 48-pin LQFP. DSP56F802 DSP56F802 80 MHz, 40 MIPS, SCI, ADC, PWM, Quad Timer and > 8K Program Flash > 1K Program RAM > 2K Data Flash > 1K Data RAM MCU-friendly instruction set, OnCE for debug, on-chip relaxation oscillator, 2K BootFLASH and up to 4 GPIO available in a 32-pin LQFP. DSP56F803 DSP56F803 80 MHz, 40 MIPS, CAN, SCI, SPI, ADC, PWMs, Quadrature Decoder, Quad Timer and > 31.5K Program Flash > 512K Program RAM > 4K Data Flash > 2K Data RAM MCU-friendly instruction set, OnCE for debug, on-chip relaxation oscillator, 2K BootFLASH, external memory expansion, and up to 16 GPIO available in a 100-pin LQFP. DSP56F805 DSP56F805 80 MHz, 40 MIPS, CAN, SCIs, SPI, ADC, PWMs, Quadrature Decoder, Quad Timer and > 31.5K Program Flash > 512K Program RAM > 4K Data Flash > 2K Data RAM MCU-friendly instruction set, OnCE for debug, on-chip relaxation oscillator, 2K BootFLASH, external memory expansion, and up to 32 GPIO available in a 144-pin LQFP. DSP56F807 DSP56F807 80 MHz, 40 MIPS, CAN, SCIs, SPI, ADCs, PWMs, Quadrature Decoder, Quad Timer and > 60K Program Flash > 2K Program RAM > 8K Data Flash > 4K Data RAM MCU-friendly instruction set, OnCE for debug, on-chip relaxation oscillator, 2K BootFLASH, external memory expansion, and up to 32 GPIO available in both a 160-pin LQFP and 160 MAPBGA. MC33887 MC33887 130 m @ 250°C, Sleep Mode www.freescale.com/analog MC56F8322 MC56F8322 60 MHz, 60 MIPS, 48KB Flash and 12KB RAM with 2 SPI, 2 SCI, 2 ADC, PWM, COP, PLL, Decoder, 2 Quad Timers, FlexCAN, an MCU-friendly instruction set, Enhanced OnCE for debug, on-chip relaxation oscillator, and temperature sensor. Industrial (-40°C to 105°C) and Extended (-40°C to 125°C) Temperature Ranges with up to 21 GPIOs in a 48-pin LQFP. MC56F8323 MC56F8323 60 MHz, 60 MIPS, 48KB Flash and 12KB RAM with 2 SPI, 2 SCI, 2 ADC, PWM, COP, PLL, Decoder, 2 Quad Timers, FlexCAN, an MCU-friendly instruction set, Enhanced OnCE for debug, on-chip relaxation oscillator, and temperature sensor. Industrial (-40°C to 105°C) and Extended (-40°C to 125°C) Temperature Ranges with up to 27 GPIOs in a 64-pin LQFP. MC56F8345 MC56F8345 60 MHZ, 60 MIPS, 144KB 144KB Flash and 12KB RAM, with 2 SPI, 2 SCI, 4 ADC, 2 PWM, COP, PLL, 2 Decoders, 4 Quad Timers, FlexCAN, an MCU-friendly instruction set, Enhanced OnCE for debug, and temperature sensor. Industrial (-40°C to 105°C) and Extended (-40°C to 125°C) Temperature Ranges with up to 49 GPIOs in a 128-pin LQFP. MC56F8346 MC56F8346 60 MHZ, 60 MIPS, 144KB 144KB Flash and 12KB RAM, with 2 SPI, 2 SCI, 4 ADC, 2 PWM, COP, PLL, 2 Decoders, 4 Quad Timers, FlexCAN, an MCU-friendly instruction set, Enhanced OnCE for debug, and temperature sensor. Industrial (-40°C to 105°C) and Extended (-40°C to 125°C) Temperature Ranges with up to 62 GPIOs in a 144-pin LQFP. MC56F8347 MC56F8347 60 MHZ, 60 MIPS, 144KB 144KB Flash and 12KB RAM, with 2 SPI, 2 SCI, 4 ADC, 2 PWM, COP, PLL, 2 Decoders, 4 Quad Timers, FlexCAN, an MCU-friendly instruction set, Enhanced OnCE for debug, and temperature sensor. Industrial (-40°C to 105°C) and Extended (-40°C to 125°C) Temperature Ranges with up to 76 GPIOs in a 160-pin LQFP. Design Challenges Actuator electromagnets are typically controlled in ON/OFF mode with a simple electronic controller. However, increasing demand for more precise controlæsuch as the control of a combustion engine's electric valveæcalls for the sophistication of a digital controller. A digital controller increases actuator system flexibility by executing complex algorithms from both the position and dynamic points of view. Plus, the very fast response of electromagnetic systems drives the need for actuator systems to use a highperformance controller in conjunction with dedicated peripherals. SG2083-2 SG2083-2 Freescale Semiconductor Solution The Freescale Semiconductor DSP56F80x family offers the right combination of performance and peripherals for an actuator system and can control up to six independent electromagnetic actuators. Functional Description These applications require control of the electromagnet coil's current. The electromagnetic force of the actuator is a function of the current going through the electromagnet coil. The modulation of the current according to a predefined profile permits control of the instantaneous electromagnetic force generated by the electromagnet and thus of the movement and position of its core. Typically, the current is modulated by a pulse width modulation (PWM) technique generated by the controller. The actual current, or force profile depends on the electromagnet construction and application requirements. The figure on page 1 illustrates an electromagnetic actuator containing the DSP controller, a power stage with feedback sensors, and electromagnet coil that is controlled by one member of the Freescale Semiconductor DSP56F80x family. In this application, just one coil is controlled, enabling control of actuator movement in one direction. A second coil using the same hardware structure would permit the DSP56F80x to control movement of the actuator in both directions. All members of the DSP56F80x family contain the same DSP core and the same basic peripherals (PWM, ADC, Quadrature Timers, etc.), so any of the devices could be used for this type of application. The power stage contains two power switches, Q1 and Q2, in a half-bridge configuration supplied by DC voltage. Flyback diodes D1 and D2 are connected antiparallel to the power switches and coil. The individual switches are driven by high and low side drivers, both controlled directly by the DSP. The voltage and current sensors detect the voltage cross and current through the coil. The DSP reads and evaluates the analog signals and controls the switches accordingly. The practical implementation of the individual blocks depends on the level of DC voltage and required actuator output power. controlled by the PWM while the lower switch is turned ON for a complete working interval. With hard switching, both upper and lower switches are controlled simultaneously by the PWM. Soft switching gives coil current with lower rippleædi/dt is lower when the upper switch is turned OFF during PWM and the lower switch stays turned ON. This results in a smoother output profile of electromagnetic force. On the other hand, hard switching is simpler from a control point of view. It enables one PWM signal to drive both power switches. Possible Switching Techniques Two basic switching techniques can be implementedæsoft switching and hard switching (see figure below). With soft switching, the upper switch Q1 is SOFT SWITCHING AND HARD SWITCHING TECHNIQUES Coil Current Coil Voltage High Side Switch Q1 Low Side Switch Q2 off time/position on on SOFT SWITCHING The upper switch Q1 and lower flyback diode D2 of the power stage can be omitted entirely. This configuration leads to soft switching but with a long discharge interval at the end of the working cycle, which results in the generation of undesired electromagnetic force. SG2083-3 SG2083-3 During the control cycle, the coil current is sensed and controlled according to the required profile. The choice of the current position profile, stored in the memory of the DSP, depends on the actual application requirement. The control algorithm contains the fast current loop executed at the rate of the off time/position HARD SWITCHING PWM frequency. A PI or PID controller compares the predefined and actual current and modifies the PWM duty cycle so the actual current follows the correct shape. DSP Controller Operation The obvious requirement for the DSP controller is the dedicated PWM unit and fast analog-to-digital converter. Each PWM module of the DSP56F80x family contains 6 PWM outputs variously configured, with an extremely high degree of freedom for both hard and soft switching techniques. Two PWM outputs per electromagnet coil are used for the control of the power stage switches allowing each PWM to support three actuators. The PWM channels PWM0 and PWM1 are set in independent mode. In the soft switching mode the DSP's PWM generator controls the upper switch, while the lower switch is set directly by software. In the hard switching mode, both switches are controlled by the PWM generator. This increases the protection of the power electronics of the system. The communication interface (SPI or CAN) allows the node to communicate with other parts of the system. Hardware Fault Protection The PWM module also contains the hardware fault protection block. By comparing the actual current to threshold, the external comparator generates an overcurrent fault signal. When connected to the fault input of the PWM unit, the overfault signal disables the power stage in case of overcurrent. > Out-of-the-box software components for all on-chip peripherals, in combination with software libraries for motor control, communication, and signal processing, make it easy to develop the most demanding realtime embedded applications. Development Tools Tool Type Product Name Vendor Description Software CW568X CW568X Freescale Semiconductor CodeWarriorTM Development Studio for 56800/E 56800/E Hybrid Controllers with Processor Expert (Metrowerks) Software MSW3SDK000AA MSW3SDK000AA Freescale Semiconductor Software infrastructure that allows development of efficient, high level software applications that are fully portable and reusable across all 56800/56800E 56800/56800E family of processors. Software CWDSP56800 CWDSP56800 Freescale Semiconductor CodeWarrior Software Development Tools for 56800 (Metrowerks) Hardware 56F800DEMO 56F800DEMO Freescale Semiconductor 56F800 56F800 Demonstration Kit Hardware DSP56F801EVM DSP56F801EVM Freescale Semiconductor Evaluation Module for the 56F801and 56F802 56F802 Hardware DSP56F803EVM DSP56F803EVM Freescale Semiconductor Evaluation Module for the 56F803 56F803 Hardware DSP56F805EVM DSP56F805EVM Freescale Semiconductor Evaluation Module for the 56F805 56F805 Hardware DSP56F807EVM DSP56F807EVM Freescale Semiconductor Evaluation Module for the 56F807 56F807 Hardware MC56F8300DSK MC56F8300DSK Freescale Semiconductor 56F8300 56F8300 Developers Start Kit Hardware MC56F8323EVM MC56F8323EVM Freescale Semiconductor Evaluation Module for 56F8322 56F8322 and 45F8323 45F8323 Hybrid Controllers Hardware MC56F8357EVM MC56F8357EVM Freescale Semiconductor Evaluation Module for 56F8345 56F8345, 56F8346 56F8346, and 56F8347 56F8347 Hybrid Controllers Related Documentation Document Number Description APDPAK Analog ICs Integrated Solutions Pitch Pack SG1002 SG1002 Analog Product Selector Guide SG1004 SG1004 Digital Signal Processors Product Selector Guide SG1006 SG1006 Microcontrollers Product Selector Guide SG1011 SG1011 Software and Development Tools Product Selector Guide Disclaimer This document may not include all the details necessary to completely develop this design. It is provided as a reference only and is intended to demonstrate the variety of applications for the device. Learn More: Contact the Technical Information Center at +1-800-521-6247 or +1-480-768-2130. For more information about Freescale products, please visit www.freescale.com. FreescaleTM and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2004. All rights reserved. SG2083 SG2083 REV 2 12/2004 December2004