MikeMl said: Good reason to use the (after simulation) LTSpice schematic from which to wire up the circuit on the whiteboard. I always do. I dont bother drafting a schematic until I simulate, and then breadboard.
This is also my chosen method.
E
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
MikeMl said: Good reason to use the (after simulation) LTSpice schematic from which to wire up the circuit on the whiteboard. I always do. I dont bother drafting a schematic until I simulate, and then breadboard.
Eric,This is also my chosen method.
E
spec,In industry the circuit diagram is the central document. It leads to the board layout, parts lists (BOM), mechanical design, and product documentation among other things.
Ericspec,
The vast majority of OP's on this Forum are asking for simple advice, which they want to have explained in a simple, straight forward manner.
Any OP asking for help that has obviously a good engineering background will get a proportionate response from me.
So, I try to gauge the technical level of my response, to the abilities of the OP.
I think my approach has worked well over the past 9 years.
Not wishing to sound picky, I do have a little experience in this matter.
Perhaps checking the Information under my Profile would be informative.
Eric
One thing I would say is that sim schematics are more difficult to follow than well drawn conventional schematics: the OP implied this.
When wordprocessors came out they were a gosend because getting large complex documents correct was a long and arduous task.
I disagree. One can draw the simulator schematics clearly, although, I've seen some hurriedly assembled schematics that I may or may not attempt to redraw. You don't draw schematics on the simulation programs, you assemble them. The reason they are more difficult to follow is based on how the assembler chooses to present the material. How many times have we seen poorly assembled schematics and the person's breadboard circuit does NOT work, as it is as disorganized as the schematic.
When wordprocessors came out, so did the ability to copy and paste. I've seen documents where the copy and paste injected different standards. Of course all of this could be resolved when the "editors" reviewed the material.
spec
We can disagree, but in the latter part of the 20th century, technical manuals go from full schematics to just words, tidbits of circuit explanations, simple block diagrams and running wire lists. So, teaching that equipment was easy. I once developed a set of functional diagrams covering the whole system to which that equipment was connected. There was a problem, as indicated on the equipment, and my technician looked at the diagram I created while a visiting engineer grabbed that "technical manual." He hadn't found the area in the running wire list that he was seeking before my technician identified the source of the problem and fixed it.
I've seen other documentation that had nice schematics and the block diagrams were "inaccurate."
Of course these were 25 years ago, but I doubt things got better. On my side of the pond, fifty years ago there was a company that produced "Sam's photofacts", technical documentation for consumer products. I don't think they are in business anymore, as there are more disposable consumer electronics.
on edit ... they still exist.
https://www.samswebsite.com/
Mike, your simulation of circuit #27 is incorrect. For example, at the zero point the simulator shows an output error of 9mV ...
If a perfect opamp were assumed, there would be absolutely no offset error. How a simulator can say anything else throws doubt on the simulator or the implementation. And how you can't see this by a cursory inspection of the circuit is surprising.
... Simulations are not the real world and the models are not verified as Texas Instruments and National Semiconductor point out. Also there is the old maxim: garbage in, garbage out.
You are right. Your R6 and R7 form a voltage divider such that the voltage at V(n) (the inverting input) is exactly zero V. Since I am using LTSpice's "ideal" opamp (notice it has no part number designator, and no power supply connections), the opamp forces V(i) to be zero as well. Since in an ideal opamp, the bias currents and input offsets are zero, then V(spec) obviously has to be zero, as well. Notice that this does not validate the "gain" of the circuit; only the "offset".
Here is the LTSpice .DC solution confirming this. Be aware I am posting only a "thumbnail"; you have to click on the image below to make it open in its own browser tab at a scale where you can read it.
View attachment 99566
So why does this sim show a perfect zero V output, while the previous one showed an "error". Well, the answer is that in the previous sim, I plotted the difference of two node voltages. V(spec) was zero, but the 9mV offset was actually in the expression where I computed V(des) = 7.63*V(sensor) - 12.85. I allowed some round-off error in the transposed equation, and that accounts for the 9mV offset. Here is the sim again, this time I wrote the transposed equation so that LTSpice computes the coefficients to its full floating point precision (no round off), instead of me doing it on a calculator. The simulator did exactly what I asked it to...
View attachment 99568
So back to the "gain" validation. Here the sim again, this time I asking the simulator to evaluate the "better" transposed equation, as well as asking it to compute V(spec) as a function of the parameter "Pressure". In the upper pane, I plot V(sensor), V(des), and V(spec). Within the screen pixel resolution, V(spec) falls on top of V(des), so it appears ok. In the lower plot pane, I plot the difference between V(spec) and V(des), and now we see a slight difference.
View attachment 99569
Simulators, like computers, do exactly what you ask them to do. You can validate lots of circuits without using any models, as I have showed here.
I am not even going to respond to your points about my post 7&9. As I have already said, that was an intermediate circuit to lead the the student to a solution, rather than just solving the entire problem and just handing the solution to the student without any explanation, which is what you did initially in post 10 and 13. It was only after I nagged you about the homework issue , that you wrote the explanation of your circuit in post 17...
Here's Spec's circuit using the OPA model from TI.
View attachment 99571
Of course, if I wanted to get the resistance to match closer to Spec's using series resistance to get the closest I can .... Here's that circuit
View attachment 99572
Nice job Mike.Here is a comparison of Spec's circuit in post 13 with the "better" Transposed equation:
View attachment 99576
(click on the thumbnail)