The fact that by convention, the powering + and - are not shown in schematics clears up the confusion of the parts. In the above image... you're telling me that the Vo is area under the curve of the Vi as a f(time)??? I'll have to digest on that. My first nature would always be to handle that in software. You know the saying, "If you have a hammer, everything looks like a nail." That's pretty cool! 😎
A complete PID computing circuit can be built by combining the above elements, for something like an optimised heater control system, without a digital processor or line of software!
I could see that being great for a low-end system to make for pennies sell at profit. But, still I'd prefer to spend the $1.20 for a ESP that I can make WiFi configurable, have it OTA update the software with newer features.
But I should ponder when I'd do such "calculations" in hardware. I guess I already am if using the differential feature of the ADS1115.
Given your need to use your Tonka toys in the better weather, etc.
😉 😊
Inq
3 lines of code = InqPortal = Complete IoT, App, Web Server w/ GUI Admin Client, WiFi Manager, Drag & Drop File Manager, OTA, Performance Metrics, Web Socket Comms, Easy App API, All running on ESP8266... Even usable on ESP-01S - Quickest Start Guide
I agree with the general tone of your message with
Am I being too optimistic to think that by using the Vref in this differential way, that at least any thermal effects of the Hall sensor will be eliminated by the Vref also moving so that the difference is always accurate consistent?
near the start, so I don't have much to add.
As for this specific question, the innards of the Hall Sensor remain a bit of an epoxy covered mystery, but as a minimum, I suspect it includes the 'obvious' Hall sensor, plus a voltage reference (like a low current linear voltage regulator, but hopefully chosen for reasonable voltage accuracy and temperature stability) and an operational amplifier "block", to increase and buffer the Hall effect voltage. There will also be the two part ferrite core to couple the magnetic field from the external current carrying wire to the actual sensing device. I have suggested that there are at least three electronic components, but two or even three might be integrated into a single device, although I suspect (with no evidence) they are discrete.
The differential measurement method should eliminate most, if not all, of any voltage drifts by the voltage reference, but there are several other circuit 'blocks' which will also have some temperature dependency. The data sheet states 1% accuracy, which I would assume gives a rough guide. For a 200A device, +/- 2A error is a simplistic expectation.
On the more optimistic side, at low currents, it is to be hoped that using the differential method will minimise the 'zero offset', so that when the real current is zero, then the indicated value will also be close to zero.
----------
So sorry, I can't give you any guarantees of accuracy, but I think the approach minimises one obvious drift area that will probably be of most practical concern.
With regard to your message showing the op-amp integrator circuit, then the output voltage is indeed the time integral of the input voltage Vin.
For example, if you apply a constant voltage to Vin, then the output 'waveform' will be a straight line whose gradient is proportional to Vin.
In some ways, op-amps are a flashback to a time before digital computers were of a size and cost that were accessible to more than a very few people. But, as you note, even your current sensor project is making use of an op amp to perform the first step. Relatively few people would build an analogue PID system, for a simple heater control, given the low cost of a digital microcontroller, but op-amps and other analogue electronic circuits remain an essential part of the scene. I only mentioned the PID heater to give an idea of the capability, not as a recommendation for your next project.
We use cookies on the DroneBot Workshop Forums to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.