Simple RC Hardware Circuit Understanding -- Questions

In summary, this circuit has problems with drawing the correct schematic and the incorrect placement of voltage sources.
  • #1
PhysicsTest
238
26
TL;DR Summary
Need to understand the hardware circuit
I need to understand the below hardware circuit
1650459214157.png


I am not sure about the type of the signals at signal1 and signal2, i have assumed DC signals initially. Then when i simulated in LT spice, the signal at Output is +5V. But if i assume the signals at signal1 and signal2 as Sine wave, then C1 and R1 will be like a filter circuit, am i correct? But what is the main purpose of the above circuit? Some information i decoded is signal1 and signal2 are coming from the connector, and they are Current transformer signals of the phase currents. Please help me to decode this.
 
Engineering news on Phys.org
  • #2
If V1 and V2 are AC sources that can be different, it is not good to have them directly driving the capacitor C1 (which is an AC short). Is this just a practice circuit that you made up?
 
  • #3
I am not sure if the signals Signal1 and signal2 are AC or DC, if AC signals are not correct, then they should be DC signals and if they are same,could you please tell me the purpose of the circuit if they are DC signals?
In the actual circuit V1 and V2 are not mentioned only for the simulation purpose i have added V1 and V2. The connection at output is going to the micro controller.
 
  • #4
PhysicsTest said:
In the actual circuit V1 and V2 are not mentioned only for the simulation purpose i have added V1 and V2.
Can you please provide a link to the original source.
 
  • Like
Likes berkeman
  • #5
It is a schematic given by friend to decode. I am only picking in parts to understand.
 
  • #6
It would help if we could see the whole schematic and know what the intended purpose is. Looking only at some parts of a circuit may not may not be useful.
 
  • #7
C1 and C2 have values of "0.1 Meg" farad ?
Are you sure those should not be something smaller, like maybe 0u1 farad ?
 
  • Wow
Likes berkeman
  • #8
berkeman said:
It would help if we could see the whole schematic and know what the intended purpose is. Looking only at some parts of a circuit may not may not be useful.
I want to understand a circuit but no one is explaining that. I know it may have impact with remaining circuit, but I am not interested right now, just want to understand the behaviour of the circuit.
 
  • #9
PhysicsTest said:
just want to understand the behaviour of the circuit.
Beyond the capacitor value errors, you have drawn the circuit with 3 inputs and no outputs. How are we supposed to guess what transfer function you want to discuss?
 
  • Like
Likes dlgoff
  • #10
The output is below R2 which goes to micro controller.
 
  • #11
PhysicsTest said:
In the actual circuit V1 and V2 are not mentioned only for the simulation purpose i have added V1 and V2.
If they are not inputs in the actual circuit, it is probably not a good idea to include them in the analysis. So your input is V3 and the output is the labeled node above C2? And what are the corrected values for the capacitors?
 
  • #12
I think my English is bad, Signal1 and Signal2 are inputs(if they are DC or AC I do not know), output (output in schematic) signal is going to micro. V3 is the 5V power supply.
 
  • #13
PhysicsTest said:
I think my English is bad, Signal1 and Signal2 are inputs(if they are DC or AC I do not know), output (output in schematic) signal is going to micro. V3 is the 5V power supply.
Well, the circuit still makes little sense to me. If V3=5V, that sets the bias voltage between R3 and R4 initially to 2.5V. But having V1 be a DC power supply then makes no sense, since that voltage is already set to 2.5V. But if V1 is an AC source, then it makes no sense to have V2 where it is, since it is an AC short via C1. So as drawn, I don't think V1 can be either AC or DC, and similarly V2 makes no sense where it is placed.

If there were no V2 source and V1 were an AC source, you could calculate (and simulate) the transfer function from V1 to the "Output" node. It looks at first glance to be a sort of a bandpass transfer function, with some modifications.

Again, it would be best to see the whole original circuit diagram, hopefullyl without the capacitor value errors shown on your LTSPICE rendition of the circuit.
 
  • #14
Aside from the many practical issues raised, which I'll leave to others, this is just an electrical network problem. You can express each component with it's complex impedance and find what you want with the normal circuit analysis tools (KVL, KCL, Thevenin-Norton source transformations, etc.). If you just view this as a math problem, it doesn't matter what the voltage sources actually are; ##v_1(t)## is a perfectly adequate variable name. If you have numbers to put in, like ##R3=4.7K##, then you'll do that as the last step.

Are you familiar with complex impedance values?

My personal preference would be to redraw that schematic with inputs on one side and outputs on the other side. That can make the analysis quick using some obvious shortcuts. What can you see about the node voltages? Do you actually care about every detail, like the current through R4, for example?

20220420_124950.jpg


PS: Sometimes simulators aren't worth the effort required. Don't go down that path (ever) without first thinking about the circuit in question. I claim there is no better way to understand a network like this that to at least try conventional network analysis first. Use the simulator when you have to, not before.
 
Last edited:
  • Like
Likes PhysicsTest
  • #15
DaveE said:
I claim there is no better way to understand a network like this that to at least try conventional network analysis first.
I claim:
The first step must be to identify what the circuit is required to do.
The second step will be to draw an accurate schematic.
The simulation step requires the first two steps be completed.

We have been given an incorrectly drawn schematic, for an unspecified task.
In this case, explaining how the circuit actually does it's job, is impossible.
 
  • Like
Likes berkeman
  • #16
Baluncore said:
We have been given an incorrectly drawn schematic, for an unspecified task.
In this case, explaining how the circuit actually does it's job, is impossible.
Agreed. And the OP refuses to post the full schematic as he received it, saying that he's only posting "the part that he wants to understand", after he has converted it incorrectly into an LTSPICE schematic to try do understand with simulation. I'm about to close this thread and issue a warning/infraction, unless the OP comes back with a very satisfying reply...
 
  • Like
Likes Tom.G and dlgoff
  • #17
Yes, the words of the OP make no sense at all.
 
  • Like
Likes dlgoff and berkeman
  • #18
Please find the circuit copied in the path . RA0, RA1, RA2 go to the micro controller. Is the circuit correct? If it is wrong i will stop analyzing.
 
  • #19
Where do the Current Transformers connect to that circuit? It's for a 3-phase AC Mains current measurement device?
 
  • #20
Yes.
 
  • #21
berkeman said:
Where do the Current Transformers connect to that circuit?
 
  • #22
I am not sure I only have this part of the circuit. Target is to write firmware to display current, but I am not able to understand the conversion formula. Will I be able to do with this part of schematic? What else I need to know?
 
  • #23
PhysicsTest said:
Is the circuit correct?
How would we know what you want? Sure, whatever, it can be correct if you like.
You'll get better answers if you ask clear complete questions.
 
  • #24
PhysicsTest said:
I am not sure I only have this part of the circuit. Target is to write firmware to display current, but I am not able to understand the conversion formula. Will I be able to do with this part of schematic? What else I need to know?
Okay, as you can tell we are very frustrated with the incomplete information you are providing, but since you are trying to learn, I'll try to make a couple of guesses and try to get you to the next steps. Lordy.

So, Current Transformers come in two types -- with and without "burden resistors". Those with burden resistors expect to be coupled into fairly high impedance measuring circuits, and use the burden resistors to convert the sensing current into an output voltage that you read with your microcontroller (uC).

Current Transformers without a burden resistor are meant to be used with your circuit that senses the output/secondary current of the CT, per the datasheet specs of the CT.

For CTs that have a burden resistor, they will specify what the conversion transfer function is, very typically you get 0.333Vrms output voltage for a 10Arms (or whatever current) input with a single wire turn through the CT core.

So the schematic you posted is ambiguous for CT measurements in several ways. First, the resistances and impedances of that circuit are medium, so too low to be used with CTs that have a burden resistor integrated, and strangely high for a raw CT. Whatever.

And since you are not able to explain how the three CTs are connected for the 3-phase current measurement, my best guess is that each CT has one side (non-dot side of the winding) grounded, and the other (dot) side connected to the schematic nets 4-5-6. This would give you an AC input voltage at AC Mains frequency on each of those "inputs" to the circuit, with a filtered version available at the three nets that you say are routed to your uC for digitizing.
 
Last edited:
  • Informative
  • Like
Likes PhysicsTest and dlgoff
  • #25
My take on the CT interface diagram in post #18 is as follows.

R1 with R22 divider produces DC bias = 2.5 volts, with R thevenin = 4k7 / 2 = 2k35

C1 = 0u1 farad; in parallel with; R19 = 10E = 10R = 10 ohm, (1/4 watt); is the burden for the CT. Shown as terminals 1 and 6.

R24 = 1k; in series with; C6 = 0u1; forms a low pass filter to the analog input port RA0.

Note that the Rth of 2k35 is in series with the 1k, so low pass has R = 3k35 with 0u1 F.

Software must discover the exact input voltage for zero current since 4k7 dividers are otherwise uncalibrated.
 
Last edited:
  • Like
Likes PhysicsTest
  • #26
Thank you very much for the clarifications, I am very poor in analyzing the circuits, hence based on the comment provided by DaveE i rearranged the circuit as below which was really helpful approach i have to follow,
1650634595990.png

Regarding the primary current calculations this is the formula i came across
##R = \frac{V_{CT}*N} {I_p}##
##I_p = \frac{V_{CT}*N} {R}##
So for example if i measure ##V_{CT} = 1.25V, N = 1000, R = 10##
##I_p = \frac{1.25 * 1000} {10} = 125Amps##
Are the above calculations correct?
I did not understand the statement
Software must discover the exact input voltage for zero current since 4k7 dividers are otherwise uncalibrated.
How do i do this?
 
  • #27
PhysicsTest said:
Are the above calculations correct?
We. are. not. mind. readers.

If you're asking if ##\frac{1.25 * 1000} {10} = 125##, then yes. That's what my calculator says too.

OTOH,
I don't know what ##R## is.
I don't know what ##V_{CT}## is.
I don't know what ##N## is.
I don't know what ##I_p## is.
I don't know what's connected to terminal ##1##.
I don't know what's connected to terminal ##6##.
I don't know what's connected to terminal ##RA0##.
I don't know what "##10E##" means when you write that next to a resistor.

I think I have a pretty good guess, but what's the point in my guessing in order to check your work.

PhysicsTest said:
I did not understand the statement
Me either. In fact, I don't even know what the statement was.

Try again. Better (complete) questions will get better answers.
 
  • #28
DaveE said:
We. are. not. mind. readers.

If you're asking if ##\frac{1.25 * 1000} {10} = 125##, then yes. That's what my calculator says too.

OTOH,
I don't know what ##R## is.
This is as per post #25, R is the burden resistor
C1 = 0u1 farad; in parallel with; R19 = 10E = 10R = 10 ohm, (1/4 watt); is the burden for the CT. Shown as terminals 1 and 6.
DaveE said:
I don't know what ##V_{CT}## is.
This is the Current Transformer voltage read by the micro controller. Here for example i am assuming the micro is reading a voltage of 1.25V.
DaveE said:
I don't know what ##N## is.
N is the number of turns assuming it to be 1000, for calculation
DaveE said:
I don't know what ##I_p## is.
This is the primary current flowing from the phase terminals. (R,Y,B), which is want i have to calculate and display on LCD.

DaveE said:
I don't know what's connected to terminal ##1##.
I don't know what's connected to terminal ##6##.
These are connected to the current transformer phase terminals.
DaveE said:
I don't know what's connected to terminal ##RA0##.
This will go to the micro controller ADC input pin.
DaveE said:
I don't know what "##10E##" means when you write that next to a resistor.
This is 10 Ohm resistor.
 
  • #29
PhysicsTest said:
Software must discover the exact input voltage for zero current since 4k7 dividers are otherwise uncalibrated.
How do i do this?
The voltage to the analog input when no current is flowing in the CT will be close to 2.5 V. The resistors in the voltage divider may be slightly different, so you need to find just what voltage represents zero current. Without the CTs being connected, read each analog input to identify zero for each channel.

Note that a CT will often have an internal resistor of maybe 470R, that is to protect the insulation from overvoltage arcs if you unplug it from the burden on the PCB. That unknown protection device may change the calibration scale slightly.

Avoid decimal points. "0.1μ" is better written in LTspice as "0u1". It may then be displayed as "0μ1" if that option is turned on.
Avoid the exponential "10E", use instead the more common "10R".
"10E" is actually a suppressed zero exponent, floating point "10E0" = "1E1" = 10.

Never put units on component values, or on voltage and current sources.
1F is not one farad, it is one femtofarad. 1A is not one amp, it is 1e-18 amp.
 

Attachments

  • Schematic.jpg
    Schematic.jpg
    43.5 KB · Views: 77
  • TransferFunction.jpg
    TransferFunction.jpg
    41.4 KB · Views: 66
  • TransRespGain.jpg
    TransRespGain.jpg
    49.5 KB · Views: 62
  • TransducerGain.jpg
    TransducerGain.jpg
    47.5 KB · Views: 70
Last edited:
  • Like
Likes PhysicsTest
  • #30
I am trying to solve the schematic manually using node equations
1650710808493.png

The current through C1 is i1, R1 it is i2, through R4 is i1+i2+icts.
##V_{C1} = V_{R2}##
##\frac{\int{i_1} dt} {C_1} = i_2 R1## -> eq1.1
##2.5 - i_2R_1 - (i1+i2+i_{cts})R4 = V_{out}## -> eq1.2
##i_{cts} + i_1 + i_2=0 ## -> eq 1.3

Are the equations correct to solve for ## V_{out} ##.
 

Attachments

  • 1650709312553.png
    1650709312553.png
    31.8 KB · Views: 57
  • #31
OK, I didn't want to keep beating this horse but I guess I'll have to say it again. Define your terms. Be consistent.

I don't know what ##V_{R2}## is, so I don't know why you said ##V_{C1}=V_{R2}##. In fact I don't even know what ##R2## is because you posted two schematics with different names for the resistors.

It would be conventional for ##V_{R2}## to be the voltage across ##R2## with a polarity clearly defined in a schematic (which isn't there, yet). That would be either with a current direction clearly defined or the voltage polarity indicated. Look into "passive sign convention" for more about that. So, for example, you did a good job of telling us that ##i_2## flows through ##R1##, but you didn't tell us the direction, so I can't say if your eq 1.1 is correct or not.

Same comments for ##V_{C1}## , ##i_1## , everything, really.

In this case I can't even really guess what you actually meant, because I don't think ##V_{C1}## is equal to any other branch voltage. So there might be a problem there. However, there are also problems with your other equations, but I don't think it's really worth commenting on those until we have a bit more structure in your approach, and communication.

The thing about circuit analysis (using KVL, KCL, etc.) is that the solution is relatively easy, even sort of automatic when you go through all of the steps. The hard part, the part the messes everyone up, is that they don't define all of the voltages and currents well. They try to skip steps, which is often quite tempting. This an analysis technique where how you set up and define the problem is by far the most important part. Khan Academy has some really good tutorials about circuit analysis. I would suggest watching some of those next.

If you want a STEM career, like in physics or EE, you need to learn to define and communicate the details clearly. Slow down, be more careful.
 
Last edited:
  • Like
Likes Klystron, berkeman, PhysicsTest and 1 other person
  • #32
It also helps if currents have a direction marked with an arrow.
 
  • #33
Thank you for all the help, i know i am confusing all, circuit analysis is always tough for me. I am doing another attempt
1650775616853.png


Loop1 : Consisting of elements C1 and R1
## \frac{-\int I_1dt} {C1} + I_2R1=0 ## -> eq1
Loop2: consisting of 2.5V, R1 and R4
##2.5 - I_2R_1-(I_1+I_2+I_{cts})R_4 = V_{out}## -> eq2
##I_{cts} = I_0\sin(\omega t)##
I need one more equation, Please help me if the equations are correct and where do i apply the next equation?
 
Last edited:
  • #34
Sorry, too busy to write a real reply. But that node labeled 2.5V is only 2.5V if there's no current being drawn through those 47K resistors. You can't leave R2 & R3 out, also C2 needs to be included. Those parts are in loops you haven't included yet.

But, good work on defining things, now we can all speak the same language.
 
  • Like
Likes PhysicsTest
  • #35
DaveE said:
But that node labeled 2.5V is only 2.5V if there's no current being drawn through those 47K resistors. You can't leave R2 & R3 out,
But it will always be 2.5V since the resistors are equal and by voltage divider rule, it shall be 2.5V.

DaveE said:
also C2 needs to be included. Those parts are in loops you haven't included yet
Loop1 : Consisting of elements C1 and R1
## \frac{-\int I_1dt} {C1} + I_2R1=0 ## -> eq1
Loop2: consisting of 2.5V, R1 and R4
##2.5 - I_2R_1-(I_1+I_2+I_{cts})R_4 - \frac{\int (I1+I2+I_{cts})dt} {C_2} = 0 ## -> eq2
##I_{cts} = I_0\sin(\omega t)## ->eq3

The current through ##R_2 = \frac{2.5} {4.7k} = 0.53mA ## ->eq4
Similarly current through ## R_3 = \frac{2.5}{4.7k} = 0.53mA ## ->eq5
## I_1 + I_2 = 1.06mA ## ->eq6
Can i use the above equations to solve for Vout?
 
<h2>1. What is a simple RC hardware circuit?</h2><p>A simple RC hardware circuit is a basic electronic circuit that consists of a resistor (R) and a capacitor (C) connected in series or parallel. It is used to control the flow of electric current and store electrical energy.</p><h2>2. How does a simple RC hardware circuit work?</h2><p>The resistor in the circuit limits the flow of electric current, while the capacitor stores electrical energy. When a voltage is applied to the circuit, the capacitor charges up until it reaches its maximum capacity, which depends on the value of the resistor and capacitor. The capacitor then discharges its stored energy, and the cycle repeats.</p><h2>3. What is the purpose of a simple RC hardware circuit?</h2><p>Simple RC hardware circuits have several uses, such as filtering out unwanted frequencies in a signal, creating a time delay, and stabilizing a power supply. They are also commonly used in electronic devices for signal processing and amplification.</p><h2>4. How do I calculate the time constant of a simple RC hardware circuit?</h2><p>The time constant (τ) of a simple RC hardware circuit is calculated by multiplying the resistance (R) in ohms by the capacitance (C) in farads. It is represented by the equation τ = RC. The time constant determines how quickly the capacitor charges and discharges in the circuit.</p><h2>5. What are the limitations of a simple RC hardware circuit?</h2><p>One limitation of a simple RC hardware circuit is that it can only provide a fixed time delay, and the delay time cannot be adjusted without changing the values of the resistor or capacitor. Additionally, the capacitor can only hold a limited amount of charge, so it may not be suitable for high-power applications.</p>

1. What is a simple RC hardware circuit?

A simple RC hardware circuit is a basic electronic circuit that consists of a resistor (R) and a capacitor (C) connected in series or parallel. It is used to control the flow of electric current and store electrical energy.

2. How does a simple RC hardware circuit work?

The resistor in the circuit limits the flow of electric current, while the capacitor stores electrical energy. When a voltage is applied to the circuit, the capacitor charges up until it reaches its maximum capacity, which depends on the value of the resistor and capacitor. The capacitor then discharges its stored energy, and the cycle repeats.

3. What is the purpose of a simple RC hardware circuit?

Simple RC hardware circuits have several uses, such as filtering out unwanted frequencies in a signal, creating a time delay, and stabilizing a power supply. They are also commonly used in electronic devices for signal processing and amplification.

4. How do I calculate the time constant of a simple RC hardware circuit?

The time constant (τ) of a simple RC hardware circuit is calculated by multiplying the resistance (R) in ohms by the capacitance (C) in farads. It is represented by the equation τ = RC. The time constant determines how quickly the capacitor charges and discharges in the circuit.

5. What are the limitations of a simple RC hardware circuit?

One limitation of a simple RC hardware circuit is that it can only provide a fixed time delay, and the delay time cannot be adjusted without changing the values of the resistor or capacitor. Additionally, the capacitor can only hold a limited amount of charge, so it may not be suitable for high-power applications.

Similar threads

  • Electrical Engineering
Replies
27
Views
1K
Replies
2
Views
1K
  • Electrical Engineering
2
Replies
41
Views
3K
Replies
5
Views
760
  • Electrical Engineering
2
Replies
39
Views
2K
Replies
2
Views
1K
  • Electrical Engineering
Replies
6
Views
6K
  • Electrical Engineering
Replies
28
Views
3K
  • Electrical Engineering
Replies
26
Views
2K
  • Electrical Engineering
Replies
3
Views
649
Back
Top