Author Topic: Hi, how can i perform calculations to complete this DAC table ?  (Read 2026 times)

0 Members and 1 Guest are viewing this topic.

Offline nyameTopic starter

  • Regular Contributor
  • *
  • Posts: 74
  • Country: cm
Hi, how can i perform calculations to complete this DAC table ?
 

Offline ataradov

  • Super Contributor
  • ***
  • Posts: 11258
  • Country: us
    • Personal site
Re: Hi, how can i perform calculations to complete this DAC table ?
« Reply #1 on: June 01, 2018, 07:50:20 am »
I appears that you want us to do your homework. That's called cheating.
Alex
 

Offline ogden

  • Super Contributor
  • ***
  • Posts: 3731
  • Country: lv
 

Offline bson

  • Supporter
  • ****
  • Posts: 2270
  • Country: us
 

Offline nyameTopic starter

  • Regular Contributor
  • *
  • Posts: 74
  • Country: cm
Re: Hi, how can i perform calculations to complete this DAC table ?
« Reply #4 on: June 02, 2018, 12:07:45 pm »
Hi, thanks for the reply,

but looking at the circuit i got only 4 bits, and i have been ask to complete the table with 8 coulomb, that is were i got some issues so please i need details calculations
 

Offline Rerouter

  • Super Contributor
  • ***
  • Posts: 4694
  • Country: au
  • Question Everything... Except This Statement
Re: Hi, how can i perform calculations to complete this DAC table ?
« Reply #5 on: June 02, 2018, 12:12:39 pm »
I should point out the pattern by the first 3 examples,

Start by calculating what the parrellel resistance of each step is,

1/resistance=1/R1 + 1/R2 +.. etc

If you really dont want to try and calculate it, Fire up something like falstads circuit simulator
« Last Edit: June 02, 2018, 12:15:04 pm by Rerouter »
 

Offline nyameTopic starter

  • Regular Contributor
  • *
  • Posts: 74
  • Country: cm
Re: Hi, how can i perform calculations to complete this DAC table ?
« Reply #6 on: June 02, 2018, 12:22:20 pm »
thanks for the reply, i know how to calculate the bits individually, the issue is i got 4 bits with a table of 8 coulombs how do i achieve results for all the 8 coulombs ?
 

Offline Rerouter

  • Super Contributor
  • ***
  • Posts: 4694
  • Country: au
  • Question Everything... Except This Statement
Re: Hi, how can i perform calculations to complete this DAC table ?
« Reply #7 on: June 02, 2018, 12:26:46 pm »
You have 4 bits, of which your example only uses 3, 23 = 8

When a bit is 1, It closes a switch for the given resistor on the board,

The 8 entries on the "Vout" column are completed by calculating based on the resistors connected,

As for the math, read up on the subject here, https://www.electronics-tutorials.ws/opamp/opamp_4.html
 

Online Mechatrommer

  • Super Contributor
  • ***
  • Posts: 11632
  • Country: my
  • reassessing directives...
Re: Hi, how can i perform calculations to complete this DAC table ?
« Reply #8 on: June 02, 2018, 12:40:40 pm »
the attached zip file contains copyrighted xls file for 16 coulombs data. by downloading it you are agree to pay me $10 through paypal...  ::)
Nature: Evolution and the Illusion of Randomness (Stephen L. Talbott): Its now indisputable that... organisms “expertise” contextualizes its genome, and its nonsense to say that these powers are under the control of the genome being contextualized - Barbara McClintock
 

Offline nyameTopic starter

  • Regular Contributor
  • *
  • Posts: 74
  • Country: cm
Re: Hi, how can i perform calculations to complete this DAC table ?
« Reply #9 on: June 02, 2018, 03:12:46 pm »
Hi, thanks for the Aid.

but the solution you presented will only help someone with a good inside of electronics.
am a beginner so i will appreciate if you can perform the calculation in a more basic manner.

thanks
 

Offline rstofer

  • Super Contributor
  • ***
  • Posts: 9890
  • Country: us
Re: Hi, how can i perform calculations to complete this DAC table ?
« Reply #10 on: June 02, 2018, 05:54:23 pm »
You're not going anywhere if you don't know Ohm's Law and to be truly capable of figuring out what is happening, you need to understand Kirchhoff's Current Law.

In particular, you need to understand that the voltage at the - input is exactly the same as at the + input.  Op amps work to force that to occur.  As a result, the voltage at the - input is exactly zero.

Therefore, every bit of current that comes in through the input resistors flows out through the feedback resistor and there are some interesting mathematical properties that come about because of this.  So, this current (per path) is simply the voltage divided by the resistance.  All of those currents add and cause a drop across the feedback resistor.  Given that you can calculate the drop across the feedback resistor and the - input end is 0V, you can calculate exactly the output voltage of the op amp.

https://www.electronics-tutorials.ws/opamp/opamp_4.html

w2aew's video on summing op amp circuits:


More basic is his earlier video


I don't know what class you are taking but you need to gather up some background information before you will truly understand what is going on with this circuit.

I am not going to write the KCL equations, the videos will help with that.
« Last Edit: June 03, 2018, 07:43:12 pm by rstofer »
 

Offline rstofer

  • Super Contributor
  • ***
  • Posts: 9890
  • Country: us
Re: Hi, how can i perform calculations to complete this DAC table ?
« Reply #11 on: June 02, 2018, 06:10:54 pm »
Hint:  Each resistor's current contribution to the - input terminal will be 9V / <resistor value> because one end of each resistor (the - input) is at ground.  This is true because the + input is at ground and the op amp works properly.

9V / 5k contributes 1.8 mA
9V / 10k contributes 0.9 mA
9V / 20k contributes 0.45 mA
9V / 40k contributes 0.225 mA

Notice I am dealing with currents.  Kirchhoff's Current Law.  The sum of the currents entering and leaving a node (at the - input) are exactly 0.  One other rule:  There is no current actually entering the op amp through either input.  So, all of the resistor current sums up at the - input and leaves through the feedback resistor.  None enters the op amp.

Note also how Ohm's Law is used to get the current through each resistor.

Let's see what happens when all switches are closed and all resistors are delivering current.

I= 1.8 + 0.9 + 0.45 + 0.225 mA or 3.375 mA

Now, the output voltage is simply the current (I) * feedback resistor or 0.003375*450 = 1.5 V and it's negative so -1.5V, the same answer Mechatrommer got.  Two different approaches to the same answer - I like it!

Now take your table, figure out which switches are closed and add up the appropriate currents from above.  Multiply the total current by the 450 ohm resistor, assign a - sign, and you are done.

Watch the videos!  w2aew does a magnificent job of explaining how this stuff works.
« Last Edit: June 03, 2018, 07:42:47 pm by rstofer »
 

Offline rstofer

  • Super Contributor
  • ***
  • Posts: 9890
  • Country: us
Re: Hi, how can i perform calculations to complete this DAC table ?
« Reply #12 on: June 02, 2018, 09:37:15 pm »


A nice animation of op amps
 

Offline Simon

  • Global Moderator
  • *****
  • Posts: 17816
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: Hi, how can i perform calculations to complete this DAC table ?
« Reply #13 on: August 05, 2018, 10:49:03 am »
I am sorry but this is not how you pass tests and get qualifications. OK you may end up passing and getting the qualification but will be shit at your job if you ever get a job. It's not that asking for help is bad. I also am studying and have had a lot of help on this forum. But I post here as a last resort and having done my best. I also don't expect to be just handed a solution but explain what i know so far and where I am stuck and ask for help in understanding not in being handed a solution to copy.
 

Offline nyameTopic starter

  • Regular Contributor
  • *
  • Posts: 74
  • Country: cm
Re: Hi, how can i perform calculations to complete this DAC table ?
« Reply #14 on: August 05, 2018, 11:38:43 am »
Thanks for the reply, the most important aspect is not getting the answer rather understanding the way it was solved including the formula, once I get the solving technics then am ok, so I don't see were the aspect of writing and copying is coming from. Mines are different we can't think the same, however Opion are meant to be expressed, but think before you judge. Once more thanks
 

Offline Simon

  • Global Moderator
  • *****
  • Posts: 17816
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: Hi, how can i perform calculations to complete this DAC table ?
« Reply #15 on: August 05, 2018, 11:50:10 am »
You are asking for solutions to relatively simple problems. What materials are you studying? This problem is simply an opamp summing amplifier with a different gain on each input. Once you know the gain of each input simply add the input voltages multiplied by the gains.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf