• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Electrical Engineering News and Products

Electronics Engineering Resources, Articles, Forums, Tear Down Videos and Technical Electronics How-To's

  • Products / Components
    • Analog ICs
    • Connectors
    • Microcontrollers
    • Power Electronics
    • Sensors
    • Test and Measurement
    • Wire / Cable
  • Applications
    • Automotive/Transportation
    • Industrial
    • IoT
    • Medical
    • Telecommunications
    • Wearables
    • Wireless
  • Resources
    • DesignFast
    • Digital Issues
    • Engineering Week
    • Oscilloscope Product Finder
    • Podcasts
    • Webinars / Digital Events
    • White Papers
    • Women in Engineering
  • Videos
    • Teschler’s Teardown Videos
    • EE Videos and Interviews
  • Learning Center
    • EE Classrooms
    • Design Guides
      • WiFi & the IOT Design Guide
      • Microcontrollers Design Guide
      • State of the Art Inductors Design Guide
    • FAQs
    • Ebooks / Tech Tips
  • EE Forums
    • EDABoard.com
    • Electro-Tech-Online.com
  • 5G

How much math do you need to know to design electronics?

January 25, 2016 By Chris Francis

Education for electronics design tends to have a fair amount of math in it but how much is really required nowadays in order to design electronics? You certainly need some, but a high percentage of what you learn at college or university is likely to be unused once you leave, although this does depend on your career choice after university. That does not mean it was wasted time learning math in the first place, but what skills do you need to retain or which do you really need if you are self learning electronics?

With software such as Mathcad to help solve equations; SPICE to simulate designs; software which can design digital and active filters as well as passive RF filters; it would seem that you almost don’t need to calculate anything provided you can understand and use the software effectively. There will always be a need for someone to be able to work out the most complex problems otherwise there will be no one to write the software necessary to save us having to do the calculations.

You don’t need to know about Laplace transforms or Z-transforms in order to use commercial software to help your design, in the same way that it isn’t essential to know the inner workings of the BSIM4 SPICE MOSFET model in order to use SPICE simulation software. However, it is useful to be able to do some calculations and manipulate some equations yourself. For example, an amplifier using a basic opamp has the gain set by the ratio of two resistors so being able to work out what they should be by hand is preferable to iterating with a simulator. So, an understanding of simple equations and basic algebra for manipulating and rearranging equations is useful. An understanding of basic algebra and the ability to solve simultaneous linear equations is essential to be able to use Kirchoff’s and Ohms law which are some of the basic building blocks of simple electronics. Norton’s theorem and Thevenin’s theorem are two more basic theorems requiring a knowledge of algebraic methods.

Calculus is also pretty useful. While you might think you can get away without it, some simple equations are simply derivations of others with a bit of differentiation or integration thrown in. For example, the charge in a capacitor is Q=CV where Q is the charge, C is the capacitance and V is the voltage. If you differentiate it with respect to time you get

dQ/dt = C dV/dt.

As rate of change of charge is actually current, i = C dV/dt or more usefully, dV/dt = i/C which tells you the rate of change in the voltage of a capacitor from a charging (or discharging) current. While you could always try to look everything up in a book, it is quicker if you can remember a few equations and derive the rest yourself (or remember them all).

Solving simultaneous linear equations is fairly essential in my experience. Take a common problem I have often seen people asking – shifting the range and level of an analog signal to suit an analog to digital converter (ADC). It might also involve inverting the signal as well. The question is something like “… I have a 0 – 5V signal and need to to drive my ADC which needs 1.25V +/-0.5V, so 0.75V to 1.75V range. How do I do it? …”. It is easy to see that the 5V signal range is now 1V so the signal needs reducing but the level shift seems to be tricky to some people and needs some basic math to solve.

design-electronics-math-1

The direction of the signal may also need reversing so 5V input becomes 0.75V and 0V input becomes 1.75V. A generalized differential opamp circuit is one solution to the problem, but how do you choose the component values? Which voltage will be the input and which voltage will be fixed?

If you need signal inversion, V1 will be your input. If you don’t need inversion then V2 or V4 will be the input voltage. V2 and V4 are interchangeable because they both feed the same node and only differ due to the different values for R3 and R4. While you could find the required values by trial and error (or intuition), you could also solve it mathematically. You will need to pick some value for two of the resistors, say R4 & R2 and then choose which of V2 or V4 to use for the signal if you don’t require signal inversion. Then you analyze the two extreme cases – Vin = 0V, Vout = 0.75V and Vin = 5V, Vout = 1.75V. A combination of Kirchoff’s law and Ohms law will be required to analyze the opamp circuit. V2, V4, R3 and R4 will give you the voltage on the non-inverting opamp input. Similarly, Vout, R1, R2 and V1 will give you the voltage on the inverting opamp input. The inverting and non-inverting inputs will have nominally the same voltage. So, you have two simultaneous linear equations but 4 unknowns. With the two extreme values, you will have two more equations so 4 equations and 4 unknowns (remember we fixed R4 & R2). So, it is solvable with some basic math.

If you don’t like the values for R3 or R1 you end up with (too high or low) then the values can be scaled afterwards. One solution would be:

design-electronics-math-2

V2 is the input voltage, V4 is the fixed offset voltage and V1 is zero meaning R1 can simply be connected to 0V. In order to avoid having a 0.75V reference voltage you could use two resistors for R4 – one connected to +5V and the other to 0V. This is where a bit of knowledge of Thevenin’s theorem is useful. In this case you would be applying it backwards. Thevenin’s theorem represents any linear network of voltages, currents and resistors with a single voltage source with a single series resistor. We have the single voltage source and resistor and want to replace it with something with two resistors and a voltage source but that behaves the same. You will end up with simultaneous equations to solve again because you need the open circuit voltage to be 0.75V but you need the impedance to be 10k. So, a bit of basic math should bring you to the following solution:

design-electronics-math-3

Simulation will help to prove you have the values correct before you build it. While intuition may get you the 0.75V/10k ohm solution, turning that into a combination of two resistors from the 5V supply is easier by a calculation that guesswork.

The post How much math do you need to know to design electronics? appeared first on Analog IC Tips.

DesignFast Banner version: 641873d7

Filed Under: Analog IC Tips, FAQ, Featured, Industry Experts Tagged With: basics, FAQ

Primary Sidebar

EE Training Center Classrooms

“ee

“ee

“ee

“ee

“ee

“ee

Featured Resources

  • EE World Online Learning Center
  • CUI Devices – CUI Insights Blog
  • EE Classroom: Power Delivery
  • EE Classroom: Building Automation
  • EE Classroom: Aerospace & Defense
  • EE Classroom: Grid Infrastructure
Search Millions of Parts from Thousands of Suppliers.

Search Now!
design fast globle

R&D World Podcasts

R&D 100 Episode 7
See More >

Current Digital Issue

February 2022 Special Edition: Power Electronics Handbook

Up in the sky! It’s a bird! It’s a plane! It’s a flying battery! According to a company called Joby Aviation, in a few years you’ll be able to summon up an air taxi on your Uber phone app for trips of 25 miles or so. And you won’t have to feel guilty about the…

Digital Edition Back Issues

Sponsored Content

Positioning in 5G NR – A look at the technology and related test aspects

Radar, NFC, UV Sensors, and Weather Kits are Some of the New RAKwireless Products for IoT

5G Connectors: Enabling the global 5G vision

Control EMI with I-PEX ZenShield™ Connectors

Speed-up time-to-tapeout with the Aprisa digital place-and-route system and Solido Characterization Suite

Siemens Analogue IC Design Simulation Flow

More Sponsored Content >>

RSS Current EDABoard.com discussions

  • I am Alec, a new member!
  • electrode-skin impedance mismatch
  • how to estimate Senseamp offset voltage to use montecarlo ?
  • Weird transformer result in ads
  • could calibre lvs do not check mosfet B term

RSS Current Electro-Tech-Online.com Discussions

  • Relaxation oscillator with neon or...
  • High component count for long delay circuit (inrush resistor switch out)
  • DIY Mini 12v Router UPS malfunction
  • MOSFET gets hot and burns
  • Positive and negative sides of voltage source

Oscilloscopes Product Finder

Footer

EE World Online

EE WORLD ONLINE NETWORK

  • 5G Technology World
  • Analog IC Tips
  • Battery Power Tips
  • Connector Tips
  • DesignFast
  • EDABoard Forums
  • Electro-Tech-Online Forums
  • Engineer's Garage
  • Microcontroller Tips
  • Power Electronic Tips
  • Sensor Tips
  • Test and Measurement Tips
  • Wire & Cable Tips

EE WORLD ONLINE

  • Subscribe to our newsletter
  • Lee's teardown videos
  • Advertise with us
  • Contact us
  • About Us
Follow us on TwitterAdd us on FacebookConnect with us on LinkedIn Follow us on YouTube Add us on Instagram

Copyright © 2022 · WTWH Media LLC and its licensors. All rights reserved.
The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media.

Privacy Policy