1、翻译文稿 Step of electric machine universal controller realizes which based on the MSP430F149 Single Chip Microcomputer. Abstract: With the infiltration in the social field of the computer in recent years, the application of the one-chip computer is moving towards deepening constantly, drive tradition i
2、s it measure crescent benefit to upgrade day to control at the same time. In measuring in real time and automatically controlled one-chip computer application system, the one-chip computer often uses as a key part, only one-chip computer respect knowledge is not enough, should also follow the struct
3、ure of the concrete hardware , and direct against and use the software of targets characteristic to combine concretely, in order to do perfectly. This article mainly introduced realizes a step of machine universal controller based on the MSP430F149 monolithic integrated circuit. This controller may
4、simultaneously control the multi-tablecloths machine according to the curve way movement, including adds and subtracts fast, the localization and the commutation function and so on. In the article discussed with emphasis step machine has risen to low the speed and the curve design proposal and its t
5、he realization method. 1. a preface: based on the step of machine control system, except step machine generally also needs the special actuation power source, actuates the power source merely to complete the power actuation part, the user certainly cannot cause the entire control system according to
6、 prearrange, the expectation active status movement, must control to its actuation power source, the user needs to develop once more. In view of this, has designed a step of machine universal controller which realizes based on the MSP430F149 monolithic integrated circuit, may satisfy the majority co
7、ntrolling field originally request. The controller main function is: (1) May control the multi- wraps step of machine actuation system; At present may simultaneously control 3 sets of systems. (2) work way is flexible, may according to the hypothesis curve movement, the curve most reach 8 sections;
8、May according to the control signal movement which exterior examines; May according to the simulation adjustment test function movement; 2. Systems designs 2.1 systems structure This controller has mainly realized thematic- tablecloths machine in the multistage curve operating control. 2.2 microproc
9、essors choice This design has selected MSP which Incorporation produces series monolithic integrated circuit MSP430F149.The goal is applies its rich connection resources and the formidable timer function, the MSP430F149 performance characteristic as follows: (1) 6 eight bit parallel connections; Def
10、initely may realize this system all signals input, the output, does not need the hardware to expand, P1, the P2 eight bit parallel ports each mouth line all has the severance function, softly causes the keyboard, the hardware design to change is extremely simple. (2) 12 A/D switch ADC; Completes the
11、 simulation hypothesis function. (3) Formidable timer function; TIMER-A3, TIMER-B7 respectively be have3 and 7 captures/compares the register 16 timers, may satisfy the system speed the hypothesis and the curve fixed time request. (4)Liquid crystal actuation module; (5) In sets at 2KB RAM, 60KB FLAS
12、H; MSP430F149 provides the rich resources, the periphery hardware expands only must do the very few work, not only designs changes extremely imply, and moreover this controller volume small, the reliability is high. 2.3 steps of machine starting and add/decelerate the control plan The step of motive
13、 highest starting frequency (step frequency) generally is 0.1KHz arrives 3-4KHz, but the highest movement frequency may achieve N*102 KHz. Surpasses the highest starting frequency the frequency direct-on starting, will appear Falls out of step Phenomenon, even is unable to start. The more ideal star
14、ting curve should be according to the index rule starting. But the practical application to starts the section processing to be possible to use according to the fitting a straight Line method,namely Steps and ladders law ”. May according to two kind of situations processing, (1) known frequency pres
15、s the frequency partition to start, the partition counts n=f/f q. (2) Unknown frequency, then to assigns according to the section.Uses Steps and ladders law Continuously raises the speed the speed which needs, then locking, according to pre-placed curve movement. Fitting the starting frequency, afte
16、r each section of frequencies hand over the increase (to call steps and ladders frequency) f=f/8, namely uses 8 sections of fitting. In the operating control process, (frequency) divides into the outset speed n minute achievement steps and ladders frequency, When 2.4 steps of machine commutation que
17、stions step of machine commutation, certainly must stop in the electrical machinery or fall commutates again to the frequency range in, in order to avoid has a bigger impact to damage the electrical machinery. The commutation signal certainly must last the CP pulse finish after the preceding direction as well as in front of the next direction first CP pulse sends out. 2.4 steps of machine commutation questions Step of machine commutation, certainly must stop in the electrical machinery or fall commutates again to the frequency range in, in order to avoid has a bigger impact to damage the