CN1058111A - The system that is used for input of digital control system signal and/or output - Google Patents

The system that is used for input of digital control system signal and/or output Download PDF

Info

Publication number
CN1058111A
CN1058111A CN 91104033 CN91104033A CN1058111A CN 1058111 A CN1058111 A CN 1058111A CN 91104033 CN91104033 CN 91104033 CN 91104033 A CN91104033 A CN 91104033A CN 1058111 A CN1058111 A CN 1058111A
Authority
CN
China
Prior art keywords
signal
input
circuit
output
register
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.)
Granted
Application number
CN 91104033
Other languages
Chinese (zh)
Other versions
CN1098489C (en
Inventor
安东·罗弟
迪特尔·豪克
卡尔-海因茨·玛依
汉斯·穆勒
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Heidelberger Druckmaschinen AG
Original Assignee
Heidelberger Druckmaschinen AG
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Priority claimed from DE19863642500 external-priority patent/DE3642500A1/en
Application filed by Heidelberger Druckmaschinen AG filed Critical Heidelberger Druckmaschinen AG
Publication of CN1058111A publication Critical patent/CN1058111A/en
Anticipated expiration legal-status Critical
Application granted granted Critical
Publication of CN1098489C publication Critical patent/CN1098489C/en
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Bus Control (AREA)

Abstract

Be used for the input between digital control system signal and some peripherals and/or the system of output, be specially adapted to printing machinery, in system, above-mentioned peripherals is through a bus system, output register and final stage are connected in a control module, and the content of output register and the output signal of final stage can be inquired respectively.Be used to inquire the input register of output signal setting, also can be as the input circuit of peripherals output signal.

Description

The system that is used for input of digital control system signal and/or output
The present invention relates to one be used for the digital control system signal from or to the system of input of some peripherals and/or output, in system, an input circuit is connected with a control module with input side with an output circuit with outgoing side, and realizes the supervision to input and/or output circuit.
Control machine and equipment by means of digital control function, often also comprise some functions, when in this respect fault being arranged, may cause tangible material to damage, perhaps even cause jeopardizing the person.Particularly under baroque situation, just very high requirement is being proposed aspect the reliability peer machine parts.So when requiring, can realize fault diagnosis at equipment power-on or when equipment work, so as the quick identification fault and accomplish technical reliably.Particularly require in the scope of some peripherals and interface, to be provided with supervision.
To the control system of printing machinery, need especially to propose this requirement, because here, the number of transmitter and topworks is quite big on the one hand, and requires its function must adapt to the requirement of particular case; On the other hand, in the enterprise that uses printing machinery, lack the electronics professional usually.
Task of the present invention is, realizes a kind of like this supervision reliably, and reduces cost as much as possible simultaneously.To this, should have the dirigibility of height according to the system of invention.
System according to invention is characterized in that the content of output register and the output signal of final stage can be inquired respectively.
By measure, not only can make to monitor that the output circuit zone becomes possibility, but also in the peripherals scope, for example the Fault Identification to pilot lamp, electric machine actuating mechanism, relay or switch becomes possibility according to invention.When this external cable join domain breaks down, can also export fault-signal.Therefore, the present invention helps to improve greatly in the total system, for example in a printing machinery and its digital control system, uses the ratio of corresponding supervisory programme or fault diagnostic program identification fault.
Simultaneously can be arranged to the final stage output signal, through inquiring as the content of output register another address; Perhaps, the final stage output signal can be inquired as the content of output register through another data conductor.
Can further develop formation according to the described system of invention, favourable way always makes a part be equivalent to the wide output circuit of output register composition of bus system word.
Of the present invention another further develops and is, the final stage output terminal is always made with a transistor, and transistorized collector except peripherals, does not have other operating resistances.
To main equipment, for example with many machines and digital control system interconnection, then the output terminal of digital control system should be respectively and transmitter and load fit, interface or the ground connection that transmitter and load and digital control system output terminal are told or connect operating voltage.One further develops favourable way to invention and is thus, and each final stage output terminal is to be connected by the above-mentioned transistor that two transistors constitute, and controlled making makes this or that or two transistors respectively are in cut-off state.
In order to determine short circuit, can be further developed into the device that final stage is had be used to detect output current according to the system of invention.
Particularly advantageous within the scope of the present invention way is can also be used as input to output terminal and bring in use, and not need circuit is done corresponding change.To this, an input circuit is arranged for a plurality of signals in parallel, and the input end of these signals then is connected with the output terminal of final stage.Because load and transmitter are fit to the voltage power supply that is higher than digital assembly usually, so be that input circuit is inserted earlier a transit line according to another setting that further develops formation.
Because the fault that contact vibration or contingent disturbing pulse cause is imported, what can be provided with in invention scope is digital filter of configuration between transit line and input circuit in order to stop.
It is to make the final stage output terminal bring in design as I/O that of the present invention another further develops, simultaneously, by the selection of output circuit with by being connected the mode of peripherals, each I/O end can be decided to be input end or output terminal individually.Therefore, can as far as possible freely select load or transmitter to take the I/O end of system, wherein coupling only realizes by corresponding programming.
According to another setting that further develops formation is to make peripherals that two interfaces always be arranged, an interface always is connected with an I/O end of system, another interface then always is connected with a normal potential (operating voltage or ground connection), and normal potential is another input end that is input to the transit line that is used to control.Therefore, transit line can receive the signal from transmitter, and the interface that transmitter is told by transit line is connected in earthing potential, or is connected to operating voltage.
Under loading condition, reach similar dirigibility, can only control that transistor when using the final stage that is formed by two transistor series (each final stage is controlled according to normal potential), the interface that this transistor is told by output terminal then joins with the voltage that is different from normal potential.
The check of input circuit and digital filter, can develop according to another that invent and realize: promptly test signal can be received the input end of input circuit by control module through a test pattern register, and in control module, the output signal of input circuit is compared with test signal.Using these measures is favourable when using the I/O end, not only it can be treated as input end, and as output terminal.
Simultaneously particularly advantageously be: input circuit and test pattern register always are arranged for a plurality of signals in parallel, these signals then constitute a long numeric data word, and the formation of a test pattern is by making each position in turn accept second numerical value after accepting first numerical value, accepting first numerical value then again.By " displacement " of an above-mentioned position, the front and back signal can be differentiated, like this, if in 8 parallel channels of digital filter or input circuit two owing to break down when interconnecting, also just have the fault-signal of being beneficial to.
Have to be beneficial to further develop and improve by above-mentioned various measures and be used for the system that the digital control system signal outputs to some peripherals.
In addition, particularly advantageously be, be used for the device that numerical value appears on each in comparison in succession if input circuit has, said apparatus is used for the circuit that the start-up routine flow process interrupts and is connected with one.
Another development of the present invention is to make output circuit have logic gate, and above-mentioned logic gate can make input signal be connected with pulse signal.In order to cause that people pay special attention to, can make the frequently work of control lamp that embodies reliability, so the control lamp glimmers with pulsing.This situation originally can be simply reaches with the instruction of suitable computer program.The shortcoming of this situation is, is switched on or switched off a plurality of pilot lamp that are contained on the instrument panel owing to engrave computing machine when different on the one hand, thereby the chaotic scene that can not differentiate occurred; In scitillation process, need some devices repeatedly to propose instruction on the other hand to control module and data bus.
The invention described above form of implementation these shortcomings can not occur, the advantageous forms of implementation that above-mentioned development forms is, promptly in order to adjust the frequency division relation, each signal in parallel is provided with a traffic pilot, above-mentioned traffic pilot is by its control signal of importing, one in a plurality of output terminals of frequency divider is connected with a logic gate in the output circuit, and above-mentioned control signal carried by a control word register, above-mentioned register is connected with control module at input side.Therefore, control lamp for each access transmits a signal of connecting this lamp once or at every turn, write a control signal corresponding in the system that is used for according to invention importing and/or exporting, whether above-mentioned signal packet contains relevant control lamp should glimmer, and with which kind of frequency glimmers under these circumstances.
Particularly to the situation of multicomputer system, at this moment, computing machine is accepted in the output circuit selection of some, and should not change by pre-determined other bit value of another computing machine, be output circuit to be included with control module read the device that is stored in numerical value in the output circuit according to another way that further develops formation.
Generally for as soon as possible to control module by the newspaper fault-signal and under a stable condition, provide the result of test process, according to another development of the present invention is to be provided with one to be used for the circuit that the start-up routine flow process is interrupted in control module, and the input end of foregoing circuit can be failed from the signal a plurality of in parallel of input circuit with from the current detection signal of final stage.
Simultaneously, the signal of individually input end being imported can block by the content of a control word register.Thereby just might make thus itself be exactly the signal of fault-signal be to start to interrupt, by suitable programming, be not to cause starting interrupting, but only when the data bus of follow procedure inquiry control module, just use.
For fear of because the interference that the contact vibration and the disturbing pulse that may occur cause, can and be used for being provided with one between the input circuit of a plurality of signals in parallel at the input end that is connected with peripherals according to another form of implementation of the present invention and switch through circuit and a digital filter that is used for a plurality of signals in parallel.
Embodiments of the invention are illustrated in the accompanying drawing by means of some width of cloth, and are specified in the later instructions.Be shown with in the accompanying drawing:
Fig. 1. one is used to import and/or the block diagram of output system,
Fig. 2. an output circuit,
Fig. 3. a pulse frequency divider,
One of embodiment of Fig. 4 A. final stage and transit line, two of the embodiment of Fig. 4 B. final stage and transit line,
Fig. 5. another embodiment of transit line,
Fig. 6. a digital filter,
Fig. 7. when input signal changes, have the input circuit that interrupts generation,
Fig. 8. IE circuit and
Fig. 9. the 3rd embodiment of a transit line.
Fig. 2 extremely circuit shown in Figure 9 is to constitute the most important component part of system as shown in Figure 1.These circuit are
Be 8 Design of Signal in parallel.Except that a few exceptions situation, Fig. 2 is to circuit shown in Figure 9, just for one in 8 signals in parallel.Identical part indicates identical label in the drawings.
Fig. 1 represents an input/output block diagram according to invention, and this figure is the some of a digital control system.Above-mentioned digital control system can comprise a plurality of input/outputs as shown in Figure 1, one or more microprocessor, and storer and miscellaneous part.For invention is described, a data bus 1 and a control module 2 only are shown in other parts by digital control system.
Output circuit 3, input circuit 4, control word register 5, the circuit 6 that starts the interrupt routine flow process is connected with data bus with test pattern register 7.Said units is connected with control module 2 by operation circuit in addition, and control module just illustrates one on Fig. 1.For with this transmission signals, an address and control bus can be set also originally.In an embodiment, wide 8 bits that are of the word of unit 3 to 7 and data bus 1.
Signal is input to output circuit 3 by data bus, and these signals must be sent to load 21,22 by an I/O end 8 at last.Connection can be brought in as input end or output according to program in each position of the I/O end 8 that 8 words are wide.And in bigger system, preferably making one or more circuit shown in Figure 1 as output circuit, other then come work as input circuit.The load 21,22 that will be connected with the I/O end at first is contemplated that control pilot lamp and the magnetic manipulation executive component that is used for machine and equipment control.Favourable measure is that the signal of particular importance can be glimmered by pilot lamp and indicate to these machine and equipment proofs.A plurality of during by a microprocessor-controlIed pilot lamp flicker and since according to the time that turns on and off of each control pilot lamp of practical programs be different, so the very chaotic scene that can not differentiate also occurred.
Therefore further develop according to of invention and be, in output circuit 3, be provided with signal and be connected with the logic of flash signal, above-mentioned flash signal for the data word of imput output circuit 3 each, can produce respectively.For this reason, a control word register 5 through data buss 1, import a control word, this control word also shows in addition, and the position of the data word which will transmit by output circuit 3 should pulse, and the different available different frequencies in position is pulsed.The further details of this respect is illustrated in conjunction with Fig. 2 and Fig. 3 later.
The output signal of output circuit 3 enters 8 final circuits 9, and wherein details illustrates in conjunction with Fig. 4 A, Fig. 4 B.Final circuit 9 is anti-short circuits, and is provided with a circuit that detects output current.The output terminal of final circuit 9 constitutes I/O end 8.When above-mentioned output current surpassed regulation, by data conductor 10, control was used to start a circuit 6 of interrupt routine (IE).Circuit 6 directly is connected with the control module 2 of digital control system through a lead 11, and the program that handling this moment is interrupted, so that change the fault enquiry procedure over to.
The output signal that monitors and/or from the input signal of transmitter (for example limit switch, EmS) is led to a transit line 12 from I/O end 8.In foregoing circuit, at first making may be by adapting than the incoming signal level of long lead transmission and the level (for example level of TTL) of digital display circuit.Simultaneously, can disturb with the backdrop that a threshold property curve suppresses to add to a certain extent, and,, after this continue to transmit by a lead owing to used differentiating amplifier that some signal symmetry ground are sent to transit line 12 through two leads by transmitter.
Transit line 12 form of implementation has following special consideration in addition; Promptly this circuit is inserted a normal potential.The sender interface of being told by I/O end 8 is connected with this normal potential.According to this normal potential whether with operating voltage (for example 24 volts) or the corresponding situation of earthing potential, in transit line 12, realize such coupling, make the output terminal of transit line 12, the sender-switch state of corresponding a kind of regulation provides a thick-and-thin DCL level.
The output signal of transit line 12 has been suppressed after being input to a digital filter 13, and these signals are so short, so that they can not become " really " signal of transmitter.For digital filter 13 and used transmitter are complementary, requirement is arranged not only to the frequency of control cadence signal, and to the beat number that control is used to filter.And, needing to control by control word register 5 again, the control word register writes down these beat numbers on the one hand, gives frequency division value of frequency divider by this control word register transfer on the other hand.
These by the signal of digital filter 13, through input circuit 4, are input to bus system 1 and IE circuit 6.In order to monitor digital filter 13 and input circuit 4, with some signals of expression test pattern by bus system 1 through a test pattern register 7, be input to the input end of digital filter 13.
When using system is exported, continue to be sent to the signal of load 21,22, always as a position in 8 words, via bus system 1, output circuit 3 and final circuit 9 are sent to output terminal.In this signal some are signals of pulsation, can pass through control word register 5 and a pulse frequency divider 15 to this, and required pulse is inputed to output circuit 3.If disconnecting consumers then presents 24 volts at the corresponding interface place of I/O end 8, and when connecting load, but be the O volt.This information is input to input circuit 4 by transit line 12 and digital filter 13, in the given time, control module can pass through bus system 1, inquire above-mentioned information from input circuit 4, whether be in desired voltage at I/O end 8, so just can accomplish a kind of control clocklike.
For example, by output circuit 3, final circuit 9, or all can be identified by the fault that relevant load causes.As long as input circuit 4 is connected with IE circuit 6, can in normal program circuit scope, inquire about input circuit 4 to this, just not need to consider a kind of corresponding indicating fault, or take other appropriate action.In addition, if be short-circuited, promptly when a final stage learns that output current is too big, also can directly indicate by final circuit 9.
In addition, digital filter 13 and input circuit 4 checked with a test pattern of number of ports character filter 13 input ends by (for example when control system starts) regularly at every turn.Therefore, when input/output is used for output services, can discern, at one by output circuit 3, final circuit 9, transit line 12, when fault having occurred in the loop that digital filter 13 and input circuit 4 constitute, whether the path of output signal and/or the path of input signal have shortcoming.
Be used for input in order to start system shown in Figure 1, the interface access transmitter at I/O end 8 preferably inserts switch.Do not have this moment output signal to transmit through output circuit 3, and with above-mentioned output signal is checked the same transit line 12 that passes through by the input signal that transmitter comes, digital filter 13 and input circuit 4 are input to bus system 1.
Describe below according to the described system of Fig. 1 and relate to the function of Fig. 2 to details shown in Figure 8, also the output of signal is described in segmentation below simultaneously, the continuation of input signal transmits the check of system and IE.
Signal output
Be used to control 8 signals in parallel of 8 loads, be transferred into output circuit 3 by data bus 1 by control module 2.Only illustrate two in 8 loads, i.e. an incandescent lamp 21 and a relay coil 22.Fig. 2 only illustrates in 8 parallel channels of output circuit 3.The data input pin D of two registers 31,32 connects data bus 1(Fig. 1 with interface 33).Control module transmits signal CS1 and CS2 via other input ends 34,35, can come control register 31 and register 32 receiving inputted signal D with respect to each data word for this reason.Control module 2 transmits a release signal F1 through another input end 37 too.Moreover, in the parallel channel each, all be provided with the input end 38 of a pulse signal, the output signal of this pulse signal and register 32 together is imported into NAND circuit 39, and then is connected with output terminal and a NAND circuit of register 31.Corresponding signal is imported into final circuit 9(Fig. 1 from output terminal 41).
Select signal CS1 and CS2, process AND gate circuit 42,43 is imported into the G input end of register 31 and 32, in the time should writing data in register 31 or 32, then transfers out one through an input end 44 to them again and writes pulse WR.The data of storage also can be passed through data bus 1(Fig. 1 in register 31 and 32) read.To this, the output terminal Q of register 31,32 has connected ternary driver 45,46, and its output terminal links to each other with data bus through the corresponding interface.If want the content of readout register 31 and 32, then a read pulse RD is inputed to two AND gate circuits 48,49 through input end 47, thus, corresponding strobe pulse CS1 or CS2 are sent to the output control interface OC of ternary driver 45 and 46.
When many computing machines of control module domination, then to the content advantageous particularly of readout register 31 and 32.And can realize that also a computing machine receives the control of an output circuit, at this moment, some in the output signal in parallel are received, and other then must change according to the program of receiving computer.Receiving computer can readout register content, provide a new data word then, and transmit through data bus 1, on data bus, corresponding position does not change.
If output terminal 41 shutoffs, then at logic O of register 31 stored.The state of register 32 is unessential at that time.If output terminal 41 connects constantly, then at logical one of register 31 stored, and at logic O of register 32 stored.This logic O makes that the output terminal of NAND circuit is total a logical one to occur, and logical one then makes output terminal 41 conducting constantly through AND gate circuit 40 with the output terminal of register 31 together.Output signal should be pulsed, so that for example make the alarm lamp flicker, to this, by the pulse signal P1 of input end 38 inputs, through NAND circuit 39, places at register 32 under the situation of logical one and is transferred into AND gate circuit 40.This signal and place the register 31 of logical one to pass through AND gate circuit 40 has together produced a pulse control signal that is used for output circuit 9 at output terminal 41.
Fig. 3 is the block diagram of indicating impulse frequency divider 15 schematically, and above-mentioned frequency divider is transfused to a pulse beat signal at 51 places.The frequency of this pulse beat signal is equivalent to pilot lamp required high impulse or flicker frequency.Trigger 52,53,54 constitute a frequency division link.Input end 51 also has the output terminal of trigger 52,53,54 always to be connected with the input end of 8 traffic pilots, and Fig. 3 only illustrates one of them traffic pilot 55 thus.
Through other input ends 56,57, control word register 5(Fig. 1) to two control words that word is wide of traffic pilot 55 inputs.Other input ends that are equivalent to 2 control words are all gone up the traffic pilot shown in the end with figure and are connected.According to control word, the output terminal 58 of traffic pilot 55 and a connection in the traffic pilot input end, like this, pulse or flicker frequency can be that multiplying power changes with 2 always just.
Fig. 4 A and 4B represent two forms of implementation of final stage, and in final circuit 9 (Fig. 1) thus always is provided with 8 such final stages.In final stage shown in Fig. 4 A, a transistor 61 is set, this transistor does not have other operating resistances except that load 62.Therefore output terminal 63 is exactly a so-called opener utmost point output terminal.Shown in Fig. 4 A, signal is from output circuit 3(Fig. 1), be transferred into the input end 64 of final stage, the driver 65 through only schematically illustrating on the figure again is input to the base stage of transistor 61.At the collector emitter circuit of transistor 61 current-limiting resistance 66 of having connected, the Base-Emitter circuit cross-over connection mutually of this current-limiting resistance and another transistor 67.When load 62 short circuits, voltage drop on the resistance 66 is so big, causing another transistor 67 conductings, and produces a voltage drop on resistance 68, above-mentioned voltage drop is transferred into IE circuit 6 through one (Fig. 1) in a threshold switch 69 and the lead group 10.Because this circuit just can controlling output circuit make final stage be no current state.
For various reason, for example, loaded work piece voltage is set usually is+24 volts because the lead between whole electronic control system and each load is longer.Can certainly use other voltages.For output circuit is checked, therefore require used digital circuit (for example TTL circuit) is mated.Be provided with transit line 12(Fig. 1) for this reason.Fig. 4 A is shown with the circuit 70 that is used for a position, 8 positions in the transit line 12.
Voltage matches reaches by a voltage divider 71,72 basically, is connected to a comparator 73 or connects a threshold switch on voltage divider.The output terminal 74 of comparator and a digital filter 13(Fig. 1) link to each other, this digital filter describes in detail in conjunction with Fig. 6 later.Digital filter sends a signal to input circuit 4(Fig. 1), control module 2 then can be read above-mentioned signal by data bus 1.
In system according to invention, can be to taking place in the load of specified signal between control module 2 and the respective load 62 control path.Following fault is determined:
1. although the interruption between the transistor 61 of control module and final stage makes and to provide signal inequality from control module, from input circuit 4(Fig. 1) signal read, but not variation.
2. the interruption between output terminal 63 and load 62 and other working power leads can make output terminal 63 always be in earthing potential.
In conjunction with Fig. 4 B another development of invention is described, can make the load of identical final stage this moment, uses the interface of telling from output terminal, or be connected on the positive operating voltage, or be connected on the earthing potential.
In conjunction with Fig. 4 B another development of invention is described, can make the load of identical final stage this moment, uses the interface of telling from output terminal, or be connected on the positive operating voltage, or be connected on the earthing potential.If will have digital control system according to the invention input/output, link to each other with printing machinery, and this load comprised in cable is connected as load, then do with regard to advantageous particularly like this.To many printing machinery, or a plurality of printing machinery part situation about controlling by a digital control system, load and transmitter also can be connected in different current potentials.
According to the final stage shown in Fig. 4 B is to be made of the transistor 82,81 of two series connection and a driving circuit that only schematically illustrates 83.Come oxide-semiconductor control transistors like this, promptly output terminal 84 constitutes the ternary output terminal of what is called.So output terminal 84 is two transistor 81,82 not conductings of high resistance, with a load 85 relay coil shown on do not having input voltage on Fig. 4 B this moment.Load 85 interfaces of telling from output terminal 84 86 are connected with the control input end 87 of driving circuit 83.So just causing at interface 86 places has under the situation of a positive voltage, then comes oxide-semiconductor control transistors 81 by the signal near final stage input end 88 places.As situation about dotting among Fig. 4 B, interface 86 is when earthing potential, and driving circuit 83 just is transferred on the transistor 82, makes this transistor be controlled by the signal of being introduced by 88 places.Need also in the transit line 92 that in Fig. 4 B, schematically illustrates to consider that load 85 is and positive potential, or be connected, normal potential is input to a control input end 91 of transit line 92 for this reason with earthing potential.
The continuation of input signal transmits
Following explanation relates to input signal through transit line 12, and the continuation of digital filter 13 and input circuit 4 transmits.At this moment, input signal can be from being configured in the transmitter (for example switch) that will control on the machine.The output signal of final stage 9 can be used for doing check.When in Fig. 4 A, being shown with first embodiment of transit line in conjunction with a final stage, Fig. 5 represents second embodiment of a transit line, and the input signal that is input on this transit line is sent to a difference frequency input end by transmitter 96 through two leads.Because above-mentioned transit line is safe and reliable and have quick function, an embodiment is to the transmitter advantageous particularly after the institute.
Transmitter 96 is so-called polarity reversing switches, and each with a contact brush be connected in earthing potential with+24 volts, so lead to the lead of input end 97 and 98, can be connected with+24 volts with earthing potential on alternation ground.Input end 97,98, each is through a voltage divider 99,100; 101,102, be connected with inverting terminal with the non-inverting input terminal of a differentiating amplifier 103, the output terminal 104 of this differentiating amplifier 103 constitutes an output terminal of transit line.
8 input signals in parallel are transferred into digital filter 13 by transit line 12.Fig. 6 is illustrated in the circuit 13 one of them embodiment of 8 wave filters being provided with.Above-mentioned wave filter is used for getting rid of on the circuit because the interference that contact vibration and disturbing pulse form.Input signal only during filtration time, when adjacent input value is constant, just continues to transmit.
The signal that will filter is input to input end 161, sends cadence signal T at 162 places simultaneously.Control word register 5(Fig. 1) with signal fan-in 163,164 and 165, above-mentioned signal is a feature with the beat number, and the beat number then is the basis of filtering.These signals arrive the input end A of counter 169, B, C through phase inverter 166,167,168.Input and output side mark and one, 161 types counting opens relevant.
Cadence signal by the input of 162 places at first sends pulse to first trigger 170 sum counters 169, is input to the beat input end of second trigger 172 then through a phase inverter 171.Four NAND circuits 173,174,175 and 176 constitute a traffic pilot, this traffic pilot is according to trigger 172 output terminal Q level at that time, or with the output signal Q of trigger 170, or the output signal QD of counter 169 is continued to be sent to the input end D of counter 169.The output terminal Q of the output terminal of traffic pilot and trigger 170 all is connected with an anticoincidence circuit 177, and the output terminal of this anticoincidence circuit then is connected with load (peek) input end of counter 169.
The signal at input end 161 places under the constant situation through behind the traffic pilot, the signal of NAND circuit 176 outputs is drawn the D input end of getting back to counter.Because input signal and output signal equate,, the load step-down lost efficacy so forming.When the signal at input end 161 places changed, then the signal of load input terminal raise, and unison counter 169 just begins counting.When regulation wave filter number was 3, then counter status was 4.
If before counter 169 reaches numerical value 7, input end signal is got back to its original state again, and then load step-down again interrupts thereby make to filter.
If counter reaches its end-state 7,, has high level at the D of trigger 172 input end then through three times of AND gate circuits 179.When the negative pulse edge of next beat arrived, the output terminal Q of trigger 172 obtained high level, and traffic pilot is connected to the Q output terminal of trigger 170, and so, input signal level at that time just appears at the D input end of counter 169.Load is step-down again, and this is because at the input end D of counter 169 identical with the input end state, and input information and output terminal 178 connections.Simultaneously, the signal of the D input end of trigger 172, step-down owing to the wave filter several 3 that deposits in.When the negative pulse edge of next beat occurs, the signal at the output terminal Q place of trigger 172 step-down too then, traffic pilot changing-over simultaneously makes the output signal of counter 169, returns to its D input end again.
Digital filter 13(Fig. 1) 8 signals in parallel are imported into input circuit 4.An embodiment of input circuit illustrates by Fig. 7, and Fig. 7 represents in the input circuit 4, in 8 passages one.With digital filter 13(Fig. 1) output signal import at 121 places, and can be input to data bus 1(Fig. 1 by output terminal 123 through a ternary driver 122).For this reason, select signal CS to be imported into ternary driver 122 through a control input end 124.
Through an input end 127, the cadence signal CLK of system is sent to the beat input end of two triggers 125 and 126. Trigger 125 and 126 makes input signal respectively postpone a beat cycle.By means of an anticoincidence circuit 129, can determine when a beat changed to next beat, whether input signal changed.If be this situation,, provide an IE signal then at output terminal 130 places.
The check of system
Be described, with the mode of reading in output signal, just might check now input/output at peripherals and output side signal face.Carrying out another kind of check can be by being switched to test pattern the input end of digital filter, and whether input circuit 4 output signals that therefore check occurs are consistent.Like this, when use was imported according to system's work of invention, reliability is improve greatly just.In addition, when use is exported according to system's work of invention, thereby might accurately limit location of fault.
Connecting test pattern can be with a test pattern from control module 2(Fig. 1), through data bus 1, be written in the test pattern register 7, and input to the input end of digital filter 13.The connection of test pattern is decided by the control bit in the control word register 5 constantly.Test pattern register 7, available simple method is bought the element of market supply and is made, and so just needn't understand in more detail.Above-mentioned register 7 comprises an eight bit register with ternary output terminal basically.
Suitable test pattern is in turn to enter 8 parallel channels with a numerical value 1, and other passages connect 0 simultaneously.In addition, therefore just can check each to want the connection situation of sense channel and adjacency channel.
IE
Carry 8 signals in parallel to IE circuit 6 respectively by input circuit 4 with by final circuit 9.Each signal is from input circuit 4, through an input end 141(Fig. 8), arrive the J input end of a JK flip-flop 143, this signal is 145 and accepted by trigger during input clock pulse CLK.Will be by final circuit 9(Fig. 1) in the signal of input one, be passed to a JK flip-flop 144 through an input end 142 is corresponding, in this trigger, also accept above-mentioned signal with clock pulse CLK, if at trigger 143, an output terminal of 144 keeps one 1, then through 16 OR-circuits 146 and output terminal 147, to look-at-me of control module output.
In the system with a plurality of IE circuit, control module is inquired each circuit successively with infusing: which input end has started interruption.In this so-called polling procedure, on circuit shown in Figure 8,, inquire the output terminal of trigger 143,144 through register 150,151 successively by the strobe pulse CS1 and the CS2 of 153 and 156 inputs.The output terminal of register 150,151 through interface 152, all is connected with each bar lead of data bus.When register 150,151 when reading, its D input end is locking, therefore, resetting of trigger 143,144 do not change the content of register 150,151.
Can be with signal S1 and S2 by control word register 5(Fig. 1), through input end 154,155, and OR-circuit 148,149 is input to the RESET input of trigger 143,144, can cut off the further transmission of each fault-signal with signal S1 and S2.
Under situation of the present invention, IE also can be carried out by an interruptable controller, and this interruptable controller sends an interrupt vector to control module.
By transit line shown in Figure 9, the signal of a transmitter (for example switch 181) can be received, and not consider, from switch 181 interfaces that input end 182 is told, be in being connected to earthing potential or being connected with a normal voltage that is different from earthing potential.A system that is provided with so a kind of transit line according to invention, can be used to control a machine, and even the terminal pattern of two kinds of mixing can be arranged, for example, do not need respectively transmitter to be provided with independent transit line and program to the connection of different structure series unit.
For transmitter can be mated under the different operating mode automatically, with normal voltage (or earthing potential, or be different from the voltage of earthing potential) be input to the control input end of a controlled double pole switch 186 through input end 183 and voltage divider 184,185.If normal voltage is different from earthing potential, then switch 186 is positioned at the position of upper illustration lines.
Moreover the branch pressure voltage of voltage divider 184,185 is input to the control input end of two threshold switches 189 and 193, and to make threshold switch 193 are negate types.Therefore, if on voltage divider 184,185, positive voltage occurs, then make the output signal of threshold switch 189 continue to be sent to output terminal 190, thereby the output terminal of threshold switch 193 is blocked.So, preferably use the threshold switch that has a ternary output terminal of what is called, this switch then is high resistance when a corresponding signal is arranged in the control input end.If the voltage at voltage divider 184,185 places is equivalent to earthing potential, then the output voltage of threshold switch 193 can be continued be sent to output terminal 190, the output terminal of threshold switch 189 then is blocked simultaneously.Threshold switch 189 and 193 is different, and threshold switch 189 can not make the signal paraphase between input end and the output terminal, and threshold values switch 193 then is arranged to can paraphase.
Start if will be connected to positive 24 volts switch 181, then above-mentioned positive voltage just is imported into the input end of threshold switch through the voltage divider that is made of resistance 187,188.Therefore threshold switch 189 sends for example 5 volts positive potential at output terminal 190.When switch 181 was opened, the O volt appearred in the input end of threshold switch 189, so output terminal also is the O volt.
If do not connect switch 181, and insert a switch that links to each other with earthing potential 191 in transit line, and make 183 this point be connected to earthing potential too simultaneously, so, switch 186 is located in lower position, and threshold switch 193 is connected.Therefore, when switch 191 is opened, at the input end of threshold switch 193, the positive 5 volts of voltages through input end 192 and resistance 188 inputs have appearred.The output voltage of threshold switch 193, from but the voltage of output terminal 190 is O volt.If switch 191 closures, then earthing potential appears in the input end at threshold switch 193, so its output voltage is 5 volts.Do not need to consider, each switch whether respectively with earthing potential, or be connected with a positive operating voltage, therefore, when switch closure, logic level of transit line output shown in Figure 9, and when switch opens, then export another logic level.Therefore with control system together, two kinds of transmitters (switch of ground connection and connect the switch of positive voltage) can replace or mix use, and do not need circuit is made special matched and transmitter is programme.Therefore, whether respectively by program inquiry transmitter ground connection or connect positive potential, it also is unnecessary doing like this.

Claims (16)

1, be used for digital control system from or to the system of input of some peripherals and/or output, be specially adapted to printing machinery, one of them input circuit is connected with a control module with input side with an output circuit with outgoing side, and realize supervision to input and/or output circuit, it is characterized in that: test signal can be received input circuit (4) input end through test pattern register (7) by control module (2), and in control module (2), the output signal of input circuit (4) is compared with test signal.
2, according to the system of claim 1, it is characterized in that: input circuit (4) and test pattern register (7) always are arranged for a plurality of signals in parallel, these signals then constitute a long numeric data word, and a test pattern is in turn to accept second numerical value by each position after accepting first numerical value, accepts first numerical value then again and constitutes.
3, according to the system of claim 1, it is characterized in that: input circuit (4) has the device (125,126,129) that is used for the numerical value that comparison occurs on each in succession, this device and a circuit (6) that interrupts in order to the start-up routine flow process.
4, according to the system of claim 1, it is characterized in that: monitoring arrangement (4,6,7,12,13) be connected with output terminal (8), the signal of this monitoring arrangement not only depends on the numerical value that will export, and depends on the characteristic of the peripherals (21,22) that is connected in output terminal (8).
5, according to the system of at least one claim in the aforesaid right requirement, it is characterized in that: output circuit (3) has logic gate (39,40), and these logic gates can make the signal of input be connected with pulse signal.
6, according to the system of claim 5, it is characterized in that: output circuit (3) is provided with for a plurality of signals in parallel, and pulse signal is to be produced by the pulse beat signal frequency division of an input, simultaneously, can adjust the frequency division relation independently of one another for each signal in parallel.
7, according to the system of claim 6, it is characterized in that: in order to adjust the frequency division relation, each signal in parallel is provided with a traffic pilot (55), this traffic pilot according to its control signal of importing with a frequency divider (52,53,54) in a plurality of output terminals one is connected with a logic gate (39) in the output circuit (3), and above-mentioned control signal is carried by a control word register (5), and this register (5) is connected with control module (2) at input side.
8, according to the system of claim 6, it is characterized in that: output circuit (3) includes the device that reads out in the numerical value of storing in the output circuit with control module (2).
9, according to the system of claim 6, it is characterized in that: output circuit (3) comprises two multidigit registers (31,32), the data input pin of these registers is parallel on the data bus (1) bit by bit, and the data input pin of these registers can use control module (2) to control respectively, and also each is connected with a pulse signal formation logic output signal of multidigit register (31,32) mutually by turn.
10, according to the system of at least one claim in the claim of front, it is characterized in that: be provided with one and be used for the circuit (6) that the start-up routine flow process is interrupted in control module (2), the input end of this circuit can be imported from the signal a plurality of in parallel of input circuit with from the current detection signal of final stage.
11, according to the system of claim 10, it is characterized in that: the circuit (6) that is used to start interruption has an output terminal (147) that is connected with control module (2), this output terminal is when a signal occurring, at least to input end (141,142) look-at-me of an output in, and each input end (141,142) is provided with a register-bit, and its content can be visited by control module.
12, according to the system of claim 10, it is characterized in that: the signal that is input to input end (141,142) individually can block according to the content of a control word register.
13, according to the system of claim 10, it is characterized in that: the circuit (6) that is used for the interruption of start-up routine flow process has an output terminal that is connected with control module (2), when signal appears in output terminal one, data word of this output terminal output, its content representation is the feature of input end at that time.
14, according to the system of at least one claim in the claim of front, it is characterized in that: with peripherals (21,22) input end that is connected (8) and be used between the input circuit (4) of a plurality of signals in parallel a built-up circuit (12) and a digital filter (13) that is used for a plurality of signals in parallel being set, this moment, wave filter was to realize through the cycle of a plurality of input cadence signals.
15, according to the system of claim 14, it is characterized in that: the number of cycles that depends on control word register (5) content is adjustable.
16, according to the system of claim 14, it is characterized in that: cadence signal is that the frequency division by system's cadence signal draws, and frequency dividing ratio is that the content that can be depending on control word register (5) is adjusted.
CN 91104033 1986-12-12 1987-12-10 System for signal input and/or output of digital controlling system Expired - Lifetime CN1098489C (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
DE19863642500 DE3642500A1 (en) 1986-12-12 1986-12-12 SYSTEM FOR INPUT AND / OR OUTPUT OF SIGNALS FROM A DIGITAL CONTROL SYSTEM
DEP3642500.1 1986-12-12
CN87108100A CN1017194B (en) 1986-12-12 1987-12-10 Signal i/o system for numerical control

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN87108100A Division CN1017194B (en) 1986-12-12 1987-12-10 Signal i/o system for numerical control

Publications (2)

Publication Number Publication Date
CN1058111A true CN1058111A (en) 1992-01-22
CN1098489C CN1098489C (en) 2003-01-08

Family

ID=25742391

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 91104033 Expired - Lifetime CN1098489C (en) 1986-12-12 1987-12-10 System for signal input and/or output of digital controlling system

Country Status (1)

Country Link
CN (1) CN1098489C (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1074719C (en) * 1993-08-04 2001-11-14 阿鲁普斯电气株式会社 Print control method
CN1302401C (en) * 2002-02-01 2007-02-28 约翰尼斯海登海恩博士股份有限公司 Method for examining an interface
CN102019751A (en) * 2009-09-14 2011-04-20 海德堡印刷机械股份公司 Paperless printing press in case of power cut
CN103135494A (en) * 2011-11-25 2013-06-05 Ls产电株式会社 Input circuit in high speed counter module in PLC

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1074719C (en) * 1993-08-04 2001-11-14 阿鲁普斯电气株式会社 Print control method
CN1302401C (en) * 2002-02-01 2007-02-28 约翰尼斯海登海恩博士股份有限公司 Method for examining an interface
CN102019751A (en) * 2009-09-14 2011-04-20 海德堡印刷机械股份公司 Paperless printing press in case of power cut
US8736105B2 (en) 2009-09-14 2014-05-27 Heidelberger Druckmaschinen Ag Printing press without paper during power failure and method of operating the printing press
CN103135494A (en) * 2011-11-25 2013-06-05 Ls产电株式会社 Input circuit in high speed counter module in PLC
CN103135494B (en) * 2011-11-25 2015-05-06 Ls产电株式会社 Input circuit in high speed counter module in PLC

Also Published As

Publication number Publication date
CN1098489C (en) 2003-01-08

Similar Documents

Publication Publication Date Title
CN104795025B (en) LED display modules and its condition detection method
US7825688B1 (en) Programmable microcontroller architecture(mixed analog/digital)
EP0087367B1 (en) Interchangeable interface circuitry arrangements for use with a data processing system
JPH0877095A (en) Address assignment method
CN87108100A (en) The system that is used for input of digital control system signal and/or output
CN103245871A (en) Wiring harness test instrument and wiring harness test method based on wiring harness test instrument
CN1098489C (en) System for signal input and/or output of digital controlling system
CN115384531B (en) Automobile gear identification and diagnosis method and device, electronic equipment and computer readable storage medium
CN109783437A (en) A kind of control method and device of chip
US7188010B2 (en) Device and method for converting a diagnostic interface to SPI standard
CN208986852U (en) One kind preventing brushless motor common conduct circuit
CN208986864U (en) One kind preventing brush motor common conduct circuit
CN109617767B (en) Real-time debugging method and device for message loopback processing in chip
CN107703787B (en) Digital printing apparatus fault control method based on big data
CN221283176U (en) Digital quantity acquisition circuit, chip and device
CN205384725U (en) Motormeter alarm signal's detection control apparatus
CN114283741B (en) System-cascaded cross-stage LED driving data transmission circuit
CN117031186B (en) Detonator chip testing system and method
JP2001101029A (en) Method and device for recording system call information
CN109309473A (en) One kind preventing brush motor common conduct circuit
CN106648995A (en) Host of hot backup system as well as hot backup system and method
SU1051530A1 (en) Device for comparing binary numbers
CN105511315A (en) Method for enabling machine vision detection and controller to remain synchronous
CN115017077A (en) Protection circuit and backplate are discerned and misplug to sub-board type
CN109983351A (en) The diagnostic method of bias supply for the acquisition system including array interface device

Legal Events

Date Code Title Description
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C06 Publication
PB01 Publication
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CX01 Expiry of patent term