Skip to the content
2 layers60 × 69 mmPLL USL signalgenerator, the printed circuit board in 3D

PLL USL signalgenerator

leacog/PLL-ultrasonic-driver36

KiCad project files and arduino code for an in-expensive and simple phase-locked-loop driver for piezo-electric ultrasonic transducers.

Size
60 × 69 mm
Copper layers
2
Thickness
1.6 mm
Parts
35
Nets
55
Pads
162
Tracks, vias
487, 16
Pours
34
Routed
Yes
KiCad
KiCad 4
Created
4 Feb 2018
Updated
9 Feb 2018

Overview

PLL USL signalgenerator is an open-source printed circuit board by leacog, from the leacog/PLL-ultrasonic-driver repository on GitHub. It is a 2-layer board of 60 × 69 mm with 35 parts on 55 nets, routed with 487 tracks and 16 vias.

It is built around the TLV3542ID, 74HC00D and SJ-43514-SMT-TR. Its parts include 9 resistors, 7 capacitors, 5 ICs, 5 connectors and 2 diodes. It belongs with the AVR (ATmega, ATtiny) boards of this library.

Main components

3

README

README.md

PLL-ultrasonic-driver

KiCad project files and arduino code for an in-expensive and simple phase-locked-loop driver for piezo-electric ultrasonic transducers.

Principle of operation

The driver exploits the fact that, at resonance, current and voltage is in phase for a piezoelectric transducer. By locking the driving signal to the current feedback signal, i.e. adjust the driving frequency until it is in-phase with the current, resonance of the transducer can be found.

The driver is based around the CD4046 Phase Locked Loop (PLL) IC (Texas instruments has a good application report: http://www.ti.com/lit/an/scha002a/scha002a.pdf) and an arduino nano. The driver features two modes of operation:

Finished board next to 25kHz transducer

Automatic resonance tracing (PLL mode)

A current sensing resistor provides a reference signal which is compared to the driving signal at the phase demodulator of the CD4046. Before being fed into the phase-demodulator however, the current signal is put through a comparator which turns the analog signal into a digital signal (positive cycle of the AC-waveform becomes high while the negative cycle becomes 0V). This retains phase information and gives better lock performace than the unaltered current-signal. The phase demodulator output is low-pass filtered and feed as the input to the voltage controlled oscillator(VCO), the output of which is the driving signal.

Digital control (Arduino mode)

In digital mode, instead of feeding the output of the phase-demodulator into the VCO, a low-pass filtered PWM signal from the arduino is feed as an input. The dutycycle determines the voltage at the VCO input and thus the driving frequency. Since the driver can be interfaced via a serial-connection to a PC, this can be programmed to do perform any arbitrary function. One use-case is to do impedance-analysis of the transducer.

This is possible because the arduino monitors the current. The current signal, around 100mV from the current sensing resistor, is amplified by a non-inverting op-amp and sent through a simple peak detection circuit. This voltage is read by the arduino, which can use it to emulate the PLL or send to the PC over serial.

Selecting frequency

There are two main parameters of concern with regards to tuning the driver for the right frequncy. The center frequency and the frequency lock range. The latter is the bandwidht of the driver i.e. the difference between the lowest and the highest frequency it can output. A large bandwidth provides a large operating range for the transducers, however there's a tradeoff between large bandwidth and the abillity of the driver to aquire lock and the size of the phase error at lock (the undesired difference in phase). The center frequency is the frequncy halfwaybetween the maximum and the minumum operating frequncy. In the case of a standard 60W 25KHz transducer a suitiable center frequency is 25 KHz with a lock range of 1 KHz (i.e. the signal can vary between 24.5 to 25.5 KHz).

These parameters are tuned through a frequncy selector network. A switch selects the center frequency, either of 40 or 25 KHz (programmable by resistors), which can be fine-tuned with a variable resistor. The lock range is set by another variable resistor.

Parts

35
QtyValueFootprintReferences
4100nFCapacitors_SMD:C_0805C1-4046Decoupling1, C1-NAND-Decoupling1, C1-OpAmpDecoupling1, C1-PeakDetector1
415KResistors_SMD:R_0805R1-FreqSelct25K1, R1-GainOpAmp1, R1-PWM-LPF1, R2-FreqSelct40K1
210nFCapacitors_SMD:C_0805C1-LockDetctLPF1, C1-VCOinLPF1
2120KResistors_SMD:R_0805R1-LockDetctLPF1, R1-VCOinLPF1
11.5nFCapacitors_SMD:C_0805TimingCap1
1100uFCapacitors_SMD:CP_Elec_6.3x5.3ReserveCap1
1126x64-OLED-SPI-4WOLED1.3inch7pinSPIU4
11MSMDresistors:trim_murata_pva2aVR1-FreqSelctRange1
11kResistors_SMD:R_0805R1-OffsetInput1
11uFCapacitors_SMD:C_0805C1-PWM-LPF1
1220KResistors_SMD:R_0805Rf-GainOpAmp1
125K/40KPLL-USL:SW_SPDT_CK-JS102011SAQN25K/40K-FreqSelct1
1330kResistors_SMD:R_0805R2-OffsetInput1
14046USLTSSOP-16-SMALLPADSU1-PLL1
1470Resistors_SMD:R_0805R1-LockDetectionIndication1
15Ktrim_bi_23bVR2-FreqSelct5K1
174HC00PLL-USL:SO14U3
1Arduino-NanoArduino-Nano-PinheaderU1
1Arduino/PLLPLL-USL:SW_SPDT_CK-JS102011SAQN25K/40K-FreqSelct2
1CONN_01X03Socket_Strips:Socket_Strip_Straight_1x03_Pitch2.54mmP1
1CurrentSigInTerminalBlocks2.54mm:mpt_05-2f2-254J1
1DSOT-23-PinCorrectionD1-PeakDetector1
1GREENLEDs:LED_0805D1-LockDetectionIndication1
1SJ-43514-SMT-TRSJ-43514-SMT_3.5mm_JackJ3
1Screw_Terminal_1x03mpt_05-2f3-254J2
1TLV3542Housings_SOIC:SOIC-8_3.9x4.9mm_Pitch1.27mmU2
1USB_OTGEgengjort:USB_Mini-B_HandsolderingP2

Similar boards

  • 4 layers130 × 25 mmCurrent sense, the printed circuit board in 3D

    Current sense

    westonb/little-bee-B1

    A high performance current & magnetic field probe

    113 parts331CC-BY-SA-4.0
  • 2 layers46.5 × 46.6 mmOdysseyDaughterCardSummer, the printed circuit board in 3D

    OdysseyDaughterCardSummer

    Vibrant-Media-Lab/OdysseyNowDaughterCards

    Replacement daughter card schematics and layouts for the Magnavox Odyssey BLAK version.

    27 parts3
  • 6 layers76 × 101 mmBitaxeproto, the printed circuit board in 3D

    Bitaxeproto

    bitaxeorg/bitaxeproto

    quad Proto MC3 bitaxe

    229 partsCERN-OHL-S-2.0
  • 4 layers45.5 × 18 mmFDA A v1, the printed circuit board in 3D

    FDA A v1

    macaba/TheManhattanToolkit

    Input R - RNCF0603DTE10R0 (10 ohm) Input CM C - CGA3E1C0G2A472J080AC (4.7nF) Input DM C - DNP

    52 parts94MIT
  • 2 layers165.2 × 35.6 mmPt thrifty, the printed circuit board in 3D

    Pt thrifty

    mungewell/pico-timecode

    A budget friendly LTC/TimeCode device built from a RaspberryPi Pico - using the PIO blocks and MicroPython

    84 parts84MIT
  • 2 layers230.5 × 82 mmVitamins included, the printed circuit board in 3D

    Vitamins included

    Duckle29/Vitamins-included

    This repo holds a variation of the lets split. This board requires no soldering

    214 parts49BSD-3-Clause
  • 4 layers53.3 × 68.6 mmHamShield1, the printed circuit board in 3D

    HamShield1

    EnhancedRadioDevices/HamShield1

    HamShield 1.0 Hardware

    381 parts8
  • 2 layers99.9 × 100 mmHL2 Companion, the printed circuit board in 3D

    HL2 Companion

    bnamnaidu/HL2-Companion-board-codec-and-Filter-

    194 parts4

Questions

How big is the PLL USL signalgenerator PCB?

It measures 60 × 69 mm and has 2 copper layers, 1.6 mm thick.

What parts does the PLL USL signalgenerator use?

35 parts, built around the TLV3542ID, 74HC00D and SJ-43514-SMT-TR. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the PLL USL signalgenerator KiCad files?

From the leacog/PLL-ultrasonic-driver repository on GitHub, at the commit this page was made from: the board is pcb/KiCad/PLL-USL-signalgenerator.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the PLL USL signalgenerator design in my own project?

Its repository states no licence, so its author keeps all rights: ask leacog before reusing the design.