CN205986677U - Multichannel direct current motor drive control system based on CPLD - Google Patents
Multichannel direct current motor drive control system based on CPLD Download PDFInfo
- Publication number
- CN205986677U CN205986677U CN201620953933.7U CN201620953933U CN205986677U CN 205986677 U CN205986677 U CN 205986677U CN 201620953933 U CN201620953933 U CN 201620953933U CN 205986677 U CN205986677 U CN 205986677U
- Authority
- CN
- China
- Prior art keywords
- door
- cpld
- outfan
- direct current
- trigger
- 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.)
- Withdrawn - After Issue
Links
Landscapes
- Control Of Direct Current Motors (AREA)
Abstract
The utility model discloses a multichannel direct current motor drive control system based on CPLD, including the direct current motor who is controlled, direct current motor is provided with first spacing sensor and the spacing sensor of second that is used for restricting forward rotation and/or reverse rotation, direct current motor's forward rotation and/or reverse rotation are controlled by drive circuit of the same kind, and direct current motor's drive circuit comprises direct current motor driver, optoelectronic isolator, CPLD the control unit and singlechip, CPLD the control unit's communication interface with single chip microcomputer communication connects, and the singlechip is connected with upper control computer communication, CPLD the control unit comprises sensor signal processing unit and motor signal processing unit, and sensor signal processing unit's signal output part and motor signal processing unit's signal input part are connected. The utility model discloses the advantage lies in that the motion control who is controlled direct current motor is realized by CPLD the control unit completely, has made things convenient for multichannel direct current motor drive control's extension.
Description
Technical field
This utility model is related to DC motor Driver control system, especially relates to the multi-channel DC motor based on CPLD and drives
Autocontrol system.
Background technology
At present, traditional DC motor Driver controls, and how to be combined and embedding with discrete component embedded hardware using single-chip microcomputer
Enter formula program and enter line sensor detection, motor rotation, the spacing control of motor rotation.Single-chip microcomputer combines the straight of realization with discrete component
Stream drive and control of electric machine, because limit sensors signal demand is through routine processes such as single-chip microcomputer identification, responses, therefore ageing
Difference;And discrete component is more, reliability is low;Peripheral circuit complexity also makes board area big, and extensibility is low.CPLD
(The abbreviation of English Complex Programmable Logic Device, complex programmable logic control device)Control unit
Have flexible in programming, integrated level is high, design and develop cycle is short, scope of application width, developing instrument is advanced, design and manufacture cost is low,
Low to the hardware skill requirement of designer, standardized product need not be tested, strong security, lower-price characteristic, how to utilize
CPLD is driven to multi-channel DC motor controlling, and is the problem of this area scientific research personnel research.
Content of the invention
This utility model purpose is to provide a kind of multi-channel DC driving control system for electric machine based on CPLD.
For achieving the above object, this utility model takes following technical proposals:
Multi-channel DC driving control system for electric machine based on CPLD described in the utility model, including multiple controlled unidirectional currents
Machine, each described direct current generator be provided with for limit rotate forward and/or the first limit sensors of reversely rotating and
Second limit sensors;Rotating forward and/or reversely rotating of each direct current generator is controlled by a road drive circuit respectively, each
The described driving circuit structure all same of direct current generator, by DC motor driver, optical isolation, CPLD control unit and
Single-chip microcomputer forms;The communication interface of described CPLD control unit is connected with described single chip communication, single-chip microcomputer and upper control meter
Calculation machine communicates to connect;Described DC motor driver input control end is connected with described optical isolation output control terminal, light
Electric isolution device input control end is connected with CPLD control unit outfan;Described first limit sensors, the second spacing sensing
The signal output part of device passes through the signal input part of the first photoelectrical coupler, the second photoelectrical coupler and CPLD control unit respectively
Connect;CPLD control unit is made up of sensor processing unit and motor signal processing unit, at described sensor signal
The signal output part of reason unit is connected with the signal input part of described motor signal processing unit.
Described sensor processing unit by with first with door A1, second and door A2, the first buffer B1, second buffer
Device B2, the first trigger D1, the second trigger D2, nor gate NOR1 composition;The input of described first, second buffer B1, B2
End is connected with corresponding described first, second photoelectric coupler output end respectively, the outfan of first, second buffer B1, B2
Connect with the clock pulse terminal CP of corresponding described first, second trigger D1, D2 respectively, described first, second with door A1, A2
Two inputs be connected with the selection of Motor signal output part DC1 and reset signal outfan RST of described single-chip microcomputer respectively,
First, second is connected with the clear terminal CLR of corresponding first, second trigger D1, D2 respectively with the outfan of door A1, A2, first,
The data terminal D of second trigger D1, D2 connects high level respectively, the next state outfan Q of first, second trigger D1, D2 respectively with
The corresponding input of described nor gate NOR1 connects;
Described motor signal processing unit is by the 3rd and door A3, the 4th and door A4, the 3rd trigger D3, the 4th trigger
D4, the first not gate N1, the second not gate N2, the 5th and door A5, the 6th and door A6 composition;Described three, the 4th and the two of door A3, A4
Individual input is connected with the outfan of the reset signal outfan RST and described nor gate NOR1 of described single-chip microcomputer respectively, the 3rd,
4th is connected with the clear terminal CLR of corresponding three, the 4th trigger D3, D4 respectively with the outfan of door A3, A4, the 3rd triggering
The data terminal D of device D3 and clock pulse terminal CP is believed with the motor drive direction signal output part DC1-D1 of described single-chip microcomputer and selection of Motor
Number outfan DC1 connects, the data terminal D and clock pulse terminal CP motor drive direction with described single-chip microcomputer respectively of the 4th trigger D4
Signal output part DC1-D2 and selection of Motor signal output part DC2 connects, the next state outfan Q of the three, the 4th trigger D3, D4
Connect with corresponding described first not gate N1, the second not gate N2 input respectively, the first not gate N1, the outfan of the second not gate N2
It is connected with an input of door A5, the 6th and door A6 with the corresponding described 5th respectively, the 5th with door A5, the 6th and door A6
Another input is connected with the reset signal outfan RST of single-chip microcomputer, the five, the 6th with the outfan of door A5, A6 with described
The input of optical isolation connects.
It is supplied to load for guaranteeing that driving voltage is lossless, each controlled described DC motor power input is all connected to
The Inrush current restraining device of Siemens 3RT series.
Described controlled direct current generator number is 16.
It is single that this utility model advantage is that the motor control of each described controlled direct current generator is controlled by described CPLD completely
Unit realizes, and greatly facilitates the extension of multi-channel DC driving control system for electric machine, needs flexible configuration first according to application load
Limit sensors and the quantity of the second limit sensors are ageing strong;With respect to conventional embedded hardware and programme-control, this
Sensor processing unit and motor signal processing unit are not related to embedded programming, and reliability is high.Meanwhile, this CPLD controls
Unit has flexible in programming, integrated level is high, design and develop cycle is short, scope of application width, developing instrument are advanced, design and manufacture cost
Low, low to the hardware skill requirement of designer, standardized product need not be tested, strong security, lower-price characteristic.
Brief description
Fig. 1 is the structured flowchart of control system described in the utility model.
Fig. 2 is the logic circuit schematic diagram of CPLD control unit described in the utility model.
Specific embodiment
As shown in Figure 1, 2, the multi-channel DC driving control system for electric machine based on CPLD described in the utility model, including 16
Controlled direct current generator M, each described direct current generator M are provided with the rotating forward for limiting and/or reversely rotating
One limit sensors and the second limit sensors;Rotating forward and/or reversely rotating of each direct current generator is driven by a road respectively
Galvanic electricity road controls, and the described driving circuit structure all same of each direct current generator, by DC motor driver(Full-bridge direct current motor
Drive IC TB6643KQ), optical isolation, CPLD control unit 1 and single-chip microcomputer(STM32F10 series)Composition;Described
The communication interface of CPLD control unit is connected with described single chip communication, and single-chip microcomputer is communicated to connect with upper control computer 2;Institute
State DC motor driver input control end to be connected with described optical isolation output control terminal, optical isolation input control
End processed is connected with CPLD control unit 1 outfan;Described first limit sensors, the signal output part of the second limit sensors divide
Tong Guo the first photoelectrical coupler, the second photoelectrical coupler not be connected with the signal input part of CPLD control unit 1;CPLD controls single
Unit 1 is made up of sensor processing unit 3 and motor signal processing unit 4, the signal of described sensor processing unit 3
Outfan is connected with the signal input part of described motor signal processing unit 4.
Described sensor processing unit 3 by with first with door A1, second and door A2, the first buffer B1, second delay
Rush device B2, the first trigger D1, the second trigger D2, nor gate NOR1 composition;Described first, second buffer B1, B2's is defeated
Enter end to connect with corresponding described first, second photoelectric coupler output end respectively, the output of first, second buffer B1, B2
End is connected with the clock pulse terminal CP of corresponding described first, second trigger D1, D2 respectively, described first, second and door A1,
Two inputs of A2 are connected with the selection of Motor signal output part DC1 and reset signal outfan RST of described single-chip microcomputer respectively,
First, second is connected with the clear terminal CLR of corresponding first, second trigger D1, D2 respectively with the outfan of door A1, A2, the
First, the data terminal D of second trigger D1, D2 connects high level respectively, and the next state outfan Q of first, second trigger D1, D2 is respectively
An input corresponding with described nor gate NOR1 connects;
Described motor signal processing unit 4 is by the 3rd and door A3, the 4th and door A4, the 3rd trigger D3, the 4th trigger
D4, the first not gate N1, the second not gate N2, the 5th and door A5, the 6th and door A6 composition;Described three, the 4th and the two of door A3, A4
Individual input is connected with the outfan of the reset signal outfan RST and described nor gate NOR1 of described single-chip microcomputer respectively, the 3rd,
4th is connected with the clear terminal CLR of corresponding three, the 4th trigger D3, D4 respectively with the outfan of door A3, A4, the 3rd triggering
The data terminal D of device D3 and clock pulse terminal CP is believed with the motor drive direction signal output part DC1-D1 of described single-chip microcomputer and selection of Motor
Number outfan DC1 connects, the data terminal D and clock pulse terminal CP motor drive direction with described single-chip microcomputer respectively of the 4th trigger D4
Signal output part DC1-D2 and selection of Motor signal output part DC2 connects, the next state outfan Q of the three, the 4th trigger D3, D4
Connect with corresponding described first not gate N1, the second not gate N2 input respectively, the first not gate N1, the outfan of the second not gate N2
It is connected with an input of door A5, the 6th and door A6 with the corresponding described 5th respectively, the 5th with door A5, the 6th and door A6
Another input is connected with the reset signal outfan RST of single-chip microcomputer, the five, the 6th with the outfan of door A5, A6 with described
The input of optical isolation connects.
It is supplied to load for guaranteeing that driving voltage is lossless, 16 controlled described direct current generator M power inputs all connect
There is the Inrush current restraining device of Siemens 3RT series.
Utility model works principle, Xian Yi No. mono- drive circuit controls rotating forward and/or instead of a direct current generator
Make a summary to as a example rotation:
As shown in figure 1, single-chip microcomputer receives the instruction that sends of upper control computer or reads if switch, touch screen are with regard to negative
Carry action command, export after carrying out communication protocol parsing pre- action motor encoder, pre- action motor control signal and read first,
Second limit sensors and direct current generator M state instruction, by CPLD control unit 1 carry out direct current generator M motor control, first,
Second limit sensors trigger processes, reads first, second limit sensors and direct current generator M state data
As shown in Fig. 2 when the first limit sensors and the second limit sensors are not operating, the first buffer B1, second
The all non-trigger of input DC1-S1, DC1-S2 of buffer B2, now nor gate NOR1 output " 1 "(High level)Once,
Selection of Motor signal DC1 effectively, produces edging trigger, the three, the 4th trigger D3, D4 upset output motor direction of action letters
Number, the motor drive direction signal of the 5th and door A5 outfan DC1-OUT2=single-chip microcomputer of outfan DC1-OUT1/ the 6th and door A6
The motor drive direction signal output part DC1-D2=1/0 or 0/1 or 0/0 of outfan DC1-D1/ single-chip microcomputer, corresponding controlled unidirectional current
Machine M rotates forward, reversely rotates or stopping action;And corresponding first limit sensors of controlled direct current generator M and second spacing
During any one action of sensor, triggering produces rising edge, and the first trigger D1 or the second trigger D2 upset, through nor gate NOR1
Output reset signal to the three, the 4th trigger D3, D4 clear terminal CLR, the 5th with the outfan of door A5, the 6th and door A6
DC1-OUT1, DC1-OUT2 are all zeroed, controlled direct current generator M stopping action, reach limit sensors triggering and direct current generator M is limited
The purpose of position.
Claims (4)
1. a kind of multi-channel DC driving control system for electric machine based on CPLD it is characterised in that:Including multiple controlled unidirectional currents
Machine, each described direct current generator be provided with for limit rotate forward and/or the first limit sensors of reversely rotating and
Second limit sensors;Rotating forward and/or reversely rotating of each direct current generator is controlled by a road drive circuit respectively, each
The described driving circuit structure all same of direct current generator, by DC motor driver, optical isolation, CPLD control unit and
Single-chip microcomputer forms;The communication interface of described CPLD control unit is connected with described single chip communication, single-chip microcomputer and upper control meter
Calculation machine communicates to connect;Described DC motor driver input control end is connected with described optical isolation output control terminal, light
Electric isolution device input control end is connected with CPLD control unit outfan;Described first limit sensors, the second spacing sensing
The signal output part of device passes through the signal input part of the first photoelectrical coupler, the second photoelectrical coupler and CPLD control unit respectively
Connect;CPLD control unit is made up of sensor processing unit and motor signal processing unit, at described sensor signal
The signal output part of reason unit is connected with the signal input part of described motor signal processing unit.
2. according to claim 1 the multi-channel DC driving control system for electric machine based on CPLD it is characterised in that:
Described sensor processing unit by with first with door A1, second and door A2, the first buffer B1, the second buffer
B2, the first trigger D1, the second trigger D2, nor gate NOR1 composition;The input of described first, second buffer B1, B2
Connect with corresponding described first, second photoelectric coupler output end respectively, the outfan of first, second buffer B1, B2 divides
Not do not connect with the clock pulse terminal CP of corresponding described first, second trigger D1, D2, described first, second and door A1, A2
Two inputs are connected with the selection of Motor signal output part DC1 and reset signal outfan RST of described single-chip microcomputer respectively, the
First, second is connected with the clear terminal CLR of corresponding first, second trigger D1, D2 respectively with the outfan of door A1, A2, first,
The data terminal D of second trigger D1, D2 connects high level respectively, the next state outfan Q of first, second trigger D1, D2 respectively with
The corresponding input of described nor gate NOR1 connects;
Described motor signal processing unit by the 3rd with door A3, the 4th and door A4, the 3rd trigger D3, the 4th trigger D4, the
One not gate N1, the second not gate N2, the 5th and door A5, the 6th and door A6 composition;Described three, the 4th is defeated with two of door A3, A4
Enter end to be connected with the outfan of the reset signal outfan RST and described nor gate NOR1 of described single-chip microcomputer respectively, the three, the 4th
Connect with the clear terminal CLR of corresponding three, the 4th trigger D3, D4 respectively with the outfan of door A3, A4, the 3rd trigger D3
Data terminal D and clock pulse terminal CP defeated with the motor drive direction signal output part DC1-D1 of described single-chip microcomputer and selection of Motor signal
Go out to hold DC1 to connect, the data terminal D and clock pulse terminal CP motor drive direction signal with described single-chip microcomputer respectively of the 4th trigger D4
Outfan DC1-D2 and selection of Motor signal output part DC2 connects, and the next state outfan Q of the three, the 4th trigger D3, D4 is respectively
Connect with corresponding described first not gate N1, the second not gate N2 input, the first not gate N1, the outfan difference of the second not gate N2
It is connected with an input of door A5, the 6th and door A6 with the corresponding described 5th, the 5th is another with door A5, the 6th and door A6
Individual input is connected with the reset signal outfan RST of single-chip microcomputer, the five, the 6th with the outfan of door A5, A6 and described photoelectricity
The input of isolating device connects.
3. the multi-channel DC driving control system for electric machine based on CPLD according to claim 1 or claim 2 it is characterised in that:Each
The power input of described direct current generator is all connected to Inrush current restraining device.
4. the multi-channel DC driving control system for electric machine based on CPLD according to claim 1 or claim 2 it is characterised in that:Described
Controlled direct current generator number is 16.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201620953933.7U CN205986677U (en) | 2016-08-26 | 2016-08-26 | Multichannel direct current motor drive control system based on CPLD |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201620953933.7U CN205986677U (en) | 2016-08-26 | 2016-08-26 | Multichannel direct current motor drive control system based on CPLD |
Publications (1)
Publication Number | Publication Date |
---|---|
CN205986677U true CN205986677U (en) | 2017-02-22 |
Family
ID=58036118
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201620953933.7U Withdrawn - After Issue CN205986677U (en) | 2016-08-26 | 2016-08-26 | Multichannel direct current motor drive control system based on CPLD |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN205986677U (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106130413B (en) * | 2016-08-26 | 2018-07-06 | 安图实验仪器(郑州)有限公司 | Multi-channel DC driving control system for electric machine based on CPLD |
CN108762128A (en) * | 2018-04-13 | 2018-11-06 | 大族激光科技产业集团股份有限公司 | Electrical control integrated system and device |
-
2016
- 2016-08-26 CN CN201620953933.7U patent/CN205986677U/en not_active Withdrawn - After Issue
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106130413B (en) * | 2016-08-26 | 2018-07-06 | 安图实验仪器(郑州)有限公司 | Multi-channel DC driving control system for electric machine based on CPLD |
CN108762128A (en) * | 2018-04-13 | 2018-11-06 | 大族激光科技产业集团股份有限公司 | Electrical control integrated system and device |
CN108762128B (en) * | 2018-04-13 | 2021-09-07 | 大族激光科技产业集团股份有限公司 | Electrical control integrated system and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9559625B2 (en) | Solid-state relay for running direction control of three-phase alternating current motor and method thereof | |
CN102837821B (en) | Controller of steering engine | |
CN209356888U (en) | A kind of electric machine controller circuit module based on CPLD | |
CN204012661U (en) | A kind of motor driving protection circuit | |
CN102340269B (en) | Forward and reverse rotation control circuit structure of direct current motor | |
CN107895943B (en) | Device and its control method with wiring protection function | |
CN205986677U (en) | Multichannel direct current motor drive control system based on CPLD | |
CN103995493B (en) | Programmable logic power supply controller | |
JP2005117791A (en) | Drive controller, and method for judging drive module of same | |
CN102402201A (en) | Multi-axis motion control system | |
CN202285347U (en) | State detection circuit for main/standby execution switch of automatic change-over switch | |
CN106130413B (en) | Multi-channel DC driving control system for electric machine based on CPLD | |
CN102664387B (en) | Three-phase asynchronous motor phase sequence protection method | |
CN105529981B (en) | The method for controlling frequency converter | |
CN109217738B (en) | Four-axis integrated servo driver and servo drive control method | |
CN206388027U (en) | The position limitation protection circuit and its device of a kind of X-ray production apparatus kinematic system | |
CN206421189U (en) | Circuit board and servo-driver | |
CN201600172U (en) | Water level detection device | |
CN203287768U (en) | CAN bus control system of brushless direct current motor | |
CN104111623B (en) | Mechanical control equipment and protection circuit thereof | |
CN208607547U (en) | Dry contact Peripheral Interface | |
CN205620519U (en) | Switched reluctance motor does not have control box of position control tactics testing experiment device | |
CN205862166U (en) | Multifunctional universal controller | |
CN202513867U (en) | Stepper motor drive controller | |
CN105429524A (en) | FPGA-based brushless direct current motor speed regulating system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
AV01 | Patent right actively abandoned |
Granted publication date: 20170222 Effective date of abandoning: 20180706 |
|
AV01 | Patent right actively abandoned |