Silicon ChipTechno Talk - March 2025 SILICON CHIP
  1. Contents
  2. Publisher's Letter: Microsoft’s constantly moving target
  3. Feature: Net Work by Alan Winstanley
  4. Project: The Pico Gamer by Geoff Graham
  5. Subscriptions
  6. Feature: Audio Out by Jake Rothman
  7. Feature: Precision Electronics, part three by Andrew Levido
  8. Feature: Max’s Cool Beans by Max the Magnificent
  9. Project: Compact Frequency Divider by Nicholas Vinen
  10. Feature: Techno Talk by Max the Magnificent
  11. Feature: Circuit Surgery by Ian Bell
  12. Feature: The Fox Report by Barry Fox
  13. Feature: The History of Electronics, part three by Dr David Maddison
  14. Project: Mains Power-Up Sequencer, part two by John Clarke
  15. Back Issues
  16. Feature: Harold S. Black, Negative Feedback & the Op Amp by Roderick Wall & Nicholas Vinen
  17. PartShop
  18. Market Centre
  19. Advertising Index
  20. Back Issues

This is only a preview of the March 2025 issue of Practical Electronics.

You can view 0 of the 80 pages in the full issue.

Articles in this series:
  • Win a Microchip Explorer 8 Development Kit (April 2024)
  • Net Work (May 2024)
  • Net Work (June 2024)
  • Net Work (July 2024)
  • Net Work (August 2024)
  • Net Work (September 2024)
  • Net Work (October 2024)
  • Net Work (November 2024)
  • Net Work (December 2024)
  • Net Work (January 2025)
  • Net Work (February 2025)
  • Net Work (March 2025)
  • Net Work (April 2025)
Articles in this series:
  • Audio Out (January 2024)
  • Audio Out (February 2024)
  • AUDIO OUT (April 2024)
  • Audio Out (May 2024)
  • Audio Out (June 2024)
  • Audio Out (July 2024)
  • Audio Out (August 2024)
  • Audio Out (September 2024)
  • Audio Out (October 2024)
  • Audio Out (March 2025)
  • Audio Out (April 2025)
  • Audio Out (May 2025)
  • Audio Out (June 2025)
Articles in this series:
  • Precision Electronics, Part 1 (November 2024)
  • Precision Electronics, Part 2 (December 2024)
  • Precision Electronics, part one (January 2025)
  • Precision Electronics, Part 3 (January 2025)
  • Precision Electronics, part two (February 2025)
  • Precision Electronics, Part 4 (February 2025)
  • Precision Electronics, Part 5 (March 2025)
  • Precision Electronics, part three (March 2025)
  • Precision Electronics, part four (April 2025)
  • Precision Electronics, Part 6 (April 2025)
  • Precision Electronics, Part 7: ADCs (May 2025)
  • Precision Electronics, part five (May 2025)
  • Precision Electronics, part six (June 2025)
Articles in this series:
  • Max’s Cool Beans (January 2025)
  • Max’s Cool Beans (February 2025)
  • Max’s Cool Beans (March 2025)
  • Max’s Cool Beans (April 2025)
  • Max’s Cool Beans (May 2025)
  • Max’s Cool Beans (June 2025)
Articles in this series:
  • (November 2020)
  • Techno Talk (December 2020)
  • Techno Talk (January 2021)
  • Techno Talk (February 2021)
  • Techno Talk (March 2021)
  • Techno Talk (April 2021)
  • Techno Talk (May 2021)
  • Techno Talk (June 2021)
  • Techno Talk (July 2021)
  • Techno Talk (August 2021)
  • Techno Talk (September 2021)
  • Techno Talk (October 2021)
  • Techno Talk (November 2021)
  • Techno Talk (December 2021)
  • Communing with nature (January 2022)
  • Should we be worried? (February 2022)
  • How resilient is your lifeline? (March 2022)
  • Go eco, get ethical! (April 2022)
  • From nano to bio (May 2022)
  • Positivity follows the gloom (June 2022)
  • Mixed menu (July 2022)
  • Time for a total rethink? (August 2022)
  • What’s in a name? (September 2022)
  • Forget leaves on the line! (October 2022)
  • Giant Boost for Batteries (December 2022)
  • Raudive Voices Revisited (January 2023)
  • A thousand words (February 2023)
  • It’s handover time (March 2023)
  • AI, Robots, Horticulture and Agriculture (April 2023)
  • Prophecy can be perplexing (May 2023)
  • Technology comes in different shapes and sizes (June 2023)
  • AI and robots – what could possibly go wrong? (July 2023)
  • How long until we’re all out of work? (August 2023)
  • We both have truths, are mine the same as yours? (September 2023)
  • Holy Spheres, Batman! (October 2023)
  • Where’s my pneumatic car? (November 2023)
  • Good grief! (December 2023)
  • Cheeky chiplets (January 2024)
  • Cheeky chiplets (February 2024)
  • The Wibbly-Wobbly World of Quantum (March 2024)
  • Techno Talk - Wait! What? Really? (April 2024)
  • Techno Talk - One step closer to a dystopian abyss? (May 2024)
  • Techno Talk - Program that! (June 2024)
  • Techno Talk (July 2024)
  • Techno Talk - That makes so much sense! (August 2024)
  • Techno Talk - I don’t want to be a Norbert... (September 2024)
  • Techno Talk - Sticking the landing (October 2024)
  • Techno Talk (November 2024)
  • Techno Talk (December 2024)
  • Techno Talk (January 2025)
  • Techno Talk (February 2025)
  • Techno Talk (March 2025)
  • Techno Talk (April 2025)
  • Techno Talk (May 2025)
  • Techno Talk (June 2025)
Articles in this series:
  • Circuit Surgery (April 2024)
  • STEWART OF READING (April 2024)
  • Circuit Surgery (May 2024)
  • Circuit Surgery (June 2024)
  • Circuit Surgery (July 2024)
  • Circuit Surgery (August 2024)
  • Circuit Surgery (September 2024)
  • Circuit Surgery (October 2024)
  • Circuit Surgery (November 2024)
  • Circuit Surgery (December 2024)
  • Circuit Surgery (January 2025)
  • Circuit Surgery (February 2025)
  • Circuit Surgery (March 2025)
  • Circuit Surgery (April 2025)
  • Circuit Surgery (May 2025)
  • Circuit Surgery (June 2025)
Articles in this series:
  • The Fox Report (July 2024)
  • The Fox Report (September 2024)
  • The Fox Report (October 2024)
  • The Fox Report (November 2024)
  • The Fox Report (December 2024)
  • The Fox Report (January 2025)
  • The Fox Report (February 2025)
  • The Fox Report (March 2025)
  • The Fox Report (April 2025)
  • The Fox Report (May 2025)
Articles in this series:
  • The History of Electronics, Pt1 (October 2023)
  • The History of Electronics, Pt2 (November 2023)
  • The History of Electronics, Pt3 (December 2023)
  • The History of Electronics, part one (January 2025)
  • The History of Electronics, part two (February 2025)
  • The History of Electronics, part three (March 2025)
  • The History of Electronics, part four (April 2025)
  • The History of Electronics, part five (May 2025)
  • The History of Electronics, part six (June 2025)
Items relevant to "Mains Power-Up Sequencer, part two":
  • Mains Power-Up Sequencer PCB [10108231] (AUD $15.00)
  • Firmware (ASM and HEX) files for the Mains Power-Up Sequencer (Software, Free)
  • Mains Power-Up Sequencer PCB pattern (PDF download) [10108231] (Free)
  • Panel labels and cutting diagrams for the Mains Power-Up Sequencer (Panel Artwork, Free)
Articles in this series:
  • Mains Power-Up Sequencer, Pt1 (February 2024)
  • Mains Power-Up Sequencer, Pt2 (March 2024)
  • New use for Mains Sequencer (July 2024)
  • Mains Power-Up Sequencer, part one (February 2025)
  • Mains Power-Up Sequencer, part two (March 2025)
Circuit Surgery Regular clinic by Ian Bell Topics in digital signal processing – windowed sinc filters W e are looking at various topics related to digital signal processing (DSP). DSP covers a wide range of electronics applications where signals are manipulated, analysed, generated, stored or displayed as digital data but originate from and/or are converted to real-world signals for interaction with humans or other parts of the physical world. Fig.1 shows the key elements of a generic DSP system with a signal path from an analog input via digital processing to an analog output. This does not necessarily represent every DSP system (not all have all the parts shown), but it serves as a reference for the various subsystems we will consider. Last month, we started looking at the windowed sinc filter, which is a widely used type of digital filter. We discussed the “sinc” aspect of the filter’s name, which refers to the fact that its impulse response takes the form of the mathematical sinc function. The impulse response is the output obtained from a system when the input is an impulse. For a sampled data system, this is a single input sample of value 1 at time zero, with an input of zero at all other times. For a Finite Impulse Response (FIR) filter (Fig.2), the coefficients (the ai values in Fig.2) are equal to the impulse response of the filter. So, if we know the impulse response of the desired filter, we have the coefficient values required to implement it. As discussed last month, we can obtain the impulse response of a filter by performing an inverse Fourier Transform on the required filter frequency response. The result for an ideal low-pass filter (a ‘brick wall’ filter) is that the impulse response is a sinc function, hence the Analog In Antialiasing filter Sample and hold importance of the sinc function in filter implementation. We showed how to use a spreadsheet to calculate an example set of low-pass filter coefficients, normalising the DC gain to one. Filter & simulation improvements The sinc function has non-zero values over an infinite range, so a perfect filter would require an infinite number of coefficients. That is obviously not practical, so last month we simply used the relevant sinc function values up to a specific number of coefficients. Truncating the coefficients like this does not necessarily produce the best results, which is where the “windowing” part of the filter name comes in. Before getting into that, though, we will continue our discussion on using LTspice to simulate these filters. In previous articles, we used LTspice to implement digital filter maths for obtaining frequency response plots or transient simulations of just the filter, or the filter together with other subsystems such as sampling and reconstruction filters (see Fig.1). Our approach uses LTspice behavioural voltage sources to implement the delay, multiply and add operations shown in the filter structure of Fig.2. Last month, we showed an FIR filter example with 25 coefficients, which required drawing 24 behavioural sources on the schematic to implement the delays. As a reminder, part of the schematic from last month is shown in Fig.3. This includes just five of the 24 delay sources, and the input signal source is also not shown. We may need to investigate filters with many more coefficients, or circuits with multiple filters, but in doing so, it becomes increasing cumbersome to draw Digital ADC Digital processing Analog DAC Fig.1: a generic digital signal processing (DSP) system structure. 46 Reconstruction filter the schematic. We need a better way to create large filters. SPICE netlists Although we usually draw schematics when using LTspice, the simulator actually uses a text description of the circuit, called a netlist, which is generated from the schematic drawing. SPICE simulators go back to the 1970s, before the days of high-resolution graphical user interfaces, so text has always been the format for circuit input. The libraries of component models provided with LTspice or via downloads are also primarily text-based netlists or model statements. You can view the netlist of a schematic from the main menu using View → SPICE Netlist. For the circuit from last month, the netlist will be similar to that shown in Fig.4, although the lines may be in a different order. Fig.4 only shows the first and last three behavioural sources used to implement the delays. Still, it should be clear that the regular structure of the circuit leads to a repetitive form for the code relating to these sources in the netlist. This means it is reasonably easy to create the netlist of a larger filter without a0 x(n) × Σ y(n) a1 Δt x(n–1) × a1x(n–1) Σ a2 Δt x(n–2) × a2x(n–2) Σ aN–1 Δt Out a0x(n) Memory x(n–N–1) × aNx(n–N–1) Processing Fig.2: the structure of a finite impulse response (FIR) filter. Practical Electronics | March | 2025