CH680964A5 - - Google Patents
Download PDFInfo
- Publication number
- CH680964A5 CH680964A5 CH294590A CH294590A CH680964A5 CH 680964 A5 CH680964 A5 CH 680964A5 CH 294590 A CH294590 A CH 294590A CH 294590 A CH294590 A CH 294590A CH 680964 A5 CH680964 A5 CH 680964A5
- Authority
- CH
- Switzerland
- Prior art keywords
- voltage
- switch
- circuit arrangement
- comparators
- microprocessor
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M1/00—Analogue/digital conversion; Digital/analogue conversion
- H03M1/06—Continuously compensating for, or preventing, undesired influence of physical parameters
- H03M1/0617—Continuously compensating for, or preventing, undesired influence of physical parameters characterised by the use of methods or means not specific to a particular type of detrimental influence
- H03M1/0619—Continuously compensating for, or preventing, undesired influence of physical parameters characterised by the use of methods or means not specific to a particular type of detrimental influence by dividing out the errors, i.e. using a ratiometric arrangement
- H03M1/0621—Continuously compensating for, or preventing, undesired influence of physical parameters characterised by the use of methods or means not specific to a particular type of detrimental influence by dividing out the errors, i.e. using a ratiometric arrangement with auxiliary conversion of a value corresponding to the physical parameter(s) to be compensated for
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M1/00—Analogue/digital conversion; Digital/analogue conversion
- H03M1/12—Analogue/digital converters
- H03M1/50—Analogue/digital converters with intermediate conversion to time interval
- H03M1/56—Input signal compared with linear ramp
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Analogue/Digital Conversion (AREA)
Description
5 5
10 10th
15 15
20 20th
25 25th
30 30th
35 35
40 40
45 45
50 50
55 55
CH 680 964 A5 CH 680 964 A5
Beschreibung description
Die Erfindung betrifft eine Schaltungsanordnung zur Analog-Digital-Wandlung elektrischer Messwerte nach dem Oberbegriff des Patentanspruchs 1. The invention relates to a circuit arrangement for analog-digital conversion of electrical measured values according to the preamble of patent claim 1.
Aus der DE-PS 2 952 311 ist ein Verfahren und eine Vorrichtung zum Umsetzen einer Messspannung in einen digitalen Wert bekannt. Dabei wird zum Steuern der Vorrichtung ein Mikroprozessor benutzt. Die zu messende Spannung wird zu einer Referenz- oder Kompensationsspannung addiert, welche als getastete Rechteckwechselspannung angeboten wird. Es ist ein zusätzlicher Nullindikator erforderlich, um die Polarität der Messspannung zu erkennen, und um das Tastverhältnis der Kompensationsspannung entsprechend zu variieren. DeF Nullindikator ist schon als Analog-Digital-Wandler ausgeführt und gibt aber noch nicht das eigentliche Messergebnis ab. Das Messergebnis wird vom Mikroprozessor er-fasst, indem das Tastverhältnis von zusätzlichen Timerbausteinen ermittelt wird, bei dem sich ein Nullwert ergibt. Eine derartige Messanordnung ist zwar für eine hohe Auflösung geeignet aber relativ aufwendig. Ausserdem ist die Messgenauigkeit von der Genauigkeit der Referenzspannung abhängig. DE-PS 2 952 311 discloses a method and a device for converting a measurement voltage into a digital value. A microprocessor is used to control the device. The voltage to be measured is added to a reference or compensation voltage, which is offered as a sampled rectangular alternating voltage. An additional zero indicator is required to recognize the polarity of the measurement voltage and to vary the duty cycle of the compensation voltage accordingly. DeF zero indicator is already designed as an analog-digital converter and does not yet give the actual measurement result. The measurement result is recorded by the microprocessor by determining the pulse duty factor of additional timer modules, which results in a zero value. Such a measuring arrangement is suitable for a high resolution but is relatively complex. In addition, the measurement accuracy depends on the accuracy of the reference voltage.
Ein nach dem Sägezahnverfahren arbeitender Analog-Digital-Wandler ist aus dem DE-Fachbuch «Tietze/Schenk Halbleiter-Schaltungstechnik», 4. Auflage bekannt, der ab Seite 641 beschrieben wird. Es handelt sich dabei um eine relativ einfache Anordnung, welche im wesentlichen aus zwei Komparato-ren besteht. Damit wird die von einem Sägezahngenerator erzeugte Referenzspannung mit der Messspannung verglichen. Beim Ansprechen eines der Komparatoren wird der dann sich ergebende Zählerstand zur Anzeige gebracht. In der Beschreibung ist angegeben, dass die Messgenauigkeit durch Bauelementetoleranzen, insbesondere durch Alterung stark beeinflusst wird. Um diesen Nachteil auszuschalten, kann ein AD-Wandler eingesetzt werden, der nach dem sog. Dual Slope-Prinzip arbeitet und ab Seite 643 an gleicher Stelle beschrieben wird. Ein solcher Wandler ist jedoch wesentlich aufwendiger, beansprucht daher mehr Platz und erfordert auch eine längere Zeit für eine Messung. An analog-to-digital converter operating according to the sawtooth method is known from the DE specialist book “Tietze / Schenk semiconductor circuit technology”, 4th edition, which is described from page 641 onwards. It is a relatively simple arrangement, which essentially consists of two comparators. This compares the reference voltage generated by a sawtooth generator with the measurement voltage. When one of the comparators responds, the resulting counter reading is displayed. The description states that the measuring accuracy is strongly influenced by component tolerances, in particular by aging. To eliminate this disadvantage, an AD converter can be used, which works according to the so-called dual slope principle and is described in the same place from page 643. However, such a converter is much more complex, therefore takes up more space and also requires a longer time for a measurement.
Die Aufgabe der Erfindung besteht darin, eine Schaltungsanordnung anzugeben, womit ein nach dem Singie-Slope-Verfahren arbeitender Analog-Digital-Wandler einfach und platzsparend aufgebaut werden kann, bei dem Bauelementetoleranzen und Alterungen das Messergebnis nicht beeinflussen. The object of the invention is to provide a circuit arrangement with which an analog-digital converter operating according to the singie slope method can be constructed simply and in a space-saving manner, in which component tolerances and aging do not influence the measurement result.
Diese Aufgabe wird mit einer Merkmalskombination gelöst, wie sie im Patentanspruch 1 angegeben ist. This object is achieved with a combination of features as specified in claim 1.
Damit wird in vorteilhafter Weise erreicht, dass die Einfachheit eines Single-Slope-AD-Wandlers auch dann beibehalten werden kann, wenn eine hohe Messgenauigkeit erforderlich ist, und dass eine digitale Messeinrichtung für vielfältige Einsatzfälle preiswert und platzsparend herstellbar ist. This advantageously means that the simplicity of a single slope AD converter can also be maintained when high measurement accuracy is required, and that a digital measuring device can be produced inexpensively and in a space-saving manner for a wide range of applications.
In den abhängigen Ansprüchen sind optimale Weiterbildungen der Erfindung angegeben. Optimal developments of the invention are specified in the dependent claims.
Ein Ausführungsbeispiel der Erfindung wird nachfolgend anhand von Zeichnungen näher erläutert. An embodiment of the invention is explained below with reference to drawings.
Es zeigt It shows
Fig. 1 das Prinzipschaltbild der Anordnung Fig. 1 shows the schematic diagram of the arrangement
Fig. 2 die Beschaltung des als Messeinrichtung verwendeten Mikroprozessors Fig. 2 shows the wiring of the microprocessor used as a measuring device
Fig. 3 ein Zeitdiagramm Fig. 3 is a timing diagram
In Fig. 1 ist dargestellt, dass eine Ladespannung UC über eine Konstantstromquelle KQ und einen Schalter S1 einem Kondensator C zugeführt wird. Der Schalter S1 wird zu Beginn einer Messung aus dem Mikroprozessor MP heraus periodisch für eine jeweils gleichlange Zeitdauer At angesteuert. Dabei lädt sich der Kondensator C stufenweise linear auf. Der Kondensator C ist mit den gleichartigen Eingängen + von zwei Vergleichern VG1, VG2 verbunden, so dass die Ladespannung UC dort anliegt. An dem anderen Eingang - des einen Vergleichers VG1 liegt eine bekannte Referenzspannung UR an, so dass dieser Vergleicher VG1 anspricht, wenn die Ladespannung UC die Höhe der Referenzspannung UR erreicht. Der entsprechende Eingang - des anderen Vergleichers VG2 ist mit der zu messenden Spannung UM verbunden, so dass dieser Vergleicher VG2 anspricht, wenn von der Ladespannung UC die Schwelle der Messspannung UM erreicht wird. 1 shows that a charging voltage UC is supplied to a capacitor C via a constant current source KQ and a switch S1. At the beginning of a measurement, the switch S1 is periodically actuated out of the microprocessor MP for an equally long period of time At. The capacitor C gradually charges linearly. The capacitor C is connected to the similar inputs + of two comparators VG1, VG2, so that the charging voltage UC is present there. A known reference voltage UR is present at the other input of the one comparator VG1, so that this comparator VG1 responds when the charging voltage UC reaches the level of the reference voltage UR. The corresponding input - of the other comparator VG2 is connected to the voltage UM to be measured, so that this comparator VG2 responds when the threshold of the measuring voltage UM is reached by the charging voltage UC.
Der Steuertakt für die Ansteuerung des Schalters S1 wird vom Mikroprozessor MP geliefert, wobei gleichzeitig die Anzahl der Ansteuerungen jeweils bis zum Ansprechen eines der Vergleicher VG1 oder VG2 gezählt werden. Die sich dabei ergebenden Zählerstände werden zunächst in Speichern abgelegt. The control clock for the control of the switch S1 is supplied by the microprocessor MP, the number of controls being counted at the same time until one of the comparators VG1 or VG2 responds. The resulting meter readings are initially stored in memories.
Es ergeben sich dabei folgende Beziehungen, wobei mit n die Anzahl der Zählschritte angegeben ist. The following relationships result, where n is the number of counting steps.
Für die Messspannung: For the measuring voltage:
nM = UM nM = UM
Tx2£ Rx2 pounds
2 2nd
5 5
10 10th
15 15
20 20th
25 25th
30 30th
35 35
40 40
45 45
50 50
55 55
60 60
65 65
CH 680 964 A5 CH 680 964 A5
Für die Referenzspannung: For the reference voltage:
nR = UR nR = UR
Ix^t Ix ^ t
Aus diesen beiden Beziehungen wird nun ein Quotient gebildet, wobei sich folgende Gleichung ergibt: A quotient is then formed from these two relationships, resulting in the following equation:
S - UM 1TX S - UM 1TX
UR UR
Ix Ix
Dabei ist At die jeweils gleiche Zeitdauer, für die der Schalter S1 geschlossen ist. Aus der letzten Gleichung ist zu ersehen, dass die Grössen C, I und At herausgekürzt werden können, so dass sich vereinfacht ergibt, nM/nR = UM/UR. At is the same time period for which switch S1 is closed. It can be seen from the last equation that the quantities C, I and At can be shortened, so that, in a simplified manner, nM / nR = UM / UR.
Daraus ist zu ersehen, dass Kapazitätswerte, Stromwerte und die jeweils gleiche Einschaltzeit des Schalters S1 keinen Einfluss auf das Messergebnis haben. It can be seen from this that capacitance values, current values and the same switch-on time of switch S1 have no influence on the measurement result.
Es ergibt sich also für die Messspannung die Beziehung, The relationship for the measuring voltage is
UM = x UR UM = x UR
Im Mikroprozessor MP wird dann, wenn beide Vergleicher VG1 und VG2 angesprochen haben, ein Quotient aus den beiden zwischengespeicherten Zählwerten nach der letztgenannten Gleichung gebildet. Dieser Wert wird mit dem bekannten Wert der Referenzspannung UR multipliziert, und es ergibt sich der Wert der zu messenden Spannung. Die Genauigkeit des Messergebnisses ist dabei lediglich abhängig von der Anzahl der Zählschritte, bzw. von der gewählten Einschaltzeit At des Schalters S1 und von der Referenzspannung UR. When the two comparators VG1 and VG2 have addressed, a quotient is formed in the microprocessor MP from the two buffered count values according to the last-mentioned equation. This value is multiplied by the known value of the reference voltage UR, and the value of the voltage to be measured is obtained. The accuracy of the measurement result is only dependent on the number of counting steps or on the selected switch-on time At of the switch S1 and on the reference voltage UR.
Damit das Messergebnis nicht verfälscht werden kann, wird zu Beginn einer Messung ein weiterer Schalter S2 angesteuert, womit der Kondensator C entladen wird. Das Messergebnis steht an digitalen Ausgängen DA des Mikroporzessors MP zur Verfügung und kann zur Ansteuerung einer Anzeigeeinrichtung oder zur digitalen Weiterverarbeitung dienen. In order that the measurement result cannot be falsified, a further switch S2 is activated at the start of a measurement, whereby the capacitor C is discharged. The measurement result is available at digital outputs DA of the microprocessor MP and can be used to control a display device or for further digital processing.
In der Fig. 2 ist dargestellt, wie durch Wahl eines geeigneten Mikroprozessors MP mit nur wenigen zusätzlichen Bauteilen ein Analog-Digital-Wandler nach dem Einflanken-Prinzip realisiert werden kann. Dabei kommt eine schaltbare Konstantstromquelle S1 zum Einsatz, so dass ausser einigen Anpasswiderständen R1 und R2 nur noch der Kondensator C erforderlich ist. Aber auch diese Bauteile lassen sich bei Bedarf noch in dem Gehäuse des Mikroprozessors MP unterbringen. FIG. 2 shows how an analog-to-digital converter can be implemented by selecting a suitable microprocessor MP with only a few additional components. A switchable constant current source S1 is used, so that apart from a few matching resistors R1 and R2 only the capacitor C is required. However, these components can also be accommodated in the housing of the microprocessor MP if required.
Die Fig. 3 zeigt ein Zeitdiagramm, woraus zu ersehen ist, wie der Kondensator C stufenweise aufgeladen wird. Während der Einschaltdauer des Schalters S1 erfolgt bedingt durch die Konstantstromquelle KQ eine lineare Aufladung des Kondensators, die erhalten bleibt und beim nächsten Einschalten fortgesetzt wird. Daraus ergibt sich, dass Messvorgänge ohne weiteres unterbrochen werden können, wenn der Mikroprozessor MP zwischenzeitlich andere Aufgaben zu erledigen hat. Die sich beim Ansprechen der Vergleicher VG1 bzw. VG2 ergebenden Zählerstände nM x At, bzw. nR x At werden im Mikroprozessor MP zwischengespeichert und mathematisch verarbeitet, wie dies bereits beschrieben worden ist. FIG. 3 shows a time diagram from which it can be seen how the capacitor C is gradually charged. During the switch-on period of the switch S1, the constant current source KQ causes the capacitor to charge linearly, which is retained and is continued the next time the switch is switched on. This means that measurement processes can be easily interrupted if the microprocessor MP has to perform other tasks in the meantime. The counter readings nM x At, or nR x At, which result when the comparators VG1 or VG2 respond, are buffered in the microprocessor MP and processed mathematically, as has already been described.
Ein auf diese Weise aufgebauter Analog-Digital-Wandler lässt sich sehr platzsparend herstellen, so dass er z.B. in Messgeräten aller Art eingebaut werden kann. An analog-to-digital converter constructed in this way can be manufactured in a very space-saving manner, so that it can e.g. can be installed in all types of measuring devices.
Auch andere Einsatzfälle, beispielsweise in Gefahrenmeldeanlagen zum Erkennen der Abweichungen elektrischer Grössen von vorgegebenen Sollwerten sind denkbar. Other applications are also conceivable, for example in hazard detection systems to detect the deviations in electrical quantities from specified target values.
Claims (1)
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
DE19904002615 DE4002615C2 (en) | 1990-01-30 | 1990-01-30 | Circuit arrangement for analog-digital conversion of electrical measured values |
Publications (1)
Publication Number | Publication Date |
---|---|
CH680964A5 true CH680964A5 (en) | 1992-12-15 |
Family
ID=6399034
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CH294590A CH680964A5 (en) | 1990-01-30 | 1990-09-10 |
Country Status (2)
Country | Link |
---|---|
CH (1) | CH680964A5 (en) |
DE (1) | DE4002615C2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5774733A (en) * | 1995-10-03 | 1998-06-30 | Microchip Technology Incorporated | Microcontroller with analog front-end for providing intelligent battery management |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE2952311C2 (en) * | 1979-12-24 | 1982-11-04 | Hottinger Baldwin Messtechnik Gmbh, 6100 Darmstadt | Method and device for converting a measurement voltage into a digital value |
-
1990
- 1990-01-30 DE DE19904002615 patent/DE4002615C2/en not_active Expired - Fee Related
- 1990-09-10 CH CH294590A patent/CH680964A5/de not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
DE4002615A1 (en) | 1991-08-01 |
DE4002615C2 (en) | 1994-01-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
DE3633791A1 (en) | PROCEDURE AND ARRANGEMENT FOR MEASURING THE RESISTANCE RATIO ON A RESISTANCE HALF-BRIDGE | |
DE2800645B2 (en) | Circuit arrangement for acquiring and converting analog data into digital data | |
EP1251357A1 (en) | Resistance measurement | |
DE3117808A1 (en) | CIRCUIT ARRANGEMENT FOR MEASURING INDUCTIVE CHANGES | |
EP0154716A1 (en) | Circuit for electrothermal level measurement with ambient temperature compensation | |
DE1288632B (en) | Analog / digital converter with an integrating amplifier | |
DE2139126B2 (en) | VOLTAGE METER DISPLAYING DIGITAL IN LOGARITHMIC DIMENSIONS | |
CH680964A5 (en) | ||
DE3026714C2 (en) | ||
DE4028089A1 (en) | Circuitry detecting constant or alternating magnetic fields - using Hall generators with pulsed supply fed to Hall generators via electronically controlled switches | |
DE3706306A1 (en) | CIRCUIT TO OBTAIN A TEMPERATURE-INDEPENDENT RECTANGULAR SIGNAL FROM A MEASURING SIGNAL | |
EP0232763A1 (en) | Electronic electricity meter | |
DE3115195C2 (en) | ||
DE2725618C3 (en) | Device for measuring the integral of a time-dependent physical quantity | |
DE2627936C3 (en) | Circuit arrangement for shortening the transient processes when measuring capacitive resistance values | |
DE3322483A1 (en) | Measuring arrangement for detecting current or voltage values | |
DE3509507A1 (en) | Circuit arrangement for a differential-capacitor-type measurement pick up | |
DE3642495A1 (en) | Analogue/digital converter, particularly for electromechanical scales | |
DE4101193C1 (en) | ||
DE2938116A1 (en) | Resistance bridge measurements using micro-computer - measuring discharge time of capacitor which has been connected to imbalance voltage | |
DE1962333C3 (en) | AnaJog / DigitaJ converter | |
DE2352049B2 (en) | ARRANGEMENT FOR INDEPENDENT ZERO-POINT CORRECTION OF ANALOG-DIGITAL CONVERTER | |
DE2836324A1 (en) | Capacitance measurement device using dual ramp procedure - is incorporated in digital voltmeter and records capacitance discharge time | |
DE4229539A1 (en) | Duty ratio measurement circuit for IC engine signal having different phases - has first counter for repetitively counting through range and second counter for counting number of cycled ranges, and counts out end value of second counter when phase of signal changes to obtain final result | |
DE2610040C3 (en) | Circuit arrangement for shortening the transient processes when measuring the conductance of extremely high resistance |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PL | Patent ceased |