CN201616009U - Simplified motion controller setup for electric actuators - Google Patents
Simplified motion controller setup for electric actuators Download PDFInfo
- Publication number
- CN201616009U CN201616009U CN2009202506050U CN200920250605U CN201616009U CN 201616009 U CN201616009 U CN 201616009U CN 2009202506050 U CN2009202506050 U CN 2009202506050U CN 200920250605 U CN200920250605 U CN 200920250605U CN 201616009 U CN201616009 U CN 201616009U
- Authority
- CN
- China
- Prior art keywords
- cpld
- dsp
- pin
- output
- connects
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Programmable Controllers (AREA)
Abstract
本实用新型涉及一种用于电动执行机构的简化的运动控制器装置,它是利用DSP的I/O空间和CPLD实现的简化的运动控制器装置,主要包括DSP、CPLD,DSP与CPLD连接形成模块选通单元,DSP的数据总线D0~D7位连接CPLD的IO引脚,DSP的地址总线A0~A15位连接CPLD的IO引脚,DSP的
分别连接CPLD的IO引脚。本实用新型实现了简单易行的多模块实时处理,降低了系统设计的复杂性,节省了硬件空间,并具有处理简单、模块分时处理迅速、成本低等优点。这种简化运动控制器的方法对具备多个功能模块的运动控制器都是适用的。The utility model relates to a simplified motion controller device for an electric actuator, which is a simplified motion controller device realized by utilizing the I/O space of a DSP and a CPLD, and mainly includes a DSP and a CPLD, and the DSP and the CPLD are connected to form a Module gating unit, DSP data bus D 0 ~ D 7 bits are connected to CPLD IO pins, DSP address bus A 0 ~ A 15 bits are connected to CPLD IO pins, DSP
Connect the IO pins of the CPLD respectively. The utility model realizes simple and easy multi-module real-time processing, reduces the complexity of system design, saves hardware space, and has the advantages of simple processing, rapid time-sharing processing of modules, and low cost. This method of simplifying motion controllers is applicable to motion controllers with multiple functional modules.Description
Technical field
The utility model relates to motion controller, be particularly related to a kind of motion control apparatus that is used for the simplification of electric operator, specifically be the input/output space of utilization DSP and motion control apparatus and the implementation method thereof that CPLD (Complex Programmable Logic Device) realizes simplification, realized bus time-sharing multiplex based on the logic function of the input/output space of DSP and CPLD, to reduce control of hardware resources device and its implementation to the difference in functionality submodule.
Background technology
Motion controller is widely used in various industrial automation process control links, is a considerable infrastructure device.In the electric operator motion controller control system of using at present, become main flow with DSP as the open movement control technology of core based on the PC bus.For example, CN 200710150254.1 discloses the intelligent electric actuating mechanism based on the PROFIBUS-P fieldbus.CN 03116711.X discloses a kind of self-adaptation type intelligent electric actuating mechanism controller.In order to satisfy the various environment that electric operator uses and the multinomial function of customer requirements, often added the different subsidiary function module of function, as liquid crystal display, A/D converting unit, user I/O unit, fault alarm unit etc.Above-mentioned functional module takies a large amount of hardware resources and all will realize control by dsp bus.At these functional requirements of motion controller, there are many shortcomings in existing technology: under the control architecture of general controller and driver, have that distribution is many, synchronizing characteristics is poor, non-total digitalization, hardware implementation cost is than problems such as height.
Summary of the invention
The purpose of this utility model provides a kind of motion control apparatus of the simplification that is used for electric operator newly, can develop the defective that overcomes prior art, adopt the combination of DSP and CPLD to realize simplifying the motion control apparatus, the logic function that specifically is based on the input/output space of DSP and CPLD has realized the bus time-sharing multiplex to the difference in functionality submodule, to reduce control of hardware resources device and its implementation.
A kind of motion control apparatus that is used for the simplification of electric operator that the utility model provides is to utilize the input/output space of DSP and the motion control apparatus of the simplification that CPLD realizes, mainly comprise DSP, CPLD, DSP and CPLD are connected to form the module gating unit, the data bus D of DSP
0~D
7The position connects the IO pin of CPLD, the address bus A of DSP
0~A
15The position connects the IO pin of CPLD, DSP's
The IO pin that connects CPLD respectively.
Comprise the 74LS138 chip among the described CPLD, 74LS373 chip, 74LS244 chip and required logic gate.
The address bus A of described DSP
0~A
15The position connects the input of each 74LS138 of the corresponding CPLD of connection of IO pin inside.
The VCCIO pin of described CPLD connects the 3.3V power supply, and the VCCIN pin connects the 5V power supply, GND pin ground connection.
Six IO pins of described CPLD connect the digital quantity output module as output, and four IO pins of CPLD receive the input signal of external digital amount load module as input.
The A of described DSP
0~A
15The 74LS138 that pin is connected among the CPLD deciphers, DSP's
The G2AN, the G2BN that connect CPLD, the 74LS138 output Y0N~Y7N among the CPLD is as the chip selection signal of each functional module.
Y0N~the Y7N of 74LS138 among described CPLD output can select wherein any one or several as the functional module chip selection signal by User Defined.
The function signal that 74LS138 output chip selection signal among the described CPLD and DSP send
Be input to 1GN and the 2GN pin of 74LS244 among the CPLD through OR-gate, the 1A1 of 74LS244~1A4 pin connects the input signal of digital quantity input module, and 1Y1~1Y4 connects D0~D3 pin of DSP, 2A1~2A4 pin ground connection, all the other pins are unsettled, can realize the digital quantity input function.
The output chip selection signal of 74LS138 among the described CPLD and DSP output
Signal process NOR gate connects the G pin of a slice 74LS373, the OEN pin ground connection of this sheet 74LS373 chip, and D1~D8 pin connects the D of DSP
0~D
7, its output pin Q1~Q6 can be used as the digital quantity output signal and connects the digital quantity output module, and the residue pin is unsettled, can realize the digital quantity output function.
The output chip selection signal of 74LS138 among the described CPLD and DSP output
Signal process NOR gate connects the G pin of second 74LS373, the OEN pin ground connection of this sheet 74LS373 chip, and D1~D8 pin connects data bus D
0~D
7, output Q1~Q8 is exported by the IO pin as the data bus of CPLD, can connect liquid crystal display and realize the liquid crystal display function.
The step that the method that a kind of input/output space with DSP that the utility model provides is simplified motion controller comprises:
1) the kernel control chip DSP of motion controller each functional module of being motion controller according to the functional requirement and the user's request of motion controller is distributed input/output space mapping address (0000h~FEFFh).Real-time needs according to the user are selected a certain certain functional modules, determine the input/output space address of DSP correspondingly.
2) concrete function according to selected module requires by DSP its corresponding input/output space mapping address to be carried out read or write.When DSP chose this address, the state of address bus inputed among the CPLD, through the 74LS138 chip decoding of CPLD inside, exported the chip selection signal of this selected functional module, and the while is corresponding in conjunction with DSP output
Or
Signal is chosen respective chip, and data reading in or exporting on the realization data bus.
3) choose functional module and DSP to finish exchanges data, further handle.
4) when the user selectes the liquid crystal display function of motion controller, by the input/output space address that DSP chooses LCD MODULE to shine upon, DSP address bus A
0~A
15Signal is input among the CPLD, through the 74LS138 decoder for decoding of CPLD inside, and by arbitrary position or several outputs among chip selection signal Y0N~Y7N, with DSP output
Signal is through its corresponding 74LS373 of NOR gate gating, the signal that is received on the data bus of DSP just is input among the 74LS373, this data-signal inputs to liquid crystal display displays by CPLD output through level conversion, and this moment, the bus of DSP was open to LCD MODULE.
5) when motion controller needs digital quantity output, by the input/output space address that DSP chooses the digital quantity output module to be shone upon, DSP address bus A
0~A
15Signal is input among the CPLD, through the 74LS138 decoder for decoding of CPLD inside, and by arbitrary position or several outputs among chip selection signal Y0N~Y7N, with DSP output
Signal is through its corresponding 74LS373 of NOR gate gating, the signal that is received on the data bus of DSP just is input among the 74LS373, respective digital amount on the output pin Q1 of this sheet 74LS373~Q6 output DSP data bus, outputed in the digital quantity output module by CPLD, this moment, the data bus of DSP was open to the digital quantity output module.
6) when the digital quantity input module of motion controller has the digital quantity input, by the input/output space address that DSP chooses digital quantity input module to shine upon, DSP address bus A
0~A
15Signal is input among the CPLD, through the 74LS138 decoder for decoding of CPLD inside, and by arbitrary position or several outputs among chip selection signal Y0N~Y7N, with DSP output
Signal is through the 74LS244 of NOR gate gating, and the data bus toilet of DSP receives the signal from the 74LS244 input end, and this signal is read in DSP to do the processing of corresponding digital amount, and this moment, the data bus of DSP was open to digital quantity input module.
7) if any more function module peripheral hardware, the input/output space address of choosing its functional module to shine upon by DSP.DSP address bus A
0~A
15Signal is input to 74LS138 code translator input end corresponding among the CPLD, 74LS138 decoder for decoding through CPLD inside, by arbitrary position or several outputs among chip selection signal Y0N~Y7N, choose the functional module that to use in conjunction with the corresponding function signal of DSP output simultaneously, realize the exchanges data on the DSP data bus, this moment, data bus the functional module that this is chosen of DSP was open.
The utility model adopts the input/output space of DSP and the logic function combination of CPLD to realize that the difference in functionality module is to the time-sharing multiplex of dsp bus in the electric operator, and the economize on hardware resource realizes the simplification to motion controller effectively.The functional module unification that motion controller is possible utilizes the abundant input/output space of DSP to address, select the time-sharing multiplex of difference in functionality module through the logical process of CPLD to the DSP data bus, realize that simple multimode handles in real time, reduced the complicacy of system design, saved hardware space, and have handle simple, module time-division processing rapidly, low cost and other advantages.The method of this simplification motion controller all is suitable for the motion controller that possesses a plurality of functional modules.
Description of drawings
Fig. 1 is the simplification motion controller synoptic diagram of the utility model based on DSP and CPLD formation.
Fig. 2 is the motion controller installation drawing of the utility model embodiment electric operator.
Fig. 3 is each output signal of DSP in the motion controller of the utility model embodiment electric operator and the inside chip connection layout of corresponding C PLD.
Embodiment
Below in conjunction with accompanying drawing the utility model is described.
The simplification motion controller that DSP and CPLD constitute as shown in Figure 1.
Is that example to the utility model describe with switched reluctance machines as the electric actuator of power source with one.Present embodiment is being to implement under the prerequisite with technical solutions of the utility model, provided detailed embodiment and concrete operating process, but protection domain of the present utility model is not limited to following embodiment.
Switched reluctance machines generally comprises as the motion controller functional module of the electric operator of power source: digital quantity output module, LCD MODULE, digital quantity input module.DSP is that the above-mentioned functions module is distributed different mapping addresss in input/output space, a mapping address in the input/output space of the unique corresponding DSP of each functional module.DSP determines the function between each module to switch to the operation of different mappings address.
Electric operator motion controller implement device structure as shown in Figure 2.
The functional module that will realize in the present embodiment comprises: digital quantity output module, digital quantity input module, LCD MODULE.
The motion control apparatus that the utility model embodiment provides mainly comprises DSP1 (TMS320LF2407A), CPLD2 (EPM7064), logic chip (SN74LS143,74HC144), level transferring chip (ALVC1642455), LCD 6 (OCMJ2 * 8A).Comprise a 74LS1387 chip among the CPLD2 that the utility model embodiment uses, a 74LS2448 chip, two 74LS3739 and 74LS37310 chip and required logic gate.Each output signal of DSP1 is connected as shown in Figure 3 with the inside chip of corresponding C PLD2.
DSP1 and CPLD2 are connected to form the module gating unit.
The D of DSP1
0~D
78 IO pins that connect CPLD2.
The A of DSP1
0~A
15Pin connects 16 IO pins of CPLD2, uses A wherein in the utility model embodiment
2~A
4A, B, the C pin of 74LS1387 among the corresponding CPLD2.
The VCCIO pin of CPLD2 connects the 3.3V power supply, and the VCCIN pin connects the 5V power supply, GND pin ground connection.
6 IO pins of CPLD2 connect the digital quantity output module as output pin, and 4 IO pins receive the input signal of external digital amount load module as input pin.
The A of DSP1 input
2~A
4The 74LS1387 that pin connects among the CPLD2 deciphers, and the output signal Y3N of 74LS1387, Y4N, Y5N are as the chip selection signal of each module.Output G2AN, the G2BN of 74LS1387 connects DSP1's
The 74LS1387 of CPLD2 output Y5N and
Signal process OR-gate is input to 1GN and the 2GN pin of 74LS2448, and 1Y1~1Y4 connects the D of DSP1 data bus
0~D
3Pin, 2A1~2A4 pin ground connection, the 1A1 of 74LS2448~1A4 pin connects four input signals of digital quantity input module, and all the other pins are unsettled, realize the digital quantity input function of motion controller.
The 74LS1387 of CPLD2 output Y3N and
Signal process NOR gate connects the G pin of first 74LS3739, the OEN pin ground connection of this 74LS3739 chip, and D1~D8 pin connects DSP1 data bus D
0~D
7, its output pin Q1~Q6 connects the digital quantity output module as the digital quantity output signal, and all the other pins are unsettled, realize the digital quantity output function of motion controller.
The 74LS1387 of CPLD2 output Y4N signal and
Signal process NOR gate connects the G pin of second 74LS37310, the OEN pin ground connection of this 74LS37310 chip, and D1~D8 pin connects the data bus D of this 74LS37310
0~D
7Output pin Q1~Q8 is exported by IO as the data bus of CPLD2, output is connected to 2A1~2A8 pin of ALVC1642455 by the IO pin, corresponding 2B1~2B8 connects the data bus DB0-DB7 of LCD 6 among the ALVC1642455, realizes the Liquid Crystal Module Presentation Function of motion controller.ALVC1642455's
Pin ground connection, the 2DIR pin meets 3.3V.
In sum, the LCD MODULE of motor, the function of digital quantity input module and digital quantity output module realizes, all be by the address in selected its corresponding input/output space of DSP, by CPLD the address bus of this address is carried out logical operation, the chip of each module correspondence of gating and interface circuit carry out.And the execution sequence of each module can change according to demand, and each functions of modules is carried out separate.Fully by DSP by controlling its input/output space and just select and switching, realize the multiplexing of bus, improved the reaction velocity of system, and saved hardware resource, realized simplification to motion controller.
If any more function module peripheral hardware, the input/output space address of choosing its functional module to shine upon by DSP.DSP address bus A0~A15 signal is input among the CPLD, 74LS138 decoder for decoding through CPLD inside, by a signal output among Y0N~Y7N, choose this module in conjunction with the corresponding function signal of DSP output simultaneously, realize the exchanges data on the DSP data bus, this moment, the data bus of DSP was open to this functional module.
The method of this simplification motion controller all is suitable for the motion controller that possesses a plurality of functional modules.Realize that by the input/output space of employing DSP and the logic function combination of CPLD the difference in functionality module is to the time-sharing multiplex of dsp bus in the electric operator, economize on hardware resource effectively, realization is to the simplification of motion controller, reduced the complicacy of system design, saved hardware space, and have handle simple, module time-division processing rapidly, low cost and other advantages.
Claims (6)
1. a motion control apparatus that is used for the simplification of electric operator is characterized in that it comprises DSP, CPLD, and DSP and CPLD are connected to form the module gating unit, the data bus D of DSP
0~D
7The position connects the IO pin of CPLD, the address bus A of DSP
0~A
15The position connects the IO pin of CPLD, DSP's
The IO pin that connects CPLD respectively;
Comprise the 74LS138 chip among the described CPLD, 74LS373 chip, 74LS244 chip and required logic gate;
The address bus A of described DSP
0~A
15The position connects the input of each 74LS138 of the corresponding CPLD of connection of IO pin inside;
The A of described DSP
0~A
15The 74LS138 that pin is connected among the CPLD deciphers, DSP's
The G2AN, the G2BN that connect CPLD, the 74LS138 output Y0N~Y7N among the CPLD is as the chip selection signal of each functional module;
Y0N~the Y7N of 74LS138 among described CPLD output can select wherein any one or several as the functional module chip selection signal by User Defined.
2. according to the described motion control apparatus of claim 1, it is characterized in that the VCCIO pin of described CPLD connects the 3.3V power supply, the VCCIN pin connects the 5V power supply, GND pin ground connection.
3. according to the described motion control apparatus of claim 1, it is characterized in that six IO pins of described CPLD connect the digital quantity output module as output, four IO pins of CPLD receive the input signal of external digital amount load module as input.
4. according to the described motion control apparatus of claim 1, it is characterized in that the function signal that 74LS138 output chip selection signal among the described CPLD and DSP send
The process OR-gate is input to 1GN and the 2GN pin of 74LS244 among the CPLD, and the 1A1 of 74LS244~1A4 pin connects the input signal of digital quantity input module, and 1Y1~1Y4 connects the D of DSP
0~D
3Pin, 2A1~2A4 pin ground connection, all the other pins are unsettled.
5. according to the described motion control apparatus of claim 1, it is characterized in that the output chip selection signal of the 74LS138 among the described CPLD and DSP output
Signal process NOR gate connects the G pin of first 74LS373, the OEN pin ground connection of this sheet 74LS373 chip, and D1~D8 pin connects the D of DSP
0~D
7, its output pin Q1~Q6 connects the digital quantity output module as the digital quantity output signal, and the residue pin is unsettled.
6. according to the described motion control apparatus of claim 1, it is characterized in that the output chip selection signal of the 74LS138 among the described CPLD and DSP output
Signal process NOR gate connects the G pin of second 74LS373, the OEN pin ground connection of this sheet 74LS373 chip, and D1~D8 pin connects data bus D
0~D
7, output Q1~Q8 is exported by the IO pin as the data bus of CPLD.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2009202506050U CN201616009U (en) | 2009-11-20 | 2009-11-20 | Simplified motion controller setup for electric actuators |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2009202506050U CN201616009U (en) | 2009-11-20 | 2009-11-20 | Simplified motion controller setup for electric actuators |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN201616009U true CN201616009U (en) | 2010-10-27 |
Family
ID=43002376
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN2009202506050U Expired - Fee Related CN201616009U (en) | 2009-11-20 | 2009-11-20 | Simplified motion controller setup for electric actuators |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN201616009U (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101710241B (en) * | 2009-11-19 | 2011-12-07 | 河北工业大学 | Simplified motion controller device for electric actuating mechanism and realization method thereof |
-
2009
- 2009-11-20 CN CN2009202506050U patent/CN201616009U/en not_active Expired - Fee Related
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101710241B (en) * | 2009-11-19 | 2011-12-07 | 河北工业大学 | Simplified motion controller device for electric actuating mechanism and realization method thereof |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN101937205B (en) | Novel portable PLC (Programmable Logic Controller) programming device | |
| CN101196738A (en) | PC-based Open Numerical Control System | |
| CN202486575U (en) | Numerical control machine tool control interface device using EtherCAT bus | |
| WO2009064125A2 (en) | Embedded robot control system | |
| CN103941648A (en) | Multi-axis motion control system and control method thereof | |
| CN201583832U (en) | Novel portable PLC programming device | |
| EP1949248A1 (en) | Modular avionics system of an aircraft | |
| CN108549330A (en) | A kind of multi-shaft interlocked built-in digital control system and its development approach | |
| CN101469990A (en) | Dual-CPU embedded navigation computer | |
| CN101837514B (en) | Laser three-dimensional inside engraving machine having USB master-slave dual-mode functions | |
| CN101515436B (en) | Embedded LED display screen control system | |
| CN201616009U (en) | Simplified motion controller setup for electric actuators | |
| CN102445924A (en) | Integrated numerical control system and integrated numerical control machine | |
| RU2016121724A (en) | Parallel Computing System Architecture | |
| CN102621960A (en) | Advanced RISC machine-Linux (ARM-Linux)-based compiled programmable automation control (PAC) | |
| CN101710241B (en) | Simplified motion controller device for electric actuating mechanism and realization method thereof | |
| JP2008263678A (en) | Servo motor control device | |
| CN114935904A (en) | General master-slave controller system for cascade communication | |
| CN201218931Y (en) | Interface switch controller for peripheral unit of intelligent computer | |
| CN107423182A (en) | One kind simulation USB hot drawing plug devices | |
| CN102929194B (en) | Asynchronous multi-core programmable automation controller (PAC) | |
| CN214751468U (en) | Novel comprehensive information monitoring system | |
| CN202548601U (en) | Integrated numerical control system and integrated numerical control machine | |
| CN204566137U (en) | The robot control system of the multiple driver of a kind of compatibility | |
| CN1897450A (en) | DC motor servo controlling card based on DSP |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| C17 | Cessation of patent right | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20101027 Termination date: 20131120 |