CN104166039B - Based on visual permanent-magnetic synchronous motor stator current detecting system and method - Google Patents
Based on visual permanent-magnetic synchronous motor stator current detecting system and method Download PDFInfo
- Publication number
- CN104166039B CN104166039B CN201410362286.8A CN201410362286A CN104166039B CN 104166039 B CN104166039 B CN 104166039B CN 201410362286 A CN201410362286 A CN 201410362286A CN 104166039 B CN104166039 B CN 104166039B
- Authority
- CN
- China
- Prior art keywords
- phase windings
- current
- synchronous motor
- permanent
- 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.)
- Active
Links
Landscapes
- Tests Of Circuit Breakers, Generators, And Electric Motors (AREA)
- Control Of Ac Motors In General (AREA)
Abstract
One kind is based on visual permanent-magnetic synchronous motor stator current detecting system and its method, contactless hall effect current sensor is respectively the same as the first input pin of the data collecting system based on DSP with SCI modules, second input pin and the 3rd input pin are connected, the described data collecting system based on DSP is also connected by RS232 interface with host computer, described host computer carries the stator current detection module based on LabVIEW, also include VISA modules in described host computer, and the complexity degree of increase system of the prior art can be effectively avoided with reference to its method, and need to use oscillograph, oscillograph involves great expense, and the flimsy defect of probe.
Description
Technical field
The invention belongs to permanent-magnetic synchronous motor stator current technique field, and in particular to one kind is same based on visual permanent magnetism
Walk motor stator current detecting system and its method.
Background technology
Permasyn morot is a non-linear, time variation and probabilistic complex control object.In permanent-magnet synchronous
Generally use vector controlled in the governing system of motor, vector control technology development it is more early, its AC speed regulating field apply compared with
For maturation.In the higher transmission system of precision, the speed adjustable range of vector control technology can reach the 10000 of system requirements:1 with
On, it can also reach 5000 in servo field:1~10000:1.
Parameter as observation stator current is usually required in the vector controlled experiment of permagnetic synchronous motor, it is general to use
Analog signal is observed, it is necessary to build extra analog circuit, so as to increase the complexity degree of system, and needs to use oscillography
Device, oscillograph involve great expense, and it is fragile to pop one's head in.
The content of the invention
It is an object of the invention to provide one kind to be based on visual permanent-magnetic synchronous motor stator current detecting system and its method,
Contactless hall effect current sensor is respectively the same as the first input of the data collecting system based on DSP with SCI modules
Pin, the second input pin and the 3rd input pin are connected, and the data collecting system based on DSP also passes through RS232
Interface is connected with host computer, and described host computer carries the stator current detection module based on LabVIEW, described host computer
In also include VISA modules, and the complexity degree of increase system of the prior art can be effectively avoided with reference to its method, and need
Oscillograph is used, oscillograph involves great expense, and flimsy defect of popping one's head in.
In order to overcome deficiency of the prior art, the invention provides one kind to be based on visual permanent-magnetic synchronous motor stator
The solution of current detecting system and its method, it is specific as follows:
One kind is based on visual permanent-magnetic synchronous motor stator current detecting system, is included in permanent-magnetic synchronous motor stator
The first contactless Hall effect current sensing is respectively arranged with by A phase windings, B phase windings and C group windings in three-phase windings
Device 1, the second contactless 2 and the 3rd contactless hall effect current sensor 3 of hall effect current sensor, described
One contactless hall effect current sensor 1, the second contactless hall effect current sensor 2 and the 3rd are contactless suddenly
Your effects current sensor 3 can be respectively induced out the electric current of the A phase windings of three-phase windings, B phase windings and C group windings, described
The first contactless hall effect current sensor 1, the second contactless hall effect current sensor 2 and the 3rd it is non-contact
Formula hall effect current sensor 3 is respectively the same as the first input pin of the data collecting system 4 based on DSP with SCI modules
5th, the second input pin 6 is connected with the 3rd input pin 7, and the data collecting system 4 based on DSP also passes through RS232
Interface 8 is connected with host computer 9, and described host computer 9 carries the stator current detection module 10 based on LabVIEW, described
Also include VISA modules in host computer 9.
The described stator current detection module 10 based on LabVIEW includes human-computer interaction interface, described man-machine friendship
Mutual interface includes operation interface part and display interface part, and described operation interface part is to pass through the progress to operation interface
The stator current detection module 10 based on LabVIEW can just be passed through after operation instruction is sent to host computer 9;Described display interface
Part is divided into waveform display portion and instrument display portion, and described waveform display portion is able to detect that permanent magnetism in selected scope
The whole change procedure of the stator current data of synchronous motor;Described instrument display portion can stablize display permanent magnet synchronous electric
The data of the stator current of machine.
Described waveform display portion pass through waveform display window show permagnetic synchronous motor stator current amplitude-when
Half interval contour, described instrument display portion include three arc-shaped scale zones, described three arc-shaped scale zones point
Current value range, the permanent-magnetic synchronous motor stator of the A phase windings in the three-phase windings of permanent-magnetic synchronous motor stator Yong Lai not represented
Three-phase windings in the current value range of B phase windings and C phase windings in the three-phase windings of permanent-magnetic synchronous motor stator
Current value range, is each provided with a pointer shape icon below described three arc-shaped scale zones, described three
It is respectively arranged with above arc-shaped scale zone for showing the A phase windings in the three-phase windings of permanent-magnetic synchronous motor stator
The text box and permanent magnetism of the current value of B phase windings in the text box of current value, the three-phase windings of permanent-magnetic synchronous motor stator
The text box of the current value of C phase windings in the three-phase windings of synchronous motor stator.
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 current waveform of A phase windings in the three-phase windings of permanent-magnetic synchronous motor stator clicks frame, for selecting to show permanent-magnet synchronous
The current waveform of B phase windings in the three-phase windings of motor stator clicks frame and for selecting to show permanent-magnetic synchronous motor stator
Three-phase windings in the current waveforms of C phase windings click frame, thus can be by being shown after selection in waveform display window
The current waveform figure of the winding of corresponding selection.
The described method based on visual permanent-magnetic synchronous motor stator current detecting system, step are as follows:
Step 1:Start first and be based on visual permanent-magnetic synchronous motor stator current detecting system, first it is contactless suddenly
That effects current sensor 1, the second contactless 2 and the 3rd contactless Hall effect current of hall effect current sensor pass
Sensor 3 electric current to the A phase windings in the three-phase windings of permanent-magnetic synchronous motor stator, the electric current of B phase windings and C group windings respectively
Electric current carry out data acquisition, and current value the A phase windings in the three-phase windings of the permanent-magnetic synchronous motor stator collected,
The current value of B phase windings and the current value of C group windings are delivered to the data collecting system 4 based on DSP, and by based on
LabVIEW stator current detection module 10 runs human-computer interaction interface, the serial ports parameter setting part on human-computer interaction interface
Serial port number and serial communication baud rate are selected, and allows serial communication baud rate with the data collecting system 4 based on DSP
The serial communication baud rate set in SCI modules is consistent;
Step 2:In the even-odd check to serial communication elsewhere of the stator current detection module 10 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 respectively the parity check bit with the serial communication set in the SCI modules in the data collecting system 4 based on DSP,
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 electric current for the A phase windings being selected to by point in the three-phase windings of selection display permanent-magnetic synchronous motor stator
Waveform click frame, for select show permanent-magnetic synchronous motor stator three-phase windings in B phase windings current waveform point
Select frame and for selecting to show that the current waveform of the C phase windings in the three-phase windings of permanent-magnetic synchronous motor stator clicks frame to select
The current waveform classification shown in waveform display window is selected, this completes Initialize installation;
Step 5:Then after start button is clicked, the stator current detection module 10 based on LabVIEW is just
Measurement instruction is sent to the data collecting system 4 based on DSP by RS232 interface 8, described measurement instruction includes initially
Change the information set, and the stator current detection module 10 based on LabVIEW is provided with internal memory for preserving currently just
The array for the information that beginningization is set, every time before the information that current initialization is set is preserved, first current initialization is set
Information is stored in the last time compared with the information of the last Initialize installation in the array, just will be current if variant
The information of Initialize installation is saved in the array of the information for preserving current initialization setting, if without difference, is used for
The data for preserving the array for the information that current initialization is set keep constant;
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, the electricity that will be shown according to the selection in the information of Initialize installation in waveform display window
It is with the selection of the passage to the data collecting system based on DSP that the same current waveform classification gathered in real time is relative to flow waveform classification
The current data answered is sent in host computer 9 by the passage of selection;
Step 7:After host computer 9 receives current data, the stator current detection module 10 based on LabVIEW just sets slow
Area is deposited to store the current data received, serial communication is every time using 4 bytes as one group of transceiving data, the electric current received
Transmission of data is the data of IQ forms, and the electric current transmission of data received so is converted into the common decimal system by format conversion again has
Waveform True Data represented by symbolic number, the concrete mode of format conversion are the positive and negative of the electric current transmission of data that first judges to receive
Number attribute exports signed number, and signed number can obtain waveform True Data by inverse operation again, waveform True Data is protected
It is stored in buffer area in case generating and observes waveform, when data are deposited, circulate each time, array can all pass through rearward displacement will be new
The data read are stored in buffer area foremost, and 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 corresponding permagnetic synchronous motor
Stator current 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 show the electricity of the A phase windings in the three-phase windings of permanent-magnetic synchronous motor stator corresponding
The text box or permanent magnetism of the current value of B phase windings in the text box of flow valuve, the three-phase windings of permanent-magnetic synchronous motor stator are same
Walk in the text box of the current value of the C phase windings in the three-phase windings of motor stator and show current value.
Described the first contactless hall effect current sensor 1, the second contactless hall effect current sensor 2
With the 3rd contactless hall effect current sensor 3 respectively to the A phase windings in the three-phase windings of permanent-magnetic synchronous motor stator
Electric current, the electric current of B phase windings and the electric current of C group windings carry out the mode of data acquisition and non-can also be connect by only needing two
Touch hall effect current sensor respectively enters to the electric current of two phase windings in the three-phase windings of permanent-magnetic synchronous motor stator
Row data acquisition obtains the current value of two phase windings in the three-phase windings of permanent-magnetic synchronous motor stator, then passes through permanent-magnet synchronous
In three-phase windings of the condition that the current value sum of the three-phase windings of motor stator is 0 with regard to permanent-magnetic synchronous motor stator can be exported
The current value of an other phase winding.
During display, amplitude and time scale can also be amplified and reduce as needed the present invention, in order to
Waveform thin portion is analyzed.After realizing that waveform is shown, can also by the time amplitude vernier on panel to waveform time and
The size of amplitude measures, and realizes to measured quantitative analysis.
Brief description of the drawings
Fig. 1 is the present invention based on visual permanent-magnetic synchronous motor stator current detecting system attachment structure schematic diagram.
Embodiment
Labview is a kind of graphical virtual instrument (VI) IDE, by American National instrument (NI) company in
Research and development, come out from the first edition in 1986, experience is developed rapidly and improved for nearly 30 years, and its performance is greatly improved, also early
It has been proposed Chinese edition.Labview is similar to C and BASIC development environments, but different using text language programming from them,
Labview writes program using graphical author language G language (Graphical Programming Language), caused
Program is similar to a program flow diagram, and the operation interface of hommization can be designed according to designer's wish, has image straight
See, it is easy to learn, it is easy to use the advantages of.
Labview is considered as data acquisition and the instrument control software of standard, and it has one can complete any volume
The huge function library of journey task, and feature-rich VI module librarys, and there is powerful data-handling capacity.Labview is strong
Big function is attributed to the fact that the structure of its stratification, allows user that the VI programs of establishment as subroutine call, are createed more
For the stronger instrument of sophisticated functions, and the level of this calling be do not have it is conditional.Labview is because of its powerful and flexible work(
Can, many demands such as test measurement, control, emulation can be met, widely connect by industrial quarters, academia and research laboratory
By.
The asynchronous communication between Labview and slave computer DSP is realized using serial ports, is by serial ports transceiving data correctly
The basis of software monitors system.VISA (Virtual Instrument Software Architecture) is in Labview
VXI, GPIB, RS-232 and other kind of quasi-instrument single socket library are controlled in platform, is many instrument and meter company systems
One accepted standard, serial communication function can be easily realized using VISA modules.Programming need to be only realized to VISA serial ports
Correct initialization and the correct processing received and sent messages.
As shown in figure 1, being based on visual permanent-magnetic synchronous motor stator current detecting system, it is included in permagnetic synchronous motor
The first contactless Hall effect electricity is respectively arranged with by A phase windings, B phase windings and C group windings in the three-phase windings of stator
Flow sensor 1, the second contactless 2 and the 3rd contactless hall effect current sensor 3 of hall effect current sensor, institute
The first contactless hall effect current sensor 1 for stating, the second contactless hall effect current sensor 2 and the 3rd is non-connects
Touch hall effect current sensor 3 can be respectively induced out the electricity of the A phase windings of three-phase windings, B phase windings and C group windings
Stream, the described first contactless hall effect current sensor 1, the second contactless hall effect current sensor 2 and the
Three contactless hall effect current sensors 3 are respectively the same as first of the data collecting system 4 based on DSP with SCI modules
Input pin 5, the second input pin 6 are connected with the 3rd input pin 7, and the data collecting system 4 based on DSP is also logical
RS232 interface 8 to be crossed with host computer 9 to be connected, described host computer 9 carries the stator current detection module 10 based on LabVIEW,
Also include VISA modules in described host computer 9.
The described stator current detection module 10 based on LabVIEW includes human-computer interaction interface, described man-machine friendship
Mutual interface includes operation interface part and display interface part, and described operation interface part is to pass through the progress to operation interface
The stator current detection module 10 based on LabVIEW can just be passed through after operation instruction is sent to host computer 9;Described display interface
Part is divided into waveform display portion and instrument display portion, and described waveform display portion is able to detect that permanent magnetism in selected scope
The whole change procedure of the stator current data of synchronous motor;Described instrument display portion can stablize display permanent magnet synchronous electric
The data of the stator current of machine.
Described waveform display portion pass through waveform display window show permagnetic synchronous motor stator current amplitude-when
Half interval contour, waveform display window include three arc-shaped scale zones such as oscillograph window, described instrument display portion,
Three described arc-shaped scale zones are respectively intended to represent the electricity of the A phase windings in the three-phase windings of permanent-magnetic synchronous motor stator
Flow valuve scope, permanent-magnetic synchronous motor stator three-phase windings in B phase windings current value range and permagnetic synchronous motor determine
The current value range of C phase windings in the three-phase windings of son, it is each provided with below described three arc-shaped scale zones
One pointer shape icon, it is respectively arranged with for showing that permagnetic synchronous motor is determined above described three arc-shaped scale zones
The B phase windings in the text boxes of current value of A phase windings, the three-phase windings of permanent-magnetic synchronous motor stator in the three-phase windings of son
The text box of current value and the three-phase windings of permanent-magnetic synchronous motor stator in C phase windings current value text box.
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 serial communication baud rate is data transmission bauds, for setting the text of serial communication baud rate
The value one for the serial communication baud rate that the arranges value of this frame should be set in the SCI modules with the data collecting system 4 based on DSP
Cause, and parameter as the parity check bit of serial communication and stop position is in the stator current detection module 10 based on LabVIEW
Setting elsewhere, so usual data are placed on and set elsewhere, just without manually set improve efficiency, described ripple
Shape display parameters setting unit includes being used for setting the text box of the translative mode of data IQ forms, for setting cache size
Text box and for setting the text box of sample frequency, the translative mode of wherein data IQ forms is because the number based on DSP
The data that host computer 9 is sent to according to acquisition system 4 are IQ forms, and host computer 9 just needs IQ formatted datas to be converted into the decimal system
Signed number facilitates user to read according to being shown, set IQ-value i.e. determine its translative mode, typically with IQ lattice in DSP
Formula is consistent truly to reflect original waveform amplitude.What described cache size determined is the waveform array caching once shown
Size, it can be configured as desired.Described sample frequency is tested waveform sampling frequency, for accurate display waveform
Time, preferably it is consistent with DSP program samples frequencies.Described waveform shaping part point includes being used for selecting the number based on DSP
According to the select button of the passage of acquisition system, for 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, for showing the passage of the selected data collecting system based on DSP
The text box of amplitude, the text box for showing the time of the passage of the selected data collecting system based on DSP, for setting
The text box of vernier graduation value and the left and right tie rod for waveform movement are put, can be by using choosing whether to selected base
The vernier shift knob that is measured in the amplitude of the passage of DSP data collecting system and for choosing whether to selected
The vernier shift knob that the time of the passage of data collecting system based on DSP measures is tested waveform progress to respective channel
Amplitude and the measurement of time, by for setting the text box of vernier graduation value to set coordinate scale to multiply size again, realizing waveform
Stretching or compression, make up to optimal observation form.Under a halt condition, can be by the left and right tie rod that is moved for waveform
Waveform is moved left and right, convenient to observe some specific positions, described control section is pressed including start button, pause button and stopping
Button, described start button, pause button and stop button perform startup, operation suspension and terminated to tested waveform and run respectively
Control, described waveform selection part include be used for select show permanent-magnetic synchronous motor stator three-phase windings in A phases around
The current waveform of group clicks frame, the electric current for selecting to show the B phase windings in the three-phase windings of permanent-magnetic synchronous motor stator
The point for clicking frame and the current waveform for selecting to show the C phase windings in the three-phase windings of permanent-magnetic synchronous motor stator of waveform
Frame is selected, can thus pass through the current waveform figure for the winding for showing corresponding selection after selection in waveform display window.
The described method based on visual permanent-magnetic synchronous motor stator current detecting system, step are as follows:
Step 1:Start first and be based on visual permanent-magnetic synchronous motor stator current detecting system, first it is contactless suddenly
That effects current sensor 1, the second contactless 2 and the 3rd contactless Hall effect current of hall effect current sensor pass
Sensor 3 electric current to the A phase windings in the three-phase windings of permanent-magnetic synchronous motor stator, the electric current of B phase windings and C group windings respectively
Electric current carry out data acquisition, and current value the A phase windings in the three-phase windings of the permanent-magnetic synchronous motor stator collected,
The current value of B phase windings and the current value of C group windings are delivered to the data collecting system 4 based on DSP, and by based on
LabVIEW stator current detection module 10 runs human-computer interaction interface, the serial ports parameter setting part on human-computer interaction interface
Serial port number and serial communication baud rate are selected, and allows serial communication baud rate with the data collecting system 4 based on DSP
The serial communication baud rate set in SCI modules is consistent;
Step 2:In the even-odd check to serial communication elsewhere of the stator current detection module 10 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 respectively the parity check bit with the serial communication set in the SCI modules in the data collecting system 4 based on DSP,
Data bits are consistent with the value that stop position is set, and wherein parity check bit is arranged to 0, and data bits are arranged to 8, stop position
It is arranged to 1;
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 electric current for the A phase windings being selected to by point in the three-phase windings of selection display permanent-magnetic synchronous motor stator
Waveform click frame, for select show permanent-magnetic synchronous motor stator three-phase windings in B phase windings current waveform point
Select frame and for selecting to show that the current waveform of the C phase windings in the three-phase windings of permanent-magnetic synchronous motor stator clicks frame to select
The current waveform classification shown in waveform display window is selected, this completes Initialize installation;
Step 5:Then after start button is clicked, the stator current detection module 10 based on LabVIEW is just
Measurement instruction is sent to the data collecting system 4 based on DSP by RS232 interface 8, described measurement instruction includes initially
Change the information set, and the stator current detection module 10 based on LabVIEW is provided with internal memory for preserving currently just
The array for the information that beginningization is set, every time before the information that current initialization is set is preserved, first current initialization is set
Information is stored in the last time compared with the information of the last Initialize installation in the array, just will be current if variant
The information of Initialize installation is saved in the array of the information for preserving current initialization setting, if without difference, is used for
The data for preserving the array for the information that current initialization is set keep constant;
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, the electricity that will be shown according to the selection in the information of Initialize installation in waveform display window
It is with the selection of the passage to the data collecting system based on DSP that the same current waveform classification gathered in real time is relative to flow waveform classification
The current data answered is sent in host computer 9 by the passage of selection;
Step 7:After host computer 9 receives current data, the stator current detection module 10 based on LabVIEW just sets slow
Area is deposited to store the current data received, serial communication is every time using 4 bytes as one group of transceiving data, due to based on DSP
Data collecting system sends is 16 IQ form Wave datas, so corresponding 2 bytes of Wave data, a serial ports
Communication can transmit 2 numbers.It is IQ forms plus the data received, wants the measured true amplitude of reflection, receive
Electric current transmission of data is the data of IQ forms, and the electric current transmission of data received so is converted into common ten by format conversion again and entered
The waveform True Data represented by symbolic number is formed with, in order to mitigate DSP data processing loads, by the conversion process in host computer
Middle realization.The concrete mode of format conversion is the sign attribute of electric current transmission of data that first judges to receive to have exported symbol
Number, signed number can obtain waveform True Data by inverse operation again, and waveform True Data is stored in buffer area in case raw
Into observation waveform, when data are deposited, circulate each time, the data newly read can be all stored in by array by rearward displacement
Buffer area 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 corresponding permagnetic synchronous motor
Stator current 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 show the electricity of the A phase windings in the three-phase windings of permanent-magnetic synchronous motor stator corresponding
The text box or permanent magnetism of the current value of B phase windings in the text box of flow valuve, the three-phase windings of permanent-magnetic synchronous motor stator are same
Walk in the text box of the current value of the C phase windings in the three-phase windings of motor stator and show current value.Described first is non-contact
Formula hall effect current sensor 1, the second contactless 2 and the 3rd contactless Hall effect of hall effect current sensor electricity
Flow sensor 3 electric current to the A phase windings in the three-phase windings of permanent-magnetic synchronous motor stator, the electric current of B phase windings and C groups respectively
The electric current of winding carry out data acquisition mode can also by only need two contactless hall effect current sensors come
Data acquisition is carried out to obtain permanent-magnet synchronous to the electric current of two phase windings in the three-phase windings of permanent-magnetic synchronous motor stator respectively
The current value of two phase windings in the three-phase windings of motor stator, then the electric current for the three-phase windings for passing through permanent-magnetic synchronous motor stator
The current value of an other phase winding in three-phase windings of the condition that value sum is 0 with regard to permanent-magnetic synchronous motor stator can be exported.
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 (1)
- A kind of 1. method based on visual permanent-magnetic synchronous motor stator current detecting system, it is characterised in that based on visualization Permanent-magnetic synchronous motor stator current detecting system be included in A phase windings in the three-phase windings of permanent-magnetic synchronous motor stator, B phases The first contactless hall effect current sensor, the second contactless Hall effect are respectively arranged with by winding and C group windings Current sensor and the 3rd contactless hall effect current sensor, the described first contactless Hall effect current sensing Device, the second contactless hall effect current sensor and the 3rd contactless hall effect current sensor can be respectively induced Go out the electric current of the A phase windings of three-phase windings, B phase windings and C group windings, the described first contactless Hall effect current sensing Device, the second contactless hall effect current sensor and the 3rd contactless hall effect current sensor are same respectively to be carried The first input pin, the second input pin and the 3rd input pin of the data collecting system based on DSP of SCI modules are connected Connect, the data collecting system based on DSP is also connected by RS232 interface with host computer, and described host computer carries Stator current detection module based on LabVIEW, also include VISA modules in described host computer;It is described based on LabVIEW stator current detection module includes human-computer interaction interface, and described human-computer interaction interface includes operation interface portion Point it is by just can be by being based on after the operating of operation interface with display interface part, described operation interface part LabVIEW stator current detection module sends to host computer and instructed;Described display interface part is divided into waveform display portion With instrument display portion, described waveform display portion is able to detect that the stator current number of selected scope interior permanent-magnet synchronous motor According to whole change procedure;Described instrument display portion can stablize the data of the stator current of display permagnetic synchronous motor;Described waveform display portion shows that the amplitude versus time of the stator current of permagnetic synchronous motor is bent by waveform display window Line, described instrument display portion include three arc-shaped scale zones, and described three arc-shaped scale zones are used respectively Come represent the current value range of the A phase windings in the three-phase windings of permanent-magnetic synchronous motor stator, permanent-magnetic synchronous motor stator three The electric current of the C phase windings in the current value range of B phase windings and the three-phase windings of permanent-magnetic synchronous motor stator in phase winding It is worth scope, a pointer shape icon, described three circular arcs is each provided with below described three arc-shaped scale zones The electric current for showing the A phase windings in the three-phase windings of permanent-magnetic synchronous motor stator is respectively arranged with above shape scale zone The text box and permanent-magnet synchronous of the current value of B phase windings in the text box of value, the three-phase windings of permanent-magnetic synchronous motor stator The text box of the current value of C phase windings in the three-phase windings of motor stator;Described operation interface part includes serial ports parameter setting part, waveform selection part, waveform shaping part point, control section And waveform display parameters setting unit, described serial ports parameter setting part are used for the initialization to the parameter of serial communication, Described serial ports parameter setting part includes for the choice box of serial port number selection and for setting serial communication baud The text box of rate, described is used for the string that default selective value can identify for host computer in the choice box of serial port number selection Row port numbers, the text box of translative mode of the described waveform display parameters setting unit including being used for setting data IQ forms, For setting the text box of cache size and for setting the text box of sample frequency, described waveform shaping part point includes use To select the select button of the passage of the data collecting system based on DSP, for choosing whether to the selected number based on DSP The vernier shift knob that is measured according to the amplitude of the passage of acquisition system, for choosing whether to selected based on DSP's Vernier shift knob that the time of the passage of data collecting system measures, for showing the selected data based on DSP The text box of the amplitude of the passage of acquisition system, for show the passage of the selected data collecting system based on DSP when Between text box, the text box for setting vernier graduation value and for waveform movement left and right tie rod, described control unit Dividing includes start button, pause button and stop button, and described start button, pause button and stop button are respectively to tested Waveform performs startup, operation suspension and the control for terminating operation, and described waveform selection part includes being used to select to show permanent magnetism The current waveform of A phase windings in the three-phase windings of synchronous motor stator clicks frame, for selecting to show permagnetic synchronous motor The current waveform of B phase windings in the three-phase windings of stator clicks frame and for selecting to show the three of permanent-magnetic synchronous motor stator The current waveform of C phase windings in phase winding clicks frame, thus can be corresponding by being shown after selection in waveform display window The current waveform figure of the winding of selection;And the side based on visual permanent-magnetic synchronous motor stator current detecting system Method, it is characterised in that step is as follows:Step 1:Start first and be based on visual permanent-magnetic synchronous motor stator current detecting system, the first contactless Hall effect Induced current sensor, the second contactless hall effect current sensor and the 3rd contactless hall effect current sensor point The electric current of the electric current of A phase windings in the other three-phase windings to permanent-magnetic synchronous motor stator, the electric current of B phase windings and C group windings Carry out data acquisition, and current value the A phase windings in the three-phase windings of the permanent-magnetic synchronous motor stator collected, B phases around The current value of group and the current value of C group windings are delivered to the data collecting system based on DSP, and by being determined based on LabVIEW Electron current detection module runs human-computer interaction interface, and serial ports parameter setting part selects serial port number on human-computer interaction interface With serial communication baud rate, and serial communication baud rate is allowed with setting in the SCI modules in the data collecting system based on DSP Serial communication baud rate is consistent;Step 2:In the parity check bit to serial communication, the number elsewhere of the stator current detection module based on LabVIEW It is configured according to bit and stop position, it is described that the parity check bit of serial communication, data bits and stop position are set The value parity check bit with the serial communication set in the SCI modules in the data collecting system 4 based on DSP, data respectively Bit is 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 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 current waveform for the A phase windings being selected to by point in the three-phase windings of selection display permanent-magnetic synchronous motor stator Click frame, for selecting to show that the current waveform of the B phase windings in the three-phase windings of permanent-magnetic synchronous motor stator clicks frame With for selecting to show that the current waveform of the C phase windings in the three-phase windings of permanent-magnetic synchronous motor stator clicks frame to select The current waveform classification that waveform display window is shown, this completes Initialize installation;Step 5:Then after start button is clicked, the stream detection mould of stator electricity claims 5 based on LabVIEW Measurement instruction is just sent to the data collecting system based on DSP by block by RS232 interface, and described measurement instruction includes just The information that beginningization is set, and the stator current detection module based on LabVIEW is provided with internal memory for preserving currently just The array for the information that beginningization is set, every time before the information that current initialization is set is preserved, first current initialization is set Information is stored in the last time compared with the information of the last Initialize installation in the array, just will be current if variant The information of Initialize installation is saved in the array of the information for preserving current initialization setting, if without difference, is used for The data for preserving the array for the information that current initialization is set keep constant;Step 6:When the data collecting system based on DSP receive via RS232 interface transmission come include Initialize installation Information measurement instruction, the current waveform that will be shown according to the selection in the information of Initialize installation in waveform display window Classification and selection to the passage of the data collecting system based on DSP are the corresponding electricity of the same current waveform classification gathered in real time Flow data is sent in host computer by the passage of selection;Step 7:After host computer receives current data, the stator current detection module based on LabVIEW just set buffer area come The current data received is stored, serial communication is every time using 4 bytes as one group of transceiving data, the electric current transmission of data received For the data of IQ forms, the electric current transmission of data received is so converted into common decimal system signed number by format conversion again Represented waveform True Data, the concrete mode of format conversion are the sign attribute of electric current transmission of data for first judging to receive To export signed number, signed number can obtain waveform True Data by inverse operation again, and waveform True Data is stored in slow Deposit in area in case generating and observe waveform, when data are deposited, circulate each time, array, which can all pass through rearward displacement, newly to be read Data be stored in buffer area 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 determining for corresponding permagnetic synchronous motor Electron current shown in the form of amplitude versus time curve, or in instrument display portion by pointer shape icon in arc-shaped Indicated in scale zone and show the current value of the A phase windings in the three-phase windings of permanent-magnetic synchronous motor stator corresponding Text box, permanent-magnetic synchronous motor stator three-phase windings in B phase windings current value text box or permanent magnet synchronous electric Current value is shown in the text box of the current value of C phase windings in the three-phase windings of machine stator;Described first it is contactless suddenly You sense effects current sensor, the second contactless hall effect current sensor and the 3rd contactless Hall effect current The device electric current to the A phase windings in the three-phase windings of permanent-magnetic synchronous motor stator, the electric current of B phase windings and C group windings respectively The mode that electric current carries out data acquisition can also be by only needing two contactless hall effect current sensors come right respectively The electric current of two phase windings in the three-phase windings of permanent-magnetic synchronous motor stator carries out data acquisition to be determined to obtain permagnetic synchronous motor The current value of two phase windings in the three-phase windings of son, then the current value sum for the three-phase windings for passing through permanent-magnetic synchronous motor stator For the current value of the other phase winding in 0 three-phase windings of the condition with regard to permanent-magnetic synchronous motor stator can be exported.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410362286.8A CN104166039B (en) | 2014-07-28 | 2014-07-28 | Based on visual permanent-magnetic synchronous motor stator current detecting system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410362286.8A CN104166039B (en) | 2014-07-28 | 2014-07-28 | Based on visual permanent-magnetic synchronous motor stator current detecting system and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104166039A CN104166039A (en) | 2014-11-26 |
CN104166039B true CN104166039B (en) | 2017-11-10 |
Family
ID=51909944
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410362286.8A Active CN104166039B (en) | 2014-07-28 | 2014-07-28 | Based on visual permanent-magnetic synchronous motor stator current detecting system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104166039B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109298662A (en) * | 2018-09-30 | 2019-02-01 | 哈工大机器人(山东)智能装备研究院 | The data collection system and its display methods of man-machine interface are realized based on labview |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1787355A (en) * | 2005-06-16 | 2006-06-14 | 谭启仁 | Monolithic apparatus PWM Controller for brushless DC motor of sensor-free electrical vehicle |
CN102109575A (en) * | 2009-12-25 | 2011-06-29 | 上海微电子装备有限公司 | Method, device and system for testing linear motor based on virtual instrument |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8531141B2 (en) * | 2011-02-28 | 2013-09-10 | Deere & Company | System for calibrating an electrical control system |
-
2014
- 2014-07-28 CN CN201410362286.8A patent/CN104166039B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1787355A (en) * | 2005-06-16 | 2006-06-14 | 谭启仁 | Monolithic apparatus PWM Controller for brushless DC motor of sensor-free electrical vehicle |
CN102109575A (en) * | 2009-12-25 | 2011-06-29 | 上海微电子装备有限公司 | Method, device and system for testing linear motor based on virtual instrument |
Non-Patent Citations (1)
Title |
---|
永磁同步伺服电机自动测试系统的设计研究;谭斐文;《中国优秀硕士学位论文全文数据库工程科技Ⅱ辑》;20061215(第12期);论文的第1、7、18、20-32、34-35、37-51页 * |
Also Published As
Publication number | Publication date |
---|---|
CN104166039A (en) | 2014-11-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103698677B (en) | Low-tension arc fault test and analytical system | |
CN104062570A (en) | Power transformer partial discharge signal frequency-selecting method | |
CN104236893A (en) | Performance parameter test system and performance parameter test method of hydraulic damper | |
CN104848890A (en) | Parameter testing system for variable frequency speed-regulating motor | |
CN204679101U (en) | The parameter test system of frequency-conversion and speed-regulation motor | |
CN202582586U (en) | Signal acquisition instrument online calibration system | |
CN104166039B (en) | Based on visual permanent-magnetic synchronous motor stator current detecting system and method | |
CN104181466B (en) | 3S/2S, which becomes, changes permanent-magnetic synchronous motor stator current detecting system and method | |
CN104166010A (en) | Visualization-based rotation speed interruption type detection system and method of PMSM | |
CN104166791B (en) | Based on visual permanent-magnet synchronous motor rotor position angle estimating system and method | |
CN102866881B (en) | The vague generalization of vector network analyzer data conversion and the implementation method of parallelization | |
CN104166041B (en) | Permanent-magnetic synchronous motor stator voltage detecting system and method are changed in 3S/2S changes | |
CN114859149A (en) | Test system for electrical parameters of rotary encoder | |
CN202794393U (en) | Algorithm open-source handheld virtual testing and measuring device based on field programmable gate array (FPGA) technology | |
CN104201951B (en) | The control system for permanent-magnet synchronous motor and method of the phase back-emf of visual control two | |
CN104166040B (en) | Permanent-magnetic synchronous motor stator voltage detecting system and method under two phase inversions | |
CN104199336B (en) | Visualization based permanent magnet synchronous motor torque detecting system and method | |
CN202205078U (en) | Multi-channel data acquisition equipment | |
CN105547581A (en) | Method for making cloud chart of outlet pressure of turbo machine rotor | |
CN108981787A (en) | Measuring system and measurement method based on LabVIEW | |
CN203012163U (en) | Analog seismic signal generator | |
CN104167970B (en) | The permanent magnet synchronous motor vector control system and method for visual control back-emf | |
CN104062571A (en) | Power transformer partial discharging signal windowing display method | |
CN103033854B (en) | Analog seismic signal generator | |
CN202948116U (en) | Three-phase asynchronous motor performance testing device |
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 | ||
TR01 | Transfer of patent right |
Effective date of registration: 20200213 Address after: No. 1501, 15 / F, unit 1, building 9, No. 76 Cuizhu street, Zhengzhou hi tech Industrial Development Zone, Zhengzhou City, Henan Province 450011 Patentee after: Zhengzhou Tongxiao Data Technology Co., Ltd Address before: 210000, No. 688, Tianshengqiao Avenue, Yong Yang Town, Lishui District, Jiangsu, Nanjing Patentee before: Nanjing Institute of Railway Technology |