DE4210676A1 - Programmable logic controller with analogue controlled stages - has analogue input and outputs set by values determined by processor as part of correction cycle - Google Patents
Programmable logic controller with analogue controlled stages - has analogue input and outputs set by values determined by processor as part of correction cycleInfo
- Publication number
- DE4210676A1 DE4210676A1 DE19924210676 DE4210676A DE4210676A1 DE 4210676 A1 DE4210676 A1 DE 4210676A1 DE 19924210676 DE19924210676 DE 19924210676 DE 4210676 A DE4210676 A DE 4210676A DE 4210676 A1 DE4210676 A1 DE 4210676A1
- Authority
- DE
- Germany
- Prior art keywords
- analog
- inputs
- values
- memory
- processor
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
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/21—Pc I-O input output
- G05B2219/21064—Calibration: automatic of a-d convertor, store null and maximum in eeprom
-
- 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/25435—Multiplex for analog signals
Abstract
Description
Die Erfindung bezieht sich auf eine programmierbare Steue rung mit Analoggeräten gemäß dem Oberbegriff des Anspruchs 1 sowie auf ein Verfahren zum Abgleich gemäß dem Oberbe griff des Anspruchs 5.The invention relates to a programmable control tion with analog devices according to the preamble of the claim 1 and a method for comparison according to the Oberbe handle of claim 5.
Bei programmierbaren Steuerungen mit Analoggeräten ist es allgemein üblich, einen zentralen Abgleich mit Potentiome tern für Nullpunktabweichungen (Offset) und Endausschlagab weichungen (abweichender Verstärkungsfaktor) durchzuführen. Insbesondere bei Anwendung von Multiplexverfahren sind bei Analoggeräten - wie Eingabegeräten und Ein- und Ausgabege räten - für jeden Eingang und Ausgang hochgenaue und damit teuere Bauelemente (Strommeßwiderstände, Spannungsteilerwi derstände, D/A-Wandler, Verstärker) erforderlich, um eine genaue Analaogsignalverarbeitung sicherzustellen. Der zen trale Abgleich ist zeitaufwendig und relativ ungenau. Nach teilig sind auch Alterungsprozesse bei Potentiometern, wo durch der zeitaufwendige Abgleich zu späteren Zeitpunkten zu wiederholen ist.It is for programmable controls with analog devices common practice, a central comparison with potentioms ters for zero point deviations (offset) and final deflection carry out deviations (different amplification factor). In particular when using multiplexing methods are at Analog devices - such as input devices and input and output devices advise - for each entrance and exit highly precise and therefore expensive components (current measuring resistors, voltage dividers resistors, D / A converters, amplifiers) required to achieve a ensure accurate analog signal processing. The zen Central comparison is time-consuming and relatively imprecise. After aging processes with potentiometers are also part of where through the time-consuming adjustment at later times is to be repeated.
Der Erfindung liegt die Aufgabe zugrunde, eine programmier bare Steuerung mit Analoggeräten der eingangs genannten Art anzugeben, bei der ein einfacher Abgleich sichergestellt ist. Desweiteren soll ein Abgleichverfahren hierzu angege ben werden.The invention has for its object a programming bare control with analog devices of the type mentioned specify where a simple comparison is ensured is. Furthermore, a comparison procedure is to be given be.
Die Aufgabe wird bezüglich der programmierbaren Steuerung in Verbindung mit den Merkmalen des Oberbegriffes erfin dungsgemäß durch die im Kennzeichen des Anspruchs 1 angege benen Merkmale gelöst.The task is regarding programmable control invented in connection with the features of the generic term degenerate by the indicated in the characterizing part of claim 1 characteristics resolved.
Die Aufgabe wird bezüglich des Abgleichverfahrens in Ver bindung mit den Merkmalen des Oberbegriffes erfindungsgemäß durch die im Kennzeichen des Anspruchs 5 angegebenen Merk male gelöst.The task is described in Ver binding with the features of the preamble according to the invention by the note specified in the characterizing part of claim 5 times solved.
Die mit der Erfindung erzielbaren Vorteile bestehen insbe sondere darin, daß Analoggeräte mit preiswerten Bauelemen ten - Strommeßwiderstände und Spannungsteilerwiderstände mit relativ großer Toleranz, A/D-Wandler, D/A-Wandler und Verstärker von relativ geringer Qualität - verwendet werden können. Da Nullpunktabweichungen und Endausschlagabweichun gen in jedem Analoggerät selbst abgespeichert sind und dort als Korrekturwerte zur Verfügung stehen, können trotz des Einsatzes von ungenauen Bauelementen Analogwerte mit sehr hoher Präzision produziert werden. Infolge der Abspeiche rung von Nullpunkt- und Endausschlagabweichungen am Fehler entstehungsort - dem Analoggerät selbst - können Zentral prozeßeinheit und Analoggeräte in beliebiger Art und Weise kombiniert werden, d. h. es ist kein spezifischer Abgleich der aufgebauten, gesamten programmierbaren Steuerung mehr notwendig, sondern bei Zusammenstellung einer Zentralpro zeßeinheit mit einer vorgegebenen Anzahl von Analoggeräten, die in erfindungsgemäßer Art mit dem Speicher zur Eingabe der Korrekturwerte bestückt sind, ergibt sich der Abgleich quasi selbsttätig.The advantages that can be achieved with the invention are in particular special in that analog devices with inexpensive components ten - current measuring resistors and voltage dividing resistors with relatively large tolerance, A / D converter, D / A converter and Relatively poor quality amplifiers can. Since zero point deviations and final deflection deviations conditions are stored in each analog device itself and there are available as correction values, despite the Use of inaccurate components with analog values high precision. As a result of the saving Reduction of zero and final deflection deviations on the error place of origin - the analog device itself - can be central Process unit and analog devices in any way be combined, d. H. it is not a specific comparison the entire programmable control system necessary, but when putting together a central project measuring unit with a predetermined number of analog devices, those in the manner according to the invention with the memory for input the correction values are populated, the comparison is made almost automatically.
Vorteilhafte Ausgestaltungen der Erfindung sind in den Un teransprüchen gekennzeichnet.Advantageous embodiments of the invention are in the Un marked claims.
Die Erfindung wird nachstehend anhand der in der Zeichnung dargestellten Ausführungsbeispiele erläutert. Es zeigen:The invention is described below with reference to the drawing illustrated embodiments explained. Show it:
Fig. 1 einen Ausschnitt aus einer programmierbaren Steuerung mit Analoggeräten, Fig. 1 shows a portion of a programmable control with analog devices,
Fig. 2 das Abgleichen eines analogen Eingabegerätes, Fig. 2 shows the trimming of an analog input device,
Fig. 3 das Abgleichen eines analogen Ein- und Ausgabe gerätes, Fig. 3 shows the matching of an analog input and output device,
Fig. 4 das Abgleichen einer Zentralprozeßeinheit. Fig. 4 comparing a central processing unit.
In Fig. 1 ist ein Ausschnitt aus einer programmierbaren Steuerung mit einer Zentralprozeßeinheit 1 und zwei Analog geräten, nämlich einem Eingabegerät 6 und einem Ein- und Ausgabegerät 12 zu erkennen. Die Zentralprozeßeinheit (CPU) 1 weist einen Prozessor 2 auf, der über einen A/D-Wandler 3 mit vorgeschaltetem Verstärker 4 mit zwei externen Analog signalleitungen 24, 25 verbunden ist. Ferner ist der Pro zessor 2 an einen externen digitalen Adreß- und Datenbus 23 angeschlossen. Für den Fehlerabgleich der Zentralprozeßein heit ist ein EEPROM-Speicher 5 mit dem Prozessor 2 verbun den.In Fig. 1 a section of a programmable controller having a central processing unit 1 and is two analog devices, namely, an input device 6 and an input and output device 12 can be seen. The central process unit (CPU) 1 has a processor 2 , which is connected via an A / D converter 3 with an upstream amplifier 4 to two external analog signal lines 24 , 25 . Furthermore, the processor 2 is connected to an external digital address and data bus 23 . For the error comparison of the central processing unit, an EEPROM memory 5 is connected to the processor 2 .
Das analoge Eingabegerät (I/O-Modul) 6 weist mehrere ana loge Eingänge 7a bis 7f auf, die über Widerstände (Strom meßwiderstände, Spannungsteilerwiderstände) 8a bis 8d ver schaltet und über Schaltkontakte 9a bis 9f eines Multi plexers 9 mit den externen Analogsignalleitungen 24, 25 verbindbar sind. Dabei handelt es sich bei den Eingängen 7a und 7d bzw. 7b und 7e um Stromeingänge und bei den Eingän gen 7c und 7f um Spannungseingänge. Der aus den Widerstän den 8c, 8d gebildete Spannungsteiler dient beispielsweise zur Meßbereichsanpassung bei analoger Spannungseingabe. Zur Ansteuerung des Multiplexers 9 dient eine Steuerlogik 10. Für den Fehlerabgleich des Eingabegerätes 6 ist ein seriel ler EEPROM-Speicher 11 an die Steuerlogik 10 angeschlossen.The analog input device (I / O module) 6 has a number of analog inputs 7 a to 7 f, which switches via resistors (current measuring resistors, voltage divider resistors) 8 a to 8 d and via switching contacts 9 a to 9 f of a multiplexer 9 can be connected to the external analog signal lines 24 , 25 . The inputs 7 a and 7 d or 7 b and 7 e are current inputs and the inputs 7 c and 7 f are voltage inputs. The voltage divider formed from the resistors 8 c, 8 d is used for example for measuring range adjustment with analog voltage input. A control logic 10 is used to control the multiplexer 9 . For the error adjustment of the input device 6 , a serial EEPROM memory 11 is connected to the control logic 10 .
Das Ein- und Ausgabegerät (I/O-Modul) 12 weist sowohl ana loge Eingänge 13a bis 13d als auch analoge Ausgänge 14a, 14b auf. Die analogen Eingänge 13a bis 13d sind über einen Multiplexer 15 mit einem Verstärker 16 mit nachgeschaltetem A/D-Wandler 17 verbindbar. Der A/D-Wandler 17 ist an einen modulinternen digitalen Daten- und Steuerungsbus 18 ange schlossen. Der Daten- und Steuerungsbus 18 ist einerseits mit mehreren D/A-Wandlern 19a, 19b und andererseits mit ei ner Steuerlogik 21 verbunden. Der D/A-Wandler 19a führt über eine zwischengeschaltete Stromquelle 20a zu den analo gen Ausgängen 14a und der D/A-Wandler 19b über eine zwi schengeschaltete Spannungsquelle 20b zu den analogen Aus gängen 14b. Die Steuerlogik 21 ist an den Adreß- und Daten bus 23 angeschlossen und dient unter anderem zur Ansteue rung des Multiplexers 15. Für den Fehlerabgleich des Ein- und Ausgabegerätes 12 ist ein serieller EEPROM-Speicher 22 mit der Steuerlogik 21 verbunden.The input and output device (I / O module) 12 has both analog inputs 13 a to 13 d and analog outputs 14 a, 14 b. The analog inputs 13 a to 13 d can be connected via a multiplexer 15 to an amplifier 16 with a downstream A / D converter 17 . The A / D converter 17 is connected to an internal digital data and control bus 18 . The data and control bus 18 is connected on the one hand to a plurality of D / A converters 19 a, 19 b and on the other hand to a control logic 21 . The D / A converter 19 a leads via an intermediate current source 20 a to the analog outputs 14 a and the D / A converter 19 b via an intermediate voltage source 20 b to the analog outputs 14 b. The control logic 21 is connected to the address and data bus 23 and is used, inter alia, to control the multiplexer 15 . A serial EEPROM memory 22 is connected to the control logic 21 for the error comparison of the input and output device 12 .
Fig. 2 behandelt das Abgleichen eines analogen Eingabege rätes. Zum Abgleich der Eingänge 7a, 7d des Eingabegerätes 6 werden in einem ersten Schritt die beiden Schaltkontakte 9a, 9d des Multiplexers 9 durchgeschaltet, es ergibt sich eine Verbindung des analogen Einganges 7a über den Schalt kontakt 9a mit der externen Analogsignalleitung 25 und eine Verbindung des analogen Einganges 7d über den Schaltkontakt 9d mit der externen Analogsignalleitung 24. Zwischen den Eingängen 7a und 7d liegt der Widerstand 8a. Zur Durch schaltung der Schaltkontakte 9a, 9d des Multiplexers 9 gibt der Prozessor 2 über den Adreß- und Datenbus 23 entspre chende Signale an die Steuerlogik 10 ab. Fig. 2 deals with the adjustment of an analog input device. To compare the inputs 7 a, 7 d of the input device 6 , the two switching contacts 9 a, 9 d of the multiplexer 9 are switched through in a first step, resulting in a connection of the analog input 7 a via the switching contact 9 a with the external analog signal line 25 and a connection of the analog input 7 d via the switch contact 9 d to the external analog signal line 24 . Between the inputs 7 a and 7 d, the resistor 8 a. To switch the switching contacts 9 a, 9 d of the multiplexer 9 , the processor 2 outputs appropriate signals to the control logic 10 via the address and data bus 23 .
Für den Abgleichvorgang ist der Eingang 7a mit dem negati ven und der Eingang 7d mit dem positiven Pol einer Präzisi onsstromquelle 27 verbunden. Die Ansteuerung der Strom quelle 27 kann, muß jedoch nicht, über den Prozessor 2 und den Adreß- und Datenbus 23 erfolgen. Die Stromquelle 27 kann Präzisionsstromwerte für den Nullpunkt und den Endaus schlag sowie gegebenenfalls Zwischenwerte zwischen diesen beiden Werten vorgeben. Die Spannungsabfälle am Widerstand 8a, die die von der Stromquelle 27 abgegebenen Präzisions stromwerte erzeugen, werden jeweils über die Analogsignal leitungen 24, 25 erfaßt. Das Abgleichen selbst geschieht mit einem Abgleichprogramm, das zunächst den abzugleichen den Eingang auf Plausibilität des angelegten Präzisions stromwertes (für Nullpunkt und Endausschlag) mit einem Wer tefenster überwacht. Liegt der über die Analogsignalleitun gen 24, 25 ermittelte Wert im Wertefenster, berechnet der Prozessor 2 die Abweichung zwischen idealem, bei idealem Bauelement auftretenden Wert und realem Wert und meldet die so gebildeten Korrekturwerte über den Adreß- und Datenbus 23 und die Steuerlogik 10 dem EEPROM-Speicher 11.For the adjustment process, the input 7 a is connected to the negative and the input 7 d to the positive pole of a precision power source 27 . The control of the current source 27 can, but does not have to be done via the processor 2 and the address and data bus 23 . The current source 27 can specify precision current values for the zero point and the end deflection and, if appropriate, intermediate values between these two values. The voltage drops across the resistor 8 a, which generate the current values given by the current source 27 , are each detected via the analog signal lines 24 , 25 . The adjustment itself is done with an adjustment program, which first monitors the input to be checked for plausibility of the precision current value applied (for zero point and end deflection) with a value window. If the value determined via the analog signal lines 24 , 25 lies in the value window, the processor 2 calculates the deviation between the ideal value occurring with the ideal component and the real value and reports the correction values thus formed via the address and data bus 23 and the control logic 10 to the EEPROM Memory 11 .
Dieses Abgleichverfahren wird durch Umschalten auf die wei teren Schaltkontakte 9b/9e bzw. 9c/9f des Multiplexers 9 für alle weiteren analogen Eingänge des Eingabegerätes 6 sowie für alle Eingabegeräte der programmierbaren Steuerung durchgeführt, so daß in jedem EEPROM-Speicher am Fehler entstehungsort selbst die Abweichungen gespeichert sind. Auf diese Weise ist ein Nachabgleich am Einsatzort mit einfachen Mitteln möglich.This adjustment method is carried out by switching to the further switching contacts 9 b / 9 e or 9 c / 9 f of the multiplexer 9 for all other analog inputs of the input device 6 and for all input devices of the programmable controller, so that in each EEPROM memory Fault location, even the deviations are saved In this way, a re-adjustment on site is possible with simple means.
Da es sich bei den Eingängen 7c und 7f um Spannungseingänge handelt, ist zum Abgleich eine Präzisionsspannungsquelle 26 an Stelle der Stromquelle 27 heranzuziehen, wobei die Span nungsquelle 26 entsprechende Präzisionsspannungswerte für Nullpunkt und Endausschlag vorgibt (siehe gestrichelte Lei tung in Fig. 2).Since the inputs 7 c and 7 f are voltage inputs, a precision voltage source 26 must be used instead of the current source 27 for the adjustment, the voltage source 26 specifying corresponding precision voltage values for zero point and end deflection (see dashed line in FIG. 2). .
Fig. 3 behandelt das Abgleichen eines analogen Ein- und Ausgabegerätes, wobei vorausgesetzt wird, daß das Ein- und Ausgabegerät lediglich Spannungseingänge aufweist. Für den Abgleich der Eingänge liegt der positive Pol der Präzisi onsspannungsquelle 26 an den analogen Eingängen 13c, 13d und der negative Pol an den Eingängen 13a, 13b. Zur Um schaltung des Multiplexers 15 liefert der Prozessor 2 ent sprechende Signale über den Adreß- und Datenbus 23 an die Steuerlogik 21. Die bei Vorliegen von Präzisionsspannungs werten (für Nullpunkt und Endausschlag) der Spannungsquelle 26 am Ausgang des A/D-Wandlers 17 anstehenden Werte werden über den Daten- und Steuerungsbus 18 der Steuerlogik 21 zugeführt, die diese Werte über den Adreß- und Datenbus an den Prozessor 2 weitergibt. Das Abgleichprogramm ist gleichartig dem vorstehend unter Fig. 2 beschriebenen Abgleichprogramm, d. h. der Prozessor 2 überprüft, ob der erhaltene Wert im Wertefenster erscheint und berechnet den Korrekturwert aus der Abweichung zwischen idealem und realem Wert. Die berechneten Korrekturwerte werden an den EEPROM-Speicher 22 gegeben. Letzteres erfolgt über den Adreß- und Datenbus 23 und die Steuerlogik 21. Fig. 3 deals with the adjustment of an analog input and output device, assuming that the input and output device only has voltage inputs. For the adjustment of the inputs is the positive pole of the precision voltage source 26 at the analog inputs 13 c, 13 d and the negative pole at the inputs 13 a, 13 b. In order to switch the multiplexer 15 , the processor 2 delivers appropriate signals via the address and data bus 23 to the control logic 21 . The values present when there are precision voltage values (for zero point and end deflection) of the voltage source 26 at the output of the A / D converter 17 are fed via the data and control bus 18 to the control logic 21 , which sends these values to the via the address and data bus Processor 2 passes on. The adjustment program is similar to the adjustment program described above under FIG. 2, ie the processor 2 checks whether the value obtained appears in the value window and calculates the correction value from the deviation between the ideal and the real value. The calculated correction values are sent to the EEPROM memory 22 . The latter is done via the address and data bus 23 and the control logic 21 .
Nach erfolgtem Abgleich aller analogen Eingänge 13a bis 13d des Ein- und Ausgabegerätes 12 können die analogen Ausgänge 14a, 14b abgeglichen werden. Zum Abgleich bei "Stromaus gabe" werden die Ausgänge 14a beispielsweise mit bereits abgeglichenen Eingängen 7a, 7d eines Eingabegerätes 6 verbunden (siehe gestrichelte Leitung). Es ergeben sich Signalwege von der Spannungsquelle 26 über die bereits ab geglichenen Eingänge 13a bis 13d, den Multiplexer 15, den Verstärker 16, den A/D-Wandler 17, den Daten- und Steue rungsbus 18, den D/A-Wandler 19a, die Stromquelle 20a, die Ausgänge 14a, die bereits abgeglichenen Eingänge 7a, 7d, den Widerstand 8a, die Schaltkontakte 9a, 9d des Multi plexers 9 und die Analogsignalleitungen 24, 25 zum Prozes sor 2. Gemäß dem Abgleichprogramm werden die bei Vorliegen von Präzisionsspannungswerten (für Nullpunkt und Endaus schlag) der Spannungsquelle 26 auftretenden Abweichungen zwischen idealen und realen Werten ermittelt. Hieraus er rechnet der Prozessor 2 die Korrekturwerte für die Null punktabweichung und die Endausschlagabweichung und meldet diese an den EEPROM-Speicher 22.After adjustment for all analog inputs 13 a to 13 of the input and output unit 12 d to the analog outputs 14 a, 14 b are matched. For comparison with "current output", the outputs 14 a are connected, for example, to already matched inputs 7 a, 7 d of an input device 6 (see dashed line). There are signal paths from the voltage source 26 via the already compared inputs 13 a to 13 d, the multiplexer 15 , the amplifier 16 , the A / D converter 17 , the data and control bus 18 , the D / A converter 19 a, the current source 20 a, the outputs 14 a, the already balanced inputs 7 a, 7 d, the resistor 8 a, the switch contacts 9 a, 9 d of the multiplexer 9 and the analog signal lines 24 , 25 to the processor 2 . According to the adjustment program, the deviations between ideal and real values occurring when there are precision voltage values (for zero point and end deflection) of the voltage source 26 are determined. From this, the processor 2 calculates the correction values for the zero point deviation and the final deflection deviation and reports them to the EEPROM memory 22 .
Zum Abgleich bei "Spannungsausgabe" werden die Ausgänge 14b beispielsweise mit bereits abgeglichenen Eingängen 7c, 7f eines Eingabegerätes 6 verbunden. Es ergeben sich Signal wege von der Spannungsquelle 26 über die bereits abgegli chenen Eingänge 13a bis 13d, den Multiplexer 15, den Ver stärker 16, den A/D-Wandler 17, den Daten- und Steuerungs bus 18, dem D/A-Wandler 19b, die Spannungsquelle 20b, die Ausgänge 14b, die bereits abgeglichenen Eingänge 7c, 7f, die Widerstände 8c, 8d, die Schaltkontakte 9c, 9f des Mul tiplexers 9 und die Analogsignalleitungen 24, 25 zum Pro zessor 2.For adjustment in the case of “voltage output”, the outputs 14 b are connected, for example, to already adjusted inputs 7 c, 7 f of an input device 6 . There are signal paths from the voltage source 26 via the already aligned inputs 13 a to 13 d, the multiplexer 15 , the amplifier 16 , the A / D converter 17 , the data and control bus 18 , the D / A -Converters 19 b, the voltage source 20 b, the outputs 14 b, the already balanced inputs 7 c, 7 f, the resistors 8 c, 8 d, the switching contacts 9 c, 9 f of the multiplexer 9 and the analog signal lines 24 , 25 to the processor 2 .
Selbstverständlich können die abzugleichenden analogen Aus gänge 14a, 14b auch an bereits abgeglichene analoge Ein gänge eines weiteren analogen Ein- und Ausgabegerätes ange schlossen werden. Wichtig ist lediglich, daß sowohl die analogen Eingänge des Analoggerätes 12 als auch die analo gen Eingänge des für den Anschluß dienenden weiteren Ein- und Ausgabegerätes abgeglichen sind, damit sichergestellt ist, daß die erfaßten Fehler ausschließlich die abzuglei chenden analogen Ausgänge 14a, 14b betreffen.Of course, the analog outputs to be matched 14 a, 14 b can also be connected to already matched analog inputs of another analog input and output device. It is only important that both the analog inputs of the analog device 12 and the analog inputs of the further input and output device serving for the connection are matched so that it is ensured that the detected errors only the analog outputs 14 a, 14 b to be eliminated affect.
Falls das Ein- und Ausgabegerät 12 lediglich Stromeingänge aufweist, ist selbstverständlich eine Präzisionsstromquelle an Stelle der Präzisionsspannungsquelle heranzuziehen. Falls das Ein- und Ausgabegerät 12 sowohl Strom- als auch Spannungseingänge aufweist, sind für den Abgleich eine Prä zisionsstromquelle und eine Präzisionsspannungsquelle zu verwenden und an die entsprechenden Eingänge anzuschließen.If the input and output device 12 only has current inputs, a precision current source should of course be used instead of the precision voltage source. If the input and output device 12 has both current and voltage inputs, a precision current source and a precision voltage source must be used for the adjustment and connected to the corresponding inputs.
In Fig. 4 ist der Abgleich einer Zentralprozeßeinheit dar gestellt. Der Abgleich des A/D-Wandlers 3 und des Verstär kers 4 und damit der mit den Analogsignalleitungen verbun denen analogen Eingänge der Zentralprozeßeinheit 1 erfolgt in einfacher Weise durch direkten Anschluß der Präzisions spannungsquelle 26 an die Analogsignalleitungen 24, 25. Die Spannungsquelle 26 liefert wiederum Präzisionsspannungs werte für Nullpunkt und Endausschlag. Mit Hilfe des Ab gleichprogramms können Nullpunktabweichung und Endaus schlagabweichung durch den Prozessor 2 erfaßt und die ent sprechenden Korrekturwerte im Speicher 5 abgelegt werden. In Fig. 4, the comparison of a central processing unit is provided. The comparison of the A / D converter 3 and the amplifier 4 and thus the verbun with the analog signal lines those analog inputs of the central process unit 1 is carried out in a simple manner by direct connection of the precision voltage source 26 to the analog signal lines 24 , 25th The voltage source 26 in turn supplies precision voltage values for zero point and end deflection. With the aid of the equalization program, zero point deviation and final deflection deviation can be detected by the processor 2 and the corresponding correction values can be stored in the memory 5 .
Bei einer eine abgeglichene Zentralprozeßeinheit 1, mehrere abgeglichene analoge Eingabegeräte 6 und mehrere abgegli chene analoge Ein- und Ausgabegeräte 12 aufweisende pro grammierbaren Steuerung werden somit alle analogen Ein gangssignale mit sehr hoher Präzision verarbeitet, da Feh ler der Widerstände, A/D-Wandler und Verstärker mit Hilfe der abgespeicherten Korrekturwerte kompensierbar sind. Fer ner werden auch alle analogen Ausgangssignale mit hoher Präzision abgegeben, da auch hierbei Fehler der Verstärker, A/D-Wandler und D/A-Wandler korrigiert werden. Vorstehend sind dabei in erster Linie Nullpunktabweichungen und Endausschlagabweichungen von Interesse. Bei einer geradli nigen Fehlerkennlinie genügt die Erfassung dieser Abweichungen. Bei einer gekrümmten Fehlerkennlinie ist es jedoch zweckmäßig, mit Hilfe des Abgleichprogramms zusätz liche Zwischenwerte zu erfassen und die entsprechenden Korrekturwerte in den Speichern abzulegen.With a balanced central process unit 1 , a number of aligned analog input devices 6 and a number of aligned analog input and output devices 12 having a programmable controller, all analog input signals are thus processed with very high precision, since errors in the resistors, A / D converters and Amplifiers can be compensated for using the stored correction values. All analog output signals are also output with high precision, since errors in the amplifier, A / D converter and D / A converter are also corrected here. Above all, zero point deviations and final deflection deviations are of interest. With a straight-line error characteristic, it is sufficient to record these deviations. In the case of a curved error characteristic curve, however, it is advisable to use the adjustment program to record additional intermediate values and to store the corresponding correction values in the memories.
Vorzugsweise werden bei der Initialisierung - z. B. bei der Zuschaltung der Speisespannung der programmierbaren Steue rung - die Speicher 5, 11, 22 aller Analoggeräte 6, 12 und der zentralen Prozeßeinheit 1 selbst vom Prozessor 2 gele sen und die gelesenen Korrekturwerte in einer Datentabelle im Arbeitsspeicher (RAM) der Zentralprozeßeinheit 1 abge legt. Es ist dementsprechend in einfacher Weise möglich, die gewandelten Analogwerte mit den Werten der RAM-Tabelle rechnerisch zu korrigieren.Preferably during initialization - e.g. B. when switching on the supply voltage of the programmable control - the memories 5 , 11 , 22 of all analog devices 6 , 12 and the central process unit 1 itself from the processor 2 and the read correction values in a data table in the working memory (RAM) of the central process unit 1 filed. Accordingly, it is easily possible to mathematically correct the converted analog values with the values in the RAM table.
Es ist selbstverständlich darüberhinaus möglich, daß die Speicher 5, 11, 22 zusätzlich weitere Informationen, z. B. den Analoggerätetyp, Änderungsindex usw. enthalten.It is of course also possible that the memories 5 , 11 , 22 additionally additional information such. B. contain the analog device type, change index, etc.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
DE19924210676 DE4210676A1 (en) | 1992-04-01 | 1992-04-01 | Programmable logic controller with analogue controlled stages - has analogue input and outputs set by values determined by processor as part of correction cycle |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
DE19924210676 DE4210676A1 (en) | 1992-04-01 | 1992-04-01 | Programmable logic controller with analogue controlled stages - has analogue input and outputs set by values determined by processor as part of correction cycle |
Publications (1)
Publication Number | Publication Date |
---|---|
DE4210676A1 true DE4210676A1 (en) | 1993-10-07 |
Family
ID=6455616
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
DE19924210676 Withdrawn DE4210676A1 (en) | 1992-04-01 | 1992-04-01 | Programmable logic controller with analogue controlled stages - has analogue input and outputs set by values determined by processor as part of correction cycle |
Country Status (1)
Country | Link |
---|---|
DE (1) | DE4210676A1 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO1996021178A1 (en) * | 1994-12-29 | 1996-07-11 | Siemens Energy And Automation, Inc. | Serial access memory cartridge for programmable logic controller |
WO2001071439A1 (en) * | 2000-03-22 | 2001-09-27 | Endress + Hauser Gmbh + Co. Kg. | Method for reprogramming a field device |
DE19680971B4 (en) * | 1995-10-20 | 2005-04-28 | Hitachi Ltd | Device and method for controlling an internal combustion engine for a motor vehicle |
EP2090945A1 (en) * | 2008-02-14 | 2009-08-19 | Siemens Aktiengesellschaft | Input components and method for recognising errors |
-
1992
- 1992-04-01 DE DE19924210676 patent/DE4210676A1/en not_active Withdrawn
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO1996021178A1 (en) * | 1994-12-29 | 1996-07-11 | Siemens Energy And Automation, Inc. | Serial access memory cartridge for programmable logic controller |
DE19680971B4 (en) * | 1995-10-20 | 2005-04-28 | Hitachi Ltd | Device and method for controlling an internal combustion engine for a motor vehicle |
WO2001071439A1 (en) * | 2000-03-22 | 2001-09-27 | Endress + Hauser Gmbh + Co. Kg. | Method for reprogramming a field device |
US7320067B2 (en) | 2000-03-22 | 2008-01-15 | Endress + Hauser Gmbh + Co. Kg | Method for reprogramming a field device |
EP2090945A1 (en) * | 2008-02-14 | 2009-08-19 | Siemens Aktiengesellschaft | Input components and method for recognising errors |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
DE2536585C3 (en) | Arrangement for statistical signal analysis | |
DE3836812C2 (en) | ||
DE4020583A1 (en) | BLIND AND MATCHING CONVERTER FOR CAPACITIVE DIGITAL-ANALOG CONVERTER | |
EP0169414A2 (en) | Method for the temperature compensation and measuring circuit for this method | |
DE3025358A1 (en) | CONTROL SYSTEM FOR ADJUSTING A PHYSICAL SIZE | |
DE3201297A1 (en) | TESTING METHOD FOR ANALOG / DIGITAL CONVERTER AND SETUP OF ANALOG / DIGITAL CONVERTER SUITABLE FOR TESTING | |
DE3205247C2 (en) | ||
DE10007408A1 (en) | Analog-to-digital converter circuit arrangement - includes control device for supplying a given input signal value for calibration purposes and for evaluating the resultant digital output signal value of converter | |
EP0252085B1 (en) | Signal processing device with a level adapter circuit | |
EP1497703A1 (en) | Circuit arrangement for voltage regulation by means of a voltage divider | |
EP0513033B1 (en) | Process and device for converting digital signals to analog signals | |
DE3406150A1 (en) | CONTROL CIRCUIT TO TUNE A HIGH FREQUENCY INPUT CIRCUIT | |
DE2620282A1 (en) | NON-LINEAR DC VOLTAGE AMPLIFIER FOR MEASURING PURPOSES | |
DE4210676A1 (en) | Programmable logic controller with analogue controlled stages - has analogue input and outputs set by values determined by processor as part of correction cycle | |
DE102004049084A1 (en) | Sensor interface with integrated current measurement | |
DE2938849C2 (en) | Arrangement for generating a temperature-compensated DC voltage | |
EP1036302B1 (en) | Digital phase modulator | |
EP3340471A1 (en) | Measuring device with a secure measuring channel | |
EP0339191A2 (en) | Apparatus to minimise error in a measuring device | |
WO2016139314A1 (en) | Method and device for leakage-current-compensated resistance measurement | |
EP0303065B1 (en) | Method and circuit arrangement for semiconductor devices with highly integrated lsi technique logic gating circuits | |
DE102017100645A1 (en) | Straightening unit, network analyzer and method for operating a network analyzer | |
DE102021132537B3 (en) | CURRENT MEASUREMENT CIRCUIT | |
DE102019108304B3 (en) | Electronic circuit arrangement for temperature monitoring | |
DE19722127C1 (en) | Power supply unit for personal computer |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
8139 | Disposal/non-payment of the annual fee |