> For the complete documentation index, see [llms.txt](https://doc.eimtechnology.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.eimtechnology.com/kc-series-experiment-based-learning/kc31-engineering-signals-and-analog-filters.md).

# KC31 - Engineering Signals and Analog Filters

### Tools used in this book

Though we are starting from fundamental principles and emphasizing manual calculation, it is also beneficial to use tools that can help streamline the design process, and these tools offer powerful, free, and fast solutions.

<table data-card-size="large" data-view="cards" data-full-width="false"><thead><tr><th></th><th></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td><a href="https://www.analog.com/en/resources/design-tools-and-calculators/ltspice-simulator.html">LT SPICE</a></td><td>A powerful, fast, and free SPICE software to simulate analog circuits</td><td><a href="https://2117864350-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHy5TN04jkEM9s96yIKLT%2Fuploads%2Fwag7T3lzI1dzAMA1zQM0%2FLTSPICE.PNG?alt=media&amp;token=2c72170c-eee0-4378-9f98-13196daab4b5">LTSPICE.PNG</a></td></tr><tr><td><a href="https://www.wolframalpha.com/">WolframAlpha</a></td><td>An online based knowledge engine for fast math &#x26; science related computations</td><td><a href="https://2117864350-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHy5TN04jkEM9s96yIKLT%2Fuploads%2FFxWz1IBKWIludlVqzWOO%2Fwolfram.PNG?alt=media&amp;token=b5225e82-1ff3-4c83-acea-382da23b7fd3">wolfram.PNG</a></td></tr><tr><td><a href="https://tools.analog.com/en/filterwizard/">Analog Filter Wizard</a></td><td>An online based design tool for active filters by Analog Devices</td><td><a href="https://2117864350-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHy5TN04jkEM9s96yIKLT%2Fuploads%2FuH474FWxXJF4VapsbRxp%2Fanalog.PNG?alt=media&amp;token=95b6c930-4c92-4c28-b5bf-6f4485d983f9">analog.PNG</a></td></tr><tr><td><a href="https://markimicrowave.com/technical-resources/tools/lc-filter-design-tool/">Marki Microwave</a></td><td>An online based design tool for passive filters by Marki Microwave</td><td><a href="https://2117864350-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHy5TN04jkEM9s96yIKLT%2Fuploads%2FnBRWv1yVP3XTxYKZEjGD%2Fmarki.PNG?alt=media&amp;token=d6a6f496-18d9-461d-9bc4-3a82970cdee5">marki.PNG</a></td></tr></tbody></table>

### Some Filters Introduced in the Book

The book introduces several types of filters and explains the concept of transfer functions and their derivation. This process involves analyzing circuit components and applying mathematical techniques like Laplace or Fourier transforms. Understanding transfer functions helps readers gain insight into a filter’s frequency response, which is key to designing and optimizing filters in practical applications.

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td></td><td><a href="https://2117864350-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHy5TN04jkEM9s96yIKLT%2Fuploads%2FnRGqS4HdPBYk8Z5VaZdi%2F1.png?alt=media&amp;token=5d7a1f66-7eeb-4ad5-9617-2dd3310ac570">1.png</a></td></tr><tr><td></td><td><a href="https://2117864350-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHy5TN04jkEM9s96yIKLT%2Fuploads%2FKf7VtNhgcgajS2jOUpln%2F2.png?alt=media&amp;token=08241517-70f8-465c-ab05-5eb56d33c6b9">2.png</a></td></tr><tr><td></td><td><a href="https://2117864350-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHy5TN04jkEM9s96yIKLT%2Fuploads%2FnJYHczL513JdjSaYYsvs%2F3.png?alt=media&amp;token=fcfe19ac-b604-4056-ba83-5928505bb80b">3.png</a></td></tr><tr><td></td><td><a href="https://2117864350-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHy5TN04jkEM9s96yIKLT%2Fuploads%2FY0NGHD55LxRxlY5a43Q7%2F4.png?alt=media&amp;token=088c1e8f-f748-4cd8-aaf8-a7985065835a">4.png</a></td></tr><tr><td></td><td><a href="https://2117864350-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHy5TN04jkEM9s96yIKLT%2Fuploads%2FH2IxkJxiQOAZSNKsuoJl%2F5.png?alt=media&amp;token=2eac5f34-38b9-4c4b-904b-3c873e6c1873">5.png</a></td></tr><tr><td></td><td><a href="https://2117864350-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHy5TN04jkEM9s96yIKLT%2Fuploads%2F4NckEAjPrBiB11m8Vpi5%2F6.png?alt=media&amp;token=3ad4d6d0-3205-46e5-be2e-c6a7b9531d97">6.png</a></td></tr><tr><td></td><td><a href="https://2117864350-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHy5TN04jkEM9s96yIKLT%2Fuploads%2Fv1Fo8CQg0D5QiSoAFJgD%2F7.png?alt=media&amp;token=573c557c-10b9-42b1-b63b-31ba39441fad">7.png</a></td></tr><tr><td></td><td><a href="https://2117864350-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHy5TN04jkEM9s96yIKLT%2Fuploads%2FA7p0aYbtPijs2xQSHrnm%2F8.png?alt=media&amp;token=48d1be82-da40-468b-bd1e-664c0d4987d7">8.png</a></td></tr><tr><td></td><td><a href="https://2117864350-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHy5TN04jkEM9s96yIKLT%2Fuploads%2FDDj5GfwdCZvb8DERYym4%2F9.png?alt=media&amp;token=437b2c5e-b43f-4702-86a9-f8e09c279d4d">9.png</a></td></tr><tr><td></td><td><a href="https://2117864350-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHy5TN04jkEM9s96yIKLT%2Fuploads%2FDug9MxT6JWPAv3gsCiY7%2F10.png?alt=media&amp;token=6303a7e0-1038-404e-a737-2c25c9eba175">10.png</a></td></tr><tr><td></td><td><a href="https://2117864350-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHy5TN04jkEM9s96yIKLT%2Fuploads%2FNq9lw7kqN7yQ5HYKEyI6%2F11.png?alt=media&amp;token=920f07ce-01ed-4aa1-89c8-ea3c5f1d04a5">11.png</a></td></tr><tr><td></td><td><a href="https://2117864350-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHy5TN04jkEM9s96yIKLT%2Fuploads%2FgZqxoE9vLgH9d8LiHsPH%2F12.png?alt=media&amp;token=5fc2f46e-531b-47b8-9f4b-2fd3fc1b000e">12.png</a></td></tr><tr><td></td><td><a href="https://2117864350-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHy5TN04jkEM9s96yIKLT%2Fuploads%2FyMNEY9SG1wRp5BDdlj1M%2F13.png?alt=media&amp;token=709296c4-23f9-4bde-8f94-16e317846a44">13.png</a></td></tr><tr><td></td><td><a href="https://2117864350-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHy5TN04jkEM9s96yIKLT%2Fuploads%2F7QilUNnXJPRDHmbq9RBZ%2F14.png?alt=media&amp;token=c290851d-66e7-4b47-b401-36b8c8d1cba4">14.png</a></td></tr><tr><td></td><td><a href="https://2117864350-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHy5TN04jkEM9s96yIKLT%2Fuploads%2FJPWlogGRMr7piJHrHl5E%2F15.png?alt=media&amp;token=268355f3-e842-4af9-aad4-05216883f317">15.png</a></td></tr><tr><td></td><td><a href="https://2117864350-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHy5TN04jkEM9s96yIKLT%2Fuploads%2FMVTVZT2tij72LaBWiHDE%2F16.png?alt=media&amp;token=5e19c249-426c-4e3e-8b50-75869ebaf56a">16.png</a></td></tr></tbody></table>

### SPICE Simulations

Contains the LT SPICE simulation files used in the book (from Chapter 3 to Chapter 5)

{% file src="/files/2ZMjMuN8KwK8wk65H5lR" %}

Feel free to download and use them directly to save you some time. While I do encourage you to create these files by yourself if you are new to this powerful simulation tool.

### Audio File Used in Section 6.2

This audio file is used in Section 6.2 of the book as the soundtrack sample to be fed into the filter. You may also use any music of your choice, as long as it is in .WAV format. The recommended length is within 30 seconds, as longer files may cause LT SPICE to take more time for processing.

{% file src="/files/xGt3KtLEGMnkxxFiS0uV" %}

### Schematics for the ECG Circuit in Section 6.3

For educational purposes, the schematics of the four PCB modules that make up the complete ECG circuitry are provided below. Note that certain sections of the circuit, such as the input protection circuit, are not shown here but are part of the overall design. The focus is on the core components.

{% tabs %}
{% tab title="Stage1" %}

#### Instrumentation Amplifier

This instrumentation amplifier with a gain of apprximately 100 is used to amplifier the differential signal between the two electrodes placed across the heart of the patient; IN+ and IN- are attached to the measurment probes and the third probe (common) is connected to the ground

<figure><img src="https://2117864350-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHy5TN04jkEM9s96yIKLT%2Fuploads%2FiCBlxer26rWAukwfkalv%2FFigure%206.3.8.png?alt=media&amp;token=1ba20137-2941-445b-84dd-ad7811abeca2" alt="Instrumentation amplifier"><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Stage2" %}

#### High Pass Filter

This high pass filter is used to suppress the low frequency noise due to DC drifting, breathing and muscle contractions of the patient, while providing an additional gain of \~10 to boost the differential signal. The signal measured at the output is expected to be more "zero centered"

<figure><img src="https://2117864350-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHy5TN04jkEM9s96yIKLT%2Fuploads%2FrmoQg0nrKkjYqBm3oesR%2FFigure%206.3.9.png?alt=media&amp;token=3ad35d67-83d8-4302-ade5-33e14cee82b2" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Stage3" %}

#### Notch Filter

The notch filter implemented using Multiple Feedback topology removes the 50/60Hz power line noise coupled from surrounding enviroment when the patent's body serves as a big capacitance that captures the power line hum into the circuit

<figure><img src="https://2117864350-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHy5TN04jkEM9s96yIKLT%2Fuploads%2FbaykgtLl1EI7XLzxt4wo%2FFigure%206.3.11.png?alt=media&amp;token=be1be284-657a-41f0-9acf-8846902f7cc1" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Stage4" %}

#### Low Pass Filter

The 3rd order Butterworth low pass filter cleans out higher frequency noises (usually above 150Hz) from the harmonics, EMI and noise on the ground,  while maintaining the lower band frequency maximally flat. The output is low impedance output which can be directly connected to next stage circuit for measurement and processing.

<figure><img src="https://2117864350-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHy5TN04jkEM9s96yIKLT%2Fuploads%2F6JdWOhHs7cI2kMar1zag%2FFigure%206.3.13.png?alt=media&amp;token=a6372aaf-3c15-422b-a409-950c5f683d92" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}
