Submit Search
Upload
第6回電子制御講習
•
0 likes
•
110 views
K
Koshiro Miyauchi
Follow
センサの基礎 増幅回路 フィルタ回路 インピーダンス変換 CDSセルのフィルタ 加速度センサ
Read less
Read more
Technology
Report
Share
Report
Share
1 of 26
Download now
Download to read offline
Recommended
第3回電子制御講習
第3回電子制御講習
Koshiro Miyauchi
Arduino Microcontroller
Arduino Microcontroller
creatjet3d labs
How to build a virtual machine
How to build a virtual machine
Terence Parr
برمجة الأردوينو - اليوم الأول
برمجة الأردوينو - اليوم الأول
Ahmed Sakr
Memory display devices
Memory display devices
dgoradia
Camera training by Sergio Aguirre
Camera training by Sergio Aguirre
sergio_a_aguirre
Digital object counter (group 12)
Digital object counter (group 12)
Aviral Srivastava
Embedded & pcb design
Embedded & pcb design
Tanveer Behl
Recommended
第3回電子制御講習
第3回電子制御講習
Koshiro Miyauchi
Arduino Microcontroller
Arduino Microcontroller
creatjet3d labs
How to build a virtual machine
How to build a virtual machine
Terence Parr
برمجة الأردوينو - اليوم الأول
برمجة الأردوينو - اليوم الأول
Ahmed Sakr
Memory display devices
Memory display devices
dgoradia
Camera training by Sergio Aguirre
Camera training by Sergio Aguirre
sergio_a_aguirre
Digital object counter (group 12)
Digital object counter (group 12)
Aviral Srivastava
Embedded & pcb design
Embedded & pcb design
Tanveer Behl
Cameratrainingsergiopublic 120904235733-phpapp02(2)
Cameratrainingsergiopublic 120904235733-phpapp02(2)
KASIM DUDEKULA
Scaling Down Instrumentation Deploying Analog Mixed Signal Technology
Scaling Down Instrumentation Deploying Analog Mixed Signal Technology
Shivaprasad Tilekar
Overview of Microcontroller and ATMega32 microcontroller
Overview of Microcontroller and ATMega32 microcontroller
Rup Chowdhury
Bioinstrumentation Deploying AMS Technology
Bioinstrumentation Deploying AMS Technology
Shivaprasad Tilekar
Punch sensor, Arduino
Punch sensor, Arduino
Christopher Brennan
Accelerometer and LED Sensor Array Based Remote Control Car
Accelerometer and LED Sensor Array Based Remote Control Car
Abhijeet kapse
Arduino Programming Familiarization
Arduino Programming Familiarization
Amit Kumer Podder
MICS Band Wireless Body Sensor Network
MICS Band Wireless Body Sensor Network
Myo Naung Lwin
Design, Construction and Operation of a 4-Bit Counting Circuit
Design, Construction and Operation of a 4-Bit Counting Circuit
IOSR Journals
K010137378
K010137378
IOSR Journals
Encoder and decoder
Encoder and decoder
dinesh aitha
NOVA R&D New Two-Dimensional ASICs for
NOVA R&D New Two-Dimensional ASICs for
Gary Kline
ARM Based Handy and Portable Oscilloscope Using Graphical Display
ARM Based Handy and Portable Oscilloscope Using Graphical Display
IJERA Editor
Bidirect visitor counter
Bidirect visitor counter
Electric&elctronics&engineeering
International Journal of Engineering Inventions (IJEI)
International Journal of Engineering Inventions (IJEI)
International Journal of Engineering Inventions www.ijeijournal.com
Optical to Digital Encoder (Two Stage Binray Counter ) DLD Project Report
Optical to Digital Encoder (Two Stage Binray Counter ) DLD Project Report
Haris Abbas Qureshi
B1_25Jan21.pptx
B1_25Jan21.pptx
DhirajPatel58
Embedded System[586]
Embedded System[586]
ajeet singh choudhary
microcontroller based tracking soloar.pptx
microcontroller based tracking soloar.pptx
tariqqureshi33
Iaetsd vlsi based implementation of a digital
Iaetsd vlsi based implementation of a digital
Iaetsd Iaetsd
第1回c#画像処理講習
第1回c#画像処理講習
Koshiro Miyauchi
第2回c#画像処理講習
第2回c#画像処理講習
Koshiro Miyauchi
More Related Content
Similar to 第6回電子制御講習
Cameratrainingsergiopublic 120904235733-phpapp02(2)
Cameratrainingsergiopublic 120904235733-phpapp02(2)
KASIM DUDEKULA
Scaling Down Instrumentation Deploying Analog Mixed Signal Technology
Scaling Down Instrumentation Deploying Analog Mixed Signal Technology
Shivaprasad Tilekar
Overview of Microcontroller and ATMega32 microcontroller
Overview of Microcontroller and ATMega32 microcontroller
Rup Chowdhury
Bioinstrumentation Deploying AMS Technology
Bioinstrumentation Deploying AMS Technology
Shivaprasad Tilekar
Punch sensor, Arduino
Punch sensor, Arduino
Christopher Brennan
Accelerometer and LED Sensor Array Based Remote Control Car
Accelerometer and LED Sensor Array Based Remote Control Car
Abhijeet kapse
Arduino Programming Familiarization
Arduino Programming Familiarization
Amit Kumer Podder
MICS Band Wireless Body Sensor Network
MICS Band Wireless Body Sensor Network
Myo Naung Lwin
Design, Construction and Operation of a 4-Bit Counting Circuit
Design, Construction and Operation of a 4-Bit Counting Circuit
IOSR Journals
K010137378
K010137378
IOSR Journals
Encoder and decoder
Encoder and decoder
dinesh aitha
NOVA R&D New Two-Dimensional ASICs for
NOVA R&D New Two-Dimensional ASICs for
Gary Kline
ARM Based Handy and Portable Oscilloscope Using Graphical Display
ARM Based Handy and Portable Oscilloscope Using Graphical Display
IJERA Editor
Bidirect visitor counter
Bidirect visitor counter
Electric&elctronics&engineeering
International Journal of Engineering Inventions (IJEI)
International Journal of Engineering Inventions (IJEI)
International Journal of Engineering Inventions www.ijeijournal.com
Optical to Digital Encoder (Two Stage Binray Counter ) DLD Project Report
Optical to Digital Encoder (Two Stage Binray Counter ) DLD Project Report
Haris Abbas Qureshi
B1_25Jan21.pptx
B1_25Jan21.pptx
DhirajPatel58
Embedded System[586]
Embedded System[586]
ajeet singh choudhary
microcontroller based tracking soloar.pptx
microcontroller based tracking soloar.pptx
tariqqureshi33
Iaetsd vlsi based implementation of a digital
Iaetsd vlsi based implementation of a digital
Iaetsd Iaetsd
Similar to 第6回電子制御講習
(20)
Cameratrainingsergiopublic 120904235733-phpapp02(2)
Cameratrainingsergiopublic 120904235733-phpapp02(2)
Scaling Down Instrumentation Deploying Analog Mixed Signal Technology
Scaling Down Instrumentation Deploying Analog Mixed Signal Technology
Overview of Microcontroller and ATMega32 microcontroller
Overview of Microcontroller and ATMega32 microcontroller
Bioinstrumentation Deploying AMS Technology
Bioinstrumentation Deploying AMS Technology
Punch sensor, Arduino
Punch sensor, Arduino
Accelerometer and LED Sensor Array Based Remote Control Car
Accelerometer and LED Sensor Array Based Remote Control Car
Arduino Programming Familiarization
Arduino Programming Familiarization
MICS Band Wireless Body Sensor Network
MICS Band Wireless Body Sensor Network
Design, Construction and Operation of a 4-Bit Counting Circuit
Design, Construction and Operation of a 4-Bit Counting Circuit
K010137378
K010137378
Encoder and decoder
Encoder and decoder
NOVA R&D New Two-Dimensional ASICs for
NOVA R&D New Two-Dimensional ASICs for
ARM Based Handy and Portable Oscilloscope Using Graphical Display
ARM Based Handy and Portable Oscilloscope Using Graphical Display
Bidirect visitor counter
Bidirect visitor counter
International Journal of Engineering Inventions (IJEI)
International Journal of Engineering Inventions (IJEI)
Optical to Digital Encoder (Two Stage Binray Counter ) DLD Project Report
Optical to Digital Encoder (Two Stage Binray Counter ) DLD Project Report
B1_25Jan21.pptx
B1_25Jan21.pptx
Embedded System[586]
Embedded System[586]
microcontroller based tracking soloar.pptx
microcontroller based tracking soloar.pptx
Iaetsd vlsi based implementation of a digital
Iaetsd vlsi based implementation of a digital
More from Koshiro Miyauchi
第1回c#画像処理講習
第1回c#画像処理講習
Koshiro Miyauchi
第2回c#画像処理講習
第2回c#画像処理講習
Koshiro Miyauchi
第7回電子制御講習
第7回電子制御講習
Koshiro Miyauchi
第5回電子制御講習
第5回電子制御講習
Koshiro Miyauchi
第4回電子制御講習
第4回電子制御講習
Koshiro Miyauchi
第2回電子制御講習
第2回電子制御講習
Koshiro Miyauchi
第1回電子制御講習
第1回電子制御講習
Koshiro Miyauchi
More from Koshiro Miyauchi
(7)
第1回c#画像処理講習
第1回c#画像処理講習
第2回c#画像処理講習
第2回c#画像処理講習
第7回電子制御講習
第7回電子制御講習
第5回電子制御講習
第5回電子制御講習
第4回電子制御講習
第4回電子制御講習
第2回電子制御講習
第2回電子制御講習
第1回電子制御講習
第1回電子制御講習
Recently uploaded
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Juan lago vázquez
Modernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using Ballerina
WSO2
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
danishmna97
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
Rustici Software
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
FIDO Alliance
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Jeffrey Haguewood
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
MIND CTI
Intro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptx
FIDO Alliance
ADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptx
FIDO Alliance
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc
Navigating Identity and Access Management in the Modern Enterprise
Navigating Identity and Access Management in the Modern Enterprise
WSO2
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
Samir Dash
Choreo: Empowering the Future of Enterprise Software Engineering
Choreo: Empowering the Future of Enterprise Software Engineering
WSO2
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard37
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by Anitaraj
AnitaRaj43
Design Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptx
FIDO Alliance
Recently uploaded
(20)
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Modernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using Ballerina
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
Intro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptx
ADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptx
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
Navigating Identity and Access Management in the Modern Enterprise
Navigating Identity and Access Management in the Modern Enterprise
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
Choreo: Empowering the Future of Enterprise Software Engineering
Choreo: Empowering the Future of Enterprise Software Engineering
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptx
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by Anitaraj
Design Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptx
第6回電子制御講習
1.
マイコン講習 ー第6回ー K.Miyauchi 2021.10.07
2.
目次 ・センサの基礎 ・増幅回路 ・フィルタ回路 ・インピーダンス変換 ・CDSセルのフィルタ ・加速度センサ (c) K.Miyauchi 2
3.
本講習で使用するもの パソコン:Windows, Mac 開発環境:Arduino IDE マイコン:Arduino
Leonardo その他,回路周りの物品 (c) K.Miyauchi 3
4.
回路図 (c) K.Miyauchi 4
5.
センサの基礎 センサとは,物理量を電気信号として出力するデバイスのこと. 力や光,加速度,角速度を計測するためのセンサがある. また,センサによっては,アナログ信号で出力されるものとデジタル 信号で出力されるものがある. (c) K.Miyauchi 5
6.
センサの基礎 アナログ信号で出力されるセンサは,出力される電圧をADC等に よって読み取ることができる. しかし,電圧の変化が微弱であったり,ノイズが含まれていたりする ことが多いため,増幅器やフィルタなどを組むことが必要になること もある. (c) K.Miyauchi 6
7.
センサの基礎 アナログ信号は連続時間であるが,それを離散時間の信号とする ことをサンプリング(標本化)という. 離散時間にしたときに,1秒間に何回,データを取得したかを表す パラメータとして,サンプリング周波数がある. このサンプリング周波数は, サンプリング定理より,原信号がもつ最高周波数の2倍以上とする ことによって,原信号を完全に復元できる. このことを満たさない場合,原信号と異なる信号が再現されること があり,これをエリアシングという. (c) K.Miyauchi 7
8.
センサの基礎 コンピュータで扱うために,標本化したデータを有限桁にする必要 がある.この操作のことを量子化という. この量子化した値をPCに転送するために,2進化する必要がある. この操作のことを符号化という. AD変換器では,これらの操作をすべて行っている. (c) K.Miyauchi 8
9.
センサの基礎 デジタル信号で出力されるセンサは,様々な形式で出力される. ・バイナリコード ・グレイコード ・パルス ・PWM ・シリアル通信 etc… センサの仕様書をみて,それに合わせてシステムを設計する必要 がある. (c) K.Miyauchi
9
10.
センサの基礎 マイクロスイッチなどと呼ばれるような機械式センサでは,機械的 接点がつながった時や放れたときにチャタリングと呼ばれる現象が 生じる. 単純なカウンタやパルスカウントをするにしても,チャタリングを考 慮してシステムを組む必要がある. (c) K.Miyauchi 10 OFFにした タイミング ONにした タイミング
11.
増幅回路 微弱な信号を大きな信号に変換する回路のことを増幅回路という. 増幅回路には,トランジスタを用いたものとオペアンプを用いたもの がありますが,今回はオペアンプを用いたもののみ説明. <オペアンプの特徴> ・反転入力端子(ー)と非反転入力端子(+)は 入力インピーダンスが無限大と仮定してもよい. ⇒2端子間の電位がほぼ同じ(イマジナルショート) ・出力インピーダンスが小さい. (c) K.Miyauchi 11 − +
12.
増幅回路 オペアンプを用いた増幅回路として, 反転増幅回路と非反転増幅回路がある. (c) K.Miyauchi 12 反転増幅回路
非反転増幅回路 反転増幅回路
13.
増幅回路 反転増幅回路はその名前の通り, 入力信号の位相を反転して信号 増幅する回路である. 関係式:𝑣𝑜 = − 𝑅2 𝑅1 𝑣𝑖 非反転増幅回路は,入力信号の 位相を変えずに信号増幅する回 路である. 関係式:𝑣𝑜
= 1 + 𝑅2 𝑅1 𝑣𝑖 (c) K.Miyauchi 13
14.
フィルタ回路 フィルタ回路とは,特定の範囲の周波数の信号のみカットする回路 のことをいう. フィルタ回路として, ・ハイパスフィルタ(低周波をカットする) ・ローパスフィルタ(高周波をカットする) ・バンドパスフィルタ(指定範囲外をカットする) がある. またカットし始める周波数のことをカットオフ周波数という. (c) K.Miyauchi 14
15.
フィルタ回路 シンプルなフィルタ回路 <ハイパスフィルタ> 関係式: 𝑣𝑜 = 𝑗𝜔𝑅𝐶 1+𝑗𝜔𝑅𝐶 𝑣𝑖 カットオフ周波数:𝑓𝑐
= 1 2𝜋𝑅𝐶 <ローパスフィルタ> 関係式: 𝑣𝑜 = 1 1+𝑗𝜔𝑅𝐶 𝑣𝑖 カットオフ周波数:𝑓𝑐 = 1 2𝜋𝑅𝐶 (c) K.Miyauchi 15 𝐶 𝑅 𝑣𝑖 𝑣𝑜 𝐶 𝑅 𝑣𝑖 𝑣𝑜
16.
フィルタ回路 原信号が十分に計測可能であれば,さきほどのフィルタでほとんど 解決することはできるが,微弱な信号であるときには,増幅器を含 めたフィルタを組み込む必要がある. (c) K.Miyauchi 16 ハイパスフィルタ
ローパスフィルタ
17.
フィルタ回路 <ハイパスフィルタ> 関係式: 𝑣𝑜 =
− 𝑅2 𝑅1 𝑗𝜔𝑅1𝐶 1+𝑗𝜔𝑅1𝐶 𝑣𝑖 カットオフ周波数: 𝑓𝑐 = 1 2𝜋𝑅1𝐶 <ローパスフィルタ> 関係式:𝑣𝑜 = − 𝑅2 𝑅1 1 1+𝑗𝜔𝑅2𝐶 𝑣𝑖 カットオフ周波数: 𝑓𝑐 = 1 2𝜋𝑅2𝐶 (c) K.Miyauchi 17
18.
インピーダンス変換 マイコンなど入力回路の入力インピーダンスが センサの出力インピーダンスや配線等によるインピーダンスより 十分に大きければセンサの出力をほぼ正確に得ることができる. しかし光学系のセンサ等では, 出力インピーダンスがとても大きく, 配線も長ければセンサの入力に影響を受ける. そのような場合には, インピーダンス変換を施さなければならない. (c) K.Miyauchi 18
19.
インピーダンス変換 イメージ (c) K.Miyauchi 19 𝑍𝑜𝑎 𝑍𝑜𝑏 𝐸 𝑍𝑖 𝑣𝑖 マイコン内部 センサ内部 𝑍𝑖が𝑍𝑜より十分に大きければ、𝑣𝑖の影響が小さい
20.
インピーダンス変換 インピーダンス変換を行う回路として, ボルテージホロワと呼ばれる回路が存在する. (c) K.Miyauchi 20 − + 𝑣𝑖 𝑣𝑜 オペアンプの 入力インピーダンスは 無限大と考えてよい オペアンプの 出力インピーダンスは 十分小さいと考えてよい
21.
インピーダンス変換 センサからの出力を得るときには, ・センサの出力インピーダンスが十分に小さい ・計器(マイコン等)の入力インピーダンスが十分に大きい ようにする必要がある. (c) K.Miyauchi 21
22.
CDSセルのフィルタ 右の回路を実装して,出力を得てみましょう. コンデンサを変更したり,外してみて, 出力がどのように変化するか観察してみましょう. (c) K.Miyauchi 22
23.
CDSセルのフィルタ メニューバーの「ツール」⇒「シリアルプ ロッタ」を選択して,出力を可視化でき る. (c) K.Miyauchi 23
24.
加速度センサ 加速度センサは,力センサ等で慣性力を計測することによって,加 速度を算出している.右の回路を実装して,プロットしてみましょう. (c) K.Miyauchi 24
25.
加速度センサ こんな感じに出力が得られらばOK. (振り回している状態) (c) K.Miyauchi 25
26.
演習 ・ノートPCによっては,落下した時にハードディスクドライブのモータ を停止させるようなシステムが組まれているものがある.一度,ボタ ンを押すとDCモータが回転し続けるようにし,重力方向に加速度セ ンサが1秒以上動いたときにモータを停止させよ.なお,停止後にボ タンを押すと復帰するものとする. ・PCに現在の加速度センサの3軸の速度[m/s]をスペース区切りでx 軸,y軸,z軸の順に送信するシステムを作成せよ.ただし,PCか ら”V”を受信したタイミングで送信するものとする. 例)V ⇒ 0.00
1.14 1.14 (c) K.Miyauchi 26
Download now