'이론 관련'에 해당되는 글 344건

  1. 2026.01.27 cpuz 와 메모리 타이밍
  2. 2026.01.21 mPCIe pinout usb
  3. 2026.01.12 엔코더 파형
  4. 2026.01.11 엔코더 채터링?
  5. 2026.01.08 usb cdc acm(Abstract Control Model)
  6. 2025.12.01 pc 쿨링팬 pwm 주파수
  7. 2025.11.24 쇼트키 다이오드
  8. 2025.10.28 엔코더 관련글
  9. 2025.09.15 오디오 녹음 재머
  10. 2025.08.14 코사인 유사도

cpu-z 에서 메모리 타이밍 테이블을 보면, 4개만 있어서 다른 클럭은 안되나 싶었는데

 

하단의 Tools - Save Report as .TXT 해서 저장하고 보면

 

다음과 같이 JEDEC # 으로 해서 전체가 나온다.

최소한 슬라이드 해서 전체를 보여주면 더 좋았을걸 아쉽네

Memory SPD
-------------------------------------------------------------------------

DIMM # 1
SMBus address 0x50
Memory type DDR4
Module format SO-DIMM
Module Manufacturer(ID) SK Hynix (AD00000000000000000000000000)
SDRAM Manufacturer (ID) SK Hynix (AD00000000000000000000000000)
Size 8192 MBytes
Max bandwidth DDR4-2133 (1066 MHz)
Part number HMA41GS6AFR8N-TF    
Serial number 2719C256
Manufacturing date Week 25/Year 16
Nominal Voltage 1.20 Volts
EPP no
XMP no
AMP no
EXPO no
JEDEC timings table CL-tRCD-tRP-tRAS-tRC @ frequency
JEDEC #1 9.0-9-9-22-31 @ 666 MHz
JEDEC #2 11.0-11-11-27-38 @ 800 MHz
JEDEC #3 12.0-13-13-30-42 @ 900 MHz
JEDEC #4 13.0-14-14-32-45 @ 966 MHz
JEDEC #5 14.0-14-14-35-49 @ 1033 MHz
JEDEC #6 15.0-15-15-36-50 @ 1066 MHz
JEDEC #7 16.0-15-15-36-50 @ 1066 MHz

DIMM # 1
SPD registers
00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 
00 23 11 0C 03 84 19 00 08 00 40 00 03 09 03 00 00 
10 00 00 08 0D F4 03 00 00 6C 6C 6C 11 08 74 20 08 
20 00 05 70 03 00 A8 1E 2B 2E 00 78 00 14 3C 00 00 
30 00 00 00 00 00 00 00 00 00 00 00 00 2D 0E 0B 2C 
40 2E 04 0B 35 00 00 16 2B 2D 0E 15 35 24 0E 00 00 
50 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
70 00 00 00 00 00 86 B5 CE 00 00 00 00 E7 C1 DD CE 
80 0F 11 04 01 00 00 00 00 00 00 00 00 00 00 00 00 
90 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
A0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
B0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
D0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
E0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
F0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 FF DB 
100 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
110 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
120 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
130 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
140 80 AD 01 16 25 27 19 C2 56 48 4D 41 34 31 47 53 
150 36 41 46 52 38 4E 2D 54 46 20 20 20 20 00 80 AD 
160 FF 57 56 36 36 4E 30 35 35 39 32 30 33 00 00 00 
170 01 00 00 00 00 00 00 01 00 00 00 00 00 DD 00 00 
180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
190 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
1A0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
1B0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
1C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
1D0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
1E0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
1F0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

 

심심해서 만들어 본 표. DDR4 메모리 클럭 범위가 의외로 어마어마하게 넓네?

MT/s MHz bandwidth
1600 800 12800
1800 900 14400
1932 966 15456
2066 1033 16528
     
2133 1066.5 17064
2400 1200 19200
2666 1333 21328
2933 1466.5 23464
3000 1500 24000
3200 1600 25600
3600 1800 28800
4000 2000 32000
4133 2066.5 33064
     
4200 1033 33600

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

mPCIe pinout usb  (0) 2026.01.21
usb cdc acm(Abstract Control Model)  (0) 2026.01.08
pc 쿨링팬 pwm 주파수  (0) 2025.12.01
bit banging  (0) 2025.05.08
numa 와 smp  (0) 2025.05.07
Posted by 구차니

mini PCI express 에는 특이하게도 USB가 존재한다.

36, 38번 핀(USB_DM / USB_DP)

고작(?) PETp0 / PETn0 / PERp0 / PERn0 4개 핀인거 보면 양방향 디퍼런셜 1채널이 전부인것 같은데

그 와중에 부가핀이 더 많은게 함정이네. wifi 나 usim은 reserved 영역인진 모르겠다.

[링크 : https://m.blog.naver.com/spc9999/566 71141]

 

 

[링크 : https://community.toradex.com/t/ec25-mini-pcie-is-not-detected-on-verdin-am62/21343/20]

 

[링크 : https://connecttech.com/ftp/pdf/CTIM-MPG00X.pdf[

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

cpuz 와 메모리 타이밍  (0) 2026.01.27
usb cdc acm(Abstract Control Model)  (0) 2026.01.08
pc 쿨링팬 pwm 주파수  (0) 2025.12.01
bit banging  (0) 2025.05.08
numa 와 smp  (0) 2025.05.07
Posted by 구차니
이론 관련/전기 전자2026. 1. 12. 10:47

오실로스코프에 대충 연결하고

파워서플라이에서 3.3V 100mA 만들어서 넣음

1채널 노란색(프로브 노란색) - CLK(보라색)

2채널 파란색(프로브 빨간색) - DT(파란색)

 

시계방향(CW)로 돌리니 CLK가 먼저 반응하고

 

반시계방향(CCW)로 돌리니 DT가 먼저 반응한다.

 

위치에 따라서는 falling이 될수도  rising이 될수도 있긴한데..

이걸 어떻게 해석해야 한 틱 옮겨지고, 갑자기 방향이 바뀌는지 알 수 있을까?

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

엔코더 채터링?  (0) 2026.01.11
쇼트키 다이오드  (0) 2025.11.24
엔코더 관련글  (0) 2025.10.28
오디오 녹음 재머  (0) 2025.09.15
pwm 화음 출력  (0) 2025.08.06
Posted by 구차니
이론 관련/전기 전자2026. 1. 11. 21:42

stm32f103 으로 인터럽트 통해서 처리하려고

rising / falling edge에서 하게 해놨더니, 도대체 어떻게 뜨는건지 모르게 많이 뜬다.

물론 귀차니즘으로 usb cdc를 통해 그냥 바로 출력하게 해놔서 놓치는게 있을 것 같기도 하지만

high가 연속 두번 뜨지 않나 먼가.. 놓치는 느낌인데

USB CDC TEST 1528                                                               
5H                                                                              
4H                                                                              
5H                                                                              
USB CDC TEST 1529                                                               
USB CDC TEST 1530                                                               
4H                                                                              
5L                                                                              
5L                                                                              
4L                                                                              
USB CDC TEST 1531                                                               
USB CDC TEST 1532                                                               
5L                                                                              
4H                                                                              
USB CDC TEST 1533                                                               
USB CDC TEST 1534                                                               
4H                                                                              
5L                                                                              
4H          

                                                              
USB CDC TEST 1622                                                               
USB CDC TEST 1623                                                               
5L                                                                              
5H                                                                              
4H                                                                              
4H                                                                              
5L                                                                              
USB CDC TEST 1624                                                               
USB CDC TEST 1625                                                               
4L                                                                              
USB CDC TEST 1626      

 

A,B,C 모두 내부 풀업으로 하고 있는데, 외부 풀업과 0.1uF 을 달아줘서 해봐야겠다.

 

[링크 : https://retromakers.tistory.com/29] 하드웨어 채터링 방지

[링크 : https://blog.naver.com/kiatwins/221087863980] 하드웨어 채터링 방지

[링크 : https://eteo.tistory.com/138] sw 디바운스

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

엔코더 파형  (0) 2026.01.12
쇼트키 다이오드  (0) 2025.11.24
엔코더 관련글  (0) 2025.10.28
오디오 녹음 재머  (0) 2025.09.15
pwm 화음 출력  (0) 2025.08.06
Posted by 구차니

ttyACM 이라는 장치명으로 붙길래 ACM의 약자가 궁금해서 검색

Communication Device Class (Abstract Control Model)

[링크 : https://www.keil.com/pack/doc/mw/usb/html/group__usbh__cdcacm_functions.html]

 

 

[링크 : https://docs.oracle.com/cd/E19253-01/819-0360/gevsx/index.html]

 

CDC의 서브클래스라고 해야하나.. 아무튼 CDC에 ACM과 ECM이 있는데

그러면 usb to ethernet 들은 ECM 클래스인가? 조사를 나중에 해봐야겠네

3) Communication Device Class(CDC)
USB to Serial, USb to ethrenet 등 usb 포트에 연결하여 통신하는 디바이스들이 주로 사용하는 class이다. CDC는 통신 방법에 따라 ACM, ECM, EEM, NCM, OBEX 등의 다양한 subclass를 사용한다.
ACM(Abstract Control Model Class)
USB to Serial에 주로 사용되는 subclass
ECM(Ethernet Networking Control Model)
Usb to ethernet의 subclass. 주 목적은 ethernet packet을 전송하기 위한 class이다.

[링크 : https://jeongzero.oopy.io/fad066a1-fe95-487e-a826-003aee42a0cc]

 

ECM - usb if에서 정의

rndis (remote ndis) - ms에서 개발한 독점 프로토콜

[링크 : https://codezoo.tistory.com/109]

[링크 : https://community.st.com/t5/stm32-mcus-products/stm32u5x-usb-ecm-demo-how-to-setup-host/td-p/631189]

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

cpuz 와 메모리 타이밍  (0) 2026.01.27
mPCIe pinout usb  (0) 2026.01.21
pc 쿨링팬 pwm 주파수  (0) 2025.12.01
bit banging  (0) 2025.05.08
numa 와 smp  (0) 2025.05.07
Posted by 구차니

대충 25khz?

[링크 : https://blog.naver.com/divenire_am/220489050085]

 

ATX 규격은 아니고 intel 팬에 대한 규격으로 있다고 ai 님께서 이야기 하신다.

4-Wire Pulse Width Modulation (PWM) Controlled Fans

2.3.1 PWM Output Signal
The Hardware Monitor Devise is required to provide an open-drain or open-collector type output
for the PWM signal on pin 4 (see Table 1 and Figure 8) with the following properties:
Frequency: 25kHz nominal, 21-28kHz is acceptable
Current sink capability: 5mA required, 8mA recommended
Maximum voltage capability: 5.25V
Maximum VOL: 0.8V
Signal is not inverted, 100% PWM results in Max fan speed 

[링크 : https://glkinst.com/cables/cable_pics/4_Wire_PWM_Spec.pdf]

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

mPCIe pinout usb  (0) 2026.01.21
usb cdc acm(Abstract Control Model)  (0) 2026.01.08
bit banging  (0) 2025.05.08
numa 와 smp  (0) 2025.05.07
USB BOS - Binary Object Store  (0) 2024.07.14
Posted by 구차니
이론 관련/전기 전자2025. 11. 24. 15:52

순방향 전압강하가 적고 어쩌구 하고, 고속정류(교류->직류)에 유리하다고

하지만 역 누설전류가 많다는데 그게 어떤걸 의미하는지 감이 안왔었는데...

[링크 : https://m.blog.naver.com/giriffing/220911910493]

[링크 : https://m.blog.naver.com/haneham/221266444757]

 

말 그대로 전류가 역류해서 왜 전원이 생겨나지(멘붕) 이런 사태가 발생해버림..

 

그 와중에 온도에 따른 영향도 크다

[링크 : https://toshiba.semicon-storage.com/info/CUS10S30_datasheet_en_20140407.pdf?did=14077&prodName=CUS10S30]

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

엔코더 파형  (0) 2026.01.12
엔코더 채터링?  (0) 2026.01.11
엔코더 관련글  (0) 2025.10.28
오디오 녹음 재머  (0) 2025.09.15
pwm 화음 출력  (0) 2025.08.06
Posted by 구차니
이론 관련/전기 전자2025. 10. 28. 18:28

천천히 읽어 봐야지..

단순하게 2개 채널의 출력값으로 회전 방향과 회전수를 재는줄 알았는데\

UVW 3개 채널로 나오는 녀석도 존재하나보다.

 

[링크 : https://blog.naver.com/3lastbaek5/221742506275]

[링크 : https://blog.naver.com/3lastbaek5/222027952013]

[링크 : https://blog.naver.com/3lastbaek5/222028985811]

[링크 : https://blog.naver.com/3lastbaek5/222032081149]

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

엔코더 채터링?  (0) 2026.01.11
쇼트키 다이오드  (0) 2025.11.24
오디오 녹음 재머  (0) 2025.09.15
pwm 화음 출력  (0) 2025.08.06
힐베르트 변환포락선 인벨로프  (0) 2025.06.27
Posted by 구차니
이론 관련/전기 전자2025. 9. 15. 14:06

초음파를 쏴서 전 대역에 재밍거는 방법과 백색 소음을 전대역에 재밍거는 방법이 있다는데

일단 초음파를 쓰면 line of sight에서만 작동하는 듯.

 

[링크 : https://www.isecus.com/audio-recording-jammer-comparison/]

[링크 : https://github.com/mcore1976/antispy-jammer]

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

쇼트키 다이오드  (0) 2025.11.24
엔코더 관련글  (0) 2025.10.28
pwm 화음 출력  (0) 2025.08.06
힐베르트 변환포락선 인벨로프  (0) 2025.06.27
ntc r/t-tol  (0) 2025.04.29
Posted by 구차니

얼굴을 어떻게 인식하나 해서 찾아보는 중

코드에서 아래의 내용이 있어 보니 cosine similarity 라고 나오는데

 

    def get_similarity(self, face_a, face_b):
        """Finds the similarity between two masks
        This is done by taking the vectors in the face mask and finding the
        cosine similarity between them. The formula to find this is:

                                  f(a[n] * b[n])
        sim (a[],b[]) = -----------------------------------
                         sqrt(f(a[n]^2)) * sqrt(f(b[n]^2))

        where:
        - a[] and b[] both represent the array of values of a single face mask
        - f(n) is the sum of values where n is 0 through the length of a[]
          minus 1
        - a[] and b[] have equal lengths and equal indexes map to the same
          points on the face mask

        The idea behind this method is that vectors that have smaller
        vectors between them (independent of magnitude) should in theory be
        similar.
        """
        dot = 0
        a_sum = 0
        b_sum = 0
        for count in range(128):
            dot = dot + (face_a[count] * face_b[count])
            a_sum = a_sum + (face_a[count] * face_a[count])
            b_sum = b_sum + (face_b[count] * face_b[count])
        sim = dot / (np.sqrt(a_sum) * np.sqrt(b_sum))
        return sim

 

대충 검색해보니 취향을 찾기로도 써먹기도 한다고

[링크 : https://wikidocs.net/24603]

[링크 : https://benn.tistory.com/62]

 

[링크 : https://snu-eng.kr/html/2403/SS46_23_special.php]

 

face_recognition 라이브러리에서는 face_encodings로 특징점을 추출하고

compare_faces라는 함수로 유사도를 계산해주는 듯.

import face_recognition
known_image = face_recognition.load_image_file("biden.jpg")
unknown_image = face_recognition.load_image_file("unknown.jpg")

biden_encoding = face_recognition.face_encodings(known_image)[0]
unknown_encoding = face_recognition.face_encodings(unknown_image)[0]

results = face_recognition.compare_faces([biden_encoding], unknown_encoding)

[링크 : https://github.com/ageitgey/face_recognition]

'이론 관련 > 2D 그래픽 관련' 카테고리의 다른 글

retinex 알고리즘  (0) 2022.01.20
jpeg 헤더  (0) 2020.12.01
영상처리 관련 링크 기술  (0) 2017.04.19
HDRi / HDRI (High dynamic range imaging)  (0) 2011.04.29
BDF - Bitmap Distribution Format  (0) 2011.04.28
Posted by 구차니