The present invention generally relates to compensation in electrical signals that share a ground return, and more particularly, but not exclusively, to error compensation in printed circuit boards.
Providing correction for known circuit resistances remains an area of interest. Some existing systems have various shortcomings relative to certain applications. Accordingly, there remains a need for further contributions in this area of technology.
One embodiment of the present invention is a unique circuit for compensating for known error resistances. Other embodiments include apparatuses, systems, devices, hardware, methods, and combinations for compensating for different resistances over different segments of a common or shared ground return line. Further embodiments, forms, features, aspects, benefits, and advantages of the present application shall become apparent from the description and figures provided herewith.
For the purposes of promoting an understanding of the principles of the invention, reference will now be made to the embodiments illustrated in the drawings and specific language will be used to describe the same. It will nevertheless be understood that no limitation of the scope of the invention is thereby intended. Any alterations and further modifications in the described embodiments, and any further applications of the principles of the invention as described herein are contemplated as would normally occur to one skilled in the art to which the invention relates.
With reference to
The channels in
Although the channels are shown in pairings, not all embodiments need to include pairs. Additionally and/or alternatively, although four separate locations are shown that the channels return to ground, any number of separate locations greater than or equal to two are contemplated. Thus, at a minimum two separate channels configured to return at two separate locations are contemplated, with greater numbers of channels, either paired or not, and at possibly other locations than those depicted.
In the illustrated embodiment, it is contemplated that the various resistances of the return to ground (as seen from the various relevant locations at which the channels turn to ground return) are assessed in some manner and known in advance. Such assessment can include direct measurements or estimations. During operation of the system when electrical information is available on two or more of the channels, assessment can also be taken of current flow in each of the separate channels. Such assessment can be via calculation where a voltage across a reference resistor (i.e. the 100 Ohm resistor depicted in each channel) is measured and an electrical current subsequently determined through Ohms law. Current flow information can be coupled with the assessed resistance in each of the ground returns and an error offset can be calculated as a result. The compensation approach is shown at the bottom of
Compensation formulas can thus take the following form:
V
err1
=R
4(I1+I2+I3+I4+I5+I6+I7+I8)+R3(I1+I2+I3+I4+I5+I6)+R2(I1+I2+I3+I4)+R1(I1+I2) Eq. 1:
V
err2
=R
4(I1+I2+I3+I4+I5+I6+I7+I8)+R3(I1+I2+I3+I4+I5+I6)+R2(I1+I2+I3+I4) Eq. 2:
V
err3
=R
4(I1+I2+I3+I4+I5+I6+I7+I8)+R3(I1+I2+I3+I4+I5+I6) Eq. 3:
V
err4
=R
4(I1+I2+I3+I4+I5+I6+I7+I8) Eq. 4:
The final “compensated” values for the eight channels are thus:
V
1comp
=V
1+
−V
err1, and V2comp=V2+−Verr1 Eq. 5:
V3comp=V3+−Verr2, and V4comp=V4+−Verr2 Eq. 6:
V5comp=V5+−Verr3, and V6comp=V6+−Verr3 Eq. 7:
V7comp=V7+−Verr4, and V8comp=V8+−Verr4 Eq. 8:
Also, the following expression:
I×comp=V×comp/100;
where 100=100 Ω sense resistor for each channel in the illustrated embodiment, which of course can vary if needed depending on the valve of the sense resistor.
Given the above, a few notes:
1) R1, R2, R3, and R4 are “error” resistances, or “parasitic” resistances (in that they are being compensated for).
2) the compensation formula (and algorithm) requires all unknown input currents (I1 through I8) to first be measured, then their individual values are used within the algorithm, to allow compensation for all of the measured values.
As will be appreciated the algorithmic approach described above compensates for the “error resistances” (R1 through R4) which, at least in some uses of the instant application, can be the result of layout of a printed circuit board. These error resistances are additive to the precision sense 100 Ω resistors for each measurement channel. In some forms the algorithm requires that the (unknown) 4-20 mA currents are measured, and these measured valves are then used to calculate the amount of additive voltage error which is created for each channel. Once the error voltage for each channel is known, it can be subtracted from the measured values, thus completing the compensation (and yielding a more accurate result which has the error voltage removed from the measurement.
The formula set forth in
Ground return can take on any useful form as will be appreciated. In one form the ground return may be a trace on a printed circuit board, such as would be the case when the channels are expressed in a PCB setting. In other embodiments, the ground return can be a single electrical wire/cable in which each of the separate lanes are connected at different locations.
In one embodiment the measurements in each of the channels and lanes are used in an Analog to Digital Converter (ADC). The formula described herein can be incorporated into the ADC, it can be incorporated into a standalone processor, or can be located elsewhere in a Distributed Control System (DCS) environment. In one form the formula described herein can be incorporated into firmware, whether an initial firmware release or subsequent firmware updates.
In some forms the voltages of each channel that are used to determine current in the channels may be scanned at sufficient rate in a repeating sequential manner such that implementation of the formula is essentially performed in real-time. Other implementations may be considered.
The formula indicated in
The embodiments depicted herein can be used to correct for errors in a printed circuit board application in a continuous (or near continuous) real-time manner, but can also be used to correct for those situations in which multiple field wires (i.e. ground wires) are consolidated into a single field wire where at least two separate channels are connected to the single wire at different locations. Such an implementation can consider the resistances in the ground return portion associated with each channel as merely a difference and not necessarily an error. Thus, though the discussion herein has highlighted correcting “errors” as such, it will be appreciated that any mention of “errors” can likewise apply to mere differences in resistance whether or not those differences are considered errors or mere artifacts of implementation.
One aspect the present application provides an apparatus comprising a correction circuit structured to receive information related to a first electrical flow property of a first channel and a second electrical flow property of a second channel, the circuit configured to determine a first error correction to the first electrical flow property and a second error correction to the second electrical flow property, the first error correction a function of both the first electrical flow property and the second electrical flow property, and the second error correction a function of both the first electrical flow property and the second electrical flow property.
A feature of the present application includes wherein the second error correction is also a function of a second resistance in a path that includes the second channel and the first error correction is also a function of the first resistance and the second resistance both of which are in a path that includes the first channel.
Another feature of the present application includes wherein the first electrical flow property is an electrical current of the first channel and the second electrical flow property is an electrical current of the second channel.
Still another feature of the present application includes wherein the correction circuit is implemented in a digital environment, the first electrical flow property is a measured electrical flow property, and the second electrical flow property is a measured electrical flow property.
Yet another feature of the present application includes wherein the correction circuit is an input/output device having analog input.
Still yet another feature of the present application includes wherein the correction circuit is implemented in an analog to digital converter.
Yet still another feature of the present application includes wherein the correction circuit is implemented in a microcontroller in electrical communication with an analog to digital converter, the analog to digital converter structured to receive the information related to electrical flow properties of the first channel and electrical flow properties of the second channel.
A further feature of the present application includes wherein the correction circuit is implemented in a distributed control system controller.
A still further feature of the present application includes wherein the correction circuit is implemented in a programmable logic controller.
A yet further feature of the present application includes wherein the correction circuit is a computer program instruction.
A still yet further feature of the present application includes wherein the first channel and the second channel are connected to a ground return path at different locations.
A yet still further feature of the present application further includes a first analog electrical path having the first channel and a second analog electrical path having the second channel, wherein the first channel is electrically coupled to the second channel via a ground return path, the first channel connected to the ground return path at a first connection location and the second channel connected to the ground return path at a second connection location different than the first connection location.
Another aspect of the present application provides an apparatus comprising a firmware update for correcting measurement voltages in light of error resistance in a first circuit pathway for a first sensor and an error resistance in a second circuit pathway for a second sensor, the firmware update including programming instructions to: receive a first current measurement from the first circuit pathway, receive a second current measurement from the second circuit pathway, calculate a first offset value for the first pathway as a function of the first current measurement and a first pathway resistance, and calculate a second offset value for the second pathway as a function of the a second pathway resistance, first current measurement, and the second current measurement.
Yet another aspect of the present application provides a method comprising: measuring a first resistance value in a first sensor circuit pathway, measuring a second resistance value in a second sensor circuit pathway, the second sensor circuit pathway having a different ground line pathway than the first sensor circuit pathway , and compiling a firmware load for installation in a computer memory, the firmware load characterized by a measurement offset correction that includes computation for a first offset correction as a function of a first current in the first sensor circuit pathway and the first resistance value, and computation for a second offset correction as a function of a second current in the second sensor circuit pathway, the second resistance, and the first resistance.
While the invention has been illustrated and described in detail in the drawings and foregoing description, the same is to be considered as illustrative and not restrictive in character, it being understood that only the preferred embodiments have been shown and described and that all changes and modifications that come within the spirit of the inventions are desired to be protected. It should be understood that while the use of words such as preferable, preferably, preferred or more preferred utilized in the description above indicate that the feature so described may be more desirable, it nonetheless may not be necessary and embodiments lacking the same may be contemplated as within the scope of the invention, the scope being defined by the claims that follow. In reading the claims, it is intended that when words such as “a,” “an,” “at least one,” or “at least one portion” are used there is no intention to limit the claim to only one item unless specifically stated to the contrary in the claim. When the language “at least a portion” and/or “a portion” is used the item can include a portion and/or the entire item unless specifically stated to the contrary. Unless specified or limited otherwise, the terms “mounted,” “connected,” “supported,” and “coupled” and variations thereof are used broadly and encompass both direct and indirect mountings, connections, supports, and couplings. Further, “connected” and “coupled” are not restricted to physical or mechanical connections or couplings.
Number | Date | Country | |
---|---|---|---|
62435468 | Dec 2016 | US |
Number | Date | Country | |
---|---|---|---|
Parent | PCT/US17/66951 | Dec 2017 | US |
Child | 16443094 | US |