A kind of motor controller
Technical field
The utility model relates to the control and scheduling co-design field of three-phase alternating-current motor, particularly a kind of motor controller.
Background technology
According to the regulation of China's common apparatus electric device design specification, alternating current motor should install short-circuit protection, and should install overload protection, two-phase operation protection and under-voltage protection as the case may be respectively.
For the protection of motor itself and line voltage, at present in on-the-spot application, mainly contain traditional thermal relay, soft starter, frequency converter, motor controller four kinds of schemes.Wherein traditional thermal relay is due to its physical characteristic, and the sensitivity determining it is lower, greatly affected by environment, and accommodation accuracy is not high.And soft starter biases toward the starting process of motor, take the mode of step-down to control the starting of motor, can not protect motor in the course of the work.The Control protection of frequency converter is powerful, also can carry out speed governing to motor simultaneously, but expensive.Motor controller can play good control and protection effect to motor; but the volume of integral electric machine controller is in the market too large; install inconvenient in low voltage control terminal cabinet; and the different application occasion of motor for different capabilities; need the on-the-spot wiring carrying out complexity, be unfavorable for promoting.
For the problems referred to above; a kind of novel controller is provided; alternating current motor for different capabilities provides method of operation easily in the application of different occasion, realizes overvoltage, object that under-voltage, overcurrent, undercurrent, stall, obstruction, thermal overload, starting time-out, residual current, three-phase current unbalance, voltage break equal protection.
Utility model content
Technical problem to be solved in the utility model is; a kind of motor controller is provided; alternating current motor for different capabilities provides method of operation easily in the application of different occasion, realizes overvoltage, object that under-voltage, overcurrent, undercurrent, stall, obstruction, thermal overload, starting time-out, residual current, three-phase current unbalance, voltage break equal protection.
For achieving the above object, the technical solution of the utility model is, a kind of motor controller, is characterized in that: described controller adopts master controller to connect the split-type structural of display and background monitoring system respectively;
Described display is that MCU unit connects LCD display, LED, push-button unit and communication unit respectively;
Described master controller is that main control unit connects change respectively and send output unit, input and output control unit, analog signal sampling unit, master controller communication unit and RTC clock unit.
Corresponding LED is driven to light by the driving chip adding large-drive-current after described MCU unit collects power supply signal, enabling signal, run signal, fault-signal, alarm signal.
Described LCD display carries out communication by spi bus and MCU unit.
The communication unit of described display carries out communication by 232 buses and master controller.
Main control unit in described master controller gathers electric current and voltage and the mains frequency of motor by analog signal sampling unit, split while calculating electric current and voltage value and carry out identification into signal and judge, after the logical calculated that the control command issued display is correlated with, control the start-stop of motor.
Described master controller communication unit comprises 232 communicating circuits and 485 communicating circuits, and 232 communicating circuits and display carry out communication, and 485 communicating circuits and background monitoring system carry out communication.
In described MCU unit, the model of control chip is the LPC2131 of En Zhi Pu company, and in described main control unit, the model of control chip is the LPC2136 of En Zhi Pu company.
Described main control unit calculates the analog signal sampling that analog signal adopts unit to collect every 0.625ms, and the time window of calculating is 5ms, adopts root mean square algorithm to calculate magnitude of voltage and current value.
What described motor controller was gathered by input and output control unit opens the motor start-stop control logic that the control command foundation user issued into signal and display screen uses PLC ladder design; PLM module is used to carry out logical calculated; carry out the start-stop Logic judgment of motor; draw logical value; the folding controlling to output relay by input and output control unit carries out start-stop control and protecting control to motor; the logical value that PLM calculates is 1; represent starting motor; logical value is 0, represents and stops.
A kind of motor controller, owing to adopting above-mentioned structure, the utility model has the advantage of: 1, the design of split-type structural, makes small product size little, compact conformation, easy for installation; 2, master controller can be used alone, independently can complete control and the protecting control of the start-stop of motor, as long as use a master controller just can reach the object of oneself control motor some specific occasion user like this, which decrease customer using cost, improve the competitiveness of product; 3, facilitate user according to the self-defined Control protection logic of the demand of oneself.
Accompanying drawing explanation
Below in conjunction with the drawings and specific embodiments, the utility model is described in further detail;
Fig. 1 is the structural schematic block diagram of a kind of motor controller of the utility model;
Fig. 2 is the circuit diagram of LED in a kind of motor controller of the utility model;
Fig. 3 is the circuit diagram of push-button unit in a kind of motor controller of the utility model;
Fig. 4 is the circuit diagram of communication unit in a kind of motor controller of the utility model;
Fig. 5 is the circuit diagram that in a kind of motor controller of the utility model, analog signal adopts unit;
Fig. 6 is the circuit diagram of input and output control unit in a kind of motor controller of the utility model;
Fig. 7 becomes the circuit diagram sending output unit in a kind of motor controller of the utility model;
Fig. 8 is the circuit diagram of RTC clock unit in a kind of motor controller of the utility model;
Fig. 9 is the circuit diagram of master controller communication unit in a kind of motor controller of the utility model;
Figure 10 is collection of simulant signal flow chart in a kind of motor controller of the utility model;
Figure 11 is PLM logical calculated flow chart in a kind of motor controller of the utility model;
Figure 12 is PLC ladder diagram in a kind of motor controller of the utility model;
In FIG, 1, master controller; 2, display; 3, background monitoring system; 4, MCU unit; 5, LED; 6, LCD display; 7, push-button unit; 8, communication unit; 9, main control unit; 10, output unit is sent in change; 11, input and output control unit; 12, analog signal sampling unit; 13, master controller communication unit; 14, RTC clock unit.
Embodiment
The utility model provides method of operation easily for the alternating current motor of different capabilities in the application of different occasion, by gathering electric current and voltage and the mains frequency of motor, realize overvoltage, under-voltage, overcurrent, undercurrent, stall, obstruction, thermal overload, starting time-out, residual current, three-phase current unbalance, voltage break equal protection, by RS485 interface, realize long-distance Log server, to realize the object of centralized monitor; Simultaneously, the design of split-type structural, makes small product size little, compact conformation, easy for installation, directly can install and use in low voltage control terminal cabinet and various drawout cubicle, improve the fail safe of control loop, reliability, simultaneously, only needing remote monitoring, do not need the occasion of field monitor, single master controller just can meet application demand, and the utility model is made up of display 2, master controller 1 and background monitoring system 3 three part.Display 2 mainly plays the effect of start-stop control, optimum configurations and information displaying; Master controller 1 carries out sampling calculating, intake collection, outputs the work such as control, communication.
Specifically as shown in Figure 1, the utility model adopts master controller 1 to connect the split-type structural of display 2 and background monitoring system 3 respectively; Display 2 is that MCU unit 4 connects LCD display 6, LED 5, push-button unit 7 and communication unit 8 respectively; Master controller 1 send output unit 10, input and output control unit 11, analog signal sampling unit 12, master controller communication unit 13 and RTC clock unit 14 for main control unit 9 connects change respectively.
Corresponding LED 5 is driven to light by the driving chip adding large-drive-current after MCU unit 4 collects power supply signal, enabling signal, run signal, fault-signal, alarm signal.LCD display 6 carries out communication by spi bus and MCU unit 4.The communication unit 8 of display 2 carries out communication by 232 buses and master controller 1.
Main control unit 9 in master controller 1 gathers electric current and voltage and the mains frequency of motor by analog signal sampling unit 12, split while calculating electric current and voltage value and carry out identification into signal and judge, after the logical calculated that the control command issued display 2 is correlated with, control the start-stop of motor.Master controller communication unit 13 comprises 232 communicating circuits and 485 communicating circuits, and 232 communicating circuits and display 2 carry out communication, and 485 communicating circuits and background monitoring system 3 carry out communication.In MCU unit 4, the model of control chip is the LPC2131 of En Zhi Pu company, and in described main control unit 9, the model of control chip is the LPC2136 of En Zhi Pu company.
Main control unit 9 calculates the analog signal sampling that analog signal adopts unit 12 to collect every 0.625ms, and the time window of calculating is 5ms, adopts root mean square algorithm to calculate magnitude of voltage and current value.What motor controller was gathered by input and output control unit 11 opens the motor start-stop control logic that the control command foundation user issued into signal and display screen 2 uses PLC ladder design; PLM module is used to carry out logical calculated; carry out the start-stop Logic judgment of motor; draw logical value; the folding controlling to output relay by input and output control unit 11 carries out start-stop control and protecting control to motor; the logical value that PLM calculates is 1; represent starting motor; logical value is 0, represents and stops.
As shown in Figure 2, LED 5 totally five, is used to refer to power supply signal, initiating signal, run signal, fault-signal, alarm signal respectively.In hardware circuit, use the chip 74HC245 adding large-drive-current to realize the control of MCU unit 4 pairs of LED 5.
The liquid crystal display screen of what LCD display 6 was selected is SPI communication modes.MCU unit 4 realizes the control to LCD display 6 displaying contents information by spi bus.
As shown in Figure 3, push-button unit by be used for realizing to 4 buttons of the operation of menu and control motor start-stop starting A, start B, shut down 3 buttons and form.
As shown in Figure 4, communication unit 8 is display 2 interfaces mutual with master controller 1 data message, master controller 1 is by 232 buses, some display information are uploaded to display 2, and the parameter that display 2 will be revised and the control command to master controller 1 are handed down to master controller 1 by 232 buses.The RSM232 module of Zhou Ligong is selected to realize 232 communications in hardware circuit.
As shown in Figure 5, what analog signal sampling unit 12 mainly realized is the ADC discernible 0 ~ 3.3V voltage DC signal larger electric current and voltage AC signal being converted to master control equal energy source 9.In hardware circuit, instrument transformer and LMV358 amplifier and related resistors electric capacity is used to realize the conversion of signal.
As shown in Figure 6, input and output control unit 11 mainly realizes the collection of intake signal to external world, carries out identification judge whether open and input into signal for main control unit.Simultaneously according to main control unit logical calculated value out, realize the control of splitting out relay.
As shown in Figure 7, change is sent output unit need become according to user's request the signal sent and is converted 4 ~ 20mA analog signal output to.In hardware circuit, adopt the TFS160N isolation transmit module of Jin Shengyang company to realize change and send output to control.
As shown in Figure 8, RTC clock unit 14 provides clock information accurately for apparatus system.In hardware circuit, PCF8563 chip is adopted to realize the design of clock circuit.
As shown in Figure 9, master controller communication unit 13 comprises 232 communication parts and 485 communication parts, 232 communication parts are master controller 1 interfaces mutual with display 2 data message, master controller 1 is by 232 buses, some display information are uploaded to display 2, and the parameter that display 2 will be revised and the control command to master controller 1 are handed down to master controller 1 by 232 buses.485 communication parts are master controller 1 interfaces mutual with the data message of background monitoring system 3, master control 1 device is by 485 buses, some display information are uploaded to platform supervisory control system 3, and the parameter that platform supervisory control system 3 will be revised and the control command to master controller 1 are handed down to master controller 1 by 485 buses.In hardware circuit, the RSM3485 module of Zhou Ligong is selected to realize 485 communications.
As shown in Figure 10, master controller 1 control simulation signal sampling unit 12 is sampled, and sampling time interval is 0.625ms.The time window calculated is 5ms.Algorithm adopts root mean square algorithm.
As shown in figure 11, master controller 1 carries out Logic judgment calculating by opening the control command issued into signal and display screen 2, and the folding controlling to output relay by input and output control unit 11 comes start-stop control to motor and protecting control.
As shown in figure 12, user can need design con-trol logic according to oneself, and the relevant Protection parameters information of configuration.
By reference to the accompanying drawings the utility model is exemplarily described above; obvious the utility model specific implementation is not subject to the restrictions described above; as long as have employed the various improvement that technical solutions of the utility model are carried out; or directly apply to other occasion, all within protection range of the present utility model without improving.