Electrical Circuit of Signal Conditioning and Measurement Device
20240243753 ยท 2024-07-18
Inventors
Cpc classification
H03M1/125
ELECTRICITY
H03M1/186
ELECTRICITY
H03M1/361
ELECTRICITY
H03M1/182
ELECTRICITY
International classification
H03M1/06
ELECTRICITY
Abstract
An electrical circuit for conditioning an analog electrical input signal into an analog electrical output signal includes a threshold circuit. The threshold circuit is configured to set a value of a conditioning parameter, under control of the analog electrical input signal and based on an electrical threshold. The threshold circuit is configured to set the conditioning parameter to, in response to the analog electrical input signal being below the electrical threshold, a first value. The threshold circuit is configured to set the conditioning parameter to, in response to the analog electrical input signal exceeding the electrical threshold, a second value different from the first value.
Claims
1. An electrical circuit for conditioning an analog electrical input signal into an analog electrical output signal, the electrical circuit comprising: a threshold circuit configured to set a value of a conditioning parameter, under control of the analog electrical input signal and based on an electrical threshold, wherein the threshold circuit is configured to set the conditioning parameter to: in response to the analog electrical input signal being below the electrical threshold, a first value, and in response to the analog electrical input signal exceeding the electrical threshold, a second value different from the first value.
2. The electrical circuit of claim 1 wherein the conditioning parameter is an output slope corresponding to a ratio between a change in the analog electrical input signal and a corresponding change in the analog electrical output signal.
3. The electrical circuit of claim 1, wherein the threshold circuit is configured to set the second value of the conditioning parameter lower than the first value of the conditioning parameter.
4. The electrical circuit of claim 1 further comprising: an input interface configured to receive the analog electrical input signal; and a first converter, wherein: the threshold circuit includes a second converter, in response to the analog electrical input signal being below the electrical threshold: the threshold circuit is not conductive, and the input interface provides the analog electrical input signal to the first converter only so as to set the first value of the conditioning parameter, and in response to the analog electrical input signal exceeding the electrical threshold: the threshold circuit is conductive, and the input interface provides the analog electrical input signal to the first converter and to the second converter so as to set the second value of the conditioning parameter.
5. The electrical circuit according to claim 4 wherein: the input interface is configured to flow a current corresponding to the analog electrical input signal, and the electrical circuit is configured to divide an input current path into a first current path through the first converter and a second current path through the second converter.
6. The electrical circuit of claim 4, wherein the threshold circuit includes: a diode connected in series to the second converter; and a voltage follower operational amplifier including: a first input connected to a fixed threshold voltage node, a second input connected to a node between the second converter and an anode side of the diode, and an output connected to a cathode side of the diode, wherein the electrical threshold of the analog electrical input signal derives from the fixed threshold voltage node.
7. The electrical circuit of claim 6 wherein the first input of the voltage follower operational amplifier is connected to a voltage source through a voltage divider circuit.
8. The electrical circuit of claim 4 wherein the first converter includes a first resistor and the second converter includes a second resistor.
9. The electrical circuit of claim 1 further comprising: a second threshold circuit configured to provide a second electrical threshold that is higher than the electrical threshold; wherein the threshold circuit is configured to set the conditioning parameter to: in response to the analog electrical input signal exceeding the electrical threshold and being below the second electrical threshold, the second value, and in response to the analog electrical input signal exceeding the second electrical threshold, a third value different from the first value and the second value.
10. The electrical circuit of claim 1 further comprising: an analog-to-digital converter configured to receive as input the analog electrical output signal, wherein the conditioning parameter is adapted to convert the analog electrical input signal into the analog electrical output signal within an allowed range of analog input values for the analog-to-digital converter.
11. A vehicle comprising the electrical circuit of claim 1.
12. A measurement device for measuring a physical parameter, the measurement device comprising: the electrical circuit of claim 10; and a sensor configured to sense the physical parameter and output an analog electrical signal representative of the sensed physical parameter, wherein the electrical circuit is configured to receive as input the analog electrical signal from the sensor and condition the analog electrical signal to a digital measurement signal.
13. A vehicle comprising the measurement device of claim 12.
14. A method for conditioning an analog electrical input signal to an analog electrical output signal, the method comprising: setting a value of a conditioning parameter using a threshold circuit of an electrical circuit, wherein the conditioning parameter is set to: in response to the analog electrical input signal being below an electrical threshold, a first value, and in response to the analog electrical input signal exceeding the electrical threshold, a second value different from the first value; and using the electrical circuit, conditioning the analog electrical input signal into the analog electrical output signal based on the conditioning parameter.
15. The method of claim 14 wherein the conditioning parameter is an output slope corresponding to a ratio between a change in the analog electrical input signal and a corresponding change in the analog electrical output signal.
16. The method of claim 14 further comprising: in response to the analog electrical input signal being below the electrical threshold, providing the analog electrical input signal to a first converter only so as to set the first value of the conditioning parameter; and in response to the analog electrical input signal exceeding the electrical threshold, providing the analog electrical input signal to the first converter and to a second converter of the threshold circuit so as to set the second value of the conditioning parameter.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Other features, purposes and advantages of the disclosure will become more explicit by means of reading the detailed statement of the non-restrictive embodiments made with reference to the accompanying drawings.
[0039]
[0040]
[0041]
[0042]
[0043]
[0044]
[0045] In the drawings, reference numbers may be reused to identify similar and/or identical elements.
DETAILED DESCRIPTION
[0046] The present disclosure concerns an electrical circuit 200 of signal conditioning, and a measurement device 400 including the electrical circuit 200.
[0047] The electrical circuit of signal conditioning 200 or the measurement device 400 can be provided or included in a vehicle.
[0048] The measurement device 400 can include a sensor 100, the electrical circuit 200 and an analog-to-digital converter (ADC) 300.
[0049] In an embodiment, the electrical circuit 200 is connected in input to the sensor 100 and in output to the analog-to-digital converter 300. It has the function of conditioning an analog electrical input signal Sin transmitted by the sensor 100 for the ADC 300.
[0050] The sensor 100 can be configured to sense a voltage, a current or any other physical parameter (temperature, force, pressure, etc.) that is converted into current or voltage by the sensor 100. The sensor 100 is configured to output an analog electrical signal, that can be current or voltage, representative of the sensed physical parameter.
[0051] In operation, an analog electrical signal provided at the output of the sensor 100 can be transmitted to the electrical circuit 200 as an input signal Sin.
[0052] The electrical signal 200 conditions or converts the analog electrical signal Sin to an analog electrical output signal Sout, based on a conditioning parameter. The analog electrical signal Sout provided at the output of the electrical circuit 200 can be transmitted to the analog to digital converter (ADC) 300.
[0053] The analog-to-digital converter 300 is responsible for converting the analog electrical signal Sout received from the output of the electrical circuit 200 to a digital signal, that can be termed as a digital measurement signal. In operation, the analog electrical output signal Sout can be converted by the ADC 300 to a digital signal including digital values representing the magnitude of the voltage or current at the output of the sensor 100.
[0054] The electrical circuit 200 is responsible for conditioning or converting the analog electrical input signal Sin, that is a current or voltage signal, into the analog electrical output signal Sout, that is a current or voltage signal, said analog electrical output signal Sout, using a conditioning parameter. In a particular embodiment, the conditioning parameter may be an output slope or conditioning gain, as illustrated for example in
[0055] In an embodiment, the analog electrical input signal Sin has analog values within a predetermined range ?. For example, if the signal Sin is the output current or voltage of the sensor 100, the range of current or voltage analog values at the output of the sensor 100 is known or predetermined. It can be provided by the manufacturer or determined by tests. Furthermore, the analog to digital converter 300 has a predetermined allowed range of analog input values F. An illustrative example of the ranges Q and F is shown in
[0056] In an embodiment, the electrical circuit 200 is configured to condition, or convert, the analog electrical input signal Sin to the analog electrical output signal Sout, based on different linear functions of the form:
[0057] Where m.sub.i and b.sub.i are constants applicable over a given sub-range ?i; m.sub.i represents the constant value of the output slope, or gain, applicable within the sub-range ?i, b.sub.i represents the intercept value applicable within the sub-range ?i, ?i, with i=1, 2, . . . , represent different and successive sub-ranges of the range Q of values of the analog electrical input signal Sin, which do not overlap.
[0058] The output slope m.sub.i within the sub-range ?i represents the ratio between a change in the analog electrical input signal Sin, that can be denoted ? Sin, and a corresponding change in the analog electrical output signal Sout, that can be denoted ?Sout. The output slope m.sub.i can be expressed as follows:
[0059] In other words, the output slope m.sub.i represents the rate of change of the analog electrical output signal Sout per unit change in the analog electrical input signal SinIt can be defined as a ratio of the change in Sout to the change in Sin, within the sub-range ?.sub.i.
[0060] The electrical circuit 200 can have an input interface 201 for receiving the analog electrical input signal Sin and an output interface 202 for transmitting or outputting the analog electrical output signal Sout, as shown in
[0061] The electrical circuit 200 may be an analog electronic circuit configured to operate on analog signals. In an embodiment, the electrical circuit 200 may be exclusively hardware. In other words, it may be free of software or digital means.
[0062] In a first embodiment illustrated in
[0063] The threshold circuit 250A is controlled by the analog electrical input signal I.sub.in. In an embodiment, directly under control of the analog electrical input signal I.sub.in, the threshold circuit 250A is non-conductive if the analog electrical input signal I.sub.in is below the electrical threshold I.sub.TSH_A and conductive if the analog electrical input signal I.sub.in exceeds the electrical threshold I.sub.TSH_A. The conductive or non-conductive state of the threshold circuit 250A is automatically, dynamically, controlled by the analog electrical input signal I.sub.in (or Sin).
[0064] In an embodiment, the threshold circuit 250A is exclusively hardware, free of software or digital means.
[0065] In the first embodiment illustrated in
[0066] In this embodiment, the electrical circuit 200 comprises: [0067] the input interface 201 to receive the analog electrical input signal Sin or I.sub.in; [0068] a first converter 204; [0069] the threshold circuit 250A including a second converter 251A; [0070] the output interface 202 to output the analog electrical output signal Sout or V.sub.out.
[0071] In the present embodiment, the first converter 204 has two terminals respectively connected to an interconnection node 205 and the ground.
[0072] The second converter 251A has also two terminals respectively connected to the interconnection node 205 and to an anode side of a diode 252A of the threshold circuit 250A.
[0073] The input interface 201 is connected to the interconnection node 205 through an input path 203. In the present embodiment, the input path 203 is a current path configured to flow the current of the analog electrical input signal Sin or I.sub.in. This input path 203 divides into a first current path through the first converter 204 and a second current path through the second converter 251A.
[0074] The first converter 204 can comprise a resistor R1, and the second converter 251A can comprise another resistor R2. The values of R1 and R2 can be different or identical. They are determined based on the desired values m1 and m2 of the output slope.
[0075] In the present embodiment, the output interface 202 is connected to the interconnection node 205. As a result, the output voltage Vou.sub.t is the voltage at the interconnection node 205.
[0076] The threshold circuit 250A includes the second converter 251A, the diode 252A, and an operational amplifier, or op-amp, 253A.
[0077] The diode 252A is connected in series to the second converter 251A.
[0078] In the first embodiment illustrated in
[0079] The operational amplifier 253A may have the function of a voltage follower. It can comprise: [0080] a first input connected to a node 254A having a fixed threshold voltage V.sub.TSH_A, said first input being the positive input or non-inverting input of the operational amplifier 253A; [0081] a second input connected to a node 255A of the threshold circuit 250A, interposed between the second converter 251A and an anode side of the diode 252A, said second input being the negative or inverting input of the operational amplifier 253A; [0082] an output connected to a cathode side of the diode 252A.
[0083] The electrical assembly including the diode 252A and the operational amplifier 253A allows that the voltage at the node 255A (i.e., at the anode side of the diode 252A) follows or tracks the voltage provided at the first input of the operational amplifier 253A that is the fixed threshold voltage V.sub.TSH_A.
[0084] For example, the fixed threshold voltage V.sub.TSH_A can be provided by a voltage divider circuit 256A connected to a voltage source 260 providing a constant or fixed voltage VCC. The voltage divider circuit 256A can comprise an assembly of two resistors 257A, 258A connected in series, having respective resistance values R3, R4. The resistor assembly 257A, 258A can have one terminal connected to the voltage source 260 and another terminal connected to the ground. A node between the two resistors 257A, 258A can be connected to the first input of the operational amplifier 253A.
[0085] In an embodiment, the voltage source 260 can also power the operational amplifier 253A.
[0086] The values of the resistors 257A, 258A are chosen to derive the desired threshold voltage V.sub.TSH_A from the source voltage VCC, at the node 254A connected to the operational amplifier 253A. The threshold voltage V.sub.TSH_A is derived from the source voltage VCC based on the following expression:
[0087] The method for conditioning an analog electrical input signal, corresponding to the operation of the electrical circuit 200, will now be described in reference to
[0088] In a first step S1, the electrical circuit 200 receives the analog electrical input signal Sin, for example an analog current signal I.sub.in, through the input interface 201. This analog current signal I.sub.in can be transmitted by the sensor 100.
[0089] The current signal I.sub.in flowing through the input path 203 either entirely flows through the first resistor 204 (R1), if the current signal I.sub.in is below a threshold current I.sub.TSH_A, or divides into two current signals I.sub.in1 and I.sub.in2 flowing through the first resistor 204 (R1) and the second resistor 251A (R2), if the current signal I.sub.in exceeds the threshold current ITSH_A.
[0090] The threshold current ITSH_A corresponds to the value of the input current Iin above which the diode 252A is conductive and below which the diode 252A is not conductive. It is derived from the threshold voltage V.sub.TSH_A, as explained later in more detail.
[0091] If the current I.sub.in is low, below the threshold current I.sub.TSH_A (step S2), the voltage at the interconnection node 205 is low, below the threshold voltage V.sub.TSH_A, and the diode 252A does not conduct current. The threshold circuit 250A is not conductive, in a step S3. As a result, the current I.sub.in received by the input interface 201 entirely flows through the first converter 204, here the resistor R1. In that case, the output slope of electrical circuit 200 is automatically set to the value m.sub.1 that is equal to the resistance value R1, in a step S4. Thus, the electrical circuit 200 converts the analog electrical input signal Sin, here the input current signal I.sub.in, into the analog electrical output signal Sout, here the output voltage signal V.sub.out, based on the converter 204 or resistor R1 only, in a step S5. As a result, the analog output voltage signal V.sub.out derives from the analog input current I.sub.in based on the following equation:
[0092] In that case, namely for V.sub.out<V.sub.TSH_A and I.sub.in<I.sub.TSH_A, the analog electrical output signal, here V.sub.out, has an output slope which value m1 is equal to the resistance value R1 of the resistor 204, as illustrated in
[0093] Since the voltage at the node 255A is equal to, or follows, the threshold voltage V.sub.TSH_A of the threshold circuit 250A, the diode 252A starts conducting current if the voltage at the interconnection node 205, namely V.sub.out, that is equal to R1?I.sub.in if the diode 252A is not conductive, reaches and then exceeds the threshold voltage V.sub.TSH_A. In other words, the diode 252A starts conducting current if the current I.sub.in reaches the threshold current I.sub.TSH_A based on the following expression:
[0095] If the current I.sub.in reaches or exceeds the threshold current I.sub.TSH_A, the output voltage V.sub.out at the interconnection node 205, reaches or exceeds the threshold voltage V.sub.TSH_A, and the diode 252A starts conducting. The threshold circuit 250A is conductive, in a step S6. As a result, the current I.sub.in received by the input interface 201 divides into a first current I.sub.in1 flowing through the first converter 204, here the resistor R1, and a second current I.sub.in2 flowing through the second converter 251A, here the resistor R2. In that case, the electrical circuit 200 converts the analog electrical input signal Sin, here the input current signal I.sub.in, into the analog electrical output signal Sout, here the output voltage signal V.sub.out, based on the converter 204 or resistor R1 and the converter 251A or resistor R2, in a step S8. The analog output voltage signal V.sub.out derives from the analog input current I.sub.in based on the following equation:
[0096] In that case, namely if the input current I.sub.in is equal to or exceeds the threshold current I.sub.TSH_A, the output slope of electrical circuit 200 is automatically set to the value m.sub.2 that is equal to
[0097] The threshold circuit 250A is configured so that the second value m.sub.2 of the output slope is lower than the first value m.sub.1 of the output slope. In the present embodiment, the value of the resistor R1 is greater than the resistance value provided by the parallel connection of the two resistors R1 and R2 that is equal to
[0098] Let's consider the following illustrative and non-limitative example represented in
[0099] According to the present embodiment, the analog current input signal Iin controls the threshold circuit 250A, based on the threshold voltage V.sub.TSH_A or the corresponding threshold current I.sub.TSH_A. The threshold circuit 250A sets automatically or dynamically the value of the output slope of the analog voltage output signal V.sub.out, under control of the analog current input signal I.sub.in. If I.sub.in is below the threshold current I.sub.TSH_A, in other words if V.sub.out is below the threshold voltage V.sub.TSH_A, the threshold circuit 250A is not conductive, and the current input signal I.sub.in entirely flows through the first converter 204, which sets the first value m1 of the output slope. If I.sub.in reaches or exceeds the threshold current I.sub.TSH_A, in other words if V.sub.out reaches or exceeds the threshold voltage V.sub.TSH_A, the threshold circuit 250A is conductive, and the current input signal I.sub.in divides into two current signals I.sub.in1 and I.sub.in2 that are provided respectively to the first converter 204 and to the second converter 251A, which sets the second value m2 of the output slope.
[0100] Then, in a step S9, the analog electrical output signal Sout, or V.sub.out, is transmitted by the electrical circuit 200 to the analog to digital converter 300, in a step S9.
[0101] In a step S10, the analog electrical output signal Sout, or V.sub.out, is converted into digital values by the analog to digital converter 300.
[0102] As previously explained, the analog electrical input signal Sin, that can be received from the sensor 100, may have analog values within the predetermined range ?. For example, as illustrated in
[0103] The analog to digital converter 300 can be characterized by an allowed range of analog input values and a resolution. In the example illustrated in
[0104] Based on the relation between Sin (e.g., I.sub.in) and Sout (e.g., V.sub.out), a resolution of the measurement device 400, or measurement resolution, can also be expressed as a number of units of values of the analog electrical input signal Sin, or I.sub.in, per count or level or units of digital values.
[0105] Let's consider the illustrative example of the ADC 300 having a range of allowed analog input values 0V-5V and a resolution of 12 bits (2.sup.12=4096 counts or units of digital values). With reference to
[0106] Within the sub-range ?1, the measurement resolution can be expressed as follows:
[0107] In the example of
[0108] Within the sub-range ?2, the measurement resolution can be expressed as follows:
[0109] In the example of
[0110] Thus, the resolution for low input current I.sub.in within the sub-range ?1 is much higher than the resolution for high input current I.sub.in within the sub-range ?2. The digital measurements are more precise than for low input current I.sub.in within the sub-range ?1 than for high input current I.sub.in within the sub-range ?2. The values of the output slope within the different sub-ranges ?1, ?2, based on the resistance values R1, R2, are chosen to have the desired values of measurement resolution within the sub-ranges ?1, ?2.
[0111] Let's consider the example of an electrical circuit 200 that does not include the threshold circuit 250A and having a resistor 204 with a resistance value R1 chosen to convert the analog input current I.sub.in within the entire range Q (e.g., ?=[0 mA; 10 mA]) to the analog output voltage V.sub.out within the entire range F of allowed input values for the ADC 300 (e.g., ?=[0V; 5V]). In that case, the resolution of measurement is equal to
[0112] The present disclosure allows to adapt the resolution of measurement based on the analog electrical input signal Sin, or I.sub.in, to have a better resolution for lower values the analog electrical input signal Sin, or I.sub.in, than for higher values the analog electrical input signal Sin, or I.sub.in.
[0113] A first advantage of the present disclosure is that only one measurement has to be done to measure the analog electrical input signal Sin, or I.sub.in. In other words, the analog electrical input signal Sin, or I.sub.in, can be directly measured, without need to perform a pre-measurement. A second advantage is that the electrical circuit 200 sets the output slope, that determines the measurement resolution of the measurement device 400, automatically, dynamically, based on the analog electrical input that is to be measured. A third advantage is that the digital measurement is immediate or almost immediate. As a result, there is no risk of losing measurements. A fourth advantage is that the performance of the electrical circuit 200 is not influenced by the temperature. In particular, there is no diode temperature problem because ir is compensated by the operational amplifier 253A. A fifth advantage is that the electrical circuit 200 does not require software and/or computing means.
[0114] The combination of the diode 252A and the operational amplifier 253A allows to have a very precise measurement. The diode has a voltage drop that may change depending on the temperature. For example, the voltage drop of the diode may be around 0.6-0.7 V. But this voltage drop changes like 2 mV per Kelvin. So, if a vehicle including the measurement device 400 can operate between ?40? C. and +85? C., the voltage across the diode can change more than 100 mV. This may result in measurement errors. With the present disclosure, the voltage drop of the diode 252A is compensated by the operational amplifier 253A. The operational amplifier 253A has also an offset voltage, typically around 1-2 mV, but this is much lower. Furthermore, the operational amplifier 253A has much lower temperature dependency.
[0115] In a second embodiment illustrated in
[0116] The thresholds circuits 250A and 250B of the second embodiment are similar to the threshold circuit 250A of the first embodiment represented in
[0117] With the electrical circuit 200 according to the second embodiment, the output slope has three different values m.sub.1, m.sub.2, m.sub.3 respectively within three sub-ranges ?1, ?2, ?3 of analog values of the analog electrical input signal I.sub.in, corresponding to three sub-ranges ?1, ?2, ?3 of analog values of the analog electrical output signal V.sub.out.
[0118] The threshold circuits may be configured to set the second value of the output slope lower than the first value of the output slope, and the third value of the output slope lower that the second value of the output slope.
[0119] In other embodiments, the electrical circuit of signal conditioning 200 may have more than two threshold circuits to set more than three output values.
[0120] Although an overview of the inventive subject matter has been described with reference to specific example embodiments, various modifications and changes may be made to these embodiments without departing from the broader spirit and scope of embodiments of the present invention. For example, various embodiments of features thereof may be mixed and matched or made optional by a person of ordinary skill in the art. Therefore, the Detailed Description is not to be taken in a limiting sense, and the scope of various embodiments is defined only by the appended claims, along with the full range of equivalents to which such claims are entitled.
[0121] The term non-transitory computer-readable medium does not encompass transitory electrical or electromagnetic signals propagating through a medium (such as on a carrier wave). Non-limiting examples of a non-transitory computer-readable medium are nonvolatile memory circuits (such as a flash memory circuit, an erasable programmable read-only memory circuit, or a mask read-only memory circuit), volatile memory circuits (such as a static random access memory circuit or a dynamic random access memory circuit), magnetic storage media (such as an analog or digital magnetic tape or a hard disk drive), and optical storage media (such as a CD, a DVD, or a Blu-ray Disc).
[0122] The term set generally means a grouping of one or more elements. The elements of a set do not necessarily need to have any characteristics in common or otherwise belong together. The phrase at least one of A, B, and C should be construed to mean a logical (A OR B OR C), using a non-exclusive logical OR, and should not be construed to mean at least one of A, at least one of B, and at least one of C. The phrase at least one of A, B, or C should be construed to mean a logical (A OR B OR C), using a non-exclusive logical OR.