A kind of motor protecter and the method being used for itTechnical field
Embodiments of the invention relate generally to machine field, protect more particularly, to a kind of motorProtect device and the method for it.
Background technology
The effect of motor protecter is comprehensively to protect to motor, motor occur overload, phase shortage,Stall, short circuit, overvoltage, under-voltage, electric leakage, three-phase imbalance, overheated, bearing wear, fixedDuring rotor eccentricity, reported to the police or protected.
At present, motor protecter by its perfect defencive function and flexibly control mode existVarious industries are used widely.Owing to usual motor is arranged on industry spot, and electric motor protectingDevice is then arranged in the control room of an on-the-spot segment distance, thus motor protecter is applied at the sceneTime typically require access network so that user's long-range monitoring motor state or control motor action.Therefore, remotely monitor for user and control the function of motor and be just particularly important.ConventionalIndustrial network have network communication protocol Modbus, CANOPEN, facility network DeviceNet,Field smart node and Ethernet Ethernet.The user of different industries can be according to selfDemand selects different communications protocol, and this just requires that motor protecter supports multiple kinds,To meet the use demand of different industries user.
Current existing motor protecter the most only supports two to three kinds in multiple kindsCommunications protocol, can realize the communication mould that the motor protecter of multiple kinds then needs to addBlock.
There is also a kind of motor protecter to realize five kinds in the case of not add-on module and lead toNews agreement, but structure is complicated.This motor protecter needs to use two MCU (microcontrollerUnit), main MCU is used for doing electric motor protecting, and another one MCU is specifically used to realize communicationFunction, carries out data by UART (universal asynchronous receiving-transmitting transmitter) between two MCUExchange, is easily subject to interference, and its communication reliability is the highest.Especially realize Profibus lead toDuring news, also outside communication MCU, to add a special Profibus ASIC (special integratedCircuit), therefore cost is the highest.
Therefore, in existing technical scheme, motor protecter structure is complicated and relatively difficult to achieveSupport multiple kinds simultaneously.
Summary of the invention
For problems of the prior art, on the one hand, embodiments of the invention propose onePlant motor protecter, including: single processing unit, it allows by various communications protocolsOne or more produce the information of described motor protecter to transmit on a communication network, withAnd at least one communication interface, for transmitting described motor protecter on described communication networkInformation.
In one embodiment, described communication protocol packet include network communication protocol Modbus,CANOPEN, facility network DeviceNet, field smart node and Ethernet Ethernet.
In one embodiment, when using field smart node agreement, described singleProcessing unit in run Profibus protocol stack, and described single processing unit also includesFor realizing the programmable module of field data chain circuit function.
In one embodiment, the kernel of described single processing unit and described programmable moduleBetween realize real-time Communication for Power by enhancement mode direct memory access EDMA.
In one embodiment, at each communication interface of at least one communication interface describedThe information of described motor protecter is formatted according to different communication protocol.
In one embodiment, at each communication interface of at least one communication interface describedThe information of described motor protecter according to communication protocol corresponding in described various communications protocolsFormatted.
In one embodiment, described single processing unit permission user selects described multiple logicalOne or more in letter agreement.
In one embodiment, at least one communication interface described includes transceiver.
On the other hand, embodiments of the invention also propose a kind of side for motor protecterMethod, including: use single processing unit to be produced by one or more in various communications protocolsThe information of the described motor protecter that life to transmit on a communication network, and use at least oneThe information of described motor protecter is transmitted on communication network described in communication interface.
In one embodiment, described communication protocol packet include network communication protocol Modbus,CANOPEN, facility network DeviceNet, field smart node and Ethernet Ethernet.
In one embodiment, the method also includes: when using field smart node agreementTime, described single processing unit runs Profibus protocol stack, and uses described listThe individual programmable module in processing unit realizes field data chain circuit function.
In one embodiment, the method also includes: by enhancement mode direct memory accessEDMA realizes real between the kernel and described programmable module of described single processing unitShi Tongxin.
In one embodiment, the method also includes: according to different communication protocol to described extremelyThe information of the described motor protecter in each communication interface of a few communication interface carries out latticeFormula.
In one embodiment, the method also includes: according to corresponding in described various communications protocolsCommunication protocol at least one communication interface described each at described motor protecterInformation format.
In one embodiment, the method also includes: allow user to select described multiple communication protocolsOne or more in view.
In one embodiment, at least one communication interface described includes transceiver.
These and other aspects of the invention is apparent with reference to embodiments described hereinafter, and will illustrate with reference to embodiments described hereinafter.And, the technology of this areaPersonnel are it will be appreciated that the side of two or more above above-mentioned option, embodiment and/or the present inventionFace is to think that available any mode can be in conjunction with.
Accompanying drawing explanation
By way of example rather than by ways to restrain, illustrate embodiments of the invention,In the figure of accompanying drawing:
Fig. 1 shows the general frame of the motor protecter of prior art;
Fig. 2 shows the hardware configuration signal of motor protecter according to an embodiment of the inventionFigure;
Fig. 3 shows the concrete of the communications portion of motor protecter according to an embodiment of the inventionEmbodiment;
Fig. 4 shows the more detailed of the hardware configuration of motor protecter according to an embodiment of the inventionThin schematic diagram;
Fig. 5 shows that processing unit realizes Profibus agreement according to an embodiment of the inventionFlow chart;
Fig. 6 shows the flow chart of motor protecter system according to an embodiment of the invention.
It should be noted that the project represented by same reference numerals in different figures has identical structureFeature and identical function.If function and/or structure the most to this element solveRelease, then without in detailed description to its repetition of explanation.Accompanying drawing is only exemplifying and does not pressesRatio is drawn.The most for clarity, some sizes are exaggerated.
Detailed description of the invention
In following detailed description, accompanying drawing being carried out reference, described accompanying drawing forms the one of this specificationPart, and wherein by the way of wherein can be to put into practice the particular instantiation embodiment of the present inventionIt is illustrated.It should be appreciated that other embodiments can be utilized, and structure or logic can be madeOn change without deviating from scope defined by the claims.
The description of the present embodiment is not restrictive.Especially, the embodiment being described belowStep can be combined from the step of different embodiments.
Fig. 1 shows the general frame of the motor protecter of prior art.Motor protecter and electricityMachine is attached, and to the monitoring state of motor and motor output is controlled output.To motorStatus monitoring include that the electric current to motor and voltage etc. measure, this measurement result is inputtedTo processing unit.This processing unit can pass through HMI (man machine interface)/control knob to placeReason unit input controls input and is controlled processing unit.During processing unit operation,(data acquisition is controlled with monitoring for processing unit and PLC (programmable logic controller (PLC))/SCADASystem processed) communicate.The invention mainly relates to processing unit and communications portion, therefore otherPart is not repeated herein, in order to avoid obscuring subject of the present invention.
Fig. 2 shows the hardware configuration signal of motor protecter according to an embodiment of the inventionFigure.This motor protecter 200 includes measuring unit 201, processing unit 202, communication interface203 and amount of logic input-output unit 204.Measuring unit 201 is survey generally in the artAmount module, including to the electric current of motor, the isoparametric measurement of voltage.Processing unit 202 is singleIndividual MPU, it allows to be produced to be communicated by one or more in various communications protocolsThe information of the described motor protecter transmitted on network.Communication interface 203 includes that at least one leads toLetter interface, for transmitting the information of motor protecter on a communication network.Amount of logic input and outputUnit 204 includes amount of logic input and relay output, defeated for accepting the control command of userEnter and output motor control signal.
Motor protecter 200 support communication protocol packet include network communication protocol Modbus,CANOPEN, facility network DeviceNet, field smart node and Ethernet Ethernet.
Fig. 3 shows that the hardware configuration of motor protecter according to an embodiment of the invention is specifically realExecute mode.This motor protecter 300 includes single MPU 301 and communication interface 302.SingleIndividual MPU can support existing multiple communication protocol.Communication interface 302 includes one or manyIndividual communication interface.
When motor protecter 300 uses field smart node agreement, in single processUnit 301 runs Profibus protocol stack, and single processing unit 301 also includes usingIn the programmable module realizing field data chain circuit function.In one embodiment, at MPUField Data Link is realized by software on PRU (real-time unit able to programme) in 301(field data link), thus support Profibus agreement.
In motor protecter 300, the kernel of single MPU 301 and programmable module PRUBetween realize real-time Communication for Power by enhancement mode direct memory access EDMA.This is relative to existingThe processing unit of motor protecter use two MCU to communicate more efficient, and avoidThe communication failure problem that can exist between two MCU.
Single processing unit 301 allow user select in described various communications protocols orMultiple communication protocols.Each communication interface in communication interface 302 is with in multiple communication protocolsAny one communicates with communication network.At least one communication interface in communication interface 302The cocommutative information about motor protecter is led to accordingly according in described various communications protocolsLetter agreement is formatted.
In one embodiment, communication interface 302 includes transceiver.
Fig. 4 shows the detailed view of the hardware configuration of the motor protecter in Fig. 2.Wherein depositAt the power circuit that measuring unit, processing unit and communication interface are powered.This power supplyCircuit can be powered by external power source.
As shown in Figure 4, measuring unit includes that earth current measurement, current measurement and voltage are surveyedAmount, this measurement result and logic input all input to processing unit, and processing unit passes through relayDevice output controls motor action.Processing unit includes single MPU and its ancillary equipment.Such as, this ancillary equipment includes DDR3, flash memory and LED light and button etc..CommunicationInterface can include ethernet physical layer, Modbus/CANOPEN/DeviceNET transceiverAnd Profibus transceiver etc..
Fig. 5 shows that processing unit realizes Profibus agreement according to an embodiment of the inventionFlow chart.In the embodiment show in figure 5, communication interface is UART (universal asynchronous receiving-transmittingTransmitter).As it can be seen, when processing unit receives interruption, the RX of UART (receivesEnd) receive interruption, the PRU being sent to afterwards in processing unit, PRU pass through EDMAData exchange is carried out, in processing unit with the kernel of processing unit (in such as Fig. 3 301)Check this information to be decoded according to corresponding communication protocol, process and again according to this communicationProtocol code, sends to PRU again by the information after this coding afterwards in the way of EDMA.Subsequently, PRU sends this information to the TX (transmitting terminal) of UART to enter with communication networkRow communication.
Fig. 6 shows the flow chart of protection system for motor according to an embodiment of the invention.This electricityFirst system is initialized by machine protection system, determines the communication protocol that system uses afterwards.If communication protocol is Profibus, then field data link FDL is loaded in such as Fig. 3Single MPU 301 PRU on, start the task of motor protecter afterwards.This task bagInclude metering, protect, control, HMI (man-machine interface) and communication etc..If communication protocolIt not Profibus, the most directly start various task.System can persistently carry out task tune afterwardsDegree is until sending out code to system.
On the other hand, embodiments of the invention also propose a kind of side for motor protecterMethod, including: use single processing unit to be produced by one or more in various communications protocolsThe information of the described motor protecter that life to transmit on a communication network, and use at least oneThe information of described motor protecter is transmitted on communication network described in communication interface.
In one embodiment, described communication protocol packet include network communication protocol Modbus,CANOPEN, facility network DeviceNet, field smart node and Ethernet Ethernet.
In one embodiment, the method also includes: when using field smart node agreementTime, described single processing unit runs Profibus protocol stack, and uses described listThe individual programmable module in processing unit realizes field data chain circuit function.
In one embodiment, the method also includes: by enhancement mode direct memory accessEDMA realizes real between the kernel and described programmable module of described single processing unitShi Tongxin.
In one embodiment, the method also includes: according to different communication protocol to described extremelyThe information of the described motor protecter in each communication interface of a few communication interface carries out latticeFormula.
In one embodiment, the method also includes: according to corresponding in described various communications protocolsCommunication protocol at least one communication interface described each at described motor protecterInformation format.
In one embodiment, the method also includes: allow user to select described multiple communication protocolsOne or more in view.
In one embodiment, at least one communication interface described includes transceiver.
Although describe the present invention already in connection with some embodiments and embodiment, but the present inventionBeing not limited thereto, but cover various obvious amendment and equivalent arrangements, they both fall within instituteIn attached scope of the claims.Although table in the way of particular combination in detail in the claimsState the feature of embodiments of the invention, it is contemplated that, with any combination and orderMode arranges these features.