CN106054758A - Control system and method realizing multiple-input-multiple-output function - Google Patents
Control system and method realizing multiple-input-multiple-output function Download PDFInfo
- Publication number
- CN106054758A CN106054758A CN201610688630.1A CN201610688630A CN106054758A CN 106054758 A CN106054758 A CN 106054758A CN 201610688630 A CN201610688630 A CN 201610688630A CN 106054758 A CN106054758 A CN 106054758A
- Authority
- CN
- China
- Prior art keywords
- input
- output
- programmable delay
- delay module
- module
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
- G05B19/0423—Input/output
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/25—Pc structure of the system
- G05B2219/25432—Multiplex
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Programmable Controllers (AREA)
Abstract
The invention relates to the field of input and output control and especially relates to a control system and method realizing a multiple-input-multiple-output function. The control system is provided with a plurality of input ends, a plurality of output ends and a plurality of parallel programmable time delay modules. The control method is characterized in that a triggering signal and an output end are preset for each programmable time delay module, the plurality of input ends are enabled to be connected with each programmable time delay module and be corresponding to one or one output end. According to the invention, the output logic of an embedded system can be changed at any time, the input signals and the output ends are not in a fixed link relation any longer, the flexibility of the output modes is enhanced, and the design purpose of multiple-input-multiple-output crossed outputting is achieved; in addition, when a user faces different output driving requirements, the change of software codes is not needed, and the output logic can be changed at any time by only changing triggering signals and output end preset to the programmable time delay modules, so that field programmable logic control can be rapidly realized.
Description
Technical field
The present invention relates to input and output control field, particularly relate to a kind of control system realizing multiple-input and multiple-output and side
Method.
Background technology
The embedded software of existing control system, is processing in the way of output, generally uses 3 kinds of modes:
Mode one: as shown in Fig. 1 single-input single-output control method flow chart, the input of signal directly triggers output, i.e. " a pair
One output ".
Mode two: as shown in Fig. 2 multiple input single output control method flow chart, input signal indexes according to programming output,
Trigger the output set, i.e. " many-one output " (multiple state-event programmable are identical triggering output).
Mode three: as shown in Fig. 3 single input and multi-output control method flow chart, exports according to programming, accepts the defeated of setting
Enter signal, trigger output.I.e. " one-to-many output " (multiple outputs may be set to same input signal and trigger).
The three of the above way of output also exists following deficiency:
Mode one, single-input single-output, function is fixed, non-programmable.Must by software code more to the changes in demand of user
Change to realize.
Mode two, can be by programming, it is achieved multiple input signals trigger the output of same outfan;Need to some function
Ask and can pass through programming realization, it is not necessary to change software code, but same input signal cannot be realized and trigger multiple outputs.
Mode three, can be by programming, it is achieved same input signal triggers multiple outputs;The demand of some function can be passed through
Programming realization, it is not necessary to change software code, but multiple input signal cannot be realized and trigger same output.
Summary of the invention
In view of above-mentioned technical problem, the invention provides a kind of control system realizing multiple-input and multiple-output and method, enter
One step improves performance able to programme, and providing the user can fan-out capability the most able to programme.
The present invention solves the main technical schemes of above-mentioned technical problem and includes:
A kind of control system realizing multiple-input and multiple-output, it is characterised in that including:
Multiple inputs and multiple outfan;
The programmable delay module of multiple parallel connections, each described programmable delay module is preset with triggering signal, and corresponding one
Or multiple described outfan;
Wherein, described input receives input signal, and described input signal triggers corresponding described programmable delay module and generates
Operational order, and described operational order is exported by the outfan corresponding with this programmable delay module.
Described programmable delay module is provided with delay counter, and
Described input receives input signal, and described input signal triggers the described delay of corresponding described programmable delay module
Rolling counters forward, when described delay counter counting reaches threshold value, generates described operational order, is passed through by described operational order
The outfan output corresponding with this programmable delay module;
Described delay counter includes start delay enumerator, and when described start delay rolling counters forward reaches threshold value, raw
Become enabled instruction and exported by the described outfan corresponding with described programmable delay module;
Described delay counter includes cutting out delay counter, and when described closedown delay counter counting reaches threshold value, raw
Become out code and exported by the described outfan corresponding with described programmable delay module.
A kind of control system realizing multiple-input and multiple-output and method, based on described control system, described control method
Including:
Multiple programmable delay module is set between the plurality of input and the plurality of outfan, so that can described in each
Programmed delays module is connected with each described input, and corresponding one or more outfan;
Set triggering signal and the outfan of each described programmable delay module;
Described programmable delay module receives the input signal inputted by described input, when described input signal can be compiled with this
When the triggering signal that journey Postponement module sets matches, described programmable delay module generates operational order, described operation is referred to
Make and being exported by the outfan corresponding with this programmable delay module.
Preferably, delay counter is set in each described programmable module, and
Described programmable delay module receives the input signal inputted by described input, when described input signal can be compiled with this
When the triggering signal that journey Postponement module sets matches, trigger described delay counter counting, count in described delay counter
When reaching threshold value, described programmable delay module generates programmable delay module, by described operational order by able to programme with this
The outfan output that Postponement module is corresponding.
Wherein, described delay counter includes that start delay enumerator, described triggering signal include that described startup triggers letter
Number;Wherein, the signal described start delay rolling counters forward of triggering is triggered, in described start delay rolling counters forward when described startup
When reaching threshold value, generate enabled instruction and exported by the described outfan corresponding with described programmable delay module;
Described delay counter includes cutting out delay counter, and described triggering signal includes that described closedown triggers signal;Wherein, when
Described closedown triggers signal triggering described closedown delay counter counting, reaches threshold value in described closedown delay counter counting
Time, generate out code and exported by the described outfan corresponding with described programmable delay module.
Technique scheme has the advantage that or beneficial effect:
The invention discloses a kind of control system realizing multiple-input and multiple-output and method, this control system is provided with multiple input
End, multiple outfans, the programmable delay module of multiple parallel connections, this control method is defeated with the plurality of at the plurality of input
Go out and between end, multiple programmable delay module be set, set triggering signal and the outfan of each described programmable delay module,
Described input is connected with each described programmable delay module respectively, and corresponding one or more outfan.The present invention
Control system and method can change the output logic of embedded system at any time so that be no longer solid between input signal and outfan
Fixed linking relationship, but the linking relationship of signal and output can be set by programming, enhance the motility of the way of output,
Reach multi input multi output is intersected output purpose of design, meanwhile, user in the face of difference output driving demand time, it is not necessary to
Software code is made change, only programmable delay module need to be rewritten triggering signal set in advance and outfan, change at any time
Become output logic, quickly realize field programmable logic control.
Accompanying drawing explanation
With reference to appended accompanying drawing, to be described more fully embodiments of the invention.But, appended accompanying drawing be merely to illustrate and
Illustrate, be not intended that limitation of the scope of the invention.
Fig. 1 single-input single-output control method flow chart;
Fig. 2 multiple input single output control method flow chart;
Fig. 3 single input and multi-output control method flow chart;
The schematic diagram of Fig. 4 multi-input multi-output control system of the present invention;
Fig. 5 multi-input multi-output control system of the present invention is applied to the schematic diagram of industrial sewing machine trimming loose ends.
Detailed description of the invention
In the following description, a large amount of concrete details is given to provide more thorough understanding of the invention.When
So in addition to these describe in detail, the present invention can also have other embodiments.
The invention discloses a kind of control system realizing multiple-input and multiple-output, multiple-input and multiple-output control as of the present invention in Fig. 4
Shown in the schematic diagram of system processed, input signal 1 is that the startup of programmable delay module 1 triggers signal, triggers start delay counting
Device counts, and when start delay rolling counters forward reaches threshold value, generates enabled instruction and by corresponding with programmable delay module
Output port (being denoted as IO_1 in figure) output, it is achieved that the single input control to single output;Input signal 2 is able to programme
Postponement module 1 and programmable delay module 2 are closed and are triggered signal, trigger and close delay counter counting, when closing delay counter
Device counting when reaching threshold value, is generated out code and is also exported by IO_1 and IO_m corresponding with programmable delay module, both with
Input signal 1 same output IO_1, exports again to another IO_m, had both achieved the multi input control to single output, and had achieved again
The single input control to multi output, successfully must combine the two and achieve the multi input control to multi output.
Wherein, in order to meet the demand that user drives in the face of different output, user can be to each programmable delay mould
Block is set triggering signal and outfan, changes the output logic of embedded system at any time.
Additionally, each programmable delay module, can also set by delay counter according to the different demand of user
Postpone, export after to input delay.
Meanwhile, in software running process, programmable delay module is receiving the event that other functional module sends at any time
Signal.Programmable delay module triggers signal upon receipt of set in advance startup, gets started start delay enumerator
Counting, after start delay rolling counters forward reaches threshold value, exports default outfan by enabled instruction.
Programmable delay module receives set in advance closedown and triggers signal subsequently, gets started closing delay counter
Device counts.After closedown delay counter counting reaches threshold value, out code is exported default outfan.
Multi-input multi-output control system and the control of the present invention is elaborated below in conjunction with specific embodiment and accompanying drawing
Method processed.
Embodiment one:
Industrial sewing motor servo-controlled system, except drive shaft servomotor, also to drive trimming electromagnetic valve, pine by output
Line electromagnetic valve.
As shown in Fig. 5 industrial sewing machine trimming loose ends control method flow chart, programmable delay module 1 and can is previously set
The startup of programmed delays module 2 triggers signal and is pin position event signal under trimming;Programmable delay module 1 and programmable delay
The closedown of module 2 triggers signal and is pin position event signal on trimming.
It is as follows that trimming loose ends controls process:
Step one, spindle motor run to position, lower pin position with setting speed, control software and send " pin position signal under trimming ", root
Set according to preprogramming, trigger the start delay enumerator of programmable delay module 1 and programmable delay module 2.
Step 2, spindle motor are rotated further, and programmable delay module 1 and programmable delay module 2 are respectively to main shaft electricity
Position pulse signal (diagram does not marks) counting of machine encoder feedback, programmable delay module 1 and programmable delay module 2
Starting after enumerator reaches preset value, respectively by open command, output i.e. starts trimming to IO_1() and IO_2(i.e. start pine
Line).
Step 3, spindle motor are rotated further, and arrive and be parked in pin position, control software and send " pin position letter on trimming
Number ", set according to preprogramming, trigger the closedown delay counter of programmable delay module 1 and programmable delay module 2.
The cut out enumerator of step 4, programmable delay module 1 and programmable delay module 2 is respectively to CPU internal timing
Device pulse (diagram does not marks) counting, the cut out delay counter of programmable delay module 1 and programmable delay module 2 reaches pre-
If after Zhi, respectively by out code, output terminate to IO_1(i.e. trimming) and IO_2(i.e. loose ends terminate)
Step 5, trimming loose ends process complete.
In sum, the invention discloses a kind of control system realizing multiple-input and multiple-output and method, this control system
Being provided with multiple input, multiple outfans, the programmable delay module of multiple parallel connections, this control method is at the plurality of input
And multiple programmable delay module is set between the plurality of outfan, sets the triggering letter of each described programmable delay module
Number and outfan so that described input is connected with each described programmable delay module respectively, and corresponding one or more defeated
Go out end.Control system of the present invention and method can change the output logic of embedded system at any time so that input signal and outfan
Between be no longer fixing linking relationship, but the linking relationship of signal and output can be set by programming, enhances output side
The motility of formula, reach multi input multi output is intersected output purpose of design, meanwhile, user in the face of difference output drive
During demand, it is not necessary to software code is made change, only programmable delay module need to be rewritten triggering signal set in advance and defeated
Go out end, change output logic at any time, quickly realize field programmable logic control.
Above presently preferred embodiments of the present invention is described.It is to be appreciated that the invention is not limited in above-mentioned
Particular implementation, the equipment and the structure that do not describe in detail the most to the greatest extent are construed as giving reality with the common mode in this area
Execute;Any those of ordinary skill in the art, without departing under technical solution of the present invention ambit, may utilize the disclosure above
Method and technology contents technical solution of the present invention is made many possible variations and modification, or be revised as equivalent variations etc.
Effect embodiment, this has no effect on the flesh and blood of the present invention.Therefore, every content without departing from technical solution of the present invention, foundation
The technical spirit of the present invention, to any simple modification made for any of the above embodiments, equivalent variations and modification, all still falls within the present invention
In the range of technical scheme protection.
Claims (8)
1. the control system realizing multiple-input and multiple-output, it is characterised in that including:
Multiple inputs and multiple outfan;
The programmable delay module of multiple parallel connections, each described programmable delay module is preset with triggering signal, and corresponding one
Or multiple described outfan;
Wherein, described input receives input signal, and described input signal triggers corresponding described programmable delay module and generates
Operational order, and described operational order is exported by the outfan corresponding with this programmable delay module.
Realize the control system of multiple-input and multiple-output the most as claimed in claim 1, it is characterised in that described programmable delay module
In be provided with delay counter, and
Described input receives input signal, and described input signal triggers the described delay of corresponding described programmable delay module
Rolling counters forward, when described delay counter counting reaches threshold value, generates described operational order, is passed through by described operational order
The outfan output corresponding with this programmable delay module.
Realize the control system of multiple-input and multiple-output the most as claimed in claim 2, it is characterised in that described delay counter includes
Start delay enumerator, and when described start delay rolling counters forward reaches threshold value, generate enabled instruction and by with described
The described outfan output that programmable delay module is corresponding.
Realize the control system of multiple-input and multiple-output the most as claimed in claim 2, it is characterised in that described delay counter includes
Close delay counter, and when described closedown delay counter counting reaches threshold value, generate out code and by with described
The described outfan output that programmable delay module is corresponding.
5. realize a control method for multiple-input and multiple-output, based on the control system described in claim 1, it is characterised in that
Described control method includes:
Multiple programmable delay module is set between the plurality of input and the plurality of outfan, so that can described in each
Programmed delays module is connected with each described input, and corresponding one or more outfan;
Set triggering signal and the outfan of each described programmable delay module;
Described programmable delay module receives the input signal inputted by described input, when described input signal can be compiled with this
When the triggering signal that journey Postponement module sets matches, described programmable delay module generates operational order, described operation is referred to
Make and being exported by the outfan corresponding with this programmable delay module.
Realize the control method of multiple-input and multiple-output the most as claimed in claim 5, it is characterised in that in each described mould able to programme
Block arranges delay counter, and
Described programmable delay module receives the input signal inputted by described input, when described input signal can be compiled with this
When the triggering signal that journey Postponement module sets matches, trigger described delay counter counting, count in described delay counter
When reaching threshold value, described programmable delay module generates programmable delay module, by described operational order by able to programme with this
The outfan output that Postponement module is corresponding.
Realize the control method of multiple-input and multiple-output the most as claimed in claim 5, it is characterised in that described delay counter bag
Including start delay enumerator, described triggering signal includes that described startup triggers signal;Wherein, signal triggering is triggered when described startup
Described start delay rolling counters forward, when described start delay rolling counters forward reaches threshold value, generates enabled instruction and passes through
The described outfan output corresponding with described programmable delay module.
Realize the control method of multiple-input and multiple-output the most as claimed in claim 5, it is characterised in that described delay counter includes
Closing delay counter, described triggering signal includes that described closedown triggers signal;Wherein, institute is triggered when described triggering signal of closing
State closedown delay counter counting, in described closedown delay counter counting reach threshold value time, generate out code and by with
The described outfan output that described programmable delay module is corresponding.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610688630.1A CN106054758A (en) | 2016-08-19 | 2016-08-19 | Control system and method realizing multiple-input-multiple-output function |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610688630.1A CN106054758A (en) | 2016-08-19 | 2016-08-19 | Control system and method realizing multiple-input-multiple-output function |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106054758A true CN106054758A (en) | 2016-10-26 |
Family
ID=57194980
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610688630.1A Pending CN106054758A (en) | 2016-08-19 | 2016-08-19 | Control system and method realizing multiple-input-multiple-output function |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106054758A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5109503A (en) * | 1989-05-22 | 1992-04-28 | Ge Fanuc Automation North America, Inc. | Apparatus with reconfigurable counter includes memory for storing plurality of counter configuration files which respectively define plurality of predetermined counters |
CN2159582Y (en) * | 1993-03-29 | 1994-03-23 | 丘双安 | Electronic programable timer |
CN1591323A (en) * | 2003-09-04 | 2005-03-09 | 台达电子工业股份有限公司 | Programmable logic controller with auxiliary processing unit |
CN101478512A (en) * | 2009-01-22 | 2009-07-08 | 清华大学 | Data precoding method for MIMO wireless communication system |
CN102812449A (en) * | 2010-03-31 | 2012-12-05 | 罗伯特·博世有限公司 | Method for actuating a number of modules |
-
2016
- 2016-08-19 CN CN201610688630.1A patent/CN106054758A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5109503A (en) * | 1989-05-22 | 1992-04-28 | Ge Fanuc Automation North America, Inc. | Apparatus with reconfigurable counter includes memory for storing plurality of counter configuration files which respectively define plurality of predetermined counters |
CN2159582Y (en) * | 1993-03-29 | 1994-03-23 | 丘双安 | Electronic programable timer |
CN1591323A (en) * | 2003-09-04 | 2005-03-09 | 台达电子工业股份有限公司 | Programmable logic controller with auxiliary processing unit |
CN101478512A (en) * | 2009-01-22 | 2009-07-08 | 清华大学 | Data precoding method for MIMO wireless communication system |
CN102812449A (en) * | 2010-03-31 | 2012-12-05 | 罗伯特·博世有限公司 | Method for actuating a number of modules |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN207339692U (en) | Multiple-axis servo driver | |
CN106533286B (en) | A kind of integrated driving system of stepping motor of multiple degrees of freedom | |
CN109358570A (en) | Support the controller and its communicating control method of a variety of bus driver communications protocol | |
CN106054758A (en) | Control system and method realizing multiple-input-multiple-output function | |
CN109298658A (en) | Double-core EPS controls program flow and its monitoring system and monitoring method | |
US9933771B2 (en) | Machine tool having function of safety controlling peripheral devices | |
CN202837963U (en) | Multi-bus architecture based control device for braiding mechanism of circular knitting machine | |
US9971331B2 (en) | Monitoring device for programmable controller | |
CN104562471B (en) | Control system of automatic diversified sewing machine | |
EP3418829A1 (en) | Method of logging process data in a plc controlled equipment | |
CN114347025B (en) | Cooperative robot function safety control circuit, control method and cooperative robot | |
CN205986677U (en) | Multichannel direct current motor drive control system based on CPLD | |
CN205721324U (en) | Machine control equipment, control system and driving means, control device | |
CN201075174Y (en) | Computerized embroidering machine control apparatus | |
CN106547549A (en) | A kind of software development methodology of the automatic coil inserting apparatus of automotive body welding assembly | |
CN106629504A (en) | Electric forklift as well as hydraulic system thereof and control method of hydraulic system | |
CN203278733U (en) | stepping motor and control system of stepping motor | |
CN101973114B (en) | Plastic injection moulding servo multi-pump compound action system | |
CN202727284U (en) | Mode control device for hydraulic servo proportional valve | |
CN206309695U (en) | A kind of wireless remote control rotary motor embarkation test system | |
US3525082A (en) | Conditional alternative program branching in automated working machines | |
TW201720620A (en) | Control system for pumps | |
CN110011656A (en) | A kind of burr-free clock pierce circuit | |
JP6335943B2 (en) | Electric gripper drive unit | |
CN205149632U (en) | Tractor work light controller and control system ; tractor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20161026 |
|
RJ01 | Rejection of invention patent application after publication |