The DSP control panel
Technical field
The utility model belongs to current transformer control technology field, a kind of DSP control panel particularly is provided, be applicable to new forms of energy such as Electric Machine Control, the wind-power electricity generation field converter control system that is incorporated into the power networks, this control panel has the DSP function of compatible TI company's T MS320F28x series, complete function has good dirigibility, compatibility, selectivity and applicability.
Background technology
At present, DSP has the characteristics such as computing power, versatility and dirigibility of high speed processing complexity, DSP use towards digital control and motion control field very extensive, new forms of energy such as Electric Machine Control, wind-powered electricity generation current transformer control field for example.Traditional DSP control panel generally is to use monolithic DSP(Digital Signal Processing, digital signal processing) chip is as the control core, and the DSP control chip is weldingly fixed on control panel.When usually experiment is used, can occur that control chip in use burns out or problem such as renewal.
(1) when control chip burns out, need change control chip for original, and when the peripheral interface circuit of control chip does not need change conditions on the control panel, but because control chip is weldingly fixed on control panel, still need change the The whole control plate.
(2) control object changes, when perhaps the satisfied control of control chip DSP insufficiency of function requires, use isonomic precision and the higher dsp chip of speed such as needs, because the ability that does not possess compatible homologous series DSP control chip of control panel also needs structure and the line of control panel are readjusted.
More than two kinds of common situations all need control panel is changed.Embody that traditional control panel utilization factor is low, very flexible, do not possess deficiencies such as compatibility and systemic-function be incomplete.Thereby cause problems such as the wasting of resources, design iterations, construction cycle length.
Summary of the invention
The purpose of this utility model is to propose a kind of DSP control panel, compatible TMS320F28x series; Solve the wasting of resources, design iterations, construction cycle length, very flexible, do not possessed problems such as the similar homologous series control chip of compatible pin function.Realize compatibility, and satisfied the maximization of DSP self function, satisfied the control requirement of friction speed and precision simultaneously, realized the complicated algorithm control of new energy fields such as wind-powered electricity generation.
The control chip of the C2000 series TMS320F28x of the compatible TI of this control panel energy company, and using much more relatively fixed point cake core TMS320F2812 and floating type TMS320F28335 to be example among the TMS320F28x, the design of control panel compatibility is described.
The utility model comprises DSP2812 minimum system plate, DSP28335 minimum system plate and base plate.DSP2812 minimum system plate can link to each other with base plate separately with DSP28335 minimum system plate.Be base plate compatible DSP2812 minimum system plate and DSP28335 minimum system plate simultaneously.
DSP2812 minimum system plate comprises that TMS320F2812 control chip, reset circuit, JTAG download mouth, extend out RAM, extend out Flash, extend out pin interface.Reset circuit, JTAG download mouthful, extend out RAM, extend out Flash, extend out pin interface all links to each other with the TMS320F2812 control chip.Reset circuit provides reset signal for control chip.Extend out RAM, extend out Flash and be respectively DSP control chip extender code and compiled code storage space, extend out RAM and adopt the IS6ILV51216 chip, what extend out that Flash adopts is the SST39VF800 chip.Extend out the pin that pin interface extends out the TMS320F2812 control chip and comprise address bus, data bus, pwm signal, CAP/EQEP signal, ADC, SCI, McBSP, CAN, SPI, read-write chip selection signal, look-at-me, power supply signal.
The pin interface that extends out of DSP2812 minimum system plate and DSP28335 minimum system plate is two contact pin type interfaces, and the structure of two contact pin type interfaces is identical.Contrast the pin that extends out of DSP2812 minimum system plate and DSP28335 minimum system plate, incomplete same.To extend out functions of pins be identical to the major part that extends out in the pin interface of DSP2812 minimum system plate and DSP28335 minimum system plate, and have compatible characteristics, has only the minority pin incompatible.The pin that extends out of DSP2812 and DSP28335 minimum system plate respectively is divided into two classes: homogeny pin and otherness pin.In extending out pin, the same class pin that function is identical, and quantity is also identical, is the homogeny pin with this class pinout, has compatible characteristics, for example: address bus A[0..18], data bus D[0..15] etc. extend out pin.Also having the minority pin not have compatible characteristics, is the otherness pin with this class pinout, and this class pin has three characteristics: 1) DSP2812 has the pin of this type of function, and DSP28335 does not have; 2) DSP38335 has the pin of this type of function, and DSP2812 does not have; 3) DSP2812 and DSP28335 have the pin of this type of function, but have quantitative difference, this type of function pin that quantitatively has more.So according to the classification that extends out pin, the pin interface that extends out of DSP2812 minimum system plate can be divided into homogeny pin field and otherness pin field, in like manner, also the pin interface that extends out of DSP28335 minimum system plate can be divided into homogeny pin field and otherness pin field.
Base plate comprises FPGA (Field-Programmable Gate Array, field programmable gate array) chip, peripheral circuit and slot.Because the pin interface that extends out of minimum system plate links to each other with the slot of base plate, extend out pin interface and be divided into homogeny pin field and otherness pin field, corresponding, the slot of base plate is divided into homogeny pin field and otherness pin field two parts.Otherness pin field part links to each other with FGPA in the slot, and FPGA links to each other with peripheral circuit again.The pin field of homogeny directly links to each other with peripheral circuit in the slot.
This connected mode makes the base plate compatible DSP2812 minimum system plate of energy and DSP28335 minimum system plate.The pin (being incompatible pin) that the minimum system plate extends out otherness in the pin interface is guided the IO mouth of fpga chip into by slot, and the IO mouth by fpga chip is connected with peripheral circuit again.Because FPGA has hardware programmable, makes the otherness pin can optionally be connected with peripheral circuit by FPGA, thereby arrive compatible purpose.That FPGA adopts is EP3C80, is the third generation product of the Cyclone of ATERAL company series.
Control panel adopts lamination, separable structure up and down, the upper strata is DSP2812 minimum system plate or DSP28335 minimum system plate, and lower floor is base plate, and the pin interface that extends out of two contact pin types is arranged at upper strata minimum system plate bottom, be inserted on the slot of lower floor's base plate, can make up mutually and separate.Needs according to difference control can be changed different DSP minimum systems.
The beneficial effect that the utility model is compared with existing control panel is that control panel has good dirigibility, selectivity and compatibility, complete function.Thereby needing under above-mentioned two kinds of situations to avoid the problem to the control panel redesign effectively, overcome very flexible in traditional control panel, do not possessed the deficiency of the similar homologous series control chip of compatible pin function.
Description of drawings
Fig. 1 is the functional unit synoptic diagram of DSP minimum system plate.
Fig. 2 is base plate functional unit synoptic diagram.
Fig. 3 is control panel structure vertical view.
Fig. 4 is control panel structure front elevation.
Fig. 5 is that synoptic diagram is divided in the extended pin zone.
Fig. 6 is base plate catenation principle synoptic diagram.
Embodiment
The utility model comprises DSP2812 minimum system plate, DSP28335 minimum system plate and base plate.DSP2812 minimum system plate can link to each other with base plate separately with DSP28335 minimum system plate.Be base plate compatible DSP2812 minimum system plate and DSP28335 minimum system plate simultaneously.
1, specific embodiments is set forth:
The purpose of this utility model is to propose a kind of DSP control panel design of compatible TMS320F28x series, the control chip of the C2000 series TMS320F28x of the compatible TI of this control panel energy company, and using much more relatively fixed point cake core TMS320F2812 and floating type TMS320F28335 to be example among the TMS320F28x, the design of control panel compatibility is described.
2, the utility model is described in further detail on principle below in conjunction with accompanying drawing
Fig. 1 and Fig. 2 are control panel functional unit synoptic diagram.As shown in the figure, Fig. 1 is the functional unit synoptic diagram of DSP minimum system plate, and Fig. 2 is base plate functional unit synoptic diagram.DSP minimum system unit comprises that mainly reset circuit, JTAG download mouth, extend out RAM, extend out Flash, extend out pin interface, and base plate mainly is to comprise fpga chip, slot, peripheral circuit.
Compatibility to control panel on following structure and the principle describes
(1) on structure
Fig. 3 and Fig. 4 are the control panel structural representation, (Fig. 3 is vertical view, Fig. 4 front elevation).What control panel adopted is lamination, separable structure.The upper strata is DSP2812 minimum system plate or DSP28335 minimum system plate, and lower floor is base plate, and the pin interface that extends out of two contact pin types is arranged at upper strata minimum system plate bottom, is inserted on the slot of lower floor's base plate.This structure can be changed the minimum system plate on upper strata easily, satisfies the purpose of base plate compatibility on the structure.
(2) on principle
DSP2812 minimum system plate and DSP28335 minimum system plate extended out the homogeny pin has compatible characteristics in the pin interface, directly cause peripheral circuit, and extend out the pin of otherness in the pin, do not have compatibility, need guide the IO mouth of fpga chip by backplane slot into, IO mouth by fpga chip causes peripheral circuit again, only need carry out hardware programming to fpga chip, the feasible pin that extends out otherness in the pin interface, repeat optionally to be connected with peripheral circuit, reach the purpose of base plate.Below for the implementation step of concrete operations.
At first according to the definition of above-mentioned homogeny and otherness, DSP2812 minimum system plate and DSP28335 minimum system plate are extended out the pin classification, pin interface be will extend out according to classification again and homogeny pin field and otherness pin field will be divided into, as shown in Figure 5, at last by reference to the accompanying drawings 6, base plate catenation principle synoptic diagram is described, reaches the purpose of compatible DSP2812 minimum system plate and DSP28335 minimum system plate.
As shown in Figure 5, the extended pin interface is two contact pin type interfaces, is divided into homogeny pin field and otherness pin field, and wherein dash area is the otherness pin field.When design DSP3812 and DSP28335 minimum system plate, carry out rational cabling layout to extending out pin, the pin interface that extends out of minimum system plate can be divided into homogeny pin field and otherness pin field.Because the pin interface that extends out of minimum system plate is inserted on the backplane slot, corresponding, the slot of base plate also is divided into the pin field of homogeny and the pin field of otherness.
Fig. 6 is base plate catenation principle synoptic diagram, below Fig. 6 is described.
Backplane slot is divided into homogeny pin field and function difference pin field, and this two classes pin is carried out different connections respectively:
1) pin of homogeny connects
These pins itself are the compatible characteristics that have, and directly are connected with the base plate peripheral circuit.
2) pin of otherness connects
This class pin does not possess compatible characteristics, need guide the IO mouth of fpga chip by backplane slot into, and then is connected with peripheral circuit through the IO mouth of fpga chip.By fpga chip is carried out hardware programming, can be so that the minimum system plate extends out the otherness pin of pin interface to be connected with peripheral circuit flexibly selectively by fpga chip, thus make the DSP that control panel can compatible two TMS320F28x series.
Beneficial effect:
The utility model can be compatible TMS320F28x series two control chip, satisfy the control requirement of friction speed and precision.Have good dirigibility, selectivity, compatibility and applicability, complete function.