The figure shows a circuit with a ±17V dual power supply and a 10W power amplifier

thank you for your reply.
We verify each case separately.
I removed the right part (amplifier) and checked to see if the power supply was normal. It was normal.
I have checked all the device models used and the simulation models seem to be working correctly.

???

Seems or you have checked it by using each transistor in simple circuit where you can easily verify its behavior?

The power supply circuit and 10W power amplifier parts are separated.
For the transistor, I changed the symbol pin and model pin in the 2SC3298 simulation editor.
The simulation results show that the input voltage is accurate, but the output voltage is around 0V.
I would like to get some advice.


1 Like

Can you not put probes at various points in the circuit, starting from the input to see how far the signal gets? Just like you would do with a physical amplifier. For example the output pin of the op-amp would be an obvious point to check next.

Thank you for your reply.
I immediately looked at the output voltage of the operational amplifier.
It was 1.5V DC.
As far as I reviewed the circuit diagram, it seems to be correct.
Please let me know if you know the reason.


1 Like

But no AC signal there?

I got a signal like this.
Does this mean that it is a minute alternating current signal?

1 Like

I think your op-amp is not amplifying. It’s a nop-amp hahaha.

Simulate the op-amp in a separate cicruit to make sure you understand it. Maybe the model is wrong? Or the pins are wrong? Are you sure the model pins are the same as the IC pins?

Thank you for the advice.
I changed the operational amplifier from NJM5532 to NJM5532DD.
However, when I run the simulation, an error like the one shown in the figure appears. No matter what I do, the error doesn’t go away.
If there is a way to avoid the error, please let me know.

1 Like

You should probably do what Holger asked way back in the #3 post, post the project including the models used. Otherwise you’re missing out on his expertise.

First, I removed the power circuit and powered the power amp as Holger suggested.
I then reviewed the simulation model.
I would like to move on, but when I run the simulation I get an error.
First of all, I would like to know how to avoid this error.

1 Like

Maybe you don’t understand this phrase. This means zip up your project and model files and attach to your post so that people can try your simulation. That cannot be done with screenshots.

Dear retiredfeline.

Thank you for your reply.
Compress and send the project and model files.
Please take a look.

KiCad_±17V_2.zip (242.7 KB)

1 Like

Dear Piotr.

Thank you for your reply.
Compress and send the project and model files.
Please take a look.

KiCad_±17V_2.zip (242.7 KB)

1 Like

Dear holger.

Thank you for your reply.
Compress and send the project and model files.
Please take a look.

KiCad_±17V_2.zip (242.7 KB)

1 Like

I spend using Spice in KiCad may be 3 days 3 months ago and simulated circuits containing no more than 5 symbols. From those time I remember: “there are problems with pin orders (even for diode)”. I reported a bug about it.
To see your project is too complicated. I write from Win7 PC where I have KiCad V5 (last Win7 working KiCad version). I have KiCad V7 at PC not connected with internet. As it is ‘for safety’ I’m limiting transferring anything toward that PC (opposite direction is ok).

You only need to attach the zip file once. This is a forum and everybody can see all the posts, even if they are in reply to someone else. Holger is the one who you should hope to see your post. Piotr isn’t interested and I am not interested either because I don’t run ngspice simulations. I was just giving you general advice for debugging, for example, when faced with a large problem, break it down into smaller problems.

I have opened your project in KiCad 8.

There is a bug in the model file NJM5532x_v0301_Z.lib:
In line 26, there are unknown characters after R3 99 12 {R3}, remove them.
Don’t tie two opamp outputs together, leave B_OUTPUT open.
Run an op (operating point analysis) first to check if voltages are o.k.
They are not, everywhere +17V, no -17V.
Polarity of V3 is wrong, turn it around

If you do this, you will get

1 Like

Thank you, holger.

Corrected NJM5532x_v0301_Z.lib.
I changed the polarity of -17V VDC.
I opened the second output of NJM5532DD.
As a result, the same results as Holger’s simulation were obtained.
I am very grateful to you.

Thanks also to retiredfeline and Piotr.

2 Likes

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.