← Documents Documentation/ABI/testing/sysfs-bus-iio-isl29501 GitHub 원문 ↗

Linux 6.18.37 · ABI / testing

ISL29501 gain and environmental calibration

ISL29501 거리 센서의 AGC 크로스토크 바이어스와 온도·주변광 2차 위상 보정 계수 산출 절차를 설명합니다.

Source pathDocumentation/ABI/testing/sysfs-bus-iio-isl29501
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.

1. 요약·해설

원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.

Crosstalk gain transfer

sysfs-bus-iio-isl29501:1-16

센서가 선택한 실제 AGC 이득은 [0; 65536] 정수이며, 크로스토크 측정 때 읽은 값을 agc_gain_bias에 저장합니다.

Independent polynomial fits

sysfs-bus-iio-isl29501:17-47

온도와 주변광을 독립적으로 변화시키며 위상을 수집한 뒤 각각 ax^2 + bx + c에 최소제곱 맞춤합니다. a와 b는 해당 sysfs 속성에 저장하고 c는 센서가 내부 설정합니다.

2. 영어 원문 전체

번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.

원문 전체 펼치기
1 What: /sys/bus/iio/devices/iio:deviceX/in_proximity0_agc_gain
2 What: /sys/bus/iio/devices/iio:deviceX/in_proximity0_agc_gain_bias
3 KernelVersion: 4.18
5 Description:
6 This sensor has an automatic gain control (agc) loop
7 which sets the analog signal levels at an optimum
8 level by controlling programmable gain amplifiers. The
9 criteria for optimal gain is determined by the sensor.
10
11 Return the actual gain value as an integer in [0; 65536]
12 range when read from.
13
14 The agc gain read when measuring crosstalk shall be
15 written into in_proximity0_agc_gain_bias.
16
17 What: /sys/bus/iio/devices/iio:deviceX/in_proximity0_calib_phase_temp_a
18 What: /sys/bus/iio/devices/iio:deviceX/in_proximity0_calib_phase_temp_b
19 What: /sys/bus/iio/devices/iio:deviceX/in_proximity0_calib_phase_light_a
20 What: /sys/bus/iio/devices/iio:deviceX/in_proximity0_calib_phase_light_b
21 KernelVersion: 4.18
23 Description:
24 The sensor is able to perform correction of distance
25 measurements due to changing temperature and ambient
26 light conditions. It can be programmed to correct for
27 a second order error polynomial.
28
29 Phase data has to be collected when temperature and
30 ambient light are modulated independently.
31
32 Then a least squares curve fit to a second order
33 polynomial has to be generated from the data. The
34 resultant curves have the form ax^2 + bx + c.
35
36 From those two curves, a and b coefficients shall be
37 stored in in_proximity0_calib_phase_temp_a and
38 in_proximity0_calib_phase_temp_b for temperature and
39 in in_proximity0_calib_phase_light_a and
40 in_proximity0_calib_phase_light_b for ambient light.
41
42 Those values must be integer in [0; 8355840] range.
43
44 Finally, the c constant is set by the sensor
45 internally.
46
47 The value stored in sensor is displayed when read from.
48

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.

AGC 이득과 크로스토크 바이어스

1-16
항목한국어 전문 번역
What/sys/bus/iio/devices/iio:deviceX/in_proximity0_agc_gain
What/sys/bus/iio/devices/iio:deviceX/in_proximity0_agc_gain_bias
KernelVersion4.18
Contact[email protected]
Description이 센서에는 프로그래밍 가능한 이득 증폭기를 제어해 아날로그 신호 레벨을 최적 수준으로 맞추는 자동 이득 제어(AGC) 루프가 있습니다. 최적 이득의 기준은 센서가 결정합니다. 읽으면 실제 이득 값을 [0; 65536] 범위의 정수로 반환합니다. 크로스토크를 측정할 때 읽은 AGC 이득을 in_proximity0_agc_gain_bias에 써야 합니다.

온도와 주변광 위상 보정 계수

17-47
항목한국어 전문 번역
What/sys/bus/iio/devices/iio:deviceX/in_proximity0_calib_phase_temp_a
What/sys/bus/iio/devices/iio:deviceX/in_proximity0_calib_phase_temp_b
What/sys/bus/iio/devices/iio:deviceX/in_proximity0_calib_phase_light_a
What/sys/bus/iio/devices/iio:deviceX/in_proximity0_calib_phase_light_b
KernelVersion4.18
Contact[email protected]
Description센서는 온도 및 주변광 조건 변화로 인한 거리 측정값을 보정할 수 있습니다. 2차 오차 다항식을 보정하도록 프로그래밍할 수 있습니다. 온도와 주변광을 서로 독립적으로 변조하면서 위상 데이터를 수집해야 합니다. 그런 다음 데이터로부터 2차 다항식에 대한 최소제곱 곡선 맞춤을 생성해야 합니다. 결과 곡선의 형태는 ax^2 + bx + c입니다. 두 곡선에서 온도에 대한 a, b 계수는 in_proximity0_calib_phase_temp_a와 in_proximity0_calib_phase_temp_b에 저장하고, 주변광에 대한 a, b 계수는 in_proximity0_calib_phase_light_a와 in_proximity0_calib_phase_light_b에 저장해야 합니다. 이 값들은 [0; 8355840] 범위의 정수여야 합니다. 마지막으로 c 상수는 센서가 내부적으로 설정합니다. 읽으면 센서에 저장된 값을 표시합니다.
ax^2 + bx + c