Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > sci.electronics.design > #508263 > unrolled thread
| Started by | Piotr Wyderski <peter.pan@neverland.mil> |
|---|---|
| First post | 2018-06-15 12:54 +0200 |
| Last post | 2018-06-16 20:51 +0200 |
| Articles | 11 on this page of 31 — 10 participants |
Back to article view | Back to sci.electronics.design
What's wrong with this? Piotr Wyderski <peter.pan@neverland.mil> - 2018-06-15 12:54 +0200
Re: What's wrong with this? piglet <erichpwagner@hotmail.com> - 2018-06-15 13:02 +0100
Re: What's wrong with this? bill.sloman@ieee.org - 2018-06-15 07:08 -0700
Re: What's wrong with this? Piotr Wyderski <peter.pan@neverland.mil> - 2018-06-15 16:26 +0200
Re: What's wrong with this? Piotr Wyderski <peter.pan@neverland.mil> - 2018-06-15 16:30 +0200
Re: What's wrong with this? Piotr Wyderski <peter.pan@neverland.mil> - 2018-06-17 10:32 +0200
Re: What's wrong with this? bill.sloman@ieee.org - 2018-06-17 03:03 -0700
Re: What's wrong with this? piglet <erichpwagner@hotmail.com> - 2018-06-18 15:38 +0100
Re: What's wrong with this? bill.sloman@ieee.org - 2018-06-19 03:03 -0700
Re: What's wrong with this? bloggs.fredbloggs.fred@gmail.com - 2018-06-18 13:34 -0700
Re: What's wrong with this? Lasse Langwadt Christensen <langwadt@fonz.dk> - 2018-06-15 06:58 -0700
Re: What's wrong with this? John Larkin <jjlarkin@highlandtechnology.com> - 2018-06-15 08:15 -0700
Re: What's wrong with this? John Larkin <jjlarkin@highlandtechnology.com> - 2018-06-15 09:03 -0700
Re: What's wrong with this? "Tom Del Rosso" <fizzbintuesday@that-google-mail-domain.com> - 2018-06-16 20:28 -0400
Re: What's wrong with this? John Larkin <jjlarkin@highlandtechnology.com> - 2018-06-16 19:35 -0700
Re: What's wrong with this? "Tom Del Rosso" <fizzbintuesday@that-google-mail-domain.com> - 2018-06-16 22:43 -0400
Re: What's wrong with this? John Larkin <jjlarkin@highlandtechnology.com> - 2018-06-16 21:50 -0700
Re: What's wrong with this? "Tom Del Rosso" <fizzbintuesday@that-google-mail-domain.com> - 2018-06-17 01:43 -0400
Re: What's wrong with this? gnuarm.deletethisbit@gmail.com - 2018-06-16 21:52 -0700
Re: What's wrong with this? bill.sloman@ieee.org - 2018-06-16 23:03 -0700
Re: What's wrong with this? Piotr Wyderski <peter.pan@neverland.mil> - 2018-06-15 22:31 +0200
Re: What's wrong with this? John Larkin <jjlarkin@highland_snip_technology.com> - 2018-06-15 14:44 -0700
Re: What's wrong with this? Piotr Wyderski <peter.pan@neverland.mil> - 2018-06-16 07:51 +0200
Re: What's wrong with this? John Larkin <jjlarkin@highlandtechnology.com> - 2018-06-16 07:05 -0700
Re: What's wrong with this? Piotr Wyderski <peter.pan@neverland.mil> - 2018-06-17 10:34 +0200
Re: What's wrong with this? bill.sloman@ieee.org - 2018-06-17 03:05 -0700
Re: What's wrong with this? John S <Sophi.2@invalid.org> - 2018-06-15 18:01 -0500
Re: What's wrong with this? Piotr Wyderski <peter.pan@neverland.mil> - 2018-06-16 07:31 +0200
Re: What's wrong with this? John S <Sophi.2@invalid.org> - 2018-06-16 06:33 -0500
Re: What's wrong with this? John S <Sophi.2@invalid.org> - 2018-06-16 07:16 -0500
Re: What's wrong with this? Piotr Wyderski <peter.pan@neverland.mil> - 2018-06-16 20:51 +0200
Page 2 of 2 — ← Prev page 1 [2]
| From | Piotr Wyderski <peter.pan@neverland.mil> |
|---|---|
| Date | 2018-06-15 22:31 +0200 |
| Message-ID | <pg17mg$h2q$1@node2.news.atman.pl> |
| In reply to | #508276 |
John Larkin wrote: > You're pushing the input common-mode range of that amp. How come? "These op amps have an output stage that swings within 30mV of either supply rail to maximize the signal dynamic range in low supply applications. The input common mode range extends to the negative supply. They are fully specifi ed on 3V and 5V" Please tell which datasheet parameter you are referring to. > More supply voltage Can't do that, this opamp is driving an LTC1407, which has ABS MAX of 4V. > or a RRIO amp This would require a new board spin. Currently I assume that *I* am wrong somewhere and that the mistake is dead-simple: a solder bridge somewhere or a misrouted trace. Moreover, I don't care at all about the opamp's linearity close to the rails, because it would mean the protected device is malfunctioning. I do care, however, about the linearity in the VDD/2 region, say +-0.8V wide. > You don't really need good opamps in an AC power meter. It's not a power meter, but a very quick acting fuse (assumed ~3us from detection to a full disconnect, in reality may be much faster). The secondary function is the sample source of a digital PLL. I'd like to sample mains at 2*1Msps (the ADC is LTC1407), decimating like mad afterwards. For an FPGA 1MHz and 1kHz sampling rates are equally sluggish. Then the decimated stream could be used for metering, but this is not an essential function. > AC meters don't measure DC power, so you can ignore modest DC offsets in the > voltage and current signals; a little software can auto-zero both > signals. Sure, but I wanted to make it perfect the analog way just to learn something new. I'm just not sure what I have learnt... :-/ The board is composed of many semi-independent blocks and all of them were carefully designed and breadboarded. No surprise there, working as expected since the first power up. Except for this opamp front-end: since it simulated so well... Best regards, Piotr
[toc] | [prev] | [next] | [standalone]
| From | John Larkin <jjlarkin@highland_snip_technology.com> |
|---|---|
| Date | 2018-06-15 14:44 -0700 |
| Message-ID | <5dc8id191ob1ljd71unre52hbqcp1g08oc@4ax.com> |
| In reply to | #508293 |
On Fri, 15 Jun 2018 22:31:11 +0200, Piotr Wyderski <peter.pan@neverland.mil> wrote: >John Larkin wrote: > >> You're pushing the input common-mode range of that amp. > >How come? > >"These op amps have an output stage that swings within >30mV of either supply rail to maximize the signal dynamic >range in low supply applications. The input common mode >range extends to the negative supply. They are fully specifi >ed on 3V and 5V" > >Please tell which datasheet parameter you are referring to. What I said, input common-mode range. > >> More supply voltage > >Can't do that, this opamp is driving an LTC1407, which has ABS MAX of 4V. > >> or a RRIO amp > >This would require a new board spin. Currently I assume that *I* am >wrong somewhere and that the mistake is dead-simple: a solder bridge >somewhere or a misrouted trace. We can't diagnose that very well from here. And things like that would make big errors, not little ones. Measure all the node voltages with an high-Z DVM, and then think about it. > Moreover, I don't care at all about >the opamp's linearity close to the rails, because it would mean the >protected device is malfunctioning. I do care, however, about the >linearity in the VDD/2 region, say +-0.8V wide. > >> You don't really need good opamps in an AC power meter. > >It's not a power meter, but a very quick acting fuse (assumed ~3us from >detection to a full disconnect, in reality may be much faster). It's disconnecting the 230V mains? -- John Larkin Highland Technology, Inc picosecond timing precision measurement jlarkin att highlandtechnology dott com http://www.highlandtechnology.com
[toc] | [prev] | [next] | [standalone]
| From | Piotr Wyderski <peter.pan@neverland.mil> |
|---|---|
| Date | 2018-06-16 07:51 +0200 |
| Message-ID | <pg28hg$df9$1@node2.news.atman.pl> |
| In reply to | #508299 |
John Larkin wrote: > > Please tell which datasheet parameter you are referring to. > > What I said, input common-mode range. The graph "Offset Voltage vs Input Common Mode Voltage" indicate 25uV at TA=25C and 1.5V. +/-300uV absolute worst max in the whole temperature range and in the -0.5..4V voltage range. I don't consider an opamp which can't faithfully follow its input in the middle of its supply range without introducing ~40mV error an opamp at all, let alone a precision one. And the manufacturer is LTC, selected specifically in order to avoid the chip-related problems. If they can't do it, nobody can. So I still assume there must be my mistake somewhere. But the PCB is right, triple-checked. > We can't diagnose that very well from here. And things like that would > make big errors, not little ones. Normally would have agreed, now I can believe *anything*. > It's disconnecting the 230V mains? Yes. There will be a snubber to absorb the inductive spikes. Its purpose is to bulk protect a hundred of MOSFETs against a possible short circuit event. Best regards, Piotr
[toc] | [prev] | [next] | [standalone]
| From | John Larkin <jjlarkin@highlandtechnology.com> |
|---|---|
| Date | 2018-06-16 07:05 -0700 |
| Message-ID | <316aidd7g61c6q50pk8vgmvfu871ufn3k1@4ax.com> |
| In reply to | #508326 |
On Sat, 16 Jun 2018 07:51:39 +0200, Piotr Wyderski <peter.pan@neverland.mil> wrote: >John Larkin wrote: > >> > Please tell which datasheet parameter you are referring to. >> >> What I said, input common-mode range. > >The graph "Offset Voltage vs Input Common Mode Voltage" indicate >25uV at TA=25C and 1.5V. +/-300uV absolute worst max in the whole >temperature range and in the -0.5..4V voltage range. > >I don't consider an opamp which can't faithfully follow its input >in the middle of its supply range without introducing ~40mV error >an opamp at all, let alone a precision one. And the manufacturer >is LTC, selected specifically in order to avoid the chip-related >problems. If they can't do it, nobody can. So I still assume there >must be my mistake somewhere. But the PCB is right, triple-checked. > >> We can't diagnose that very well from here. And things like that would >> make big errors, not little ones. > >Normally would have agreed, now I can believe *anything*. You snipped my most important line: "Measure all the node voltages with an high-Z DVM, and then think about it." > >> It's disconnecting the 230V mains? > >Yes. There will be a snubber to absorb the inductive spikes. >Its purpose is to bulk protect a hundred of MOSFETs against >a possible short circuit event. > Against a hazard that expensive, you might consider a better approach. -- John Larkin Highland Technology, Inc lunatic fringe electronics
[toc] | [prev] | [next] | [standalone]
| From | Piotr Wyderski <peter.pan@neverland.mil> |
|---|---|
| Date | 2018-06-17 10:34 +0200 |
| Message-ID | <pg56ev$ca1$2@node1.news.atman.pl> |
| In reply to | #508339 |
John Larkin wrote: > Against a hazard that expensive, you might consider a better approach. What would that be? Best regards, Piotr
[toc] | [prev] | [next] | [standalone]
| From | bill.sloman@ieee.org |
|---|---|
| Date | 2018-06-17 03:05 -0700 |
| Message-ID | <c4fa9048-00aa-4681-a59a-b2a7faf2b4fb@googlegroups.com> |
| In reply to | #508398 |
On Sunday, June 17, 2018 at 6:34:42 PM UTC+10, Piotr Wyderski wrote: > John Larkin wrote: > > > Against a hazard that expensive, you might consider a better approach. > > What would that be? Probably something designed by John Larkin, at vast expense. John suffers badly from "not invented here". -- Bill Sloman, Sydney
[toc] | [prev] | [next] | [standalone]
| From | John S <Sophi.2@invalid.org> |
|---|---|
| Date | 2018-06-15 18:01 -0500 |
| Message-ID | <pg1gfp$rr1$1@dont-email.me> |
| In reply to | #508263 |
On 6/15/2018 5:54 AM, Piotr Wyderski wrote: > The following circuit is the front-end of a floating voltage > and current measurement device intended for 230V mains. > > V2 is for mains, R2 is the load, R1 is for current measurement. > It simulates flawlessly, with the gain values adjusted to match > the desired range. > > In the real circuit MEASURED_CURRENT is -40mV (relatively to VREF) > for V2=0 and BUFFERED_CURRENT is -79mV. Otherwise the circuit more > or less works, with the output voltages following the gain settings, > but distorted by these huge offsets. > > I don't understand this, the LTC6242 is genuine (from Mouser) > and the specs say it is Rail-to-Rail, low offset (125uV max). > The RR part should even not be important here, as the circuit > is designed to have its virtual mass at VDD/2 (~1.6V), certainly > within the opamp's common mode range. > > The highest gain there is 12.5, so it should result in ~1.6mV > (worst case) of static error after the amplifier stage and a negligible > microvolt-range distortion introduced by the followers. But > I have -80mV to start from, which translates into ~600mA > input current error. How can it be *that* bad? > > All the measurements are performed with DC input. > > Best regards, Piotr (snip circuit) I have a question. U1's output is constant while the inverting input has varying voltage. Why is that and what is the purpose of U1's output?
[toc] | [prev] | [next] | [standalone]
| From | Piotr Wyderski <peter.pan@neverland.mil> |
|---|---|
| Date | 2018-06-16 07:31 +0200 |
| Message-ID | <pg27ar$cek$1@node2.news.atman.pl> |
| In reply to | #508304 |
John S wrote: > I have a question. U1's output is constant while the inverting input has > varying voltage. Why is that and what is the purpose of U1's output? U1 and U5 constitute a window comparator to check if the current is within the allowed range. Since the high-speed comparators have push-pull outputs, it is not possible to use the wired OR trick and a gate must be used to combine the results. So the gate might well be NC7SZ57/NC7SZ58, inverting the inversion introduced by swapping the + and - inputs of the comparator whereever needed, making PCB routing task a bit easier. Best regards, Piotr
[toc] | [prev] | [next] | [standalone]
| From | John S <Sophi.2@invalid.org> |
|---|---|
| Date | 2018-06-16 06:33 -0500 |
| Message-ID | <pg2sii$uvb$1@dont-email.me> |
| In reply to | #508304 |
On 6/15/2018 6:01 PM, John S wrote: > On 6/15/2018 5:54 AM, Piotr Wyderski wrote: >> The following circuit is the front-end of a floating voltage >> and current measurement device intended for 230V mains. >> >> V2 is for mains, R2 is the load, R1 is for current measurement. >> It simulates flawlessly, with the gain values adjusted to match >> the desired range. >> >> In the real circuit MEASURED_CURRENT is -40mV (relatively to VREF) >> for V2=0 and BUFFERED_CURRENT is -79mV. Otherwise the circuit more >> or less works, with the output voltages following the gain settings, >> but distorted by these huge offsets. >> >> I don't understand this, the LTC6242 is genuine (from Mouser) >> and the specs say it is Rail-to-Rail, low offset (125uV max). >> The RR part should even not be important here, as the circuit >> is designed to have its virtual mass at VDD/2 (~1.6V), certainly >> within the opamp's common mode range. >> >> The highest gain there is 12.5, so it should result in ~1.6mV >> (worst case) of static error after the amplifier stage and a negligible >> microvolt-range distortion introduced by the followers. But >> I have -80mV to start from, which translates into ~600mA >> input current error. How can it be *that* bad? >> >> All the measurements are performed with DC input. >> >> Best regards, Piotr > > (snip circuit) > > I have a question. U1's output is constant while the inverting input has > varying voltage. Why is that and what is the purpose of U1's output? > Aargh! Disregard. I was thinking U1 was an op-amp.
[toc] | [prev] | [next] | [standalone]
| From | John S <Sophi.2@invalid.org> |
|---|---|
| Date | 2018-06-16 07:16 -0500 |
| Message-ID | <pg2v1p$uvb$2@dont-email.me> |
| In reply to | #508263 |
On 6/15/2018 5:54 AM, Piotr Wyderski wrote: > The following circuit is the front-end of a floating voltage > and current measurement device intended for 230V mains. > > V2 is for mains, R2 is the load, R1 is for current measurement. > It simulates flawlessly, with the gain values adjusted to match > the desired range. > > In the real circuit MEASURED_CURRENT is -40mV (relatively to VREF) > for V2=0 and BUFFERED_CURRENT is -79mV. Otherwise the circuit more > or less works, with the output voltages following the gain settings, > but distorted by these huge offsets. > > I don't understand this, the LTC6242 is genuine (from Mouser) > and the specs say it is Rail-to-Rail, low offset (125uV max). > The RR part should even not be important here, as the circuit > is designed to have its virtual mass at VDD/2 (~1.6V), certainly > within the opamp's common mode range. > > The highest gain there is 12.5, so it should result in ~1.6mV > (worst case) of static error after the amplifier stage and a negligible > microvolt-range distortion introduced by the followers. But > I have -80mV to start from, which translates into ~600mA > input current error. How can it be *that* bad? > > All the measurements are performed with DC input. > > Best regards, Piotr (snip circuit) I don't understand what is happening with U3's inputs. Look at the inverting input with respect to the non-inverting input. Same thing with U2. They look broke to me.
[toc] | [prev] | [next] | [standalone]
| From | Piotr Wyderski <peter.pan@neverland.mil> |
|---|---|
| Date | 2018-06-16 20:51 +0200 |
| Message-ID | <pg3m81$tif$1@node1.news.atman.pl> |
| In reply to | #508334 |
John S wrote: > I don't understand what is happening with U3's inputs. Look at the > inverting input with respect to the non-inverting input. Same thing with > U2. The opamp is trying hard to make the difference between them as small as possible and I think this +/-120nanovolt range is indeee a very good approximation of the word "equal". Best regards, Piotr
[toc] | [prev] | [standalone]
Page 2 of 2 — ← Prev page 1 [2]
Back to top | Article view | sci.electronics.design
csiph-web