Skip to the content
4 layers41 × 34 mmTdc tdt kicad, the printed circuit board in 3D

Tdc tdt kicad

akionu/mameTDT

$\theta=−5.3 × 10^{−2} + 2.92 × 10^{−2} \epsilon−5.5 × 10^{−4} \epsilon^2+ 4.3 × 10^{−6}\epsilon^3$ ただし、土の水分量$\theta [m^3/m^3]$、比誘電率$\epsilon$です。

Size
41 × 34 mm
Copper layers
4
Thickness
1.6 mm
Parts
65
Nets
86
Pads
273
Tracks, vias
477, 94
Pours
9
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
18 Feb 2024
Updated
22 Feb 2024

Overview

Tdc tdt kicad is an open-source printed circuit board by akionu, from the akionu/mameTDT repository on GitHub, published under the Apache-2.0 licence. It is a 4-layer board of 41 × 34 mm with 65 parts on 86 nets, routed with 477 tracks and 94 vias.

It is built around the RP2040, 74LVC1G125 and AP63203WU, with the W25Q16JVUXIQ, 74LVC1G123DC and 1N5817WS among its other parts. Its parts include 27 capacitors, 16 resistors, 9 ICs, 4 diodes and 3 transistors. It belongs with the RP2040 boards of this library.

Main components

9

README

Readme.md

mameTDT

This is EXPERIMENTAL sensor for now.

mameTDTは、TDT(Time Domain Transmissiometry)方式の誘電率センサーです。土の水分量や油の劣化度合いなど、用途に応じていろいろなものを測れます。 rev0

以下フォルダの製造ファイルをJLCPCBなどの基板製造・実装業者に入稿すると、実装済み基板が送られてきます。本体とプローブ(先端)は別ファイルなので、気をつけてください。

本体の製造ファイルはこちら
プローブ(30x70mm)の製造ファイルはこちら

原理

伝送路上の電磁波の伝播速度$v[m/s]$は、$v=c/\sqrt{\epsilon}$(光速$c[m/s]$、比誘電率$\epsilon$)で与えられます。これを変形すると、$\epsilon=(c/v)^2$です。つまり、伝播速度$v$がわかれば比誘電率$\epsilon$がわかります。

また、$速度[m/s]=距離[m]/時間[s]$という関係から、距離が一定で、時間がわかれば、速度がわかります。

以上から、一定の長さの伝送路の片端に適当に電圧(ステップ波、パルス波など)を加えて、もう片端に達するまでの時間を測れば、伝播速度がわかり、そこから比誘電率もわかります。

ここでは、TDC(Time to Digital Converter)という微少時間測定ICを使って伝播時間を測っています。

応用例

  • 土壌水分量センサー

土が水・空気・土そのものの混合物だと考えると、誘電率がわかれば、水分量を知ることができます。 多くの場合、誘電率と水分量の関係は、Toppの式と呼ばれる下式で表されます。

$\theta=−5.3 × 10^{−2} + 2.92 × 10^{−2} \epsilon−5.5 × 10^{−4} \epsilon^2+ 4.3 × 10^{−6}\epsilon^3$
ただし、土の水分量$\theta [m^3/m^3]$、比誘電率$\epsilon$です。

回路

schematic 回路図 pcb
PCBの3Dレンダリング block
ブロック図

  • パルス生成部
    単安定マルチバイブレータICの74LVC1G123で一定幅のパルス波を作り、バッファICで受けます。バッファICの出力をロジックIC(AND回路)の74LVC08APWに入力し、出力を4並列にして、ごく短い立ち上がり時間のパルス波を伝送路に入力します。十分な帯域幅を持ったオシロスコープがないので、確認出来ていませんが、おそらく500psくらいの立ち上がり時間です。

  • タイミング管理部・受信部
    TDC7200というTI製のTDC ICを用いています。これは、測定できる最小時間が12nsですが、マイコンから基準開始信号を入力して、その基準からの時間の差を測って、12nsよりも短い時間を測っています。TIのアプリケーションレポートSNAA288を参考にしました。

  • 電源回路
    Diodes IncのDCDCコンバータを使っています。USBと外部電源が同時に入力された場合、電圧の高い方を優先します。なお、入力電圧範囲は、4.5V~30Vを推奨します。

  • マイコン
    Raspberry Pi財団の作ったマイコンRP2040を使っています。USBでのファームウェア書き込みが容易なことと、PIOというプログラム可能入出力機能が実装上便利だったので、採用しました。

使い方

プログラムの書き込み

  1. ここからファームウェアをダウンロードする。
    (必要があれば、"Getting Started With Raspberry Pi Pico"などを参考に環境構築し、ビルドしてください)
  2. 基板上のボタンを押しながら、USBでコンピュータに接続する。
  3. USBメモリと同じように、RPI-RP2というドライブが認識されるので、ファームウェアをドラッグアンドドロップする。
  4. 完了

インターフェイス

UARTとUSBに対応しています。ケースに入れる際は、UARTのみの対応です。基板上の印字に従って配線し、適当なシリアル変換器や対応デバイスに接続してご利用ください。

コマンド

現状、ASCIIコードの't'が入力された際、生の測定値(最大周波数:50Hz程度)を返します。適宜ノイズ処理を行ってご利用ください。

校正

少なくとも4点程度での校正をおすすめします。現状、生の値とプローブ長から決まる真値からExcel等で多項式補完して校正曲線を求める方法をおすすめします。校正に使いやすい物質とその比誘電率は次の通りです。

物質比誘電率(温度)
空気1
イソプロパノール19.92(25)
エタノール70wt%・水30wt%39.14(20)
エタノール40wt%・水60wt%56.49(20)
水78.55(25)

ToDo

  • 自動校正機能(プログラム)
  • SDI-12への対応(プログラム)

License

Apache-2.0 License

Parts

65
QtyValueFootprintReferences
16100nCapacitor_SMD:C_0402_1005MetricC2, C3, C7, C8, C9, C10, C11, C12, C13, C16, C19, C20, C21, C22, C25, C27
61kResistor_SMD:R_0402_1005MetricR5, R7, R8, R10, R13, R14
41uCapacitor_SMD:C_0402_1005MetricC1, C6, C14, C26
422uCapacitor_SMD:C_0603_1608MetricC17, C18, C23, C24
210kResistor_SMD:R_0402_1005MetricR6, R9
21N5817WSDiode_SMD:D_SOD-323D1, D3
220pCapacitor_SMD:C_0402_1005MetricC4, C5
227Resistor_SMD:R_0603_1608MetricR1, R2
25.1kResistor_SMD:R_0402_1005MetricR3, R4
250Resistor_SMD:R_0603_1608MetricR19, R20
2AO3401APackage_TO_SOT_SMD:SOT-23Q1, Q3
10Resistor_SMD:R_0402_1005MetricR15
110pCapacitor_SMD:C_0402_1005MetricC15
11N4148WSDiode_SMD:D_SOD-323D4
12N7002Package_TO_SOT_SMD:SOT-23Q4
14.7uInductor_SMD:L_0603_1608MetricL1
174LVC08APW,112SamacSys_Parts:SOP65P640X110-14NIC4
174LVC1G123Package_SO:TSSOP-8_3x3mm_P0.65mmU3
174LVC1G125SamacSys_Parts:SOT65P212X110-5NIC6
1AP63203WUPackage_TO_SOT_SMD:TSOT-23-6U4
1Conn_Transmission_Linetdc-tdt-lib:conn_transmission_lineJ1
1Crystal_GND24Crystal:Crystal_SMD_3225-4Pin_3.2x2.5mmY1
1DNFResistor_SMD:R_0402_1005MetricR16
1InterfaceConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ2
1LEDLED_SMD:LED_0603_1608MetricD2
1PolyfuseFuse:Fuse_0603_1608MetricF1
1RP2040Package_DFN_QFN:QFN-56-1EP_7x7mm_P0.4mm_EP3.2x3.2mmU2
1TDC7200PWRSamacSys_Parts:SOP65P640X120-14NIC2
1TS-1187A-B-A-BSamacSys_Parts:TS1187ABABS1
1TS3A44159PWRSamacSys_Parts:SOP65P640X120-16NIC5
1USB_type_Ctdc-tdt-lib:USB_type_CU1
1W25Q16JVUXIQSamacSys_Parts:SON50P300X200X60-9NIC1

Similar boards

  • 2 layers77.5 × 55.6 mmMost reader, the printed circuit board in 3D

    Most reader

    Oleg-mk/JLR-MOST-Reader

    Listen-only MOST25 adapter for JLR: the factory stereo out over TOSLINK, the car's own volume controls applied digitally with no quality loss

    62 parts1CERN-OHL-S-2.0
  • 2 layers123.6 × 78.9 mmMost listener, the printed circuit board in 3D

    Most listener

    Oleg-mk/MOST25-to-AUDIO

    Passive MOST25 listener: Tang Nano 20K FPGA, ESP32 host, stereo I2S out with the head unit's volume, balance and tone

    172 parts1CERN-OHL-S-2.0
  • 4 layers55 × 100.5 mmOSS Radio Hardware Design, the printed circuit board in 3D

    OSS Radio Hardware Design

    Arkos-Engineering/HT-15_hardware

    We can split this out into separate repos later, right now its very convenient to have everything here.

    256 parts72
  • 4 layers89.8 × 64 mmStinger V2.0, the printed circuit board in 3D

    Stinger V2.0

    Project-Stinger/Electronics

    Electronics for Stinger foam dart blasters

    126 parts4
  • 4 layers67 × 83 mmApple peeler pcb, the printed circuit board in 3D

    Apple peeler pcb

    SIGPLAN-AV/apple-peeler

    HDMI MITM device aimed at supplying crafted EDID to make Apple sources behave

    138 parts
  • 4 layers92 × 78 mmMathpad, the printed circuit board in 3D

    Mathpad

    mbayrao/YMC-Mathpad

    這款鍵盤靈感來自Summa-Congni/Mathpad,當我在2025年的某日給女朋友看到能夠方便輸入數學符號的Mathpad 她知道我喜歡也能製做出電路板,便鼓勵我著手製作此project而誕生。 此板為第一版設計,製作時有許多問題導致設計不斷變更直到最後。 主要思路為無線藍芽連接內置5V USB Type C充電電路並提供電量指示燈、有OLED螢幕可供視覺回饋挑選符號

    93 parts
  • 4 layers90.8 × 60.5 mmArrozPCB, the printed circuit board in 3D

    ArrozPCB

    ChrisKlein01/ArrozPCB

    LoRa-based GPS PCB design with KiCad

    79 parts

Questions

How big is the Tdc tdt kicad PCB?

It measures 41 × 34 mm and has 4 copper layers, 1.6 mm thick.

What parts does the Tdc tdt kicad use?

65 parts, built around the RP2040, 74LVC1G125, AP63203WU and W25Q16JVUXIQ. 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 Tdc tdt kicad KiCad files?

From the akionu/mameTDT repository on GitHub, at the commit this page was made from: the board is pcb/tdc-tdt-kicad/tdc-tdt-kicad.kicad_pcb and its schematic pcb/tdc-tdt-kicad/tdc-tdt-kicad.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Tdc tdt kicad design in my own project?

Its repository publishes it under the Apache-2.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).