This application is based on and incorporates herein by reference Japanese Patent Application No. 2006-141247 filed on May 22, 2006.
The present invention relates to an electronic circuit device that is connected to at least one of a power supply potential side and a reference potential side of a drive power supply source through a current limit resistor that is a protective resistor capable of limiting a current to a given value or lower, and has a voltage comparator circuit that compares a signal voltage of an input signal with a given reference voltage that is determined based on a power supply potential to output the comparison result.
A conventional electronic circuit device has a voltage comparator circuit that compares a signal voltage of an input signal with a given voltage that is determined based on a power supply potential to output a comparison result. This circuit device may be used, for example, as a temperature sensor circuit as disclosed in JP 9-88708A. In this temperature sensor circuit, a change in a resistance due to the temperature of an exhaust gas temperature sensor is detected as a change in the voltage, input to a comparator, and compared with a given reference voltage. As a result, it is possible to determine whether the temperature detected by the exhaust gas temperature sensor exceeds a given set temperature or not.
Specifically, in this temperature sensor circuit, a voltage at a common connection point between an exhaust gas temperature sensor and a voltage division resistor circuit is input to an inverting input terminal of the comparator of a comparator circuit through a resistor. Also, a voltage at the common connection point between resistors which are connected in series between a power supply terminal and a ground terminal is input to a non-inverting input terminal of the comparator as a reference voltage.
Here, this temperature sensor circuit may be integrated into an electronic control unit (ECU) that is mounted in a vehicle, the drive electric power is generally supplied from a battery device provided in the vehicle. The ECU is connected to the battery device through a current limit resistor used as a protective resistor so that, even when a high voltage is applied directly to the ECU from a power generation device such as an alternator in a state where the battery device is disconnected from the ECU, a large current does not flow in the ECU. As a result, this current limit resistor causes a voltage drop.
For example, as shown in
The voltage drop ΔV is a product of a current Icc that flows in the electronic circuit device 100 and a resistance of the current limit resistor R7. A consumption current I1 of the signal processor circuit 102 varies according to a signal voltage level of the input signal Sig1. Therefore, even if a consumption current (I2+I3) of the voltage comparator circuit 104 is stabilized or do not vary, it is difficult to suppress a variation of the voltage drop ΔV due to the current limit resistor R7. The variation in the voltage drop ΔV directly affects a reference voltage source Vref that provides the threshold voltage Vth of the voltage comparator circuit 104. Therefore, the variation in the voltage drop ΔV directly leads to a variation in the threshold voltage Vth that is a comparison reference of the voltage comparator circuit 104, and the comparison determination of the input signal Sig2 due to the comparator CP1 may become inaccurate.
It is therefore an object of the present invention to provide an electronic circuit device that enables its voltage comparator circuit to accurately conduct a comparison determination.
According to an aspect of the present invention, an electronic circuit device is connectable to at least one of a power supply potential side and a reference potential side of a power supply source through a current limit resistor that limits a current to a given value or lower. The electronic circuit device includes a signal processor circuit, a voltage comparator circuit and a correction circuit. The signal processor circuit conducts given signal processing on a first input signal applied to a first input terminal and consumes a consumption current, which varies in accordance with a signal voltage of the first input signal. The voltage comparator circuit compares a signal voltage of a second input signal applied to a second input terminal separately from the first input signal with a given reference voltage determined based on a power supply potential to output a comparison result. The correction circuit offsets a variation of the consumption current of the signal processor circuit so that the given reference voltage is maintained unchanged. The correction circuit may supply a correction current or change a resistance of the current limit resistor based on the signal voltage of the input signal thereby to maintain the current flowing in the current limit resistor or the voltage of the same to be constant.
The above and other objects, features and advantages of the present invention will become more apparent from the following detailed description made with reference to the accompanying drawings. In the drawings:
As shown in
The electronic circuit device 10 is provided with plural terminals in order to receive a supply of the drive electric power from an outside or in order to input or output diverse electric signals. For example, a power supply terminal +B and a ground terminal GND are provided as terminals that receive the respective drive electric powers of the signal processor circuit 12, the voltage comparator circuit 14, and the current correction circuit 16. Also, an input terminal IN1 and an input terminal IN2 are provided as terminals that receive an input signal Sig1, and an output terminal OUT1 and an output terminal OUT2 are provided as terminals that output signals Sig1′ and Sig2′. When the output signal Sig1′ is not output to the outside, but is output to another circuit within the electronic circuit device 10, the output terminal OUT1 or the output terminal OUT2 may be omitted. On the other hand, when a plurality of voltage comparator circuits 14 are provided, a plurality of output terminals OUT2 are also provided correspondingly.
The signal processor circuit 12 subjects the input signal Sig1 (first input signal) that is input from the input terminal IN1 to given signal processing, and a consumption current I1 of the circuit 12 varies based on the signal voltage of the received input signal Sig1. For example, the input signal Sig1 may represent whether headlights of a vehicle are lighted or not. The signal processor circuit 12 converts the input signal Sig1 (for example, L level (substantially 0V) at the time of lighting and H level (substantially 12V) at the time of non-lighting), which is input to the input terminal IN1, to an electric signal of a TTL level (TTL-L level (substantially 0V) at the time of lighting and a TTL-H level (substantially 5V) at the time of non-lighting) and produces them to the output terminal OUT1 as the output signal Sig1′. That is, the signal processor circuit 12 conducts signal level conversion as its signal processing. As a result, it is possible to transmit information indicative of the headlight conditions of the vehicle to another circuit within the electronic circuit device 10 or a CPU of an ECU that is equipped with the electronic circuit device 10.
The signal processing circuit 12 is shown in detail in
A NPN type transistor Q2 is provided so that a signal that is output from the transistor Q1 can be output to the output terminal OUT1 through the transistor Q2. That is, the collector of the transistor Q1 is connected to a base of the transistor Q2. An emitter of the transistor Q2 is connected to the ground terminal GND, and a collector of the transistor Q2 is connected to the output terminal OUT1. The output terminal OUT1 is connected with the collector of the transistor Q2 in an open-collector configuration. In this case, the output terminal OUT1 is connected to a power supply line that is set to a potential of +5V from the ground terminal GND through a resistor (not shown).
In the signal processor circuit 12, the electric signal of the TTL level according to the lighting or the non-lighting of the headlights of the vehicle is output from the output terminal OUT1. That is, when the headlights are lighted, the input terminal IN1 is input with the input signal Sig1 of the L level (substantially 0V). As a result, the transistor Q1 is in an ON state, and a current i1 flows between the emitter and the collector of the transistor Q1. As a result, the transistor Q2 is in the ON state, and a current i1′ flows between the emitter and the collector of the transistor Q2. For this reason, since the collector of the transistor Q2 changes from the TTL-H level to the TTL-L level, it is possible to output the electric signal of the TTL-L level from the output terminal OUT1 to indicate that the headlights of the vehicle are lighted.
On the other hand, when the headlights are not lighted, since the input terminal IN1 is input with the input signal Sig1 of the H level (substantially 12V), no current flows in the base of the transistor Q1, and the transistor Q1 is in an OFF state. Also, since no current flows in the base of the transistor Q2, the transistor Q2 is in an OFF state, and the collector of the transistor Q2 maintains the TTL-H level. For this reason, it is possible to output the electric signal of the TTL-H level from the output terminal OUT1 to indicate that the headlights of the vehicle are not lighted.
As described above, in the signal processor circuit 12, when the input terminal IN1 is input with the input signal Sig1 of the L level (first level), both of the transistors Q1 and Q2 turn on. Therefore, the current i1 flows between the emitter and the collector of the transistor Q1, and the current i1′ flows between the emitter and the collector of the transistor Q2. On the contrary, when the input terminal IN1 is input with the input signal Sig1 of the H level (second level), both of the transistors Q1 and Q2 turn off. Therefore, a current hardly flows between the emitters and the collectors of the transistors Q1 and Q2. That is, in the signal processor circuit 12, the consumption current I1 varies between 0 A and (i1+i1′) A [amperes] based on the signal level (signal voltage) of the input signal Sig1.
As shown in
The voltage comparator circuit 14 is shown in detail in
On the other hand, the reference voltage source Vref supplies the threshold voltage Vth that is determined based on the supply voltage Vcc (supply potential), and has, for example, resistors R4, R5 and R6, which are connected in series between the power supply terminal +B and the ground terminal GND. That is, the resistances of those resistors R4, R5 and R6 are so set as to provide the given threshold voltage Vth, which corresponds to Vcc×R4/(R4+R5+R6), from the connection point between the resistor R4 and the resistor R5. The output of the reference voltage source Vref, that is, the connection point between the resistor R4 and the resistor R5 is connected to the non-inverting input terminal of the comparator CP1. Because the reference voltage source Vref is so configured to connect the R4, R5 and R6 between the power supply terminal +B and the ground terminal GND, the consumption current I2 continuously flows.
The ECU that is equipped with the electronic circuit device 10 is connected to the battery device Batt through a current limit resistor R7 as a protective resistor so that a large current does not flow in the ECU even if a high voltage is applied directly to the ECU from the power generation device such as an alternator in a state the battery device Batt of the vehicle is removed or disconnected from the ECU. For that reason, as shown in
In other words, the threshold voltage Vth that is output from the reference voltage source Vref varies due to a change as much as the voltage drop ΔV that corresponds to the variation in the current Icc of the electronic circuit device 10. Therefore, the reference per se that is a reference of the comparison voltage which is input to the voltage comparator circuit 14 varies, resulting in that the comparison determination of the input signal Sig2 by the comparator CP1 may be inaccurately made. Under the circumstances, the electronic circuit device 10 according to this embodiment provides the current correction circuit 16.
As shown in
For example, as shown in
The constant current source CC1 is set so that a given constant current I4 flows. Also, the resistors R8 and R9 are set so that the current I5 that flows between the collector and the emitter of the transistor Q4, that is, between the supply terminal +B and the ground terminal GND becomes equal to the consumption current I1 (=i1+i1′) caused by the signal processor circuit 12 (I5=i1+i1′). Also, the transistor Q4 and the resistor R9, which are connected between the supply terminal +B and the ground terminal GND, and the resistor R8 that is connected between the base and the emitter of the transistor Q4 form a current supply section that supplies a correction current based on a given constant current.
With the current correction circuit 16, when the input signal Sig1 of the H level is input to the input terminal IN1, a current hardly flows between the emitters and the collectors of the transistors Q1 and Q2, and the consumption current of the signal processor circuit 12 is substantially 0 A (zero ampere), a current also hardly flows in the base of the transistor Q3, and maintains the OFF state. As a result, the base of the transistor Q4 that is connected to the collector of the transistor Q3 is applied with the constant voltage that is developed by the constant current source CC1 and the resistor R8. Thus, the transistor Q4 is in the ON state, and the current I5 flows in the resistor R9. On the contrary, when the input signal Sig1 of the L level is input to the input terminal IN1, and both of the transistors Q1 and Q2 are in the ON state, a current (i1+i1′) flows in the signal processor circuit 12. The transistor Q3 is also in the ON state. Therefore, since the base voltage of the transistor Q4 that is connected to the resistor R8 is substantially 0V (zero volt), the transistor Q4 is in the OFF state, and the current I5 does not flow in the resistor R9.
As a result, in the current correction circuit 16, when the input signal Sig1 of the H level is input to the signal processor circuit 12, the amount of current (i1+i1′) that is consumed when the input signal Sig1 of the L level is input to the signal processor circuit 12 is allowed to flow as the correction current I5 by the transistor Q4. As a result, because the consumption current that is reduced as compared with that when the input signal Sig1 of the L level is input to the signal processor circuit 12 is increased by the amount of (i1+i1′), it is possible to make the consumption current Icc of the electronic circuit device 10 constant regardless of the signal level of the input signal Sig1. Accordingly, since it is possible to make the constant voltage drop ΔV developed by the current limit resistor R7 that is connected to the ground terminal GND of the electronic circuit device 10, the threshold voltage Vth that is output from the reference voltage source Vref is prevented from varying due to the change in the voltage drop ΔV. For this reason, it is possible to prevent the variation in the given threshold voltage Vth that is determined based on the supply voltage Vcc of the power source terminal +B, and it is possible to accurately conduct the comparison determination due to the voltage comparator circuit 14.
The above relationship of the consumption current is summarized as follows. When the input signal Sig1 of the L level is input to the signal processor circuit 12 (or the input terminal IN1), the consumption current IccL of the electronic circuit device 10 becomes the sum of the current I1 (=i1+i1) of the signal processor circuit 12, the current (I2+I3) of the voltage comparator circuit 14, and the current I4 of the current correction circuit 16 (IccL=I1+I2+I3+I4). On the contrary, when the input signal Sig1 of the H level is input to the signal processor circuit 12 (or the input terminal IN1), the consumption current IccH of the electronic circuit device 10 is the sum of the current (I2+I3) of the voltage comparator circuit 14, and the current I4+I5 of the current correction circuit 16 (IccH=I2+I3+I4+I5). Since the current I5=i1+i1′ is set, the consumption current IccH at this time becomes I1(=i1+i1′)+I2+I3+I4, which is equal to the consumption current IccL when the input signal Sig1 of the L level is input. That is, as described above, the consumption current Icc of the electronic circuit device 10 is made constant (Icc=I1+I2+I3+I4) regardless of the signal level of the input signal Sig1.
In the first embodiment shown in
As described above, according to the electronic circuit device 10 in the above embodiments, the current correction circuit 16 is provided to supply the correction current I5 (=i1+i1′) that is capable of offsetting the increment or decrement (i1+i1′) of the consumption current I1 of the signal processor circuit 12 which fluctuates based on the signal voltage of the input signal Sig1. Therefore, even if the consumption current I1 of the signal processor circuit 12 varies based on the signal level of the received input signal Sig1, the fluctuation (i1+i1′) of the consumption current is offset by the correction current 16. As a result, even if the electronic circuit device 10 is connected to at least one of the power supply terminal +B side and the ground terminal GND of the battery device Batt through the current limit resistor R7 that is capable of limiting the current Icc to the given value or lower, and the consumption current I1 of the signal processor circuit 12 varies based on the signal level of the input signal Sig1, the current Icc that flows in the current limit resistor R7 does not vary. As a result, the voltage drop ΔV due to the current limit resistor R7 can be kept constant. Therefore, even if the consumption current I1 of the signal processor circuit 12 varies, the supply voltage Vcc applied to the electronic circuit device 10 can be kept constant. As such, it is possible to prevent the variation in the given threshold voltage Vth that is determined based on the supply voltage Vcc, thereby enabling the comparison determination by the comparator CP1 to be accurately made.
Also, in the electronic circuit device 10 according to the above embodiments, the current correction circuit 16 includes the constant current source CC1 that supplies the given constant current 14, and the transistor Q4 that supplies the correction current I5 based on the given constant current 14. As a result, when the signal level of the input signal Sig1 changes its two values, that is, the L level and the H level, an increment or a decrement of the consumption current I1 by the signal processor circuit 12 before and after one of those levels (L level or H level) changes to the other level (H level or L level) is canceled out by the correction current 15. In this case, the transistor Q4 supplies the correction current I5 when the consumption current I1 of the signal processor circuit 12 decreases, and allows the correction current I5 to flow, thereby offsetting the increment or decrement of the consumption current I1 of the signal processor circuit 12. Therefore, even if the signal level of the input signal Sig1 changes between the above two values, the supply voltage Vcc that is applied to the electronic circuit device 10 can be held constant, thereby making it possible to prevent the variation of the given threshold voltage Vth that is determined based on the supply voltage Vcc. Thus, it is possible to accurately make the comparison determination by the comparator CP1.
As a first modification of the electronic circuit device 10 according to the first embodiment, as shown in
With this electronic circuit device 10, it is possible that the threshold voltage Vth supplied by the resistor R4 can be arbitrarily changed within a range close to the supply voltage Vcc. Accordingly, it is possible to change the threshold voltage Vth centered on the above range as compared with the first embodiment. As a result, when the characteristic of the input signal Sig2 that is input from the input terminal IN2 varies within a range close to the supply voltage Vcc, it is advantageous in that the threshold voltage Vth is easily adjusted. This modification of the reference voltage source Vref is also applicable to the second embodiment shown in
Also, as shown in
As described above, the electronic circuit device 10 in
In the above embodiments and modifications, the electronic circuit devices 10 use the bipolar transistors Q1 to Q4. Alternatively, MOS transistors M1 to M4 may be used as shown in
With the above modification, since the electronic circuit device 10 can be made up of the semiconductor elements mainly including the MOS transistors, it is possible to set the drive voltage range of the device 10 in the specification of the MOS transistors. For this reason, when other circuits are produced by the MOS process, the electric characteristic and the affinity for other circuits in the manufacture process are improved. This modification which uses MOS transistors may also be applied to the electronic circuit devices 10 according to the above embodiments and modifications.
According to a third embodiment, as shown in
When the input signal Sig1 is the L level, all transistors Q1, Q2 and Q5 are in the ON state and the resistor R10 is short-circuited by the transistor Q5. Thus, the voltage drop AVL is (i1+i1′+I2+I3)×R7+Vce. Here, Vce is a collector-emitter voltage of the transistor Q5. When the input signal Sig2 is the H level, all transistors Q1, Q2 and Q5 are in the OFF state and the voltage drop ΔVH is (I2+I3)×(R7+R10). In this embodiment, the resistance values (R7 and R10) of the resistors R7 and R10 are so determined that the voltage drops ΔVL and ΔVH equal, that is, the resistance of the resistor R10 is [(i1+i1′)×R7+Vce]/(I2+I3). Thus, the voltage drop ΔV between the ground terminal GND and the reference potential E is maintained unchanged. As a result, the threshold voltage Vth of the comparator CP1 can be maintained unchanged even if the input signal Sig1 varies to H level and L level.
It is noted that this third embodiment may be modified so that the resistance correction circuit 18 is applied to the power supply terminal +B side, that is, to the current limit resistor R7 in the second embodiment shown in
In the above embodiments and modifications, the signal processor circuit 12 is exemplified as a signal level converter circuit. However, this circuit 12 may be, for example, a filter circuit (LPF, HPF, BPF, EPF), a waveform shaping circuit, a latch circuit or the like, if the circuit conducts electric signal processing on the input signal in which the consumption current varies based on the signal voltage of the input signal. Further, the electronic circuit device 10 need not be an integrated circuit (IC) but may be a discrete circuit device using discrete component parts.
Number | Date | Country | Kind |
---|---|---|---|
2006-141247 | May 2006 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
4169232 | Henrich | Sep 1979 | A |
5043940 | Harari | Aug 1991 | A |
5095344 | Harari | Mar 1992 | A |
5168465 | Harari | Dec 1992 | A |
5198380 | Harari | Mar 1993 | A |
5268318 | Harari | Dec 1993 | A |
5268319 | Harari | Dec 1993 | A |
5268870 | Harari | Dec 1993 | A |
5293560 | Harari | Mar 1994 | A |
5430682 | Ishikawa et al. | Jul 1995 | A |
5434825 | Harari | Jul 1995 | A |
5544118 | Harari | Aug 1996 | A |
5554553 | Harari | Sep 1996 | A |
5568439 | Harari | Oct 1996 | A |
5583812 | Harari | Dec 1996 | A |
5642312 | Harari | Jun 1997 | A |
5712819 | Harari | Jan 1998 | A |
5835415 | Harari | Nov 1998 | A |
5862081 | Harari | Jan 1999 | A |
5909390 | Harari | Jun 1999 | A |
5963480 | Harari | Oct 1999 | A |
6037832 | Kaminishi | Mar 2000 | A |
6462988 | Harari | Oct 2002 | B1 |
6504762 | Harari | Jan 2003 | B1 |
6570790 | Harari | May 2003 | B1 |
6914817 | Harari | Jul 2005 | B2 |
20050243601 | Harari | Nov 2005 | A1 |
Number | Date | Country |
---|---|---|
A-9-088708 | Mar 1997 | JP |
A-10-022742 | Jan 1998 | JP |
Number | Date | Country | |
---|---|---|---|
20080001652 A1 | Jan 2008 | US |