RU2502076C1 - Microcontroller metering converter of resistance into binary code with voltage-controlled generator - Google Patents

Microcontroller metering converter of resistance into binary code with voltage-controlled generator Download PDF

Info

Publication number
RU2502076C1
RU2502076C1 RU2012133942/28A RU2012133942A RU2502076C1 RU 2502076 C1 RU2502076 C1 RU 2502076C1 RU 2012133942/28 A RU2012133942/28 A RU 2012133942/28A RU 2012133942 A RU2012133942 A RU 2012133942A RU 2502076 C1 RU2502076 C1 RU 2502076C1
Authority
RU
Russia
Prior art keywords
voltage
microcontroller
generator
resistors
resistance
Prior art date
Application number
RU2012133942/28A
Other languages
Russian (ru)
Inventor
Александр Витальевич Вострухин
Алексей Николаевич Хабаров
Святослав Алексеевич Навроцкий
Original Assignee
Александр Витальевич Вострухин
Алексей Николаевич Хабаров
Святослав Алексеевич Навроцкий
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
Application filed by Александр Витальевич Вострухин, Алексей Николаевич Хабаров, Святослав Алексеевич Навроцкий filed Critical Александр Витальевич Вострухин
Priority to RU2012133942/28A priority Critical patent/RU2502076C1/en
Application granted granted Critical
Publication of RU2502076C1 publication Critical patent/RU2502076C1/en

Links

Landscapes

  • Measurement Of Resistance Or Impedance (AREA)

Abstract

FIELD: measurement equipment.
SUBSTANCE: microcontroller metering converter of resistance into a binary code with a voltage-controlled generator comprises the first resistor 1 (R1), the second resistor 2 (R2), the third resistor 3 (R3), the fourth resistor 4 (R4), and a generator 5 controlled by voltage and equipped with an inlet of generation permit and an MC 6. The first outputs of resistors 1, 2, 3 and 4 are connected accordingly to the first, second, third and fourth outputs of the MC 6, the second outputs of resistors 1, 2, 3 and 4 are connected to the inlet of control of generator 5 voltage, the output of which is connected to the count input of the binary counter built into the MC 6, the fifth output of the MC 6 is connected to the input of generator 5 generation permit.
EFFECT: higher sensitivity.
1 dwg

Description

Область техники, к которой относится изобретениеFIELD OF THE INVENTION

Изобретение относится к измерительной технике, в частности к устройствам для измерения активного сопротивления, и может быть использовано для измерения физических величин, контролируемых резистивными датчиками.The invention relates to measuring equipment, in particular to devices for measuring active resistance, and can be used to measure physical quantities controlled by resistive sensors.

Уровень техникиState of the art

Известно устройство для измерения электрической емкости и/или активного сопротивления, содержащее два одновибратора, включенные по кольцевой схеме, генератор импульсов и индикатор, во времязадающие цепи первого и второго одновибраторов включены конденсаторы соответственно измеряемой емкости и образцовой, к входам запуска обоих одновибраторов подключен выход генератора, между вторыми выходами одновибраторов включен блок индикации (см. пат. РФ №2099724, кл. G01R 27/26).A device for measuring electric capacitance and / or active resistance, comprising two one-vibrators, included in a ring circuit, a pulse generator and an indicator, capacitors of the measured capacitance and an exemplary capacitor, respectively, are included in the timing circuits of the first and second one-vibrators, the generator output is connected to the start inputs of both single-vibrators, between the second outputs of the single vibrators an indication unit is included (see US Pat. RF No. 2099724, class G01R 27/26).

Недостаток известного решения - ограничены функциональные возможности, для сопряжения данного устройства с микропроцессорными системами необходимо использовать дополнительные устройства, например АЦП.A disadvantage of the known solution is limited functionality, to pair this device with microprocessor systems, you must use additional devices, such as an ADC.

Известно устройство микроконтроллерное для измерения емкости и сопротивления, содержащее микроконтроллер (МК), емкостный датчик, конденсатор образцовой емкости, резисторы образцового и измеряемого сопротивления, первый, второй и третий резисторы и цифровой индикатор, причем резисторы образцового и измеряемого сопротивления первыми выводами подключены к первым обкладкам соответственно емкостного датчика и конденсатора образцовой емкости, цифровой индикатор подключен к МК, первые выводы первого, второго и третьего резисторов подключены к первому входу аналогового компаратора МК, вторые выводы первого и второго резисторов подключены соответственно к плюсовому и минусовому выводам питания МК, второй вывод третьего резистора подключен к первому выходу МК, первые выводы резисторов образцового и измеряемого сопротивления подключены ко второму входу аналогового компаратора МК, вторые выводы резисторов образцового и измеряемого сопротивлений подключены соответственно ко второму и третьему выходам МК, вторые обкладки емкостного датчика и конденсатора образцовой емкости подключены соответственно к четвертому и пятому выходам МК (см. пат. РФ №2392629, кл. G01R 27/26).A microcontroller device is known for measuring capacitance and resistance, containing a microcontroller (MK), a capacitive sensor, a capacitor of exemplary capacity, resistors of exemplary and measured resistance, first, second and third resistors and a digital indicator, and the resistors of exemplary and measured resistance are connected to the first plates by the first leads respectively a capacitive sensor and a capacitor of exemplary capacity, a digital indicator is connected to the MK, the first conclusions of the first, second and third resistors are connected are connected to the first input of the MK analog comparator, the second terminals of the first and second resistors are connected respectively to the plus and minus terminals of the MK power supply, the second terminal of the third resistor is connected to the first MK output, the first conclusions of the reference and measured resistance resistors are connected to the second input of the MK analog comparator, the second the findings of the resistors of the exemplary and measured resistances are connected respectively to the second and third outputs of the MK, the second plates of the capacitive sensor and the capacitor are exemplary The components are connected respectively to the fourth and fifth outputs of the MC (see US Pat. RF №2392629, class G01R 27/26).

Недостаток известного решения - низкая точность, обусловленная влиянием изменения емкости под действием температуры на результат измерения активного сопротивления.A disadvantage of the known solution is low accuracy due to the influence of changes in capacitance under the influence of temperature on the result of measuring the active resistance.

Наиболее близким по технической сущности к заявляемому техническому решению и принятым авторами за прототип является микроконтроллерный измерительный преобразователь емкости и сопротивления в двоичный код, содержащий МК, емкостный датчик, конденсатор образцовой емкости, образцовый резистор, резистивный делитель напряжения и резистор измеряемого сопротивления, причем резисторы образцового и измеряемого сопротивления первыми выводами подключены к первым обкладкам соответственно емкостного датчика и конденсатора образцовой емкости, первые выводы резисторов делителя напряжения подключены к первому входу аналогового компаратора МК, а вторые выводы подключены соответственно к выводам питания МК, первые выводы образцового и измеряемого резисторов подключены ко второму входу аналогового компаратора МК, вторые выводы образцового и измеряемого резисторов подключены соответственно к первому и второму выходам МК, вторые обкладки емкостного датчика и конденсатора образцовой емкости подключены соответственно к третьему и четвертому выходам МК (см. пат. РФ №2391677, кл. G01R 27/26).The closest in technical essence to the claimed technical solution and adopted by the authors for the prototype is a microcontroller measuring transducer of capacitance and resistance to binary code containing MK, capacitive sensor, capacitor of model capacitance, reference resistor, resistive voltage divider and resistor of measured resistance, and the resistors of reference and the measured resistance by the first conclusions are connected to the first plates of the capacitive sensor and capacitor, respectively, the reference capacitor and, the first leads of the voltage divider resistors are connected to the first input of the MK analog comparator, and the second leads are connected respectively to the MK power leads, the first leads of the reference and measured resistors are connected to the second input of the analog MK comparator, the second leads of the reference and measured resistors are connected to the first and to the second outputs of the MK, the second plates of the capacitive sensor and the capacitor of the exemplary capacity are connected respectively to the third and fourth outputs of the MK (see US Pat. RF №2391677, class G01R 27/26).

Недостаток известного решения - низкая чувствительность преобразователя, обусловленная измерением путем дискретного счета относительно малого интервала времени, в течение которого осуществляется только один цикл переходного процесса в RC-цепи.A disadvantage of the known solution is the low sensitivity of the converter, due to the measurement by discrete counting of a relatively small time interval during which only one transient cycle in the RC circuit is carried out.

Раскрытие изобретенияDisclosure of invention

Технический результат, который может быть достигнут с помощью предлагаемого изобретения, сводится к повышению чувствительности преобразования.The technical result that can be achieved using the present invention is to increase the sensitivity of the conversion.

Технический результат достигается тем, что в микроконтроллерный измерительный преобразователь сопротивления в двоичный код с генератором, управляемым напряжением, содержащий микроконтроллер, первый, второй, третий и четвертый резисторы, причем первые выводы первого и второго резисторов подключены соответственно к первому и второму выходам микроконтроллера, введен генератор, управляемый напряжением, причем первые выводы третьего и четвертого резисторов подключены соответственно к третьему и четвертому выходам микроконтроллера, вторые выводы всех резисторов подключены к входу управления напряжением генератора, выход которого подключен к счетному входу встроенного в микроконтроллер двоичного счетчика, пятый выход микроконтроллера подключен к входу разрешения генерирования генератора.The technical result is achieved by the fact that in the microcontroller measuring resistance converter in binary code with a voltage-controlled generator containing a microcontroller, first, second, third and fourth resistors, the first outputs of the first and second resistors connected respectively to the first and second outputs of the microcontroller, a generator is introduced controlled by voltage, with the first conclusions of the third and fourth resistors connected respectively to the third and fourth outputs of the microcontroller, The first outputs of all resistors are connected to the voltage control input of the generator, the output of which is connected to the counting input of the binary counter built into the microcontroller, the fifth output of the microcontroller is connected to the generator generation enable input.

Краткое описание чертежейBrief Description of the Drawings

На чертеже представлена структурная схема микроконтроллерного измерительного преобразователя сопротивления в двоичный код с генератором, управляемым напряжением.The drawing shows a structural diagram of a microcontroller measuring resistance converter in binary code with a voltage-controlled generator.

Осуществление изобретенияThe implementation of the invention

Микроконтроллерный измерительный преобразователь сопротивления в двоичный код с генератором, управляемым напряжением, содержит (чертеж) первый резистор 1 (R1), второй резистор 2 (R2), третий резистор 3 (R4), четвертый резистор 4 (R4), генератор 5, управляемый напряжением и снабженный входом разрешения генерирования и МК 6.The microcontroller measuring resistance to binary converter with a voltage-controlled generator contains (drawing) a first resistor 1 (R 1 ), a second resistor 2 (R 2 ), a third resistor 3 (R 4 ), a fourth resistor 4 (R 4 ), a generator 5, voltage-controlled and equipped with a generation enable input and MK 6.

Первые выводы резисторов 1, 2, 3 и 4 подключены соответственно к первому, второму, третьему и четвертому выходам МК 6, вторые выводы резисторов 1, 2, 3 и 4 подключены к входу управления напряжением генератора 5, выход которого подключен к счетному входу встроенного в МК 6 счетчика (на чертеже счетчик не показан), пятый выход МК 6 подключен к входу разрешения генерирования генератора 5.The first conclusions of resistors 1, 2, 3 and 4 are connected respectively to the first, second, third and fourth outputs of MK 6, the second conclusions of resistors 1, 2, 3 and 4 are connected to the voltage control input of generator 5, the output of which is connected to the counting input of the built-in MK 6 counter (the counter is not shown in the drawing), the fifth output of MK 6 is connected to the generator enable permission input 5.

Микроконтроллерный измерительный преобразователь сопротивления в двоичный код с генератором, управляемым напряжением, работает следующим образом.A microcontroller measuring resistance to binary converter with a voltage controlled oscillator operates as follows.

Допустим, резисторы 1, 2 и 4 являются образцовыми, резистор 3 - датчик, например термосопротивление, причем R2=R4.Suppose resistors 1, 2 and 4 are exemplary, resistor 3 is a sensor, for example, thermal resistance, with R 2 = R 4 .

МК 6 выводит на пятый выход логический уровень, запрещающий генерирование, т.е. останавливает генератор 5 и очищает счетчик. Первый и третий выходы МК 6 переводит в высокоомное состояние, на четвертый выход выводит логический «0», на второй выход логическую «1» и запускает генератор 5, путем вывода на пятый выход соответствующего логического уровня. В этом случае генератор 5 начинает генерировать прямоугольные импульсы с образцовым периодом ТO. Значение ТO зависит от образцового напряжения UO на управляющем входе генератора 5. Напряжение UO, в свою очередь, зависит от соотношения сопротивлений образцовых резисторов 2 и 4 и определяется выражениемMK 6 outputs to the fifth output a logic level that prohibits generation, i.e. stops generator 5 and clears the counter. The first and third outputs of MK 6 translates into a high-resistance state, outputs a logical “0” to the fourth output, a logical “1” to the second output and starts the generator 5, by outputting the corresponding logical level to the fifth output. In this case, the generator 5 begins to generate rectangular pulses with an exemplary period T O. The value of T O depends on the reference voltage U O at the control input of the generator 5. The voltage U O , in turn, depends on the ratio of the resistances of the reference resistors 2 and 4 and is determined by the expression

Figure 00000001
Figure 00000001

где UH - напряжение высокого уровня, незначительно меньше (на 0,02 В) напряжения источника питания МК 6. МК 6 измеряет образцовый интервал времени, определяемый выражением: tO=NO·ТO, где NO - количество образцовых периодов, подсчитываемых счетчиком МК 6. Количество NO задается программным способом, что позволяет управлять чувствительностью преобразователя. Интервал времени tO (временные ворота) заполняется счетными импульсами от внутреннего тактового генератора МК 6 с помощью второго счетчика, встроенного в МК 6. МК 6 сохраняет значение образцового интервала времени tO в памяти и переходит к следующему режиму.where U H is the voltage of a high level, slightly less (by 0.02 V) of the voltage of the power supply MK 6. MK 6 measures the model time interval defined by the expression: t O = N O · T O , where N O is the number of model periods, counted by the MK 6 counter. The number N O is set in a software way, which allows you to control the sensitivity of the converter. The time interval t O (time gate) is filled with counting pulses from the internal clock of MK 6 using the second counter integrated in MK 6. MK 6 saves the value of the model time interval t O in memory and proceeds to the next mode.

МК 6 переводит второй и четвертый выходы в высокоомное состояние, на третий выход выводит логический «0», а на первый выход - логическую «1». По цепи делителя, состоящего из резисторов 1 и 3, течет ток, а следовательно, к управляющему напряжением входу генератора 5 будет приложено напряжение UX, снимаемое с измеряемого сопротивления резистора 3 и которое определяется выражениемMK 6 transfers the second and fourth outputs to a high-resistance state, outputs a logical “0” to the third output, and a logical “1” to the first output. A current flows through the divider circuit, consisting of resistors 1 and 3, and therefore, the voltage U X will be applied to the control voltage of the input of the generator 5, taken from the measured resistance of the resistor 3 and which is determined by the expression

Figure 00000002
Figure 00000002

В этом случае генератор 5 начинает генерировать прямоугольные импульсы с периодом TX. МК 6 измеряет интервал времени, определяемый выражением: tX=NO·TX и сохраняет значение данного интервала времени tX в памяти.In this case, the generator 5 begins to generate rectangular pulses with a period T X. MK 6 measures the time interval defined by the expression: t X = N O · T X and stores the value of this time interval t X in memory.

Затем МК 6 определяет разность временных интервалов в соответствии с выражением Δt=tX-tO. Значение Δt зависит от значения разности напряжений, определяемого выражением ΔU=UX-UO. Так как в выражение (2) входит сопротивление R3, которое является сопротивлением датчика, а в выражение (1) - образцовые сопротивления R2 и R4, значения которых известны, то Δt является функцией изменения R3. МК 6 преобразует Δt в двоичный код и сохраняет в оперативной памяти для дальнейшего использования.Then MK 6 determines the difference in time intervals in accordance with the expression Δt = t X -t O. The value of Δt depends on the value of the voltage difference determined by the expression ΔU = U X -U O. Since the expression R 2 , which is the resistance of the sensor, enters into expression (2), and the model resistances R 2 and R 4 , whose values are known, enter into expression (1), Δt is a function of the change in R 3 . MK 6 converts Δt into binary code and stores it in RAM for future use.

Предлагаемое изобретение по сравнению с прототипом и другими известными решениями обладает повышенной чувствительностью в результате накопления разности образцового и измеряемого периодов управляемого напряжением генератора.The present invention, in comparison with the prototype and other known solutions, has increased sensitivity as a result of the accumulation of the difference between the reference and measured periods controlled by the voltage of the generator.

Claims (1)

Микроконтроллерный измерительный преобразователь сопротивления в двоичный код с генератором, управляемым напряжением, содержащий микроконтроллер, первый, второй, третий и четвертый резисторы, причем первые выводы первого и второго резисторов подключены соответственно к первому и второму выходам микроконтроллера, отличающийся тем, что в него введен генератор, управляемый напряжением, причем первые выводы третьего и четвертого резисторов подключены соответственно к третьему и четвертому выходам микроконтроллера, вторые выводы всех резисторов подключены к входу управления напряжением генератора, выход которого подключен к счетному входу встроенного в микроконтроллер двоичного счетчика, пятый выход микроконтроллера подключен к входу разрешения генерирования генератора. A microcontroller measuring resistance to binary converter with a voltage controlled generator comprising a microcontroller, first, second, third and fourth resistors, the first terminals of the first and second resistors being connected respectively to the first and second outputs of the microcontroller, characterized in that a generator is inserted into it, voltage-controlled, with the first conclusions of the third and fourth resistors connected respectively to the third and fourth outputs of the microcontroller, the second conclusions of all p The resistors are connected to the voltage control input of the generator, the output of which is connected to the counting input of the binary counter built into the microcontroller, the fifth output of the microcontroller is connected to the generator generation enable input.
RU2012133942/28A 2012-08-07 2012-08-07 Microcontroller metering converter of resistance into binary code with voltage-controlled generator RU2502076C1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
RU2012133942/28A RU2502076C1 (en) 2012-08-07 2012-08-07 Microcontroller metering converter of resistance into binary code with voltage-controlled generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
RU2012133942/28A RU2502076C1 (en) 2012-08-07 2012-08-07 Microcontroller metering converter of resistance into binary code with voltage-controlled generator

Publications (1)

Publication Number Publication Date
RU2502076C1 true RU2502076C1 (en) 2013-12-20

Family

ID=49785243

Family Applications (1)

Application Number Title Priority Date Filing Date
RU2012133942/28A RU2502076C1 (en) 2012-08-07 2012-08-07 Microcontroller metering converter of resistance into binary code with voltage-controlled generator

Country Status (1)

Country Link
RU (1) RU2502076C1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2552749C1 (en) * 2014-02-10 2015-06-10 Александр Витальевич Вострухин Microcontroller metering converter with function of current measurement in resistive sensor circuit
RU2565813C1 (en) * 2014-07-14 2015-10-20 Александр Витальевич Вострухин Microcontroller-based converter of resistance, capacitance and voltage into binary code
RU2690517C1 (en) * 2018-08-01 2019-06-04 федеральное государственное бюджетное образовательное учреждение высшего образования "Ставропольский государственный аграрный университет" Microcontroller metering transducer of resistance of resistor sensors into binary code with self-diagnostics function
RU2779293C1 (en) * 2022-06-01 2022-09-05 федеральное государственное бюджетное образовательное учреждение высшего образования "Ставропольский государственный аграрный университет" Microcontroller adc based on the transient in the rc circuit

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2031518A2 (en) * 2000-10-26 2009-03-04 Cypress Semiconductor Corporation Circuit
RU2372592C2 (en) * 2007-01-09 2009-11-10 Морской гидрофизический институт Национальной академии наук Украины (МГИ НАН Украины) Temperature measuring device which is standard resistor equivalent and method realised in said device
RU2391677C1 (en) * 2009-04-03 2010-06-10 Общество с ограниченной ответственностью научно-производственная компания "Интеллект-Сервис" Microcontroller metering transducer of capacitance and resistance into binary code
RU2449299C1 (en) * 2011-01-20 2012-04-27 Александр Витальевич Вострухин Microcontroller measuring converter for resistive sensor

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2031518A2 (en) * 2000-10-26 2009-03-04 Cypress Semiconductor Corporation Circuit
RU2372592C2 (en) * 2007-01-09 2009-11-10 Морской гидрофизический институт Национальной академии наук Украины (МГИ НАН Украины) Temperature measuring device which is standard resistor equivalent and method realised in said device
RU2391677C1 (en) * 2009-04-03 2010-06-10 Общество с ограниченной ответственностью научно-производственная компания "Интеллект-Сервис" Microcontroller metering transducer of capacitance and resistance into binary code
RU2449299C1 (en) * 2011-01-20 2012-04-27 Александр Витальевич Вострухин Microcontroller measuring converter for resistive sensor

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2552749C1 (en) * 2014-02-10 2015-06-10 Александр Витальевич Вострухин Microcontroller metering converter with function of current measurement in resistive sensor circuit
RU2565813C1 (en) * 2014-07-14 2015-10-20 Александр Витальевич Вострухин Microcontroller-based converter of resistance, capacitance and voltage into binary code
RU2690517C1 (en) * 2018-08-01 2019-06-04 федеральное государственное бюджетное образовательное учреждение высшего образования "Ставропольский государственный аграрный университет" Microcontroller metering transducer of resistance of resistor sensors into binary code with self-diagnostics function
RU2779293C1 (en) * 2022-06-01 2022-09-05 федеральное государственное бюджетное образовательное учреждение высшего образования "Ставропольский государственный аграрный университет" Microcontroller adc based on the transient in the rc circuit

Similar Documents

Publication Publication Date Title
TWI651930B (en) Capacitive proximity detection using delta-sigma conversion
RU2391677C1 (en) Microcontroller metering transducer of capacitance and resistance into binary code
CN106501618B (en) Capacitor's capacity measuring circuit
CN104067097B (en) High-resolution temperature survey
RU2502076C1 (en) Microcontroller metering converter of resistance into binary code with voltage-controlled generator
RU2395816C1 (en) Microcontroller device to analyse dielectric properties of biological objects and insulation materials
RU2392629C1 (en) Microcontroller device for capacity and resistance measurement
KR101430402B1 (en) Measuring method for measuring capacitance and capacitive touch switch using the same
CN110044510A (en) IGBT module temperature measurement circuit, temp measuring method and computer readable storage medium
RU2603937C1 (en) Microcontroller measuring converter for resistive and capacitive sensors with transmission of conversion result over radio channel
RU2449299C1 (en) Microcontroller measuring converter for resistive sensor
CN104897964B (en) A kind of circuit and method for measuring variable resistor resistance
RU2565813C1 (en) Microcontroller-based converter of resistance, capacitance and voltage into binary code
RU2453854C1 (en) Low-energy microcontroller-based measuring transmitter for variable resistance transducer
RU2378658C1 (en) Microcontroller for measuring shaft rotation frequency
RU2670724C9 (en) Micro-controller device for tanks measurement
US11281314B2 (en) Methods and apparatus for variable capacitance detection
RU2550595C1 (en) Microcontroller device to measure capacitance and resistance and transfer of measurement result along radio channel
CN108037358B (en) Single-chip microcomputer frequency testing system and method
RU2506599C1 (en) Microcontroller metering converter with balancing of resistive bridge
RU2214610C2 (en) Facility measuring non-electric values with use of capacitor pickups
RU2546713C1 (en) Microcontroller measurement converter of capacitance and resistance into binary code
RU2309415C1 (en) Device for measuring capacitance of capacitive pickup
RU2491558C1 (en) Microcontroller metering converter of resistance with controlled sensitivity
RU2756374C1 (en) Microcontroller capacity measuring device for embedded computing systems