Be based on electric power DSP of electronic application platform is general board design

  • Time:
  • Click:62
  • source:SCHOCH CNC Machining
Foreword   in recent years, technology of electric power electron develops at full speed, control equipment of electric power electron applies extensively also at all sorts of domains. For example: Ceaseless electricity power supply, switch power source, engine assists power source, accumulator to charge diesel locomotive of transmission of engine of load of imitate of discharge of platform of application of electron of DSP electric power, electron, electric power, phone. In addition, in some countries, for example Denmark, Germany, United States, electric power electron is controlled and net inverter has applied at electron of electric power of solar energy DSP to apply platform to generate electricity stage by stage and wind energy generates electricity the join of device and power system. The rapid development that uses platform and technology of electric power electron for electron of DSP electric power is synchronous, what raise development of hardware of electric power electron at the same time is modular, shorten the time that hardware develops, article design developed DSP56F803 general board the hardware that regards all sorts of electric power as electronic application develops platform. In addition, complex but CPLD of parts of an apparatus has process designing logic but process designing sex is mixed by force the characteristic with agile application, can huge reduces a system to develop cost and shorten development cycle. For DSP electric power electronic application platform raises this general board applied flexibility, what the article uses the high-powered low tension of Xilinx company is complex but what CPLDXC95XL144 of parts of an apparatus of process designing logic realized all sorts of protection logic and quadruplet input to output a mouth is patulous, the integrated application of DSP56F803 and XC95XL144 serves as general board the main distinguishing feature that core part is article design. Electron of electric power of article design DSP uses 1 design idea platform is general board the main principle that follow is to satisfying a function as far as possible comprehensive while increase interference rejection ability and applied flexibility, so OK greatly the hardware that drops application of electric power electron develops cost, shorten development time, increase applied stability. What the article designs is general board use DSP and CPLD integratedly to regard core as the part, developed rich and agile periphery circuit. The article is based on XilinxFoudation3 above all.

Li software applies platform to describe language VHDL process designing to undertake emulation with electron of hardware DSP electric power integrated, finally, the XC95XL144 that this literary grace used Xlinx firm is high-powered but what CPLD of process designing logistic parts of an apparatus realized all sorts of protection logic and quadruplet input to output a mouth is patulous. Design DSP is general board when electron of DSP electric power uses platform, considering above all is should patulous function module. 1, technology of wide modulation of arteries and veins applies already extensively at all sorts of electric power electrons to control a circumstance, because this expanded above all the output of PWM of module of wide modulation of arteries and veins. The frequency of the PWM of DSP56800 series and occupy sky comparing to be able to change continuously, can realize stepless frequency control so. 2, control of electric power electron wants sampling necessarily signal of all sorts of voltage, electric current, accordingly, the article expanded ADC of module of 8 of DSP 12 modulus changeover. 3, the communication that at present control of major electric power electron needs to undertake DSP and DSP or DSP and PC, because this article is patulous asynchronous is serial communication module SCI, to increase interference rejection capacity, growth transmits a distance, realize long-range monitoring, this literary grace differs electron of minute of DSP electric power to apply platform to correspond with RS-485. 4, device of more and more electric power electron are and the net moves, because this needs to detect of electrified wire netting mixed at 0 o'clock too periodic, the article expanded timer module TIMER, its interface can use at all sorts of signal detected with cycle at 0 o'clock too. 5, application of electric power electron needs a record only commonly a few breakdown data, because this article expanded blame of 64K iron report breaks electron of sexual DSP electric power easily to apply platform memory FM24CL64 only, it is read write a need two lines, and read write without delay time. 6, average system can have electron of DSP electric power use platform clock, record the hour that breakdown happening records at the same time when breakdown, analyse breakdown data in order to have. The article expanded X1226 of real time clock, it and FM24CL64 are common clock line and read write line, the physical address that is two parts of an apparatus only is different. 7, finally, the article still expanded power source is monitored with MAX706RESA of hardware watchdog chip. The interface of DSP56F803 and XC95XL144 basically includes what main circuit of electric power electron detects to be pressed too, the logistic operation that sheds protective signal to pass CPLD too is interrupted outside post-trigger DSP or PWM makes mistake protect the PWMFAULT that cite a base to realize protective function; Use low an address line and low digit expand according to the line the input outputs a mouth. Of the subprogram of DSP56F803 peripheral module write use EmbeddedSDK, because it offers the driver of all sorts of peripheral module and port, although do not need the electron of electric power of DSP of in-house hardware structure of familiar DSP,apply the use with OK also and convenient platform. Right to DSP56F803 of XC95XL144 read keep an operation, article basis collect of DSP56800 series assembler instruction, develop oneself SDK software package. 2 hardware design printed circuit board (PCB) interference rejection design and specific circuit are having close connection, designing general board when hardware, the article is mature the requirement that interference rejection designs. To rise general board the stability of platform of application of electron of DSP electric power and interference rejection ability, the article designed high speed 4 layer board, among two lay power source and ground respectively, below two surfaces take line on. To increase the interference rejection capacity of power source and ground, between digital power source and imitate power source and magnetism bead is used to be linked together between digital ground and imitate ground, join between imitate ground and imitate power source and digital ground and digital power source capacitance. To eliminate communal impedance coupling, the crucial position of every chip configured electron of DSP electric power to apply platform capacity to go appropriately lotus root capacitance. 2.

The DSP that 1 core chip introduces the article to use is the DSP56F803 in processor of signal of DSP56800 set number. DSP56800 series uses haing Buddha structure, arrange program space and address space departure location, apply platform to handle what while data space operation and data are transmitted, can run paralell to be read from program space in electron of DSP electric power so get off an instruction, raise processing rate. Processor of signal of DSP56800 set number has rich I/O mouth and a variety of peripheral equipment. On DSP chip compositive GPIO of module of general input output, asynchronous is ADC of module of changeover of PWM of module of wide modulation of SCI of serial communication module, arteries and veins, modulus, synchronous CAN2 of module of local area network of SSI of serial communication module, control.

A variety of peripheral module such as TIMER of module of 0A/B, timer, the sheet with complete implementation piece change. XC95XL144 is a when Xilinx company rolls out high-powered low voltage but parts of an apparatus of process designing logic, it shares 100 to cite a base, in-house and compositive 3200 typical and usable doors, have 144 logistic unit, 74 can use I/O opening, can configure alone reach two-way job kind for input, output, clock of 3 overall situation and 3 overall situation make can be carried keep clear of with an overall situation upright, it supports 3.

3V and 2.

5V voltage works, its transmit delay time to be 5ns only. In the meantime, XC95XL144 supports online process designing, the program downloads through JTAG interface, use go to the lavatory simply. 2.

2DSP56F803 is general board the design   of main function module 2.

2.

PWM of module of wide modulation of 1 arteries and veins. The control that PWM module basically uses at electron of electric power of DSP of convertor of electric power electron to apply platform switch parts of an apparatus and all sorts of electric machinery control. Module has 6 output channel, they can be configured 3 pairs in software according to demand complementary right; 2 pairs complementary independent to mixing 2 passageway; 1 pair complementary independent to mixing 4 passageway; 6 independent passageways. Below complementary mode of operation, of time of dead band of allow license process designing insert, in order to prevent the perforative short circuit of fluctuation bridge arm. The frequency of PWM and occupy sky comparing successive and adjustable, the output weaveform that carries voltaic sensor is screwy and corrective get top, bottom to output electron of DSP electric power to apply platform to bring crural polarity to control with independence, can realize stepless frequency conversion. 2.

2.

2 modulus change module ADC. ADC can be used at sampling the signal such as all sorts of electric current, voltage, rotate speed. ADC includes 8 inputs passageway and two independent sampling to maintain circuit, changeover precision is 12. Transition can be sparked by synchronous signal, OK also controlled the START of register write an operation to spark. Input mode can be divided divide an input for unilateral input and difference. 2.

2.

SCI of module of 3 serial communication. SCI is interface of communication of asynchronous of full duplex operation, use standard does not clear NRZ data format, but process designing chooses 8 or 9 digit seize a form, the SCI transmitter with independent function and receiver and suspend a request. Although most PC uses RS-232 interface, but its transmission distance is controlled 50 feet only, general board use RS-485 to need minute of communication, increase interference rejection capacity, the largest transmission space can achieve 4000 feet of above, apply to long-range monitoring. Such PCs or other DSP board can pass segregation 485 with general board have communication. 2.

2.

TIMER of 4 timer module. Two of timer main functions: Time the event with spark particular; Record the in-house clock periodicity that experiences between two external event, the time that gets external event namely is periodic. Pass to detected at 0 o'clock because of what this interface can use at all sorts of signal, use at and when all sorts of unit that the net runs, can detect of electrified wire netting mixed at 0 o'clock too periodic. 2.

2.

5 need breakdown data only commonly as a result of electric power electron, the article did not carry memory of the enlarge outside bus line, pass two general inputs only / output mouth expanded blame of 64K iron report breaks sexual memory FM24CL64 easily. FM24CL64 is the structure of 8192x8bit, allow to be read continuously write and read randomly write, read write without defer, gao Ke relies on iron report material of the gender, memory time grows. The article still expanded X1226 of real time clock, such is in record breakdown data while the time that records breakdown happening, so that be used when analytic breakdown. X1226 accompanies two warning apparatus and the report of 512 byte but erasure is read-only register, in-house and compositive brilliant brace up compensation circuit and batteries are mothball, process designing can control PHZ/IRQ to bring a foot to output the signal of alarm signal or 3 kinds of related to clock frequency different frequency. 2.

2.

6 to prevent power source low voltage, the article used power source voltage to monitor chip MAX706RESA, it detects circuit gives out restoration signal to make when electrify and depress of power source report whole system restoration, still have watchdog timer function at the same time, in 1.

The WDI of the DSP inside 6s brings crural n not to retroflexion, can send signal of a reliable restoration to DSP, enhanced interference rejection ability. 2.

The same group input that the main principle that when the article is arranging XC95XL144 to cite a base, the design of the interface of 3DSP56F803 and XC95XL144 follows is electric and characteristic likeness outputs a mouth to be put in as far as possible same a grand unit, arrange order to go to the lavatory according to wiring for the principle. General board the interface of DSP56F803 and XC95XL144 includes: DS of data choice line, low digit occupies a line D0-D7, low signal of output of 6 the restoration control end that an address line A0-A3 and A6 regard XC95XL144 as, PWM and 3 make mistake protection brings crural PWMFAULTA0-PWMFAULTA2, outside interrupt IRQA and IRQB. Here introduces the general function of XC95XL144 only, the function with particular other wants to apply demand to modify VHDL language program according to specific electric power electron. The setting of mode of address line A6 of DSP56F803 outputs a mouth for general input, the restoration that serves as XC95XL144 controls RESET, when RESET buy is low, XC95XL144 restoration, output mouth buy is low n (tall n is effective) . The 6 PWM output of DSP56F803 regards the input of XC95XL144 and it as join, correspondence has 6 output opening, can make be outputted after regular logistic operation to them, such applicable at more extensive control circumstance. Of part of main circuit of electric power electron press too, shed signal to input CPLD too, through certain logic, spark IRQA, IRQB or PWM are interrupted to make mistake outside DSP protect the PWMFAULT that cite a base to realize protective function. The DS of data choice line of DSP56F803 is in repeatedly XC95XL144, with low the line cooperates an address, control 4 groups of mouth of every groups of 8 inputs output read keep an operation. Decided commonly when use input outputs a mouth specific it is input or output, increase stability because of when this article is designed, be, affirmatory among them mouth of two groups of inputs and mouth of two groups of output. 3 software are designed to DSP56800 series product, does Motorola offer: of two kinds of software development tools? Environment of compositive development of Odewarrior of post Mou Qia , it is C of a kind of reliable term crossover collection, across compile, the development tool that link and debugs. Metrowerks company belongs to Motorola, compositive development environment included its Codewarrior to a visible project is founded and run a system, have comprehensive government to source code file and library, reduced the complexity of the project. Additionally one kind is EmbeddedSDK of software development tool, it is not DSP development is indispensible, but it is OK greatly the difficulty that eases development work, accelerate the rate of development. Of the subprogram of each module to DSP peripheral write use EmbeddedSDK to master very easily, here did not introduce in detail. CNC Milling CNC Machining