CN106992775B - Device and method for converting negative voltage into zero level signal - Google Patents

Device and method for converting negative voltage into zero level signal Download PDF

Info

Publication number
CN106992775B
CN106992775B CN201710188241.7A CN201710188241A CN106992775B CN 106992775 B CN106992775 B CN 106992775B CN 201710188241 A CN201710188241 A CN 201710188241A CN 106992775 B CN106992775 B CN 106992775B
Authority
CN
China
Prior art keywords
diode
resistor
current
voltage
pull
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.)
Active
Application number
CN201710188241.7A
Other languages
Chinese (zh)
Other versions
CN106992775A (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.)
Shenzhen Encom Electric Technologies Co ltd
Original Assignee
Shenzhen Encom Electric Technologies Co ltd
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 Shenzhen Encom Electric Technologies Co ltd filed Critical Shenzhen Encom Electric Technologies Co ltd
Priority to CN201710188241.7A priority Critical patent/CN106992775B/en
Publication of CN106992775A publication Critical patent/CN106992775A/en
Application granted granted Critical
Publication of CN106992775B publication Critical patent/CN106992775B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K19/00Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits
    • H03K19/0175Coupling arrangements; Interface arrangements
    • H03K19/017509Interface arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Logic Circuits (AREA)
  • Tone Control, Compression And Expansion, Limiting Amplitude (AREA)

Abstract

The invention discloses a device and a method for converting negative voltage into zero level signal, the device comprises: the power supply comprises a first diode, a second diode, a pull-up resistor, a current-limiting resistor and a forward power supply; one end of the current-limiting resistor is connected with the output end, and the other end of the current-limiting resistor is connected with an end point; the end point is the end point of the common connection of the cathode of the first diode and the cathode of the second diode; the anode of the first diode is grounded; the anode of the second diode is respectively connected with one end of the pull-up resistor and the output end; the other end of the pull-up resistor is connected with a positive power supply; and the resistance value of the current-limiting resistor and the resistance value of the pull-up resistor are adjusted to ensure that the current flowing through the first diode is equal to the current flowing through the second diode, so that the conduction voltage of the second diode is equal to the conduction voltage of the first diode, the voltage of the anode end of the second diode is zero, namely the voltage of the output end is zero. Therefore, the device or the method provided by the invention can effectively improve the precision of converting the negative voltage signal into the zero level signal.

Description

Device and method for converting negative voltage into zero level signal
Technical Field
The present invention relates to the field of electrical signal conversion, and in particular, to a device and method for converting a negative voltage into a zero level signal.
Background
In some analog quantity detection circuits, comparison of positive and negative voltages is often used, and since the detection voltage range is between a positive reference value and a negative reference value, an operational comparator with double power supplies is often used as a comparison circuit, so that the high level of a signal output by operational amplifier comparison is a positive voltage determined by an output pull-up resistor, and the low level state is a negative power supply voltage, but the negative voltage signal cannot be sent to a chip or a CPU processor for processing and must be converted into a voltage signal meeting the requirement of the input voltage range of a receiving device.
At present, in the prior art, a triode switching circuit or a method of clamping a current-limiting resistor and a diode to ground is often used to convert a negative voltage signal into a zero level signal. However, the triode switching circuit has the defects of complex circuit and low precision of output zero level; the method of using current limiting resistor and one diode to clamp the ground has the disadvantage that the signal can not return to zero. Therefore, how to convert the negative voltage signal into a high-precision zero-level signal is a technical problem that needs to be solved urgently in the field at present.
Disclosure of Invention
The invention aims to provide a device and a method for converting negative voltage into a zero level signal so as to realize high-precision conversion.
In order to achieve the purpose, the invention provides the following scheme:
an apparatus for converting a negative voltage to a zero level signal, the apparatus comprising: the device comprises a double-diode device, a pull-up resistor, a current-limiting resistor and a forward power supply; the dual diode arrangement comprises a first diode and a second diode; one end of the current-limiting resistor is connected with the input end, and the other end of the current-limiting resistor is connected with an end point; the end point is an end point at which the cathode of the first diode and the cathode of the second diode are connected together; the anode of the first diode is grounded; the anode of the second diode is respectively connected with one end of the pull-up resistor and the output end of the pull-up resistor; the other end of the pull-up resistor is connected with the positive power supply.
The invention also provides a method for converting negative voltage into zero level signal, comprising:
adjusting the resistance value of the pull-up resistor and the current-limiting resistor to meet the requirements of the resistance value of the current-limiting resistor and the pull-up resistor
Figure BDA0001255426190000021
In the formula (1), UVCCIndicating the forward supply voltage, UFRepresenting the first diode turn-on voltage, R1Representing the resistance, R, of the current-limiting resistor2Representing the resistance, U, of the pull-up resistorInput deviceRepresenting the voltage value at the input.
According to the specific embodiment provided by the invention, the invention discloses the following technical effects:
the invention provides a device and a method for converting negative voltage into a zero level signal, wherein the device comprises: the power supply comprises a first diode, a second diode, a pull-up resistor, a current-limiting resistor and a forward power supply; one end of the current-limiting resistor is connected with the output end, and the other end of the current-limiting resistor is connected with an end point; the end point is the end point of the common connection of the cathode of the first diode and the cathode of the second diode; the anode of the first diode is grounded; the anode of the second diode is respectively connected with one end of the pull-up resistor and the output end; the other end of the pull-up resistor is connected with a positive power supply; and the resistance value of the current-limiting resistor and the resistance value of the pull-up resistor are adjusted to ensure that the current flowing through the first diode is equal to the current flowing through the second diode, so that the conduction voltage of the second diode is equal to the conduction voltage of the first diode, the voltage of the anode end of the second diode is zero, namely the voltage of the output end is zero. Therefore, the device or the method provided by the invention can effectively improve the precision of converting the negative voltage into the zero level signal.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without inventive exercise.
FIG. 1 is a schematic diagram of an apparatus for converting a negative voltage into a zero level signal according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a current trend for converting a negative voltage into a zero level signal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The invention aims to provide a device and a method for converting negative voltage into a zero level signal so as to realize high-precision conversion.
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
Fig. 1 is a schematic structural diagram of an apparatus for converting a negative voltage into a zero-level signal according to an embodiment of the present invention, as shown in fig. 1, the apparatus includes: a dual diode device 100, a pull-up resistor 200, a current limiting resistor 300, and a forward power supply 400. The two-diode device 100 includes a first diode 101 and a second diode 102, and the first diode 101 and the second diode 102 are identical.
In the embodiment of the present invention, it is preferable to package the first diode 101 and the second diode 102 in the dual diode device 100 by using the same material and process.
As shown in fig. 1, point a is an input terminal, point B is a junction point between the cathode of the first diode 101 and the cathode of the second diode 102, point C is a common junction point of the pull-up resistor 200, the anode of the second diode 102 and the output terminal, and point D represents an output terminal.
One end of the current limiting resistor 300 is connected with the input end A, and the other end of the current limiting resistor 300 is connected with the end point B; the cathode of the first diode 101 and the cathode of the second diode 102 are connected with an end point B; the anode of the first diode 101 is grounded, and the anode 102 of the second diode is respectively connected with one end of the pull-up resistor 200 and the output end D; the other end of the pull-up resistor 200 is connected to a forward power supply 400.
And according to the formula (1), the resistance of the pull-up resistor 200 and the resistance of the current limiting resistor 300 are adjusted so that the current flowing through the first diode 101 and the current flowing through the second diode 102 are equal.
Wherein the formula (1) is:
Figure BDA0001255426190000031
in the formula (1), UVCCIndicating the forward supply voltage, UFRepresenting the first diode turn-on voltage, R1Representing the resistance, R, of the current-limiting resistor2Representing the resistance, U, of the pull-up resistorInput deviceThe voltage value of the input end is represented, namely the voltage of the point A.
In the embodiment of the invention, the voltage of the first diode is determined to be U by the connection relationship of the devices as shown in FIG. 1 and the anode of the first diode is groundedB(ii) a The cathode potential of the second diode is determined to be U by adopting the same first diode and second diode and connecting the cathode of the first diode and the cathode of the second diode together to form an end point BBAnd the current flowing through the first diode and the current flowing through the second diode are determined to be equal after the resistance values of the pull-up resistor and the current-limiting resistor are adjusted (in actual operation, due to the influence of external uncertain factors, even if the resistance values of the pull-up resistor and the current-limiting resistor are adjusted according to the formula (1), the current flowing through the first diode and the current flowing through the second diode 102 are probably not completely equal but are approximately equal, in order to better explain the technical scheme of the invention, the influence of other external factors is ignored, that is, on the theoretical basis, the current flowing through the first diode and the current flowing through the second diode are determined to be completely equal after the resistance values of the pull-up resistor and the current-limiting resistor are adjusted according to the formula (1), and the conduction voltage of the second diode is determined to be the same as the conduction voltage of the first diode, namely, the conduction voltage of the second diode is U.B(ii) a Cathode potential of the second diode is UBAnd the conduction voltage of the second diode is UBThen it is determined that the potential of the anode of the second diode is 0, i.e., the voltage of the output terminal D is 0. Therefore, the device and the method provided by the invention can improve the precision of converting the signal into the zero level signal.
It should be noted that the first diode and the second diode provided in the technical solution of the present invention are completely the same, and the diode characteristics of the first diode and the second diode are the closest to each other, so that the problem of different conduction voltage drop parameters due to the discreteness of the parameters of the two diodes when two different diodes are adopted is avoided. And because the first diode and the second diode are in the same package, and the flowing currents are the same, the ambient temperature of the diodes and the heat generated by the diodes are completely the same, the problem of inconsistency possibly generated by temperature drift of the diodes is solved, the voltage drop of the second diode is ensured to be equal to that of the conduction tube of the first diode, and the precision of zero level conversion is further improved. Therefore, the zero level precision cannot be greatly influenced at any time and at any ambient temperature.
FIG. 2 is a schematic diagram of a current trend for converting a negative voltage into a zero level signal according to an embodiment of the present invention, as shown in FIG. 2, a point A is an input terminal and is a negative voltage signal, and a point B is a first diode D1Cathode and second diode D2Cathode pairA contact point, a point C is a pull-up resistor R2A second diode D2The anode and the output end D are connected together, and the point D represents the output end.
First diode D1Grounding the anode, directly clamping the point B, and applying a current I3From the first diode D1The anode flows to the point B, so that the first diode D1On, according to the current direction, the voltage at point B will be lower than the ground level by a first diode D1The ground level is a reference zero level, and thus the voltage at point B is defined as UB(i.e., -U-tooFWherein, UFRepresenting the first diode turn-on voltage). Pull-up resistor R2One end of and a forward power supply UVCCConnected such that the level of point B is lower than that of point C, and a second diode D2Will be on; in order to equalize the current flowing through the first diode and the current flowing through the second diode, the pull-up resistor R needs to be adjusted2Resistance value and current limiting resistor R1The resistance value of (c).
Next, a relation between the current limiting resistor and the pull-up resistor is obtained by an inverse algorithm, and the pull-up resistor R is adjusted2Resistance value and current limiting resistor R1The resistance value of the first diode is equal to that of the second diode, and the voltage value of the point C is 0, namely, the negative voltage is converted into a zero level signal.
Preface UC0V, then, a pull-up resistor R flows2The current of (a) is:
Figure BDA0001255426190000051
wherein U isVCCFor positive supply voltage, flows through a current-limiting resistor R1The current of (a) is:
Figure BDA0001255426190000052
UBis the voltage at point B;
according to UC0V, the first diode D1The anode is grounded to define a first diode D1Has a turn-on voltage of UBA second diode D2Has a turn-on voltage of UB
According to the U-I curve of the diode and the first diode D1Conduction voltage and second diode D2The same voltage is determined in the U-I curve of the diode and necessarily corresponds to the same current, namely flows through the first diode D1Current of (I)3=I1
I was determined according to the theory of KCL as shown in FIG. 22=I1+I3(ii) a And due to I3=I1Then obtain I2=2I1(4). Then, it can be obtained from the formulas (2), (3) and (4)
Figure BDA0001255426190000053
Wherein in formula (1), UVCCIndicating the voltage of the forward power supply, -UFDenotes a first diode D1A second diode D2Tube voltage drop U ofB,UAThe voltage at point a is shown.
Therefore, it is determined by the connection relationship diagram shown in fig. 2, the diode U-I curve, and the formula (5) that the current flowing through the first diode 101 is equal to the current flowing through the second diode 102, the first diode on voltage is equal to the second diode on voltage, the second diode anode voltage is 0, that is, the output terminal voltage is 0, so that the purpose of converting the negative voltage into a high-precision zero-level signal is achieved.
It should be noted that the voltage at point a is the input terminal, i.e., the voltage at point a is expressed as the voltage at the input terminal, i.e., equation (5) is equivalent to equation (1).
In order to prove that the device provided by the invention can achieve the purpose of improving the precision of converting negative voltage into zero level signal only by adjusting the resistance values of the current-limiting resistor and the pull-up resistor, the following embodiment is used for verification.
Example two
The first diode and the second diode provided by the embodiment of the invention are germanium diodes, and the voltage drop U of the germanium diodesFIs 0.4V; forward power supply UVCCIs 5V, point A is a negative voltage signal, and UAis-15V, pull-up resistor R2The resistance value is 10K omega, then according to equation (1) or equation(5) Calculating the current limiting resistance R1The resistance value was 14.6K Ω.
According to the current trend shown in fig. 2, the formula (2) and the data provided and calculated in the second embodiment, it can be calculated,
Figure BDA0001255426190000061
I3=I2-I10.5A. From the above calculation results, I can be seen3=I1
Therefore, according to the germanium diode in which the first diode and the second diode are identical, and the current flowing through the first diode and the current flowing through the second diode are equal, it is determined that the turn-on voltage of the second diode is identical to the turn-on voltage of the first diode.
The cathode of the first diode and the cathode of the second diode are connected with an end point B together, the anode of the first diode is grounded, and the cathode potential of the second diode is determined to be UBDetermining the turn-on voltage of the first diode to be UB
The conduction voltage of the second diode is the same as that of the first diode, and the cathode potential of the second diode is UBAnd the anode of the second diode is determined to be at zero level, namely the output end is at zero level, so that the negative voltage signal is converted into high-precision zero level.
Through the above embodiments, it is proved that the device and the method for improving the precision of converting the negative voltage into the zero level signal provided by the invention can achieve the purpose of improving the precision of converting the negative voltage into the zero level signal only by adjusting the resistance values of the current limiting resistor and the pull-up resistor, and further achieve the purpose of protecting the receiving end device (such as a precise DSP processor and the like) of the signal.
In addition, the invention not only can realize the high-precision conversion of the negative voltage signal into the zero level signal, but also can realize the high-precision conversion into the voltage value meeting the requirement of a post-level system when the input end is the positive voltage signal, and the method specifically comprises the following steps:
by the second diode in the device provided by the invention, when the positive voltage signal at the input end is higher than the pull-up high level of the pull-up resistor at the output end,the second diode will be turned off in the reverse direction, i.e. the second diode will not be conducting. That is, the level of the rear-stage output end is the high level pulled up by the pull-up resistor, and the phenomenon that the level exceeds the high level is avoided, so that only the voltage value meeting the requirements of the rear-stage system is used as the pull-up power supply U of the pull-up resistorVCCTherefore, the output end D can output safe high level to a rear-stage system, and the safety of a rear-stage receiving device is ensured.
Therefore, the input end can be converted into a low-level or safe high-level signal without negative voltage no matter whether the positive voltage signal or the negative voltage signal is input, and the safety of a rear-stage receiving device and the correctness of signal identification are ensured.
The principles and embodiments of the present invention have been described herein using specific examples, which are provided only to help understand the method and the core concept of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, the specific embodiments and the application range may be changed. In view of the above, the present disclosure should not be construed as limiting the invention.

Claims (2)

1. An apparatus for converting a negative voltage to a zero level signal, the apparatus comprising: the device comprises a double-diode device, a pull-up resistor, a current-limiting resistor and a forward power supply; the dual diode arrangement comprises a first diode and a second diode; one end of the current-limiting resistor is connected with the input end, and the other end of the current-limiting resistor is connected with an end point; the end point is an end point at which the cathode of the first diode and the cathode of the second diode are connected together; the anode of the first diode is grounded; the anode of the second diode is respectively connected with one end of the pull-up resistor and the output end of the pull-up resistor; the other end of the pull-up resistor is connected with the positive power supply; and adjusting the resistance value of the current-limiting resistor and the resistance value of the pull-up resistor to ensure that the current flowing through the first diode is equal to the current flowing through the second diode.
2. A method for converting a negative voltage into a zero-level signal, the method being applied to the apparatus for converting a negative voltage into a zero-level signal of claim 1, the method comprising:
adjusting the resistance value of the pull-up resistor and the current-limiting resistor to meet the requirements of the resistance value of the current-limiting resistor and the pull-up resistor
Figure FDA0002285808260000011
In the formula (1), UVCCIndicating the forward supply voltage, UFRepresenting the first diode turn-on voltage, R1Representing the resistance, R, of the current-limiting resistor2Representing the resistance, U, of the pull-up resistorInput deviceRepresenting the voltage value at the input.
CN201710188241.7A 2017-03-27 2017-03-27 Device and method for converting negative voltage into zero level signal Active CN106992775B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710188241.7A CN106992775B (en) 2017-03-27 2017-03-27 Device and method for converting negative voltage into zero level signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710188241.7A CN106992775B (en) 2017-03-27 2017-03-27 Device and method for converting negative voltage into zero level signal

Publications (2)

Publication Number Publication Date
CN106992775A CN106992775A (en) 2017-07-28
CN106992775B true CN106992775B (en) 2020-11-10

Family

ID=59413325

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710188241.7A Active CN106992775B (en) 2017-03-27 2017-03-27 Device and method for converting negative voltage into zero level signal

Country Status (1)

Country Link
CN (1) CN106992775B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107727923A (en) * 2017-08-29 2018-02-23 宁德时代新能源科技股份有限公司 High-voltage sampling circuit and battery management system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02209764A (en) * 1988-10-20 1990-08-21 Nec Corp Microcomputer
CN1314742A (en) * 2001-04-11 2001-09-26 广东省科学院自动化工程研制中心 Detection circuit for AC power synchronous signal
CN201181936Y (en) * 2007-12-26 2009-01-14 英业达科技有限公司 Power level transfer circuit
CN202535322U (en) * 2012-03-31 2012-11-14 宁波科达仪表有限公司 Speed signal input conversion circuit
CN203661030U (en) * 2013-10-24 2014-06-18 美的集团股份有限公司 Electrical level switching circuit and circuit board having same
CN204046570U (en) * 2014-07-18 2014-12-24 郑州众智科技股份有限公司 One-chip machine port level input protection circuit

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02209764A (en) * 1988-10-20 1990-08-21 Nec Corp Microcomputer
CN1314742A (en) * 2001-04-11 2001-09-26 广东省科学院自动化工程研制中心 Detection circuit for AC power synchronous signal
CN201181936Y (en) * 2007-12-26 2009-01-14 英业达科技有限公司 Power level transfer circuit
CN202535322U (en) * 2012-03-31 2012-11-14 宁波科达仪表有限公司 Speed signal input conversion circuit
CN203661030U (en) * 2013-10-24 2014-06-18 美的集团股份有限公司 Electrical level switching circuit and circuit board having same
CN204046570U (en) * 2014-07-18 2014-12-24 郑州众智科技股份有限公司 One-chip machine port level input protection circuit

Also Published As

Publication number Publication date
CN106992775A (en) 2017-07-28

Similar Documents

Publication Publication Date Title
CN104331141A (en) Overcurrent protection circuit and server thereof
TW201534048A (en) Inverting apparatus and photovoltaic power system using the same
CN104362585A (en) Over-temperature protection circuit
CN102749575A (en) Electronic fuse state reader
JPWO2015079492A1 (en) Gate drive circuit and intelligent power module
CN105528977A (en) Detection circuit, drive integrated circuit and detection method thereof
CN103455078B (en) A kind of current-limiting circuit, device
CN106992775B (en) Device and method for converting negative voltage into zero level signal
TWI531801B (en) Voltage detection circuit
CN109959837B (en) Electric leakage detection circuit
CN108322208B (en) Signal interface for inputting positive and negative voltage signals and signal interface circuit thereof
CN105486940A (en) Key detection circuit and key detection method of electronic equipment
CN108089627B (en) Reference voltage buffer circuit
CN115296285A (en) Power protection circuit, method, device and computer storage medium
US8542473B2 (en) Resistance determining system and method for circuit protection
CN107611934A (en) USB interface protection circuit and display device
US9373996B2 (en) Inverting apparatus and photovoltaic power system using the same
CN205375228U (en) Ageing quick -witted control by temperature change circuit
CN209572001U (en) A kind of driving circuit and level shifting circuit of signal transfer tube
CN107947742B (en) Time sequence protection circuit for controlling depletion type power device
CN102385018B (en) External equipment connection sensing circuit
US20160072273A1 (en) Power supply circuit
CN206573232U (en) Thermistor temperature detecting circuit
CN113125830A (en) Bidirectional current detection circuit and power supply system
CN103579991A (en) Over-current protection circuit

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant