'이론 관련 > 전기 전자' 카테고리의 다른 글

PLL 구조와 Frequency Divider / Multiplier  (0) 2018.02.01
opto-isolator  (0) 2018.01.10
아날로그 해상도 화면비  (0) 2017.10.30
오실로스코프 대역폭과 샘플링  (0) 2017.09.28
RMS - Root Mean Square  (0) 2017.09.28
Posted by 구차니

아이폰이나 아이패드에서 DFU 어쩌구 하길래 들어본적은 있는데

먼가해서 찾아본 건 아니고..


부트로더 관련해서 보다 보니(tivaware bootloader)

Three update protocols are utilized. On UART, SSI, I2C, and CAN, a custom protocol is used to communicate with the download utility to transfer the firmware image and program it into flash. When using Ethernet or USB DFU, however, different protocols are employed. On Ethernet the standard bootstrap protocol (BOOTP) is used and for USB DFU, updates are performed via the standard Device Firmware Upgrade (DFU) class. 

이런게 보여서 검색해보니..


USB HID class 처럼 

USB DFU class가 존재하는 표준으로 제공되는 클래스 이다.

[링크 : https://cscott.net/usb_dev/data/devclass/usbdfu10.pdf]


USB Device Firmware Upgrade (DFU) is an official USB device class specification of the USB Implementers Forum.

It specifies a vendor and device independent way of updating the firmware of a USB device. The idea is to have only one vendor-independent firmware update tool as part of the operating system, which can then (given a particular firmware image) be downloaded into the device. 

[링크 : http://wiki.openmoko.org/wiki/USB_DFU_-_The_USB_Device_Firmware_Upgrade_standard]


+

[링크 : http://www.usb.org/developers]

'이론 관련 > 컴퓨터 관련' 카테고리의 다른 글

I2c smbus slave interrupt  (0) 2018.04.24
haze / defog  (0) 2018.03.19
불 대수(bool algebra)  (0) 2017.12.20
a-gps  (0) 2017.09.01
GPS DOP  (0) 2017.06.14
Posted by 구차니

대학교 1학년때 였나 2학년 전공가서 였나..

컴퓨터 구조 시간에 불 대수를 배웠는데

카르노 맵과 드모르간 법칙등이 이해가 안갔는데 이제야 차분히 보니 이해가 되네..

그때 공부를 제대로 했으면 FPGA를 다뤘을려나...


아무튼 OR는 논리합(logical disjunction) - 논리적 괴리/이접

AND는 논리곱(logical conjunction) - 논리접 결합/접속

이라는데 솔찍히 A+B 라고 논리합을 OR 표기하다 보니 거기서 혼동이 온듯..


논리표는 지긋지긋 하게들 봤을테고(?)

다시 한번 적자면 아래와 같고, 특이한 것은 바로 같은 입력 일때와 다른 입력일때의 차이이다.

A+B=R (OR)

 AxB=R (AND)

F+F=F

T+F=T

F+T=T

T+T=T

FxF=F

TxF=F

FxT=F

TxT=T


그리고 논리에서 T는 1로 치환되니

A+B=R (OR)

 AxB=R (AND)

F+F=F

1+F=T

F+1=T

T+T=T

FxF=F

1xF=F 는 곧 1xA=A

Fx1=F 는 곧 Ax1=A

TxT=T

(1+A)=1

(1A)=A

로 유도가 된다.


그리고 A+A'=T 이고 1이 되니 

(A+A')B는

(1)B

1xB = B 가 된다.


X+XY = X(1+Y) = X*1= X 로 유도


드모르간 법칙은 (X+Y)'= X'Y' 인데

(X+Y)'=R 

F+F=F가 F' = T

T+F=T가 T' = F

F+T=T가 T' = F

T+T=T가 T' = F

가 되고

AxB=R

FxF=F

TxF=F

FxT=F

TxT=T

와 비슷하게 TxT=T 인걸 뒤집으면 되니

A'xB'=R

F'xF'=TxT=T

T'xF'=FxT=F

F'xT'=TxF=F

T'xT'=FxF=F


유도는 좀 똥같은데

아무튼 (A+B)' = A'B' 라는 결론이 도출된다.

[링크 : http://www.kyobobook.co.kr/product/detailViewKor.laf?barcode=9788935304394]

'이론 관련 > 컴퓨터 관련' 카테고리의 다른 글

haze / defog  (0) 2018.03.19
USB class - DFU(Device Firmware Upgrade)  (0) 2017.12.26
a-gps  (0) 2017.09.01
GPS DOP  (0) 2017.06.14
DDR3 ZQ calibration  (0) 2017.04.27
Posted by 구차니
이론 관련/전기 전자2017. 10. 30. 16:51

NTSC 720 * 480 3:2

PAL 720 * 576 5:4


Full HD 1920 * 1080 16:9


레터박스

NTSC 720 * 405 (y = 37.5)

PAL 720 * 405 (y = 85.5)


---

XGA 1024 * 768 4:3

SXGA 1280 * 1024 5:4


계산하고 찾아 보니 나오네.. OTL


Extended Graphics Array

Name x (px) y (px) x:y x×y (Mpx)

XGA 1024 768 4:3 0.786

WXGA 1152 768 3:2 0.884

WXGA 1280 768 5:3 0.983

WXGA 1280 800 16:10 1.024

WXGA 1360 768 ~16:9 1.044

FWXGA 1366 768 ~16:9 1.049

XGA+ 1152 864 4:3 0.995

WXGA+ 1440 900 16:10 1.296

WSXGA 1440 960 3:2 1.382

SXGA 1280 1024 5:4 1.310

SXGA+ 1400 1050 4:3 1.470

WSXGA+ 1680 1050 16:10 1.764

UXGA 1600 1200 4:3 1.920

WUXGA 1920 1200 16:10 2.304 

[링크 : https://en.wikipedia.org/wiki/Graphics_display_resolution]


[링크 : https://en.wikipedia.org/wiki/Letterboxing_(filming)]

'이론 관련 > 전기 전자' 카테고리의 다른 글

opto-isolator  (0) 2018.01.10
디지털 논리회로 - 트랜지스터로 구현  (0) 2018.01.05
오실로스코프 대역폭과 샘플링  (0) 2017.09.28
RMS - Root Mean Square  (0) 2017.09.28
정현파 (sine wave) 한문으로...?!  (0) 2017.09.20
Posted by 구차니
이론 관련/전기 전자2017. 9. 28. 08:48

디지털 신호는 기준이 캐리어 주파수의 사인파와 그에 맞는 고조파로 이루어지는데 (푸리에 연산쪽?)

주파수 대역폭이 부족하다면 이러한 고조파를 통과시키지 못함으로서

각져보여야 할 디지털 신호가 고조파의 누락으로 두리뭉실하게 보이고

rising edge와 falling edge를 못 잡게 되니까 안된다~ 이런 개념인가?

그리고 대역폭에서 2배는 실용적인 면이지 나이키스트 이론과는 연관이 없는 2배 인듯?


1. 측정할 주파수가 높다

2. 높은 주파수를 통과시켜줘야 한다(원본 신호의 손실 최소화)

3. 주파수가 높으니 샘플링 레이트가 높아야 한다 (측정 오차의 최소화)

서로 직접적인 연관은 없지만 연관이 있는 기묘한 사이가 되는건가?



Bandwidth
Bandwidth is the single most important characteristic of an oscilloscope, as it gives you an indication of its range in the frequency domain. In other words, it dictates the range of signals (in terms of frequency) that you are able to accurately display and test. Bandwidth is measured in Hertz. Without sufficient bandwidth, your oscilloscope will not display an accurate representation of the actual signal. For example, the amplitude of the signal may be incorrect,
edges may not be clean, and waveform details may be lost. The bandwidth of an oscilloscope is the lowest frequency at which an input signal is attenuated by 3 dB. Another way to look at bandwidth: If you input a pure sine wave into the oscilloscope, the bandwidth will be the minimum frequency where the displayed amplitude is 70.7% of the actual signal amplitude. For details about oscilloscope bandwidth, see application note,
Evaluating Oscilloscope
Bandwidths for Your Applications
.

Sample rate
The sample rate of an oscilloscope is the number of samples the oscilloscope can acquire per second. It is recommended that your oscilloscope have a sample rate that is at a least 2.5 times greater than its bandwidth. However, ideally the sample rate should be 3 times the bandwidth or greater.
You need to be careful when you evaluate an oscilloscope’s sample rate banner specifications. Manufacturers typically specify the maximum sample rate an oscilloscope can attain, and sometimes this maximum rate is possible only when one or two channels are being used. If more channels are used simultaneously, the sample rate may decrease. Therefore, it is wise to check how many channels you can use while still maintaining the specified maximum sample rate. If the sample rate of an oscilloscope is too low, the signal you see on the scope may not be
very accurate. As an example, assume you are trying to view a waveform, but the sample rate only produces two points per period (Figure 26). Now consider the same waveform, but with an increased sample rate that samples seven times per period (Figure 27).
It is clear that the greater the samples per second, the more clearly and accurately the waveform is displayed. If we kept increasing the sample rate for the waveform in this above example, the sampled points would eventually look almost continuous. In fact, oscilloscopes usually use sin(x)/x interpolation to fill in between the sampled points.
For more information about oscilloscope sampling rates, see application note,
Evaluating Oscilloscope Sample Rates vs. Sampling Fidelity: How to Make the Most Accurate Digital Measurements. 

[링크 : http://literature.cdn.keysight.com/litweb/pdf/5989-8064EN.pdf]


1. 대역폭

대역폭은 최소의 진폭 손실로 아날로그 프런트 엔드를 통과할 수 있는 입력 신호의 주파수 범위를 뜻합니다. 대역폭은 사인꼴 입력 신호가 원래 진폭의 70.7 퍼센트 또는 -3 dB 포인트로 감쇠될 때의 주파수로 정의됩니다.

일반적으로 신호의 최고 주파수 컴포넌트의 최소 2배의 대역폭이 있는 디지타이저를 사용할 것을 권장하고 있습니다.

오실로스코프와 디지타이저는 디지털 펄스와 같은 신호 또는 샤프 엣지를 가진 기타 신호의 상승 시간을 측정하는 데에 주로 사용됩니다. 본 신호는 고주파수로 구성되어 있습니다. 신호의 모양을 캡쳐하기 위해 고대역폭 디지타이저가 필요합니다. 예를 들어, 10 MHz 사각파는 10 MHz 사인파 및 무한개의 고조파로 구성됩니다. 본 신호의 모양을 캡쳐하기 위해 여러 고조파를 캡쳐하기에 충분한 대역폭이 있는 디지타이저를 사용해야 합니다. 그렇지 않을 경우 신호가 왜곡되어 측정이 부정확합니다.


2. 샘플링 속도

이전 섹션에서 디지타이저 또는 오실로스코프의 가장 중요한 사양 중 하나인 대역폭에 대해 살펴보았습니다. 그러나, 고대역폭은 샘플링 속도가 충분하지 않다면 유용하지 않을 수 있습니다.

대역폭은 최소 감쇠로 디지털화될 수 있는 가장 높은 사인파로 정의되며, 샘플링 속도는 디지타이저 또는 오실로스코프에서 아날로그-디지털 변환기 (ADC)가 유입되는 신호를 디지털화하기 위한 클로킹된 속도를 의미합니다. 샘플링 속도와 대역폭이 직접적인 연관이 없다는 것을 명심하십시오. 그러나, 이 두 가지 중요한 사양간의 관계를 파악하기 위해 대략적으로 사용되는 법칙이 있습니다.

디지타이저의 실시간 샘플링 속도 = 디지타이저 대역폭의 3~4배

나이키스트 이론은 앨리어스를 방지하기 위해서 디지타이저의 샘플링 속도가 측정되는 신호의 가장 높은 주파수 요소보다 최소 2배가 되어야 한다는 이론입니다. 그러나 최고 주파수의 2배로 샘플링하는 것은 시간 영역 신호를 정확하게 재생성하기에 충분하지 않습니다. 유입된 신호를 정확하게 디지털화하기 위해 디지타이저의 실시간 샘플링 속도는 디지타이저 대역폭의 최소 3, 4배가 되어야 합니다. 이해를 돕기 위해 하단의 그림을 살펴보고 오실로스코프에서 어떤 신호를 볼 수 있을지 생각해 보십시오. 

[링크 : http://www.ni.com/white-paper/4333/ko/]

'이론 관련 > 전기 전자' 카테고리의 다른 글

디지털 논리회로 - 트랜지스터로 구현  (0) 2018.01.05
아날로그 해상도 화면비  (0) 2017.10.30
RMS - Root Mean Square  (0) 2017.09.28
정현파 (sine wave) 한문으로...?!  (0) 2017.09.20
릴레이 종류 ac dc  (0) 2017.08.11
Posted by 구차니
이론 관련/전기 전자2017. 9. 28. 08:16

AC전압을 DC 전압으로 표시 하는거라는데

음.. 일종의 적분 개념을 단순화 시킨걸려나?


Vrms = Vpeak / sqrt(2)

[링크 : http://guslabview.tistory.com/413]



오실로스코프 설명인데.. sine 파에 대해서는 0.707을 곱한게 RMS 진폭이 맞다고 하니

sine 파가 아닌 다른 형태의 값에 대해서는 RMS가 다르게 적용 되는 듯?


For a sine wave, the RMS amplitude is equal to 0.707 times the peak amplitude.

[링크 : http://literature.cdn.keysight.com/litweb/pdf/5989-8064EN.pdf]


+

AC 성분중 가장 간단한(?) sine wave를 기준으로 생각하면

해당 사인파가 동등한 양의 DC 성분과 같다는 건 즉, 면적에 있어서 적분을 하면 되는거고

그게 바로 1.4로 나누거나 0.7을 곱하는거

1/sqrt(2) = 1/1.4142135623730950488016887242097.. = 0.70710678118654752440084436210485...

[링크 : https://blog.naver.com/woojin4001/150009324677]

[링크 : http://tip.daum.net/question/73332189]


근데.. 대충봐도.. 0.7 수준이 동일한 면적을 보여주는거 같진 않은데... 그냥 편의상 쓰는건가?

'이론 관련 > 전기 전자' 카테고리의 다른 글

아날로그 해상도 화면비  (0) 2017.10.30
오실로스코프 대역폭과 샘플링  (0) 2017.09.28
정현파 (sine wave) 한문으로...?!  (0) 2017.09.20
릴레이 종류 ac dc  (0) 2017.08.11
얼터네이터 / 제너레이터  (0) 2017.07.12
Posted by 구차니
이론 관련/전기 전자2017. 9. 20. 13:56

정현파에서 정은 바른인데

현은.. 초승달인가?

바른 초승달 물결?!


1. 활시위(활대에 걸어서 켕기는 줄), 시위

2. 악기줄(樂器-)

3. 초승달

4. 직각 삼각형의 사변

5. 시위의 울림

6. (현악기를)타다

7. (혈관이 부어)맥박(脈搏)이 빠르게 뛰다


[링크 : http://krdic.naver.com/detail.nhn?docid=33843600]

[링크 : http://hanja.naver.com/hanja?q=正]

[링크 : http://hanja.naver.com/hanja?q=弦]

'이론 관련 > 전기 전자' 카테고리의 다른 글

오실로스코프 대역폭과 샘플링  (0) 2017.09.28
RMS - Root Mean Square  (0) 2017.09.28
릴레이 종류 ac dc  (0) 2017.08.11
얼터네이터 / 제너레이터  (0) 2017.07.12
배터리 방전율 관련  (0) 2017.07.04
Posted by 구차니

찾아보니 비네팅이네...    



[링크 : http://www.wildbike.co.kr/?mid=WildAngle&m=1&document_srl=1310603&listStyle=viewer]

[링크 : http://cpnikon.godohosting.com/special_contents/enjoy/slrbasic/words/ka02_ka.htm]



게라레를 구글로 번역하니 걍 비네팅으로 바로 연결되는 듯?


口径食(こうけいしょく)は、光学上の概念である。画像中心部と周辺部に明るさの差が発生(周辺光量の低下という)することの一つの原因である。本項では、英語では(広義の)"vignetting"に一括して含まれる、それ以外の原因による周辺光量の低下、およびケラレについても述べる。

[링크 : https://ja.wikipedia.org/wiki/口径食]

'이론 관련 > 사진 광학 관련' 카테고리의 다른 글

pantograph router (축도기)  (0) 2019.04.25
호모그래피  (0) 2019.01.14
열영상 이미지 - 컬러  (0) 2017.08.24
ir corrected lens ld low dispersion  (0) 2017.07.04
EF 마운트 별 플랜지 차이(?)  (0) 2017.04.03
Posted by 구차니

12.5분 이 지나야 위성으로 독립적으로 모든 GPS 위성의 정보를 받는 듯?

아무튼 이렇게 오래 걸리는 데이터를 다른 통신방법을 통해 획득함으로

초기 위치 수신속도(TTFF)를 올리는게 A-GPS의 원리

[링크 : https://en.wikipedia.org/wiki/Time_to_first_fix]


일부는 GPS에서 하는 연산을 서버에서 대신하여 MS(Mobile Station)에서는 전파 신호만 수신하고

그걸 네트워크로 전송하여 위치를 대신 계산해주는 방식도 있는 듯


S-GPS는 직접 위성에서 이페머리스와 알마낙 등의 궤도 정보를 50bps로 다운로드한다. S-GPS는 대략 30-40초 뒤에 첫 번째 위치를 잡을 수 있다. 모든 데이터를 받기 위해서는 12.5분이 걸린다

[링크 : https://ko.wikipedia.org/wiki/A-GPS]


2010/10/23 - [하드웨어] - GPS / A-GPS / S-GPS / D-GPS



+

2017.12.06


이페이머리스는 위성의 위치를 계산하기 위해 수신받도록 허용된 궤도 정보. 각각의 위성은 자신의 이페이머리스를 전송한다. (즉, 이페이머리스는 위성 개별의 궤도정보)

알마낙 데이터는 모든 위성에 대한 상대정보가 포함; 각각의 위성은 (위치적으로 모든) 사용중인 PRN 번호에 의존한 몇몇 위성의 알마낙 데이터를 전송한다. (알마낙은 모든 위성의 상태정보)


  • The ephemeris: orbital information which allows the receiver to calculate the position of the satellite. Each satellite transmits its own ephemeris.
  • The almanac data: contains information and status concerning all the satellites; each satellite transmits almanac data for several (possibly all) satellites, depending on which PRN numbers are in use. 


[링크 : https://en.wikipedia.org/wiki/GPS_signals#Navigation_message]

'이론 관련 > 컴퓨터 관련' 카테고리의 다른 글

USB class - DFU(Device Firmware Upgrade)  (0) 2017.12.26
불 대수(bool algebra)  (0) 2017.12.20
GPS DOP  (0) 2017.06.14
DDR3 ZQ calibration  (0) 2017.04.27
MMIO 하드웨어와 소프트웨어의 결합  (0) 2017.04.14
Posted by 구차니

간단하게 요약하면...

이미지 후처리 해서 grayscale 이미지를 팔레트에 맵핑 하는 것


[링크 : http://thermalimaging-blog.com/20-how-do-most-thermal-images-look-like/]

[링크 : http://thermalimaging-blog.com/10-what-is-a-thermographic-camera-and-how-it-works/]


다양한 팔레트가 있지만 hot을 white로 표현하는게 일단 대부분

[링크 : http://www.nightvisionguys.com/armasight-q14-640-60hz-thermal-imaging-multipurpose-monocular]


흰색이 뜨거운 이유는 아마도.. 달궈질수록 빨강 -> 노랑 -> 흰 -> 파랑으로 가는 항성 온도별 색상을 따르는 걸려나?

'이론 관련 > 사진 광학 관련' 카테고리의 다른 글

호모그래피  (0) 2019.01.14
게라레 현상?  (0) 2017.09.13
ir corrected lens ld low dispersion  (0) 2017.07.04
EF 마운트 별 플랜지 차이(?)  (0) 2017.04.03
이미지 센서 - ccd cmos 비교  (0) 2016.09.22
Posted by 구차니