CN104166791B - Based on visual permanent-magnet synchronous motor rotor position angle estimating system and method - Google Patents
Based on visual permanent-magnet synchronous motor rotor position angle estimating system and method Download PDFInfo
- Publication number
- CN104166791B CN104166791B CN201410364111.0A CN201410364111A CN104166791B CN 104166791 B CN104166791 B CN 104166791B CN 201410364111 A CN201410364111 A CN 201410364111A CN 104166791 B CN104166791 B CN 104166791B
- Authority
- CN
- China
- Prior art keywords
- rotor
- data
- position angle
- dsp
- waveform
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Abstract
One kind is based on visual permanent-magnet synchronous motor rotor position angle estimating system and its method, it is included on the rotor of permagnetic synchronous motor and is provided with angular-rate sensor, described angular-rate sensor is connected with the first input pin of the data collecting system based on DSP with SCI modules, the described data collecting system based on DSP is also connected by RS232 interface with host computer, described host computer carries the position angle estimation block of the rotor based on LabVIEW, also includes VISA modules in described host computer.And with reference to its method can effectively avoid it is of the prior art acquisition rotor position information measurement apparatus structural detail excessively frequently can lead to fault rate increase and if plus wave shape display system will it is more complicated so as to increase fault rate the problem of the defects of.
Description
Technical field
The invention belongs to the position angle technical field of permanent-magnetic synchronous motor rotor, and in particular to one kind based on it is visual forever
Magnetic-synchro motor rotor position angle estimating system and its method.
Background technology
Permagnetic synchronous motor commutates by IGCT.There is rotor position information, the position signalling of motor can conduct
DSP etc processing apparatus is inputed to, then obtains the relations of distribution of electric current, which opens that pass to control IGCT, thus
The operation for changing IGCT can be realized.
Generally obtain rotor position information is carried out by element as measurement apparatus, but existing acquisition
The measurement apparatus structural detail of rotor position information is excessive, frequently can lead to the problem of fault rate increases, and if add ripple
Shape display system, will it is more complicated so as to increase fault rate the problem of.
The content of the invention
It is an object of the invention to provide one kind to be based on visual permanent-magnet synchronous motor rotor position angle estimating system and its side
Method, it is included on the rotor of permagnetic synchronous motor and is provided with angular-rate sensor, described angular-rate sensor is same carries SCI moulds
First input pin of the data collecting system based on DSP of block is connected, and the data collecting system based on DSP is also logical
RS232 interface to be crossed with host computer to be connected, described host computer carries the position angle estimation block of the rotor based on LabVIEW,
Also include VISA modules in described host computer.And it can effectively avoid acquisition rotor-position of the prior art with reference to its method
The measurement apparatus structural detail of information excessively frequently can lead to fault rate increase and if will be more plus wave shape display system
The defects of adding the problem of complexity is so as to increase fault rate.
In order to overcome deficiency of the prior art, the invention provides one kind to be based on visual permanent-magnetic synchronous motor rotor
The solution of position angle estimating system and its method, it is specific as follows:
One kind is based on visual permanent-magnet synchronous motor rotor position angle estimating system, is included in turning for permagnetic synchronous motor
Angular-rate sensor 1 is provided with son, described angular-rate sensor 1 is the same as the data acquisition system based on DSP for carrying SCI modules
First input pin 5 of system 4 is connected, and the data collecting system 4 based on DSP also passes through 8 same host computer of RS232 interface
9 are connected, position angle estimation block 10 of the described host computer 9 with the rotor based on LabVIEW, in described host computer 9
Also include VISA modules.
The position angle estimation block 10 of the described rotor based on LabVIEW includes human-computer interaction interface, described people
Machine interactive interface includes operation interface part and display interface part, and described operation interface part is by operation interface
The position angle estimation block 10 that the rotor based on LabVIEW can just be passed through after being operated sends instruction to host computer 9;Described
Display interface part is divided into waveform display portion and instrument display portion, and described waveform display portion can be estimated to selected model
Enclose the whole change procedure of the position angular data of the rotor of interior permanent-magnet synchronous motor;Described instrument display portion can be stablized aobvious
Show the data of the position angle of the estimation of the rotor of permagnetic synchronous motor.
Described waveform display portion shows the width of the position angle of the rotor of permagnetic synchronous motor by waveform display window
Value-time graph, described instrument display portion include an arc-shaped scale zone, described arc-shaped scale area
Domain is used for representing the position angle angle value scope of the rotor of the estimation of permagnetic synchronous motor, described arc-shaped scale zone
Lower section is each provided with a pointer shape icon, is respectively arranged with above described arc-shaped scale zone for showing
The text box of the position angle angle value of the rotor of the estimation of permagnetic synchronous motor.
Described operation interface part includes serial ports parameter setting part, waveform selection part, waveform shaping part point, control
Part and waveform display parameters setting unit, described serial ports parameter setting part are used for the initial of the parameter of serial communication
Change, described serial ports parameter setting part includes for the choice box of serial port number selection and for setting serial communication ripple
The text box of special rate, it is described to be used for default selective value in the choice box of serial port number selection and be identified for host computer 9
Serial port number, described waveform display parameters setting unit include be used for set data IQ forms translative mode text
Frame, for setting the text box of cache size and for setting the text box of sample frequency, described waveform shaping part subpackage
Include for selecting the select button of the passage of the data collecting system based on DSP, for choosing whether to be based on DSP to selected
Data collecting system passage amplitude measure vernier shift knob, for choosing whether to be based on to selected
It is vernier shift knob that the time of the passage of DSP data collecting system measures, selected based on DSP's for showing
The text box of the amplitude of the passage of data collecting system, for showing the passage of the selected data collecting system based on DSP
The text box of time, the text box for setting vernier graduation value and for waveform movement left and right tie rod, described control
System part includes start button, pause button and stop button, and described start button, pause button and stop button are right respectively
Tested waveform performs startup, operation suspension and the control for terminating operation, and described waveform selection part includes being used to select display
The position angle waveform of the rotor of the estimation of permagnetic synchronous motor clicks frame, thus can by after selection in waveform display window
Mouth shows the position angle oscillogram of the rotor for selecting the estimation for showing permagnetic synchronous motor.
The described method based on visual permanent-magnet synchronous motor rotor position angle estimating system, step are as follows:
Step 1:Start first and be based on visual permanent-magnet synchronous motor rotor position angle estimating system, angular-rate sensor
The angular speed of the rotor of 1 pair of permagnetic synchronous motor carries out data acquisition, and turn of the estimation the permagnetic synchronous motor collected
The magnitude of angular velocity of son is delivered to the data collecting system 4 based on DSP, and is estimated by the position angle of the rotor based on LabVIEW
Module 10 runs human-computer interaction interface, and serial ports parameter setting part selection serial port number and serial ports lead on human-computer interaction interface
Believe baud rate, and allow serial communication baud rate to lead to the serial ports set in the SCI modules in the data collecting system 4 based on DSP
Believe that baud rate is consistent;
Step 2:The rotor based on LabVIEW position angle estimation block 10 elsewhere to the odd even of serial communication
Check bit, data bits and stop position are configured, described to the parity check bit of serial communication, data bits and to stop
The value that stop bit is set is respectively the same as the even-odd check of the serial communication set in the SCI modules in the data collecting system 4 based on DSP
Position, data bits are consistent with the value that stop position is set;
Step 3:In addition for setting the text box of the translative mode of data IQ forms, for setting the text of cache size
This frame and for set carried out respectively in the text box of sample frequency the translative mode to data IQ forms, cache size and
The setting of sample frequency, by using selecting the select button of the passage of the data collecting system based on DSP to carry out to based on DSP
Data collecting system passage selection, by using choosing whether to the selected data collecting system based on DSP
Vernier shift knob that the amplitude of passage measures, for choosing whether to the selected data collecting system based on DSP
Passage the vernier shift knob that measures of time and for setting the text box of vernier graduation value to be made whether respectively
The amplitude of the passage of the selected data collecting system based on DSP is measured and made a choice, whether to selected base
Measured in the time of the passage of DSP data collecting system and make a choice and set vernier graduation value;
Step 4:The point of the position angle waveform of the rotor of the estimation of selection display permagnetic synchronous motor is selected to by point
Frame is selected to select the waveform classification of the position angle of the rotor of the estimation of permagnetic synchronous motor shown in waveform display window, this
Sample just completes Initialize installation;
Step 5:Then after start button is clicked, the position angle estimation block of the rotor based on LabVIEW
10 are just sent to the data collecting system 4 based on DSP measurement instruction by RS232 interface 8, and described measurement instruction includes
The information of Initialize installation, and the position angle estimation block 10 of the rotor based on LabVIEW is provided with for protecting in internal memory
The array of the information of current initialization setting is deposited, every time before the information that current initialization is set is preserved, first current initial
Compared with the information for changing the last Initialize installation that the information set is stored in the last time in the array, if variant,
Just the information that current initialization is set is saved in the array of the information for preserving current initialization setting, if not poor
It is different, keep constant for preserving the data of the array of the information of current initialization setting;
Step 6:When the data collecting system 4 based on DSP receive via RS232 interface 8 transmit come include initially
Change the measurement instruction of the information set, will be shown forever in waveform display window according to the selection in the information of Initialize installation
The choosing of the waveform classification of the position angle of the rotor of the estimation of magnetic-synchro motor and the passage to the data collecting system based on DSP
Select the corresponding angular speed number of the waveform classification of the position angle of the rotor of the estimation the same permagnetic synchronous motor gathered in real time
It is sent to according to the passage by selection in host computer 9;
Step 7:After host computer 9 receives angular velocity data, the position angle estimation block 10 of the rotor based on LabVIEW is just
Buffer area is set to store the angular velocity data received, serial communication using 4 bytes as one group of transceiving data, receives every time
The angular velocity data arrived is the data of IQ forms, is so again converted into the angular velocity data received commonly by format conversion
Waveform True Data represented by decimal system signed number, the concrete mode of format conversion are the angular speed number for first judging to receive
According to sign attribute export signed number, signed number is again that can obtain the True Data of angular speed by inverse operation, and
Using formula (1) come order obtain from the 1st to the estimation in+1 sampling period of kth rotor position angle:
θS(k+1)=θS(k)+ω(k)TS (1)
Wherein θS(k+1) for+1 sampling period of kth estimation rotor position angle, θS(k) it is k-th of sampling week
The position angle of the rotor of the estimation of phase, ω (k) are the True Data of the angular speed in k-th sampling period, TSFor a sampling
Cycle, k are integer more than or equal to 0, resulting in from the 1st to the estimation in+1 sampling period of kth rotor position
The waveform True Data of angle, waveform True Data are stored in buffer area in case generating observation waveform, when data are deposited, often
One cycle, array can all pass through rearward displacement and the data newly read are stored in into buffer area foremost, and array afterbody removes
Data will be removed;
Step 8:Waveform True Data in buffer area is sent to waveform display window and is directed to corresponding permagnetic synchronous motor
The position angle of rotor shown in the form of amplitude versus time curve, or pass through pointer shape icon in instrument display portion
Indicated in arc-shaped scale zone and in the corresponding position angle angle value for being used for showing the rotor of the estimation of permagnetic synchronous motor
Text box in display location angle value.
The present invention just can complete to estimate rotor position angle during display, by single angular velocity sensor element
Calculate, greatly reduce fault rate.
Brief description of the drawings
Fig. 1 is being illustrated based on visual permanent-magnet synchronous motor rotor position angle estimating system attachment structure for the present invention
Figure.
Embodiment
The work for creating user interface (being referred to as front panel) is fused among the construction cycle by LabVIEW naturally.
LabVIEW program/subprogram is referred to as virtual instrument (VI).Each VI has three parts:Flow chart, front panel
With icon/connector.Connector is for calling this VI to be used for other flow charts.Programmer can be utilized on front panel
Control control enter data into the VI being currently running, or operation result is exported with display control.Front panel can also be made
For the interface of program:Each virtual instrument can both be run front panel as user interface as a program;Can also
It is put into another VI flow chart as a node, is connected by connector panel, and front panel then defines VI's
Input and output., can be easily before a large-scale project is embedded into as subprogram this means each VI
Tested.
As shown in figure 1, being based on visual permanent-magnet synchronous motor rotor position angle estimating system, it is included in permanent magnet synchronous electric
Angular-rate sensor 1 is provided with the rotor of machine, described angular-rate sensor 1 is the same as the data based on DSP for carrying SCI modules
First input pin 5 of acquisition system 4 is connected, and the data collecting system 4 based on DSP is also same by RS232 interface 8
Host computer 9 is connected, and described host computer 9 carries the position angle estimation block 10 of the rotor based on LabVIEW, and described is upper
Also include VISA modules in machine 9.The position angle estimation block 10 of the described rotor based on LabVIEW includes man-machine interaction
Interface, described human-computer interaction interface include operation interface part and display interface part, and described operation interface part is logical
Cross to just can be by the position angle estimation block 10 of the rotor based on LabVIEW to host computer 9 after the operating of operation interface
Send instruction;Described display interface part is divided into waveform display portion and instrument display portion, described waveform display portion
The whole change procedure of the position angular data of the rotor of selected scope interior permanent-magnet synchronous motor can be estimated to;Described instrument shows
Show that part can stablize the data of position angle of the estimation of the rotor of display permagnetic synchronous motor.Described waveform display portion is led to
Cross the amplitude versus time curve of the position angle of the rotor of waveform display window display permagnetic synchronous motor, described instrument display part
Divide and include an arc-shaped scale zone, described arc-shaped scale zone is used for representing the estimation of permagnetic synchronous motor
Rotor position angle angle value scope, be each provided with a pointer shape figure below described arc-shaped scale zone
Mark, the rotor of estimation for showing permagnetic synchronous motor is respectively arranged with above described arc-shaped scale zone
The text box of position angle angle value.Described operation interface part includes serial ports parameter setting part, waveform selection part, waveform tune
Whole point, control section and waveform display parameters setting unit, described serial ports parameter setting part are used for serial communication
Parameter initialization, described serial ports parameter setting part include for serial port number selection choice box and for setting
The text box of serial communication baud rate is put, the described default selective value in the choice box of serial port number selection that is used for is upper
The serial port number that machine 9 can identify, described waveform display parameters setting unit include being used for setting turning for data IQ forms
The text box of mold changing formula, for setting the text box of cache size and for setting the text box of sample frequency, described ripple
Shape adjustment member includes being used for selecting the select button of the passage of the data collecting system based on DSP, for choosing whether to quilt
Vernier shift knob that the amplitude of the passage of the data collecting system based on DSP of selection measures, for choosing whether pair
It is vernier shift knob that the time of the passage of the selected data collecting system based on DSP measures, selected for showing
The text box of the amplitude of the passage for the data collecting system based on DSP selected, for showing that the selected data based on DSP are adopted
The text box of the time of the passage of collecting system, the text box for setting vernier graduation value and the left and right for waveform movement are drawn
Bar, described control section include start button, pause button and stop button, described start button, pause button and stop
Only button performs startup, operation suspension and the control for terminating operation to being tested waveform respectively, and described waveform selection part includes
Position angle waveform for the rotor for the estimation for selecting to show permagnetic synchronous motor clicks frame, thus can be by selection after
The position angle oscillogram of the rotor for selecting the estimation for showing permagnetic synchronous motor is shown in waveform display window.
The described method based on visual permanent-magnet synchronous motor rotor position angle estimating system, step are as follows:
Step 1:Start first and be based on visual permanent-magnet synchronous motor rotor position angle estimating system, angular-rate sensor
The angular speed of the rotor of 1 pair of permagnetic synchronous motor carries out data acquisition, and turn of the estimation the permagnetic synchronous motor collected
The magnitude of angular velocity of son is delivered to the data collecting system 4 based on DSP, and is estimated by the position angle of the rotor based on LabVIEW
Module 10 runs human-computer interaction interface, and serial ports parameter setting part selection serial port number and serial ports lead on human-computer interaction interface
Believe baud rate, and allow serial communication baud rate to lead to the serial ports set in the SCI modules in the data collecting system 4 based on DSP
Believe that baud rate is consistent;
Step 2:The rotor based on LabVIEW position angle estimation block 10 elsewhere to the odd even of serial communication
Check bit, data bits and stop position are configured, described to the parity check bit of serial communication, data bits and to stop
The value that stop bit is set is respectively the same as the even-odd check of the serial communication set in the SCI modules in the data collecting system 4 based on DSP
Position, data bits are consistent with the value that stop position is set;
Step 3:In addition for setting the text box of the translative mode of data IQ forms, for setting the text of cache size
This frame and for set carried out respectively in the text box of sample frequency the translative mode to data IQ forms, cache size and
The setting of sample frequency, by using selecting the select button of the passage of the data collecting system based on DSP to carry out to based on DSP
Data collecting system passage selection, by using choosing whether to the selected data collecting system based on DSP
Vernier shift knob that the amplitude of passage measures, for choosing whether to the selected data collecting system based on DSP
Passage the vernier shift knob that measures of time and for setting the text box of vernier graduation value to be made whether respectively
The amplitude of the passage of the selected data collecting system based on DSP is measured and made a choice, whether to selected base
Measured in the time of the passage of DSP data collecting system and make a choice and set vernier graduation value;
Step 4:The point of the position angle waveform of the rotor of the estimation of selection display permagnetic synchronous motor is selected to by point
Frame is selected to select the waveform classification of the position angle of the rotor of the estimation of permagnetic synchronous motor shown in waveform display window, this
Sample just completes Initialize installation;
Step 5:Then after start button is clicked, the position angle estimation block of the rotor based on LabVIEW
10 are just sent to the data collecting system 4 based on DSP measurement instruction by RS232 interface 8, and described measurement instruction includes
The information of Initialize installation, and the position angle estimation block 10 of the rotor based on LabVIEW is provided with for protecting in internal memory
The array of the information of current initialization setting is deposited, every time before the information that current initialization is set is preserved, first current initial
Compared with the information for changing the last Initialize installation that the information set is stored in the last time in the array, if variant,
Just the information that current initialization is set is saved in the array of the information for preserving current initialization setting, if not poor
It is different, keep constant for preserving the data of the array of the information of current initialization setting;
Step 6:When the data collecting system 4 based on DSP receive via RS232 interface 8 transmit come include initially
Change the measurement instruction of the information set, will be shown forever in waveform display window according to the selection in the information of Initialize installation
The choosing of the waveform classification of the position angle of the rotor of the estimation of magnetic-synchro motor and the passage to the data collecting system based on DSP
Select the corresponding angular speed number of the waveform classification of the position angle of the rotor of the estimation the same permagnetic synchronous motor gathered in real time
It is sent to according to the passage by selection in host computer 9;
Step 7:After host computer 9 receives angular velocity data, the position angle estimation block 10 of the rotor based on LabVIEW is just
Buffer area is set to store the angular velocity data received, serial communication using 4 bytes as one group of transceiving data, receives every time
The angular velocity data arrived is the data of IQ forms, is so again converted into the angular velocity data received commonly by format conversion
Waveform True Data represented by decimal system signed number, the concrete mode of format conversion are the angular speed number for first judging to receive
According to sign attribute export signed number, signed number is again that can obtain the True Data of angular speed by inverse operation, and
Using formula (1) come order obtain from the 1st to the estimation in+1 sampling period of kth rotor position angle:
θS(k+1)=θS(k)+ω(k)TS (1)
Wherein θS(k+1) for+1 sampling period of kth estimation rotor position angle, θS(k) it is k-th of sampling week
The position angle of the rotor of the estimation of phase, ω (k) are the True Data of the angular speed in k-th sampling period, TSFor a sampling
Cycle, k are integer more than or equal to 0, resulting in from the 1st to the estimation in+1 sampling period of kth rotor position
The waveform True Data of angle, waveform True Data are stored in buffer area in case generating observation waveform, when data are deposited, often
One cycle, array can all pass through rearward displacement and the data newly read are stored in into buffer area foremost, and array afterbody removes
Data will be removed;
Step 8:Waveform True Data in buffer area is sent to waveform display window and is directed to corresponding permagnetic synchronous motor
The position angle of rotor shown in the form of amplitude versus time curve, or pass through pointer shape icon in instrument display portion
Indicated in arc-shaped scale zone and in the corresponding position angle angle value for being used for showing the rotor of the estimation of permagnetic synchronous motor
Text box in display location angle value.
The above described is only a preferred embodiment of the present invention, any formal limitation not is made to the present invention, though
So the present invention is disclosed above with preferred embodiment, but is not limited to the present invention, any to be familiar with this professional technology people
Member, without departing from the scope of the present invention, when the technology contents using the disclosure above make a little change or modification
For the equivalent embodiment of equivalent variations, as long as be without departing from technical solution of the present invention content, according to the technical spirit of the present invention,
Within the spirit and principles in the present invention, any simple modification, equivalent substitution and improvement for being made to above example etc., still
Belong within the protection domain of technical solution of the present invention.
Claims (3)
1. one kind is based on visual permanent-magnet synchronous motor rotor position angle estimating system, it is characterised in that is included in permanent-magnet synchronous
Angular-rate sensor is provided with the rotor of motor, described angular-rate sensor is the same as the data based on DSP for carrying SCI modules
First input pin of acquisition system is connected, and the data collecting system based on DSP is also by RS232 interface with upper
Machine is connected, and described host computer carries the position angle estimation block of the rotor based on LabVIEW, is also wrapped in described host computer
Contain VISA modules;
The position angle estimation block of the described rotor based on LabVIEW includes human-computer interaction interface, described man-machine interaction
Interface includes operation interface part and display interface part, and described operation interface part is by being operated to operation interface
The position angle estimation block that the rotor based on LabVIEW can just be passed through afterwards sends instruction to host computer;Described display interface portion
It is divided into waveform display portion and instrument display portion, it is same that described waveform display portion can be estimated to permanent magnetism in selected scope
Walk the whole change procedure of the position angular data of the rotor of motor;Instrument display portion can stablize display permagnetic synchronous motor
The data of the position angle of the estimation of rotor;
Described waveform display portion pass through waveform display window show permagnetic synchronous motor rotor position angle amplitude-when
Half interval contour, described instrument display portion include an arc-shaped scale zone, and described arc-shaped scale zone is used
To represent the position angle angle value scope of the rotor of the estimation of permagnetic synchronous motor, the lower section of described arc-shaped scale zone
A pointer shape icon is provided with, is provided with above described arc-shaped scale zone for showing permagnetic synchronous motor
Estimation rotor position angle angle value text box.
2. according to claim 1 be based on visual permanent-magnet synchronous motor rotor position angle estimating system, its feature exists
In described operation interface part include serial ports parameter setting part, waveform selection part, waveform shaping part point, control section with
And waveform display parameters setting unit, described serial ports parameter setting part are used for the initialization to the parameter of serial communication, institute
The serial ports parameter setting part stated includes for the choice box of serial port number selection and for setting serial communication baud rate
Text box, it is described be used for default selective value in the choice box of serial port number selection can be identified for host computer it is serial
Port numbers, described waveform display parameters setting unit include being used for setting the text box of the translative mode of data IQ forms, used
To set the text box of cache size and for setting the text box of sample frequency, described waveform shaping part point includes being used for
Select the select button of the passage of the data collecting system based on DSP, for choosing whether to the selected data based on DSP
Vernier shift knob that the amplitude of the passage of acquisition system measures, for choosing whether to the selected number based on DSP
The vernier shift knob that is measured according to the time of the passage of acquisition system, for showing that the selected data based on DSP are adopted
The text box of the amplitude of the passage of collecting system, for showing the time of the passage of the selected data collecting system based on DSP
Text box, the text box for setting vernier graduation value and for waveform movement left and right tie rod, described control section
Including start button, pause button and stop button, described start button, pause button and stop button are respectively to being tested ripple
Shape performs startup, operation suspension and the control for terminating operation, and described waveform selection part includes being used to select to show that permanent magnetism is same
Walk the position angle waveform of the rotor of the estimation of motor clicks frame, thus can be by being shown after selection in waveform display window
The position angle oscillogram of the rotor of the estimation of permagnetic synchronous motor is shown for selection.
A kind of 3. operation according to claim 2 based on visual permanent-magnet synchronous motor rotor position angle estimating system
Method, it is characterised in that step is as follows:
Step 1:Start first and be based on visual permanent-magnet synchronous motor rotor position angle estimating system, angular-rate sensor is to forever
The angular speed of the rotor of magnetic-synchro motor carries out data acquisition, and the angle of the rotor the estimation of the permagnetic synchronous motor collected
Velocity amplitude is delivered to the data collecting system based on DSP, and is run by the position angle estimation block of the rotor based on LabVIEW
Human-computer interaction interface, serial ports parameter setting part selection serial port number and serial communication baud rate on human-computer interaction interface,
And serial communication baud rate is allowed with the serial communication baud rate one set in the SCI modules in the data collecting system based on DSP
Cause;
Step 2:In the even-odd check to serial communication elsewhere of the position angle estimation block of the rotor based on LabVIEW
Position, data bits and stop position are configured, described to the parity check bit of serial communication, data bits and stop position
The value of setting is respectively the same as parity check bit, the number of the serial communication set in the SCI modules in the data collecting system based on DSP
It is consistent with the value that stop position is set according to bit;
Step 3:In addition for setting the text box of the translative mode of data IQ forms, for setting the text box of cache size
And for setting the translative mode, cache size and sampling that are carried out respectively in the text box of sample frequency to data IQ forms
The setting of frequency, by using selecting the select button of the passage of the data collecting system based on DSP to carry out to the number based on DSP
According to the selection of the passage of acquisition system, by using choosing whether the passage to the selected data collecting system based on DSP
Amplitude measure vernier shift knob, for choosing whether to the logical of the selected data collecting system based on DSP
Vernier shift knob that the time in road measures and for setting the text box of vernier graduation value to be made whether respectively to quilt
The amplitude of the passage of the data collecting system based on DSP of selection, which measures, to make a choice, whether is based on DSP to selected
Time of passage of data collecting system measure and make a choice and set vernier graduation value;
Step 4:The position angle waveform of the rotor of the estimation of selection display permagnetic synchronous motor is selected to by point clicks frame
To select the waveform classification of the position angle of the rotor of the estimation of permagnetic synchronous motor shown in waveform display window, thus
Complete Initialize installation;
Step 5:Then after start button is clicked, the position angle estimation block of the rotor based on LabVIEW just
Measurement instruction is sent to the data collecting system based on DSP by RS232 interface, and described measurement instruction includes initialization and set
The information put, and the position angle estimation block of the rotor based on LabVIEW is provided with internal memory for preserving currently initially
Change the array of the information set, every time before the information that current initialization is set is preserved, the first letter that current initialization is set
Breath is stored in the last time compared with the information of the last Initialize installation in the array, just will just currently if variant
The information that beginningization is set is saved in the array of the information for preserving current initialization setting, if without difference, for protecting
The data for depositing the array of the information of current initialization setting keep constant;
Step 6:When the data collecting system based on DSP receive via RS232 interface 8 transmit come include Initialize installation
Information measurement instruction, the permanent-magnet synchronous that will be shown according to the selection in the information of Initialize installation in waveform display window
The waveform classification of the position angle of the rotor of the estimation of motor and selection to the passage of the data collecting system based on DSP are real
When the corresponding angular velocity data of the waveform classification of the position angle of the rotor of the estimation of same permagnetic synchronous motor that gathers pass through
The passage of selection is sent in host computer;
Step 7:After host computer receives angular velocity data, the position angle estimation block of the rotor based on LabVIEW just sets slow
Area is deposited to store the angular velocity data received, serial communication is every time using 4 bytes as one group of transceiving data, the angle received
Speed data is the data of IQ forms, and the angular velocity data received so is converted into the common decimal system by format conversion again
Waveform True Data represented by signed number, the concrete mode of format conversion are first to judge the angular velocity data received just
Negative sign attribute exports signed number, and signed number is again that can obtain the True Data of angular speed by inverse operation, and using public
Formula (1) come order obtain from the 1st to the estimation in+1 sampling period of kth rotor position angle:
θS(k+1)=θS(k)+ω(k)TS (1)
Wherein θS(k+1) for+1 sampling period of kth estimation rotor position angle,
θS(k) for k-th sampling period estimation rotor position angle, ω (k) is the angular speed in k-th of sampling period
True Data, TSFor a sampling period, k is the integer more than or equal to 0, be resulting in all from the 1st to+1 sampling of kth
The waveform True Data of the position angle of the rotor of the estimation of phase, waveform True Data are stored in buffer area in case generating observation
Waveform, when data are deposited, circulate each time, the data newly read all can be stored in buffer area by array by rearward displacement
Foremost, the data that array afterbody removes will be removed;
Step 8:Waveform True Data in buffer area is sent to waveform display window and is directed to turning for corresponding permagnetic synchronous motor
Son position angle shown in the form of amplitude versus time curve, or in instrument display portion by pointer shape icon in circle
Indicated in arcuation scale zone and in the corresponding text for being used for showing the position angle angle value of the rotor of the estimation of permagnetic synchronous motor
Display location angle value in this frame.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410364111.0A CN104166791B (en) | 2014-07-28 | 2014-07-28 | Based on visual permanent-magnet synchronous motor rotor position angle estimating system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410364111.0A CN104166791B (en) | 2014-07-28 | 2014-07-28 | Based on visual permanent-magnet synchronous motor rotor position angle estimating system and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104166791A CN104166791A (en) | 2014-11-26 |
CN104166791B true CN104166791B (en) | 2018-03-27 |
Family
ID=51910600
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410364111.0A Expired - Fee Related CN104166791B (en) | 2014-07-28 | 2014-07-28 | Based on visual permanent-magnet synchronous motor rotor position angle estimating system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104166791B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105720880B (en) * | 2015-12-01 | 2017-07-21 | 清华大学 | A kind of motor corner real-time estimation method and device |
CN106526214A (en) * | 2016-11-02 | 2017-03-22 | 中车株洲电力机车研究所有限公司 | Angular velocity calculation method and apparatus |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1862232A (en) * | 2005-05-13 | 2006-11-15 | 比亚迪股份有限公司 | System and method for estimating side drift angle of motor vehicle |
-
2014
- 2014-07-28 CN CN201410364111.0A patent/CN104166791B/en not_active Expired - Fee Related
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1862232A (en) * | 2005-05-13 | 2006-11-15 | 比亚迪股份有限公司 | System and method for estimating side drift angle of motor vehicle |
Non-Patent Citations (3)
Title |
---|
基于LabVIEW和DSP串口的多通道电机参数采集系统;徐华忠;《电子测量技术》;20110415;第34卷(第4期);第66页第1行-第69页倒数第1行 * |
基于LabVIEW的步进电机测控系统设计;董志斌;《企业技术开发》;20130416;第32卷(第11期);第9页左栏第1行-第10页左栏第3行 * |
基于LabVIEW的永磁同步电机测试系统研究;吴丽花;《中国优秀硕士学位论文全文数据库工程科技II辑》;20140515(第5期);第17,20,23-24页 * |
Also Published As
Publication number | Publication date |
---|---|
CN104166791A (en) | 2014-11-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102778580B (en) | Method for detecting speed of permanent-magnetic synchronous motor | |
CN103604964B (en) | A kind of method improving mixing oscillograph digital channel waveform capture rate | |
CN105548681B (en) | The measuring method and its device of a kind of power factor | |
CN102903134A (en) | Method for rapidly drawing curves multiple times | |
CN104166791B (en) | Based on visual permanent-magnet synchronous motor rotor position angle estimating system and method | |
CN103248794A (en) | Line-field synchronizing signal generating device with adjustable resolution | |
CN106645780A (en) | Rotating speed detection method and system base on DSP | |
CN104166010A (en) | Visualization-based rotation speed interruption type detection system and method of PMSM | |
CN103176013B (en) | A kind of oscillograph and its implementation that can customize measurement range | |
CN104166009A (en) | Visualization-based rotation speed polling type detection system and method of PMSM | |
CN103630721A (en) | Method for improving mixed oscillograph digital channel waveform capture rate | |
CN104199336B (en) | Visualization based permanent magnet synchronous motor torque detecting system and method | |
CN104167970B (en) | The permanent magnet synchronous motor vector control system and method for visual control back-emf | |
CN102426291A (en) | Single-phase multifunctional electric quantity instrument and measuring method thereof | |
CN104181466B (en) | 3S/2S, which becomes, changes permanent-magnetic synchronous motor stator current detecting system and method | |
CN104201951B (en) | The control system for permanent-magnet synchronous motor and method of the phase back-emf of visual control two | |
CN106559022B (en) | A kind of AC servo motor position control system | |
CN104166040B (en) | Permanent-magnetic synchronous motor stator voltage detecting system and method under two phase inversions | |
CN205750426U (en) | A kind of hydraulic crawler excavator test system | |
CN109194199A (en) | parallel motor driver | |
CN205691744U (en) | The analog of a kind of rotary transformer and the measurement system of motor driver | |
CN104166041B (en) | Permanent-magnetic synchronous motor stator voltage detecting system and method are changed in 3S/2S changes | |
CN105573754B (en) | A kind of design method of spectrum analyzer software frame class libraries | |
CN207799099U (en) | A kind of observation device of enhancing controllable source electromagnetic method acquisition signal | |
CN106862723B (en) | A kind of CO2Welding parameter monitoring method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20210527 Address after: 215000 455 and 459 Juyuan street, Yuanhe street, Xiangcheng District, Suzhou City, Jiangsu Province Patentee after: Suzhou Puzhi safety training Co.,Ltd. Address before: No. 688, Tianshengqiao Avenue, yongyang Town, Lishui District, Nanjing City, Jiangsu Province, 210000 Patentee before: NANJING INSTITUTE OF RAILWAY TECHNOLOGY |
|
TR01 | Transfer of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180327 Termination date: 20210728 |
|
CF01 | Termination of patent right due to non-payment of annual fee |