开云体育

Date

Re: Singular matrix

 

开云体育

On 25/03/2025 19:07, pilou via groups.io wrote:
thanks a lot for your reply.
Indeed, it's an inverting amplifier.
But if you look closer, no need to negative supply as the amplifier positive input is connected to mid-supply: it acts as a "virtual ground".
I first tested the whole schematic without PTC and it "works" :)
Sorry. Yes, you're right.

--
Regards,
Tony


Re: LTspice non-inverting Opamp loop gain.

 

On Tue, Mar 25, 2025 at 03:22 PM, John Woodgate wrote:
stability, open loop modelling (Tian method
Amazing what Google's AI spits out...
?


Re: LTspice non-inverting Opamp loop gain.

 

开云体育

Hi, Victor. Perhaps I should say 'Salve, Victor'! I think you need to explain a bit more about your question. What is it about the Tian method that you need more information on? In the first place, with no external input, the opamp doesn't 'know' whether it is inverting or non-inverting; that is just a matter of how the external signal is fed in. In the inverting case, it is fed through a resistor, but in the non-inverting case, that resistor is between the inverting input and ground, while the external input is applied, either via a resistor or directly, to the non-inverting input of the opamp, which may have near-infinite internal impedance or a value defined in the data sheet.

On 2025-03-25 21:46, LV via groups.io wrote:
This one?
Read youself what you sent.

I ask about stability, open loop modelling (Tian method), NOT how to build non-inverting opamp circuit.
--
Kind regards,
Victor
--
OOO - Own Opinions only If something is true: * as far as we know - it's science *for certain - it's mathematics *unquestionably - it's religion

Virus-free.


Re: LTspice non-inverting Opamp loop gain.

 

This one?
Read youself what you sent.

I ask about stability, open loop modelling (Tian method), NOT how to build non-inverting opamp circuit.
--
Kind regards,
Victor


Re: LTspice non-inverting Opamp loop gain.

 

开云体育

*Actually*, Dave (me) is not a purist about this side topic!

I expected one of the real purists to chime in before this.

?

I pointed Victor towards a tutorial on the subject he was asking about.

?

Dave

From: [email protected] <[email protected]> On Behalf Of John Woodgate
Sent: Tuesday, March 25, 2025 2:28 PM
To: [email protected]
Subject: EXTERNAL: Re: [LTspice] LTspice non-inverting Opamp loop gain.

?

Dave is a wee bit purist on what is on-topic. The list has very many members , so we can expect differences of opinion, and accept them.

On 2025-03-25 21:15, BRUCE108 wrote:

Dave Bell wrote:

You will soon be told this forum is for LTspice-specific questions, not for electronic design.? :{)

But I would suggest:

?

What's your point Dave? Should we not be doing what we are doing? Should we be doing something else? The information exists all over the web and is not hard to find.?

I'm just sayin'

?

--
OOO - Own Opinions only If something is true: * as far as we know - it's science *for certain - it's mathematics *unquestionably - it's religion

?

Virus-free.


Re: LTspice non-inverting Opamp loop gain.

 

I asking exactly about LTspice example and how to modify open loop probes and input for non-inverting amp.
Sorry, I no need empty answers. If you dond`t know how - skip my question and drink tea.
--
Kind regards,
Victor


Re: LTspice non-inverting Opamp loop gain.

 

开云体育

Dave is a wee bit purist on what is on-topic. The list has very many members , so we can expect differences of opinion, and accept them.

On 2025-03-25 21:15, BRUCE108 wrote:
Dave Bell wrote:

You will soon be told this forum is for LTspice-specific questions, not for electronic design.? :{)

But I would suggest:

?

What's your point Dave? Should we not be doing what we are doing? Should we be doing something else? The information exists all over the web and is not hard to find.?

I'm just sayin'

?

--
OOO - Own Opinions only If something is true: * as far as we know - it's science *for certain - it's mathematics *unquestionably - it's religion

Virus-free.


Re: LTspice non-inverting Opamp loop gain.

 

Dave Bell wrote:

You will soon be told this forum is for LTspice-specific questions, not for electronic design.? :{)

But I would suggest:

?

What's your point Dave? Should we not be doing what we are doing? Should we be doing something else? The information exists all over the web and is not hard to find.?

I'm just sayin'

?


Re: LTspice non-inverting Opamp loop gain.

 

开云体育

You will soon be told this forum is for LTspice-specific questions, not for electronic design.? :{)

But I would suggest:

?

?

Dave

?

From: [email protected] <[email protected]> On Behalf Of LV via groups.io
Sent: Tuesday, March 25, 2025 1:34 PM
To: [email protected]
Subject: EXTERNAL: [LTspice] LTspice non-inverting Opamp loop gain.

?

Hello,

?

There is example for open loop gain simulation for inverting Opamp:

C:\Users\...\AppData\Local\LTspice\examples\Educational\LoopGain2.asc

?

How to modify probes circuit and connection for Non-inverting Opamp?

Especially how I should connect non-inverting input?

--

Kind regards,
Victor


Re: Singular matrix

 

On Tue, Mar 25, 2025 at 10:44 AM, Tony Casey wrote:
Are you sure? U2 and J2 are correct?

U2 is configured as an inverting amplifier and is connected to node OUT, which must always be positive. Therefore, U2's output should go negative, but it can't because it doesn't have a negative power rail, it is grounded.
Hi Tony,
thanks a lot for your reply.
Indeed, it's an inverting amplifier.
But if you look closer, no need to negative supply as the amplifier positive input is connected to mid-supply: it acts as a "virtual ground".
I first tested the whole schematic without PTC and it "works" :)


Re: Singular matrix

 

开云体育

On 25/03/2025 17:40, pilou via groups.io wrote:
I'm very sorry. I forget to correct paths into symbol and indeed I forget a lib too.
For R3, it wasn't connected to VCC: the wire was too long ;)
I just re-upload the whole schematic:
Are you sure? U2 and J2 are correct?

U2 is configured as an inverting amplifier and is connected to node OUT, which must always be positive. Therefore, U2's output should go negative, but it can't because it doesn't have a negative power rail, it is grounded.

Did you test each stage before connecting it all together?

--
Regards,
Tony


Re: Singular matrix

 

On Tue, Mar 25, 2025 at 09:49 AM, John Woodgate wrote:
You didn't fix the path in RQ3E100AT_TH, but never mind. I can't see what is causing the singular matrix error.
Oh god ! Sorry again...
Ok, if you haven't noticed yet, I created a PTC symbol / model based upon John Popelish work. I just added a pin for the temperature.
Maybe you can look if there is something wrong at this stage ?
Thanks a lot,
Pascal


Re: Singular matrix

 

开云体育

On 25/03/2025 17:40, pilou via groups.io wrote:
I'm very sorry. I forget to correct paths into symbol and indeed I forget a lib too.
For R3, it wasn't connected to VCC: the wire was too long ;)
I just re-upload the whole schematic:
This circuit runs in 24.1.4, but fails in 24.0.12 with a singular matrix error.

Note: there is a pin (A1) on the thermistor, U7, that is disconnected - it's in the body of the symbol. Perhaps it needs connecting to something.

--
Regards,
Tony


Re: Singular matrix

 

开云体育

You didn't fix the path in RQ3E100AT_TH, but never mind. I can't see what is causing the singular matrix error.

On 2025-03-25 16:40, pilou via groups.io wrote:
John,
I'm very sorry. I forget to correct paths into symbol and indeed I forget a lib too.
For R3, it wasn't connected to VCC: the wire was too long ;)
I just re-upload the whole schematic:
Thanks a lot in advance.
--
OOO - Own Opinions only If something is true: * as far as we know - it's science *for certain - it's mathematics *unquestionably - it's religion

Virus-free.


Re: Singular matrix

 

John,
I'm very sorry. I forget to correct paths into symbol and indeed I forget a lib too.
For R3, it wasn't connected to VCC: the wire was too long ;)
I just re-upload the whole schematic:
Thanks a lot in advance.


Re: .STEPping a .WAVE file output

 

开云体育

D’oh!? Further breaking a broken interface…

?

From: [email protected] <[email protected]> On Behalf Of ericsson.sunshine via groups.io
Sent: Monday, March 24, 2025 6:48 PM
To: [email protected]
Subject: EXTERNAL: Re: [LTspice] .STEPping a .WAVE file output

?

On Tue, Mar 25, 2025 at 09:27 AM, <ericsson.sunshine@...> wrote:

Hi, :

?

I have tested the following methods, plus the *.bat running under Windows OS.

?

"

.step param stp 1 6 1
.param fs {stp*1k}
.wave {stp} 16 44.1k V(out)

" --> it generates the file 1, 2,...,6

?

Then run the batch file, as following: (save it to file & name it to ***.bat)

"

?

?

Oops, I found the ".step + ,wave" method only works in LTspice XVII, not supported in LTspice V24.1.5.

?

In V24.1.5 I , it only creates a file named "{stp}".

?

Best reards.


Re: .STEPping a .WAVE file output

 

开云体育

Very nice!

I used to have a good mass rename/redate tool for Windows, but it’s been a while.

?

Thak you!

Dave

?

From: [email protected] <[email protected]> On Behalf Of ericsson.sunshine via groups.io
Sent: Monday, March 24, 2025 6:27 PM
To: [email protected]
Subject: EXTERNAL: Re: [LTspice] .STEPping a .WAVE file output

?

Hi, :

?

I have tested the following methods, plus the *.bat running under Windows OS.

?

"

.step param stp 1 6 1
.param fs {stp*1k}
.wave {stp} 16 44.1k V(out)

" --> it generates the file 1, 2,...,6

?

Then run the batch file, as following: (save it to file & name it to ***.bat)

"

@echo off
for %%f in (1 2 3 4 5 6) do (
? ? if exist "%%f" ren "%%f" "%%f.wav"
)
echo Renaming complete!
pause

"

?

Not sure if that's my naive, I tried the website of Analog Device, it doesn't release LTspice 24.1.6 yet.

?

Have a nice day.

Best regards.


Re: Singular matrix

 

开云体育

We can't run it , because:

  1. RQ3E100AT_TH symbol has the full path on your computer attached. OK, we can fix that.
  2. RQ3E100AT_TH_Thermal.lib is missing
  3. ?There is a connection between the body of R3 and the wire labelled Vcc. I suspect that is not correct.
On 2025-03-25 13:18, pilou via groups.io wrote:
Hello John and Andy,
thanks a lot for your replies.
Please, find my circuit here:
Best regards,
Pascal
--
OOO - Own Opinions only If something is true: * as far as we know - it's science *for certain - it's mathematics *unquestionably - it's religion

Virus-free.


Re: .STEPping a .WAVE file output

 

On Tue, Mar 25, 2025 at 02:23 AM, <ericsson.sunshine@...> wrote:
It's surprising , will this feature '.wave {Stp+".wav"} 16 44.1k V(Out)' be added-on ?
Well, I recommend that you read this message:
?
Andy
?


Re: Singular matrix

 

Hello John and Andy,
thanks a lot for your replies.
Please, find my circuit here:
Best regards,
Pascal