KR20240021072A - Stylus pen with adjustable pen pressure, electronic device using the same as an input device, and operating method thereof - Google Patents

Stylus pen with adjustable pen pressure, electronic device using the same as an input device, and operating method thereof Download PDF

Info

Publication number
KR20240021072A
KR20240021072A KR1020220108352A KR20220108352A KR20240021072A KR 20240021072 A KR20240021072 A KR 20240021072A KR 1020220108352 A KR1020220108352 A KR 1020220108352A KR 20220108352 A KR20220108352 A KR 20220108352A KR 20240021072 A KR20240021072 A KR 20240021072A
Authority
KR
South Korea
Prior art keywords
pen
stylus pen
electronic device
frequency
processor
Prior art date
Application number
KR1020220108352A
Other languages
Korean (ko)
Inventor
김태건
여영진
이문석
Original Assignee
삼성전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자주식회사 filed Critical 삼성전자주식회사
Publication of KR20240021072A publication Critical patent/KR20240021072A/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0354Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of 2D relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks
    • G06F3/03545Pens or stylus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0412Digitisers structurally integrated in a display
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/046Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by electromagnetic means

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • General Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Position Input By Displaying (AREA)

Abstract

본 개시의 일 실시예에 따른 전자 장치는, 디스플레이 패널, 디지타이저 패드, 디지타이저 패드 컨트롤러, 메모리, 및 프로세서를 포함할 수 있다. 상기 메모리는 상기 프로세서에 의해 실행 시에, 상기 전자 장치가, 스타일러스 펜(201)이 상기 디지타이저 패드에 접근함에 따라, 전자기 유도로 인해 상기 디지타이저 패드에 인가되는 자기장의 주파수를 상기 디지타이저 패드 컨트롤러로부터 획득하고, 상기 주파수에 대응하는 제1 필압을 상기 스타일러스 펜의 필압으로 결정하고, 상기 결정된 필압에 따라 상기 스타일러스 펜을 식별하도록 하는 하나 이상의 인스트럭션들을 저장할 수 있다.An electronic device according to an embodiment of the present disclosure may include a display panel, a digitizer pad, a digitizer pad controller, memory, and a processor. When the memory is executed by the processor, the electronic device acquires the frequency of a magnetic field applied to the digitizer pad due to electromagnetic induction from the digitizer pad controller as the stylus pen 201 approaches the digitizer pad. And, the first pen pressure corresponding to the frequency may be determined as the pen pressure of the stylus pen, and one or more instructions for identifying the stylus pen according to the determined pen pressure may be stored.

Description

필압 조절 가능한 스타일러스 펜, 이를 입력 장치로 이용하는 전자 장치 및 그 동작 방법{STYLUS PEN WITH ADJUSTABLE PEN PRESSURE, ELECTRONIC DEVICE USING THE SAME AS AN INPUT DEVICE, AND OPERATING METHOD THEREOF}Stylus pen with adjustable pressure, electronic device using the same as an input device, and method of operating the same {STYLUS PEN WITH ADJUSTABLE PEN PRESSURE, ELECTRONIC DEVICE USING THE SAME AS AN INPUT DEVICE, AND OPERATING METHOD THEREOF}

본 개시는 필압 조절 가능한 스타일러스 펜, 이를 입력 장치로 이용하는 전자 장치 및 그 동작 방법에 관한 것이다.The present disclosure relates to a stylus pen with adjustable pen pressure, an electronic device using the same as an input device, and a method of operating the same.

태블릿 PC 또는 스마트 폰과 같은 터치 스크린을 구비한 전자 장치는 스타일러스 펜을 이용한 입력을 처리할 수 있다. 스타일러스 펜의 입력 신호를 감지하는 방식에 따라 감압식, 정전식, 및 전자기 공명 또는 전자기 유도(electromagnetic resonance, EMR) 식으로 구분될 수 있다.Electronic devices with touch screens, such as tablet PCs or smart phones, can process input using a stylus pen. Depending on the method of detecting the input signal of the stylus pen, it can be classified into pressure-sensitive type, electrostatic type, and electromagnetic resonance or electromagnetic resonance (EMR) type.

감압식은 펜의 팁이 터치 스크린에 가한 압력을 감지하는 방식일 수 있다. 정전식은 전도체가 구비된 팁이 정전식 터치 스크린에 접촉되며 일으키는 전기 신호의 변화를 감지하는 방식일 수 있다. 전자기 유도식은 터치 스크린에서 발생시키는 자기장과 펜 사이에 발생하는 전자기 유도에 의한 공명을 감지하는 방식일 수 있다.The pressure-sensitive type may be a method that detects the pressure applied by the tip of the pen to the touch screen. Capacitive may be a method of detecting changes in electrical signals generated when a tip provided with a conductor comes into contact with a capacitive touch screen. The electromagnetic induction type may be a method that detects resonance caused by electromagnetic induction between the magnetic field generated by the touch screen and the pen.

일 실시예에 따른, 전자 장치는, 디스플레이 패널, 디지타이저 패드, 디지타이저 패드 컨트롤러, 메모리, 및 프로세서를 포함할 수 있다. 상기 메모리는, 상기 프로세서에 의해 실행 시에, 상기 전자 장치가, 스타일러스 펜이 상기 디지타이저 패드에 접근함에 따라, 전자기 유도로 인해 상기 디지타이저 패드에 인가되는 자기장의 주파수를 상기 디지타이저 패드 컨트롤러로부터 획득하도록 하는 하나 이상의 인스트럭션들을 저장할 수 있다. 상기 인스트럭션들은, 상기 프로세서에 의해 실행 시에, 상기 전자 장치가, 상기 주파수에 대응하는 제1 필압을 상기 스타일러스 펜의 필압으로 결정하도록 할 수 있다. 상기 인스트럭션들은, 상기 프로세서에 의해 실행 시에, 상기 전자 장치가, 상기 결정된 필압에 따라 상기 스타일러스 펜을 식별하도록 할 수 있다.According to one embodiment, an electronic device may include a display panel, a digitizer pad, a digitizer pad controller, memory, and a processor. The memory, when executed by the processor, causes the electronic device to obtain, from the digitizer pad controller, a frequency of a magnetic field applied to the digitizer pad due to electromagnetic induction as a stylus pen approaches the digitizer pad. One or more instructions can be stored. When executed by the processor, the instructions may cause the electronic device to determine the first pen pressure corresponding to the frequency as the pen pressure of the stylus pen. When executed by the processor, the instructions may cause the electronic device to identify the stylus pen according to the determined pen pressure.

일 실시예에 따른, 전자 장치의 동작 방법은, 스타일러스 펜이 디지타이저 패드에 접근함에 따라, 전자기 유도로 인해 상기 디지타이저 패드에 인가되는 자기장의 주파수를 디지타이저 패드 컨트롤러로부터 획득하는 동작을 포함할 수 있다. 상기 방법은, 상기 주파수에 대응하는 제1 필압을 상기 스타일러스 펜의 필압으로 결정하는 동작을 포함할 수 있다. 상기 방법은, 상기 결정된 필압에 따라 상기 스타일러스 펜을 식별하는 동작을 포함할 수 있다.According to one embodiment, a method of operating an electronic device may include obtaining, from a digitizer pad controller, the frequency of a magnetic field applied to the digitizer pad due to electromagnetic induction as a stylus pen approaches the digitizer pad. The method may include determining the first pen pressure corresponding to the frequency as the pen pressure of the stylus pen. The method may include identifying the stylus pen according to the determined pen pressure.

일 실시예에 따른, 스타일러스 펜은, 양단이 개구되고, 관형의 수용 공간을 형성하는 하우징을 포함할 수 있다. 상기 스타일러스 펜은, 상기 하우징의 선단부의 개구를 통해 내부에 삽입 배치되는 본체부 및 상기 선단부의 개구를 통해 외부로 노출되는 팁을 포함하는 제1 심체를 포함할 수 있다. 상기 스타일러스 펜은, 상기 하우징 내부에 수용되는 공진 회로를 포함할 수 있다. 상기 스타일러스 펜은, 상기 하우징의 후단부에 배치되는 필압 조절부를 포함할 수 있다. 상기 필압 조절부에 회전력이 인가되면, 상기 공진 회로의 공진 주파수가 변경될 수 있다.According to one embodiment, the stylus pen may include a housing that is open at both ends and forms a tubular receiving space. The stylus pen may include a first core including a main body portion inserted into the housing through an opening in the front end portion and a tip exposed to the outside through an opening in the front end portion. The stylus pen may include a resonance circuit accommodated inside the housing. The stylus pen may include a pen pressure adjustment unit disposed at the rear end of the housing. When rotational force is applied to the pen pressure adjusting unit, the resonance frequency of the resonance circuit may be changed.

도 1은 일 예시에 따른 전자 장치 및 스타일러스 펜의 개략도이다.
도 2는 일 예시에 따른 스타일러스 펜의 구성을 나타낸 개략도이다.
도 3은 일 예시에 따른 스타일러스 펜의 공진 회로를 나타낸 도면이다.
도 4는 일 예시에 따른 가변 커패시터의 구성을 나타낸 개략도이다.
도 5는 일 예시에 따른 전자 장치의 구성을 나타낸 블록도이다.
도 6은 일 예시에 따른 전자 장치의 동작을 나타낸 흐름도이다.
도 7은 일 예시에 따른 전자 장치의 동작을 나타낸 흐름도이다.
도 8은 일 예시에 따른 네트워크 환경 내의 전자 장치의 블록도이다.
도면의 설명과 관련하여, 동일 또는 유사한 구성요소에 대해서는 동일 또는 유사한 참조 부호가 사용될 수 있다.
1 is a schematic diagram of an electronic device and a stylus pen according to one example.
Figure 2 is a schematic diagram showing the configuration of a stylus pen according to an example.
Figure 3 is a diagram showing a resonance circuit of a stylus pen according to an example.
Figure 4 is a schematic diagram showing the configuration of a variable capacitor according to an example.
Figure 5 is a block diagram showing the configuration of an electronic device according to an example.
Figure 6 is a flowchart showing the operation of an electronic device according to an example.
Figure 7 is a flowchart showing the operation of an electronic device according to an example.
Figure 8 is a block diagram of an electronic device in a network environment according to an example.
In relation to the description of the drawings, identical or similar reference numerals may be used for identical or similar components.

도 1은 일 예시에 따른 전자 장치(101) 및 스타일러스 펜(201)의 개략도(100)이다.1 is a schematic diagram 100 of an electronic device 101 and a stylus pen 201 according to one example.

일 예시에 따르면, 전자 장치(101)는 스타일러스 펜(201)을 이용한 입력을 수신할 수 있다. 일 예로, 전자 장치(101) 및 스타일러스 펜(201)은 전자기 공명(electromagnetic resonance) 또는 전자기 유도 방식을 이용하여 입력을 수행할 수 있다.According to one example, the electronic device 101 may receive an input using the stylus pen 201. As an example, the electronic device 101 and the stylus pen 201 may perform input using electromagnetic resonance or electromagnetic induction.

스타일러스 펜(201)은 심체(220) 및 공진 회로(210)를 포함할 수 있다. 스타일러스 펜(201)은 심체(220)를 갖는 펜 형태일 수 있다. 심체(220)는 본체부(221) 및 팁(222)을 포함할 수 있다. 본체부(221)는 막대 모양으로서, 스타일러스 펜(201)의 앞쪽 끝의 개구로 삽입되어 스타일러스 펜(201)에 장착될 수 있다. 예를 들어, 본체부(221)는 경질의 비전도성 재료로 이루어질 수 있다. 팁(222)은 본체부(221)의 선단부일 수 있다. 팁(222)은 본체부(221)가 개구를 통해 삽입된 상태에서 스타일러스 펜(201)의 외측으로 노출되도록 장착될 수 있다.The stylus pen 201 may include a core 220 and a resonance circuit 210. The stylus pen 201 may be in the form of a pen having a core 220. The core 220 may include a main body 221 and a tip 222. The body portion 221 has a rod shape and can be inserted into an opening at the front end of the stylus pen 201 and mounted on the stylus pen 201. For example, the main body 221 may be made of a hard, non-conductive material. The tip 222 may be the tip of the main body 221. The tip 222 may be mounted to be exposed to the outside of the stylus pen 201 when the main body 221 is inserted through the opening.

스타일러스 펜(201)은 내부에 공진 회로(210)를 포함할 수 있다.The stylus pen 201 may include a resonance circuit 210 therein.

전자 장치(101)는 디지타이저 패드(digitizer pad)(130), 디스플레이 패널(120), 윈도우(110), 및 디지타이저 패드 컨트롤러(135)를 포함할 수 있다. 디지타이저 패드(130), 디스플레이 패널(120), 및 윈도우(110) 순으로 적층될 수 있다.The electronic device 101 may include a digitizer pad 130, a display panel 120, a window 110, and a digitizer pad controller 135. The digitizer pad 130, the display panel 120, and the window 110 may be stacked in that order.

디지타이저 패드 컨트롤러(135)는 디지타이저 패드(130)로 교류 전류를 제공(또는, 전달)할 수 있다. 디지타이저 패드(130)는 교류 전류에 의해 전자기장을 발생시킬 수 있다. 스타일러스 펜(201)이 디지타이저 패드(130)의 전자기장에 접근 또는 접촉하게 되면, 전자기 유도 현상이 일어날 수 있다. 전자기 유도에 의해 스타일러스 펜(201)의 공진 회로(210)는 전류를 발생시킬 수 있다. 공진 회로(210)는 발생한 전류에 의해 자기장(20)을 형성할 수 있다.The digitizer pad controller 135 may provide (or transfer) alternating current to the digitizer pad 130. The digitizer pad 130 may generate an electromagnetic field by alternating current. When the stylus pen 201 approaches or contacts the electromagnetic field of the digitizer pad 130, an electromagnetic induction phenomenon may occur. The resonance circuit 210 of the stylus pen 201 may generate current by electromagnetic induction. The resonance circuit 210 may form a magnetic field 20 by the generated current.

디지타이저 패드 컨트롤러(135)는 스타일러스 펜(201)으로부터 디지타이저 패드(130)로 인가되는 자기장(20)을 감지할 수 있다. 예를 들어, 디지타이저 패드 컨트롤러(135)는 자기장(20)의 주파수를 감지(또는, 식별)할 수 있다. 감지된 주파수는, 스타일러스 펜(201)의 공진 회로(210)의 공진 주파수일 수 있다. 디지타이저 패드 컨트롤러(135)는 획득된 주파수 정보를 전자 장치(101)의 프로세서(미도시)로 전달할 수 있다. 예를 들어, 전자 장치(101)의 프로세서(미도시)는 주파수에 대응하는 필압을 결정할 수 있다.The digitizer pad controller 135 can detect the magnetic field 20 applied from the stylus pen 201 to the digitizer pad 130. For example, the digitizer pad controller 135 may detect (or identify) the frequency of the magnetic field 20. The detected frequency may be the resonance frequency of the resonance circuit 210 of the stylus pen 201. The digitizer pad controller 135 may transmit the acquired frequency information to the processor (not shown) of the electronic device 101. For example, a processor (not shown) of the electronic device 101 may determine pen pressure corresponding to the frequency.

예를 들어, 디지타이저 패드 컨트롤러(135)는 감지된 주파수에 기반하여 스타일러스 펜(201)의 필압을 결정하고, 결정된 필압 정보를 프로세서(미도시)에 제공할 수 있다. 프로세서(미도시)는 디지타이저 패드 컨트롤러(135)로부터 필압 정보를 수신할 수 있다.For example, the digitizer pad controller 135 may determine the pen pressure of the stylus pen 201 based on the detected frequency and provide the determined pen pressure information to a processor (not shown). A processor (not shown) may receive pen pressure information from the digitizer pad controller 135.

디지타이저 패드 컨트롤러(135)는 스타일러스 펜(201)으로부터 디지타이저 패드(130)로 인가되는 자기장의 강도를 전 영역에 걸쳐 스캔하여 위치를 검출할 수 있다. 디지타이저 패드 컨트롤러(135)는 검출된 위치를 전자 장치(101)의 프로세서(미도시)로 전달할 수 있다. 검출된 위치는, 예를 들어, 좌표로 제공될 수 있다. 전자 장치(101)의 프로세서(미도시)는 검출된 위치에 대응하는 동작을 디스플레이 패널(120)을 통해 출력할 수 있다. 예를 들어, 프로세서(미도시)는 텍스트, 이미지, 또는 비디오를 포함하는 시각 정보(그래픽 요소 또는 그래픽 객체)를 디스플레이 패널(120)을 통해 출력할 수 있다.The digitizer pad controller 135 can detect the position by scanning the strength of the magnetic field applied from the stylus pen 201 to the digitizer pad 130 over the entire area. The digitizer pad controller 135 may transmit the detected position to the processor (not shown) of the electronic device 101. The detected location may be provided as coordinates, for example. The processor (not shown) of the electronic device 101 may output an operation corresponding to the detected location through the display panel 120. For example, a processor (not shown) may output visual information (graphic elements or graphic objects) including text, images, or video through the display panel 120 .

도 2는 일 예시에 따른 스타일러스 펜(201)의 구성을 나타낸 개략도(200)이다.Figure 2 is a schematic diagram 200 showing the configuration of a stylus pen 201 according to an example.

도 2를 참조하면, 일 예시에 따른 스타일러스 펜(201)은 공진 회로(210), 제1 심체(220), 필압 조절부(230), 하우징(290)을 포함할 수 있다. 하우징(290)은 양단이 개구되고, 관형의 수용 공간을 포함(또는, 형성)할 수 있다. 하우징(290)은 일단부(예: 선단부)가 좁아질 수 있다. 공진 회로(210)는 하우징(290)의 내부에 배치될 수 있다. 제1 심체(220)는 적어도 일부가 하우징(290)의 내부에 배치될 수 있다. 제1 심체(220)는, 도 1을 참조하여 예를 들면, 본체부(221) 및 팁(222)을 포함할 수 있다. 본체부(221)는 하우징(290)의 선단부(예: x 축의 음의 방향의 단부)의 개구를 통해 삽입되어 하우징(290)의 내부에 배치될 수 있다. 팁(222)은 하우징(290)의 선단부의 개구를 통해 외부로 노출될 수 있다. 필압 조절부(230)의 적어도 일부는 하우징(290)의 외부에 배치될 수 있다. 필압 조절부(230)는, 예를 들어, 회전부(231), 이송부(233), 및 제2 심체(235)를 포함할 수 있다. 예를 들어, 이송부(233) 및 제2 심체(235)는 하우징(290)의 내부에 배치될 수 있다. 제2 심체(235)는 관형 하우징(290)의 축 방향(예: x 축 방향)으로 하우징(290) 내부에 배치될 수 있다. 회전부(231)의 적어도 일부는 하우징(290)의 외부에 배치될 수 있다. 예를 들어, 회전부(231)는 하우징(290)의 후단부(예: x 축의 양의 방향의 단부)의 개구를 통해 외부로 노출될 수 있다. 제1 심체(220), 공진 회로(210), 및 필압 조절부(230)는 순서대로 스타일러스 펜(201)의 앞 부분 쪽에서 뒷 부분 쪽으로(예: x 축의 양의 방향으로) 하우징(290) 내부에 배치될 수 있다.Referring to FIG. 2 , the stylus pen 201 according to one example may include a resonance circuit 210, a first core 220, a pen pressure adjuster 230, and a housing 290. The housing 290 is open at both ends and may include (or form) a tubular receiving space. The housing 290 may have one end (eg, a tip) narrowed. The resonance circuit 210 may be disposed inside the housing 290. At least a portion of the first core 220 may be disposed inside the housing 290 . Referring to FIG. 1 , the first core 220 may include, for example, a main body 221 and a tip 222. The main body 221 may be inserted through an opening in the front end (eg, an end in the negative direction of the x-axis) of the housing 290 and placed inside the housing 290. The tip 222 may be exposed to the outside through an opening in the front end of the housing 290. At least a portion of the pen pressure adjusting unit 230 may be disposed outside the housing 290. The pen pressure adjusting unit 230 may include, for example, a rotating unit 231, a transferring unit 233, and a second core 235. For example, the transfer unit 233 and the second core 235 may be disposed inside the housing 290. The second core 235 may be disposed inside the housing 290 in the axial direction (eg, x-axis direction) of the tubular housing 290. At least a portion of the rotating part 231 may be disposed outside the housing 290. For example, the rotating part 231 may be exposed to the outside through an opening in the rear end (eg, the end in the positive direction of the x-axis) of the housing 290. The first core 220, the resonance circuit 210, and the pen pressure adjusting unit 230 are inside the housing 290 in that order from the front side to the back side of the stylus pen 201 (e.g., in the positive direction of the x-axis). can be placed in

공진 회로(210)는 인덕터(inductor)(211) 및 가변 커패시터(capacitor)(213)를 포함할 수 있다. 인덕터(211)는 전자기 공명 또는 전자기 유도 동작을 위한 코일 및 코일이 권선된 자성체 코어를 포함할 수 있다. 예를 들어, 자성체 코어는 페라이트(ferrite) 코어일 수 있다. 예를 들어, 페라이트 코어는 제1 심체(220)의 적어도 일부가 삽입 및 통과될 수 있도록 본체부(221)의 지름보다 큰 지름의 관통공을 가지는 원통 형상으로 구비될 수 있다.The resonance circuit 210 may include an inductor 211 and a variable capacitor 213. The inductor 211 may include a coil for electromagnetic resonance or electromagnetic induction operation and a magnetic core on which the coil is wound. For example, the magnetic core may be a ferrite core. For example, the ferrite core may be provided in a cylindrical shape with a through hole having a larger diameter than the diameter of the main body 221 so that at least a portion of the first core 220 can be inserted and passed through.

가변 커패시터(213)는 인덕터(211)와 병렬 연결될 수 있다. 가변 커패시터(213)는 제1 심체(220)와 전기적으로 연결되지 않을 수 있다. 예를 들어, 팁(222)이 하우징(290) 내부로 가압되는 경우 제1 심체(220)가 페라이트 코어를 통해 스타일러스 펜(201)의 뒷 부분 쪽으로 이동할 수 있으나, 제1 심체(220)의 이동은 가변 커패시터(213)의 정전용량에 영향을 미치지 않을 수 있다. 제1 심체(220)는 공진 회로(210)와 전기적으로 연결되지 않을 수 있다. 제1 심체(220)는 공진 회로(210) 또는 공진 주파수에 영향을 미치지 않는다는 의미에서 더미(dummy) 펜 심일 수 있다.The variable capacitor 213 may be connected in parallel with the inductor 211. The variable capacitor 213 may not be electrically connected to the first core 220. For example, when the tip 222 is pressed into the housing 290, the first core 220 may move toward the rear portion of the stylus pen 201 through the ferrite core, but the movement of the first core 220 may not affect the capacitance of the variable capacitor 213. The first core 220 may not be electrically connected to the resonance circuit 210. The first core 220 may be a dummy pen core in the sense that it does not affect the resonance circuit 210 or the resonance frequency.

가변 커패시터(213)는 필압 조절부(230)와 전기적으로 연결될 수 있다. 회전부(231)에 회전력이 인가되면, 이송부(233)는 제2 심체(235)를 스타일러스 펜(201)의 앞뒤 방향 또는 관형 하우징(290)의 길이 방향 또는 축 방향(예: x 축 방향)으로 진퇴 이동시킬 수 있다. 제2 심체(235)의 진퇴 이동에 따라 가변 커패시터(213)의 정전용량(capacitance)이 변경될 수 있다.The variable capacitor 213 may be electrically connected to the pen pressure adjusting unit 230. When a rotational force is applied to the rotation unit 231, the transfer unit 233 moves the second core 235 in the front and rear direction of the stylus pen 201 or in the longitudinal or axial direction (e.g., x-axis direction) of the tubular housing 290. It can be moved forward or backward. The capacitance of the variable capacitor 213 may change according to the forward and backward movement of the second core 235.

회전부(231)는, 예를 들어, 휠(wheel) 또는 다이얼(dial)을 포함할 수 있다. 예를 들어, 사용자가 휠 또는 다이얼을 회전시킴에 따라 필압 조절부(230)에 회전력이 인가될 수 있다.The rotating part 231 may include, for example, a wheel or a dial. For example, as the user rotates the wheel or dial, rotational force may be applied to the pen pressure adjusting unit 230.

이송부(233)는 회전부(231)에 인가된 회전력을 이용하여 제2 심체(235)를 하우징(290)의 길이 방향(예: x 축 방향)으로 진퇴 이동시킬 수 있다. 필압 조절부(230)의 구조는 회전부(231)에 인가된 회전력에 의해 이송부(233)가 제2 심체(235)를 하우징(290)의 길이 방향으로 진퇴 이동시킬 수 있는 다양한 물리적 구조를 포함할 수 있다.The transfer unit 233 may move the second core 235 forward and backward in the longitudinal direction (eg, x-axis direction) of the housing 290 using the rotational force applied to the rotation unit 231. The structure of the pen pressure adjusting unit 230 may include various physical structures that allow the transfer unit 233 to move the second core 235 forward and backward in the longitudinal direction of the housing 290 by the rotational force applied to the rotating unit 231. You can.

예를 들어, 회전부(231)는 이송부(233)와 나사 결합될 수 있으나, 이에 한정되는 것은 아니다. 예를 들어, 이송부(233)는 원통형의 관통공을 가질 수 있고, 관통공의 내주면에 나선 홈을 포함할 수 있다. 예를 들어, 회전부(231)는 원통형일 수 있고, 외주면에 나선 돌기를 포함할 수 있다. 예를 들어, 회전부(231)에 회전력이 인가되면 회전부(231)의 외주면의 나선 돌기가 이송부(233)의 내주면의 나선 홈에 끼워지면서 회전부(231)가 팁(222) 방향(예: x 축의 음의 방향)으로(또는, 스타일러스 펜(201)의 앞쪽으로) 이동할 수 있다. 예를 들어, 회전부(231)의 일단에는 제2 심체(235)가 연결될 수 있다. 제2 심체(235)는 회전부(231)가 하우징(290)의 길이 방향(예: x 축 방향)으로 회전하며 진퇴 이동함에 따라 하우징(290)의 길이 방향으로 진퇴 이동할 수 있다. 예를 들어, 회전부(231)의 회전각에 의해 제2 심체(235)의 하우징(290)의 길이 방향(예: x 축 방향)의 이동 거리가 정해질 수 있다.For example, the rotating part 231 may be screw-coupled with the transferring part 233, but the present invention is not limited thereto. For example, the transfer unit 233 may have a cylindrical through hole and may include a spiral groove on the inner peripheral surface of the through hole. For example, the rotating part 231 may be cylindrical and may include a spiral protrusion on its outer peripheral surface. For example, when a rotational force is applied to the rotating unit 231, the spiral protrusion on the outer peripheral surface of the rotating unit 231 is inserted into the spiral groove on the inner peripheral surface of the transferring unit 233, and the rotating unit 231 moves in the direction of the tip 222 (e.g., along the x-axis). It may move in the negative direction (or toward the front of the stylus pen 201). For example, the second core 235 may be connected to one end of the rotating unit 231. The second core 235 may move forward and backward in the longitudinal direction of the housing 290 as the rotating portion 231 rotates and moves forward and backward in the longitudinal direction (eg, x-axis direction) of the housing 290. For example, the movement distance of the housing 290 of the second core 235 in the longitudinal direction (eg, x-axis direction) may be determined by the rotation angle of the rotating part 231.

가변 커패시터(213)는 제2 심체(235)의 이동 정도(예: 이동 거리)에 따라 정전용량을 가변시킬 수 있다. 공진 회로(210)는 정전용량에 따라 결정된 공진 주파수의 자기장을 형성할 수 있다.The variable capacitor 213 may vary the capacitance depending on the degree of movement (eg, movement distance) of the second core 235. The resonance circuit 210 may form a magnetic field with a resonance frequency determined according to capacitance.

예를 들어, 공진 회로(210)는 인덕터(211) 및 가변 커패시터(213) 외에 적어도 하나의 커패시터(미도시) 및 스위치(미도시)를 포함할 수 있다. 예를 들어, 스위치(미도시)는 스타일러스 펜(201)의 누름 버튼(미도시)에 의해 커패시터를 연결하거나 연결 해제할 수 있다. 누름 버튼이 가압됨에 따라, 스위치는 커패시터를 연결할 수 있다. 누름 버튼에 인가된 압력이 제거됨에 따라, 스위치는 커패시터의 연결을 해제할 수 있다. 예를 들어, 누름 버튼은 하우징(290)의 관형의 측면을 통해 노출 또는 돌출될 수 있다. 누름 버튼에 눌리는 경우, 커패시터가 추가로 연결되어 공진 회로(210)의 공진 주파수가 변경될 수 있다.For example, the resonance circuit 210 may include at least one capacitor (not shown) and a switch (not shown) in addition to the inductor 211 and the variable capacitor 213. For example, a switch (not shown) may connect or disconnect the capacitor by a push button (not shown) of the stylus pen 201. As the push button is pressed, the switch can connect a capacitor. As the pressure applied to the push button is removed, the switch can disconnect the capacitor. For example, a push button may be exposed or protrude through the tubular side of housing 290. When the push button is pressed, a capacitor may be additionally connected to change the resonance frequency of the resonance circuit 210.

예를 들어, 공진 회로(210)의 공진 주파수는 전자 장치(101)에서 감지되어 스타일러스 펜(201)의 필압 결정에 이용될 수 있다. 본 개시에서 필압은 제1 심체(220)에 가해지는 압력 또는 제1 심체(220)가 하우징(290) 내부로 이동하는 거리와 무관할 수 있다. 본 개시에서 필압은 회전부(231)의 회전각 및/또는 이송부(233)에 의해 제2 심체(235)가 이동한 거리와 관련될 수 있다. 본 개시에서, 회전부(231), 이송부(233) 및 제2 심체(235)에 의해 필압이 조절될 수 있다. 예를 들어, 스타일러스 펜(201)은 회전부(231)의 회전각 또는 제2 심체(235)가 이동한 거리에 대응하여 공진 주파수 또는 필압을 고정할 수 있다. 일 실시예에 따르면, 스타일러스 펜(201)은 사용자마다, 사용 시점마다 달라지지 않고 고정된 필압을 제공할 수 있다.For example, the resonance frequency of the resonance circuit 210 may be detected by the electronic device 101 and used to determine the pen pressure of the stylus pen 201. In the present disclosure, the pen pressure may be unrelated to the pressure applied to the first core 220 or the distance that the first core 220 moves inside the housing 290. In the present disclosure, pen pressure may be related to the rotation angle of the rotating part 231 and/or the distance moved by the second core 235 by the transferring part 233. In the present disclosure, pen pressure can be adjusted by the rotation unit 231, the transfer unit 233, and the second core 235. For example, the stylus pen 201 may fix the resonance frequency or pen pressure in response to the rotation angle of the rotating part 231 or the distance moved by the second core 235. According to one embodiment, the stylus pen 201 may provide a fixed pen pressure without changing for each user or at each time of use.

도 3은 일 예시에 따른 스타일러스 펜(201)의 공진 회로(210)를 나타낸 도면(300)이다.FIG. 3 is a diagram 300 showing the resonance circuit 210 of the stylus pen 201 according to an example.

일 예시에 따르면, 스타일러스 펜(201)의 공진 회로(210)는 인덕터(211), 적어도 하나의 커패시터(212, 213, 214), 및 스위치(215)를 포함할 수 있다. 인덕터(211) 및 적어도 하나의 커패시터(212, 213, 214)는 병렬 연결될 수 있다.According to one example, the resonance circuit 210 of the stylus pen 201 may include an inductor 211, at least one capacitor 212, 213, and 214, and a switch 215. The inductor 211 and at least one capacitor 212, 213, and 214 may be connected in parallel.

공진 회로(210)는 가변 커패시터(213)를 포함할 수 있다. 가변 커패시터(213)는 스타일러스 펜(201)의 회전부(231)가 회전되는 정도에 따라 정전용량을 가변시킬 수 있다. 공진 회로(210)는 가변 커패시터(213)의 정전용량에 기반하여 결정되는 공진 주파수의 자기장을 형성할 수 있다.The resonance circuit 210 may include a variable capacitor 213. The variable capacitor 213 may vary its capacitance depending on the degree to which the rotating part 231 of the stylus pen 201 is rotated. The resonance circuit 210 may form a magnetic field with a resonance frequency determined based on the capacitance of the variable capacitor 213.

공진 회로(210)는 스위치(215)에 의해 연결되거나 연결되지 않는 커패시터(214)를 포함할 수 있다. 예를 들어, 스위치(215)는 스타일러스 펜(201)의 누름 버튼에 물리적으로 연결될 수 있다. 누름 버튼을 누르는 사용자 입력에 기반하여 스위치(215)는 커패시터(214)를 커패시터(212)에 병렬 연결할 수 있다. 누름 버튼을 누름을 해제하는 사용자 입력에 기반하여 스위치(215)는 커패시터(214)의 연결을 해제할 수 있다. 공진 회로(210)의 주파수는 커패시터(214)의 연결 여부에 따라 달라질 수 있다. 공진 회로(210)는 커패시터(214)의 연결 여부에 더 기반하여 결정되는 공진 주파수의 자기장을 형성할 수 있다.Resonant circuit 210 may include a capacitor 214 that may or may not be connected by switch 215 . For example, switch 215 may be physically connected to a push button on stylus pen 201. Based on user input by pressing a push button, switch 215 may connect capacitor 214 in parallel to capacitor 212. Switch 215 may disconnect capacitor 214 based on user input depressing the push button. The frequency of the resonance circuit 210 may vary depending on whether the capacitor 214 is connected. The resonant circuit 210 may form a magnetic field with a resonant frequency that is further determined based on whether the capacitor 214 is connected.

도 4는 일 예시에 따른 가변 커패시터(213)의 구성을 나타낸 개략도(400)이다.FIG. 4 is a schematic diagram 400 showing the configuration of the variable capacitor 213 according to an example.

일 예시에 따른 가변 커패시터(213)는 유전체(410), 스페이서(420), 및 도전성 탄성체(430)를 포함할 수 있으나, 이에 한정되는 것은 아니다. 유전체(410), 스페이서(spacer)(420), 및 도전성 탄성체(430) 순으로 제1 방향(①)으로 나란히 배치될 수 있다. 제1 방향(①)은 스타일러스 펜(201)의 뒷 부분을 향하는 방향(예: 도 2의 x 축의 양의 방향)일 수 있다.The variable capacitor 213 according to one example may include a dielectric 410, a spacer 420, and a conductive elastic body 430, but is not limited thereto. The dielectric 410, the spacer 420, and the conductive elastomer 430 may be arranged side by side in the first direction (①) in that order. The first direction ① may be a direction toward the back of the stylus pen 201 (eg, the positive direction of the x-axis in FIG. 2).

유전체(410)는, 예를 들어, 원판 모양으로, 서로 대향하는 원형의 일 면(410a) 및 다른 일 면(410b)을 가질 수 있다. 유전체(410)의 일 면(410a) 상에 원형의 도체층(415)이 형성될 수 있다. 도체층(415)는 가변 커패시터(213)의 제1 전극을 구성할 수 있다.The dielectric 410 may be, for example, disk-shaped and have one circular surface 410a and the other circular surface 410b facing each other. A circular conductor layer 415 may be formed on one side 410a of the dielectric 410. The conductor layer 415 may form the first electrode of the variable capacitor 213.

스페이서(420)는 절연성 재료로 이루어질 수 있다. 스페이서(420)는 외경이 유전체(410)의 지름과 동일한 링 형상의 얇은 판 모양체로 형성될 수 있다.The spacer 420 may be made of an insulating material. The spacer 420 may be formed as a ring-shaped thin plate body whose outer diameter is the same as the diameter of the dielectric 410.

도전성 탄성체(430)는 예를 들어 도전성을 가지는 탄성 고무로 이루어질 수 있다. 도전성 탄성체(430)는 가변 커패시터(213)의 제2 전극을 구성할 수 있다. 도전성 탄성체(430)는 외경이 유전체(410)의 지름과 동일한 원판 모양의 얇은 판 모양체로 형성될 수 있다. 예를 들어, 도전성 탄성체(430)의 판 모양체에는 2개의 돌출부가 형성될 수 있다. 예를 들어, 돌출부는 하우징(290)에 고정되기 위한 것일 수 있다. 예를 들어, 돌출부는 다른 부재에 전기적으로 접속하기 위한 것일 수 있다. 스페이서(420)는 예를 들어 도전성 탄성체(430)의 판 모양체에 접착될 수 있다.The conductive elastic body 430 may be made of, for example, conductive elastic rubber. The conductive elastic body 430 may form the second electrode of the variable capacitor 213. The conductive elastic body 430 may be formed as a thin plate-shaped body whose outer diameter is the same as the diameter of the dielectric 410. For example, two protrusions may be formed on the plate-shaped body of the conductive elastic body 430. For example, the protrusion may be for fixing to the housing 290. For example, the protrusion may be for electrical connection to another member. The spacer 420 may be, for example, adhered to the plate-shaped body of the conductive elastic body 430.

유전체(410)의 다른 일 면(410b)은 스페이서(420)를 사이에 두고 도전성 탄성체(430)와 겹쳐질 수 있다. 일 예시의 가변 커패시터(213)는 유전체(410)의 일 면(410a)에 형성되어 있는 도체층(415)으로 구성되는 제1 전극과 도전성 탄성체(430)로 구성되는 제2 전극을 포함할 수 있다.The other side 410b of the dielectric 410 may overlap the conductive elastic body 430 with the spacer 420 therebetween. The variable capacitor 213 as an example may include a first electrode composed of a conductor layer 415 formed on one side 410a of the dielectric 410 and a second electrode composed of a conductive elastic body 430. there is.

도전성 탄성체(430)는 스페이서(420)에 의해 유전체(410)와 이격될 수 있다. 예를 들어, 도전성 탄성체(430)는 제2 심체(235)에 의해 압압될 수 있다. 회전부(231)에 회전력이 인가됨에 따라 제2 심체(235)가 스타일러스 펜(201)의 앞쪽으로(또는, 팁(222) 방향으로)(예: 제1 방향(①)의 반대 방향으로) 이동할 수 있다. 제2 심체(235)가 제1 방향의 반대 방향으로 이동함에 따라 도전성 탄성체(430)가 제1 방향의 반대 방향으로 압압될 수 있다.The conductive elastic body 430 may be spaced apart from the dielectric 410 by a spacer 420 . For example, the conductive elastic body 430 may be pressed by the second core body 235. As rotational force is applied to the rotating portion 231, the second core 235 moves toward the front of the stylus pen 201 (or toward the tip 222) (e.g., in the opposite direction to the first direction ①). You can. As the second core 235 moves in a direction opposite to the first direction, the conductive elastic body 430 may be pressed in a direction opposite to the first direction.

도전성 탄성체(430)가 압압되면, 스페이서(420)를 통해 이격되어 있는 도전성 탄성체(430)와 유전체(410)가 접촉할 수 있다. 도전성 탄성체(430)가 압압되는 정도에 따라 도전성 탄성체(430)와 유전체(410)의 접촉 면적이 달라질 수 있다. 접촉 면적은 제2 심체(235)가 제1 방향의 반대 방향으로 이동하는 거리와 관련될 수 있다. 예를 들어, 접촉 면적은 제2 심체(235)가 제1 방향의 반대 방향으로 이동하는 거리에 비례할 수 있다. 제2 심체(235)가 제1 방향의 반대 방향으로 이동하는 거리는 회전부(231)가 회전하는 정도(예: 회전각)에 따라 달라질 수 있다. 회전부(231)가 회전된 정도가 클수록 제2 심체(235)가 제1 방향의 반대 방향으로 이동하는 거리가 증가할 수 있다. 제2 심체(235)가 제1 방향의 반대 방향으로 이동하는 거리가 클수록, 도전성 탄성체(430)와 유전체(410)의 접촉 면적이 클 수 있다.When the conductive elastic body 430 is pressed, the conductive elastic body 430 and the dielectric 410, which are spaced apart from each other, may contact through the spacer 420. The contact area between the conductive elastomer 430 and the dielectric 410 may vary depending on the degree to which the conductive elastomer 430 is pressed. The contact area may be related to the distance that the second core 235 moves in the direction opposite to the first direction. For example, the contact area may be proportional to the distance that the second core 235 moves in the direction opposite to the first direction. The distance that the second core 235 moves in the direction opposite to the first direction may vary depending on the degree (eg, rotation angle) of the rotation part 231. As the degree to which the rotating part 231 is rotated increases, the distance that the second core 235 moves in the direction opposite to the first direction may increase. As the distance that the second core 235 moves in the direction opposite to the first direction increases, the contact area between the conductive elastic body 430 and the dielectric material 410 may increase.

도전성 탄성체(430)와 유전체(410)의 접촉 면적은 가변 커패시터(213)의 정전용량에 영향을 미칠 수 있다. 예를 들어, 가변 커패시터(213)의 정전용량(C)은 아래 수학식 1에 의해 계산될 수 있다.The contact area between the conductive elastomer 430 and the dielectric 410 may affect the capacitance of the variable capacitor 213. For example, the capacitance (C) of the variable capacitor 213 can be calculated by Equation 1 below.

수학식 1에서 C는 정전용량, d는 제1 전극 및 제2 전극 사이의 거리, 는 유전체(410)의 유전율, A는 제1 전극 및 제2 전극이 중첩되는 면적을 의미할 수 있다. 본 개시의 일 예시에서 A는 도전성 탄성체(430)와 유전체(410)의 접촉 면적일 수 있다. 도전성 탄성체(430)와 유전체(410)의 접촉 면적이 클수록 가변 커패시터(213)의 정전용량은 커질 수 있다.In Equation 1, C is the capacitance, d is the distance between the first electrode and the second electrode, may be the dielectric constant of the dielectric 410, and A may be the area where the first electrode and the second electrode overlap. In one example of the present disclosure, A may be the contact area between the conductive elastic body 430 and the dielectric 410. As the contact area between the conductive elastic body 430 and the dielectric 410 increases, the capacitance of the variable capacitor 213 may increase.

스타일러스 펜(201)의 필압은 공진 회로(210)의 공진 주파수에 대응하여 결정될 수 있다. 공진 회로(210)의 공진 주파수는 가변 커패시터(213)의 정전용량에 따라 달라질 수 있다. 가변 커패시터(213)의 정전용량은 도전성 탄성체(430)와 유전체(410)의 접촉 면적에 따라 달라질 수 있다. 도전성 탄성체(430)와 유전체(410)의 접촉 면적은 제2 심체(235)가 제1 방향의 반대 방향으로 이동하는 거리에 따라 달라질 수 있다. 제2 심체(235)가 제1 방향의 반대 방향으로 이동하는 거리는 스타일러스 펜(201)의 회전부(231)가 회전되는 정도에 따라 달라질 수 있다. 이에 따르면, 스타일러스 펜(201)의 회전부(231)가 회전되는 정도에 따라 스타일러스 펜(201)의 필압이 결정될 수 있다.The pen pressure of the stylus pen 201 may be determined in response to the resonance frequency of the resonance circuit 210. The resonance frequency of the resonance circuit 210 may vary depending on the capacitance of the variable capacitor 213. The capacitance of the variable capacitor 213 may vary depending on the contact area between the conductive elastomer 430 and the dielectric 410. The contact area between the conductive elastic body 430 and the dielectric 410 may vary depending on the distance the second core 235 moves in the direction opposite to the first direction. The distance that the second core 235 moves in the direction opposite to the first direction may vary depending on the degree to which the rotating part 231 of the stylus pen 201 is rotated. According to this, the pen pressure of the stylus pen 201 may be determined depending on the degree to which the rotating part 231 of the stylus pen 201 is rotated.

도 5는 일 예시에 따른 전자 장치(101)의 구성을 나타낸 블록도(500)이다.FIG. 5 is a block diagram 500 showing the configuration of an electronic device 101 according to an example.

도 5를 참조하면, 일 예시에 따른 전자 장치(101)는 디스플레이 패널(120), 디지타이저 패드(130), 디지타이저 패드 컨트롤러(135), 메모리(140), 및 프로세서(150)를 포함할 수 있다.Referring to FIG. 5 , the electronic device 101 according to one example may include a display panel 120, a digitizer pad 130, a digitizer pad controller 135, a memory 140, and a processor 150. .

디스플레이 패널(120)은 프로세서(150)에 의해 시각 정보, 예를 들어, 텍스트, 이미지, 또는 비디오를 포함하는 그래픽 객체(또는, 그래픽 요소)를 출력할 수 있다.The display panel 120 may output a graphic object (or graphic element) including visual information, for example, text, image, or video, by the processor 150.

디지타이저 패드(130)는 디지타이저 패드 컨트롤러(135)에 의해 제공된 교류 전류에 의해 전자기장을 발생시킬 수 있다. 예를 들어, 스타일러스 펜(201)이 디지타이저 패드(130)에 접근 또는 접촉하게 되면 전자기 유도 현상이 발생할 수 있다. 스타일러스 펜(201)이 디지타이저 패드(130)에 접근 또는 접촉하게 되면 스타일러스 펜(201)의 공진 회로(210)는 전류를 발생시킬 수 있다. 공진 회로(210)는 전류에 의해 자기장을 형성할 수 있다.The digitizer pad 130 may generate an electromagnetic field by alternating current provided by the digitizer pad controller 135. For example, when the stylus pen 201 approaches or contacts the digitizer pad 130, an electromagnetic induction phenomenon may occur. When the stylus pen 201 approaches or contacts the digitizer pad 130, the resonance circuit 210 of the stylus pen 201 may generate current. The resonance circuit 210 can generate a magnetic field by current.

디지타이저 패드 컨트롤러(135)는 디지타이저 패드(130)에 교류 전류를 제공할 수 있다. 디지타이저 패드 컨트롤러(135)는 스타일러스 펜(201)으로부터 디지타이저 패드(130)로 제공되는 자기장을 감지할 수 있다. 예를 들어, 디지타이저 패드 컨트롤러(135)는 디지타이저 패드(130)로 인가되는 자기장의 강도를 전 영역에 걸쳐 스캔하여 위치를 검출할 수 있다. 디지타이저 패드 컨트롤러(135)는 검출된 위치를 프로세서(150)로 제공(또는, 전달)할 수 있다. 검출된 위치는 좌표 정보로서 프로세서(140)에 제공될 수 있다.The digitizer pad controller 135 may provide alternating current to the digitizer pad 130. The digitizer pad controller 135 can detect the magnetic field provided from the stylus pen 201 to the digitizer pad 130. For example, the digitizer pad controller 135 may detect the position by scanning the strength of the magnetic field applied to the digitizer pad 130 over the entire area. The digitizer pad controller 135 may provide (or transfer) the detected position to the processor 150. The detected location may be provided to the processor 140 as coordinate information.

예를 들어, 디지타이저 패드 컨트롤러(135)는 디지타이저 패드(130)로 인가되는 자기장의 주파수를 감지(또는, 식별)할 수 있다. 디지타이저 패드 컨트롤러(135)가 감지하는 자기장의 주파수는 스타일러스 펜(201)의 공진 회로(210)의 공진 주파수일 수 있다. 디지타이저 패드 컨트롤러(135)는 감지된 자기장의 주파수를 프로세서(150)로 제공할 수 있다.For example, the digitizer pad controller 135 may detect (or identify) the frequency of the magnetic field applied to the digitizer pad 130. The frequency of the magnetic field detected by the digitizer pad controller 135 may be the resonance frequency of the resonance circuit 210 of the stylus pen 201. The digitizer pad controller 135 may provide the frequency of the detected magnetic field to the processor 150.

예를 들어, 디지타이저 패드 컨트롤러(135)는 감지된 자기장의 주파수에 대응하는 스타일러스 펜(201)의 필압을 결정할 수 있다. 디지타이저 패드 컨트롤러(135)는 결정된 필압 정보를 프로세서(150)로 제공할 수 있다.For example, the digitizer pad controller 135 may determine the pen pressure of the stylus pen 201 corresponding to the frequency of the detected magnetic field. The digitizer pad controller 135 may provide the determined pen pressure information to the processor 150.

메모리(140)는 프로세서(150)에 의해 실행되는 하나 이상의 인스트럭션들을 저장할 수 있다. 메모리(140)는 디지타이저 패드 컨트롤러(135)로부터 제공된 스타일러스 펜(201)의 좌표 정보, 주파수 정보, 및/또는 필압 정보를 저장할 수 있다.Memory 140 may store one or more instructions executed by processor 150. The memory 140 may store coordinate information, frequency information, and/or pen pressure information of the stylus pen 201 provided from the digitizer pad controller 135.

프로세서(150)는 메모리(140)에 저장된 하나 이상의 인스트럭션들을 실행함에 따라 전자 장치(101)의 여러 기능을 수행할 수 있다.The processor 150 may perform various functions of the electronic device 101 by executing one or more instructions stored in the memory 140.

프로세서(150)는 디지타이저 패드 컨트롤러(135)로부터 스타일러스 펜(201)이 감지된 위치(또는, 좌표 정보)를 획득할 수 있다. 프로세서(150)는 감지된 위치에 대응하여 동작을 수행할 수 있다. 예를 들어, 프로세서(150)는 감지된 위치에 대응하여 디스플레이 패널(120)을 통해 그래픽 객체를 표시할 수 있다. 일 예로, 프로세서(150)는 디스플레이 패널(120)을 통해 하나의 위치에 대응하는 점, 또는 복수의 연속된 위치에 대응하는 선을 표시할 수 있다. 일 예로, 프로세서(150)는 디스플레이 패널(120)을 통해 표시되고 있는 아이콘에 대응하는 위치가 감지되는 경우 해당 아이콘의 선택에 대응하는 동작을 수행할 수 있다.The processor 150 may obtain the location (or coordinate information) where the stylus pen 201 is detected from the digitizer pad controller 135. The processor 150 may perform an operation in response to the detected location. For example, the processor 150 may display a graphic object through the display panel 120 in response to the detected location. As an example, the processor 150 may display a point corresponding to one location or a line corresponding to a plurality of consecutive locations through the display panel 120. For example, when a location corresponding to an icon displayed through the display panel 120 is detected, the processor 150 may perform an operation corresponding to selection of the icon.

프로세서(150)는 디지타이저 패드 컨트롤러(135)로부터 스타일러스 펜(201)으로부터 디지타이저 패드(130)로 인가되는 자기장(20)의 주파수를 획득할 수 있다. 주파수는 스타일러스 펜(201)의 공진 회로(210)의 공진 주파수일 수 있다. 프로세서(150)는 디지타이저 패드 컨트롤러(135)로부터 획득된 주파수 정보를 기반으로 스타일러스 펜(201)의 필압을 결정할 수 있다. 예를 들어, 프로세서(150)는 주파수 별로 미리 결정된 필압 정보에 기반하여 스타일러스 펜(201)의 필압을 결정할 수 있다. 예를 들어, 주파수 별로 미리 결정된 필압 정보는 메모리(140)에 저장될 수 있다. 프로세서(150)는 주파수 별로 미리 결정된 필압 정보로부터 스타일러스 펜(201)으로부터 디지타이저 패드(130)로 인가되는 자기장(20)의 주파수에 대응하는 필압을 식별하고, 식별된 필압을 스타일러스 펜(201)의 필압으로 결정할 수 있다.The processor 150 may obtain the frequency of the magnetic field 20 applied from the stylus pen 201 to the digitizer pad 130 from the digitizer pad controller 135. The frequency may be the resonance frequency of the resonance circuit 210 of the stylus pen 201. The processor 150 may determine the pen pressure of the stylus pen 201 based on the frequency information obtained from the digitizer pad controller 135. For example, the processor 150 may determine the pen pressure of the stylus pen 201 based on pen pressure information predetermined for each frequency. For example, predetermined pen pressure information for each frequency may be stored in the memory 140. The processor 150 identifies the pen pressure corresponding to the frequency of the magnetic field 20 applied from the stylus pen 201 to the digitizer pad 130 from the pen pressure information predetermined for each frequency, and applies the identified pen pressure to the stylus pen 201. This can be determined by pen pressure.

본 개시의 일 실시예에 따르면, 스타일러스 펜(201)의 필압은 스타일러스 펜(201)의 팁(222)이 가압되는 정도에 따라 변화하지 않을 수 있다. 도 2 내지 도 4를 참조하여 상술한 바에 따르면, 스타일러스 펜(201)의 공진 회로(210)의 공진 주파수는 스타일러스 펜(201)의 회전부(231)가 회전하는 정도에 따라 결정될 수 있다. 예를 들어, 스타일러스 펜(201)의 공진 회로(210)의 공진 주파수에 따라 스타일러스 펜(201)의 필압이 결정되므로, 스타일러스 펜(201)의 회전부(231)가 회전하는 정도에 따라 스타일러스 펜(201)의 필압이 결정될 수 있다. 회전부(231)가 회전하는 정도는, 예를 들어, 회전각으로 표현될 수 있다. 예를 들어, 회전부(231)는 사용자에 의해 인가되는 회전력에 의해 회전할 수 있다. 예를 들어, 사용자가 회전부(231)를 회전시킨 정도에 대응하여 스타일러스 펜(201)의 필압이 고정될 수 있다. 스타일러스 펜(201)의 필압이 고정된다는 것은 사용자가 어느 시점에 사용하든, 또는 어느 사용자가 사용하든, 동일한 필압이 식별되는 것을 의미할 수 있다. 예를 들어, 사용자가 회전부(231)를 회전시킨 정도를 조절하지 않는 한, 스타일러스 펜(201)의 필압은 고정될 수 있다.According to one embodiment of the present disclosure, the pen pressure of the stylus pen 201 may not change depending on the degree to which the tip 222 of the stylus pen 201 is pressed. As described above with reference to FIGS. 2 to 4 , the resonance frequency of the resonance circuit 210 of the stylus pen 201 may be determined according to the degree to which the rotating portion 231 of the stylus pen 201 rotates. For example, since the pen pressure of the stylus pen 201 is determined according to the resonance frequency of the resonance circuit 210 of the stylus pen 201, the stylus pen ( 201) pen pressure can be determined. The degree to which the rotating part 231 rotates may be expressed, for example, as a rotation angle. For example, the rotating part 231 may rotate by rotational force applied by the user. For example, the pen pressure of the stylus pen 201 may be fixed in response to the degree to which the user rotates the rotating unit 231. Fixed pen pressure of the stylus pen 201 may mean that the same pen pressure is identified no matter when a user uses it or which user uses it. For example, unless the user adjusts the degree to which the rotating part 231 is rotated, the pen pressure of the stylus pen 201 may be fixed.

프로세서(150)는 스타일러스 펜(201)에 대하여 결정된 필압에 기반하여 스타일러스 펜(201)을 식별할 수 있다. 예를 들어, 프로세서(150)는 스타일러스 펜(201)에 대하여 결정된 필압에 스타일러스 펜(201)의 ID를 부여할 수 있다.The processor 150 may identify the stylus pen 201 based on the pen pressure determined for the stylus pen 201. For example, the processor 150 may assign the ID of the stylus pen 201 to the pen pressure determined for the stylus pen 201.

프로세서(150)는 복수의 스타일러스 펜을 식별할 수 있다. 예를 들어, 프로세서(150)는 제1 스타일러스 펜에 의한 자기장 신호의 주파수인 제1 주파수를 감지할 수 있다. 프로세서(150)는 제1 주파수에 대응하는 필압인 제1 필압을 제1 스타일러스 펜의 필압으로 결정할 수 있다. 프로세서(150)는 제1 스타일러스 펜의 필압에 제1 스타일러스 펜의 ID를 부여할 수 있다. 예를 들어, 프로세서(150)는 제1 필압에 '펜 001'이라는 ID를 부여할 수 있다.The processor 150 may identify a plurality of stylus pens. For example, the processor 150 may detect a first frequency, which is the frequency of a magnetic field signal generated by a first stylus pen. The processor 150 may determine the first pen pressure, which is the pen pressure corresponding to the first frequency, as the pen pressure of the first stylus pen. The processor 150 may assign the ID of the first stylus pen to the pen pressure of the first stylus pen. For example, the processor 150 may assign an ID of 'pen 001' to the first pen pressure.

예를 들어, 프로세서(150)는 제1 스타일러스 펜과는 다른 제2 스타일러스 펜에 의한 자기장 신호의 주파수인 제2 주파수를 감지할 수 있다. 제2 주파수는 제1 주파수와 다를 수 있다. 프로세서(150)는 제2 주파수에 대응하는 필압인 제2 필압을 제1 스타일러스 펜의 필압으로 결정할 수 있다. 제2 필압은 제1 필압과 다를 수 있다. 프로세서(150)는 제2 스타일러스 펜의 필압에 제2 스타일러스 펜의 ID를 부여할 수 있다. 예를 들어, 프로세서(150)는 제2 필압에 '펜 002'라는 ID를 부여할 수 있다.For example, the processor 150 may detect a second frequency, which is the frequency of a magnetic field signal generated by a second stylus pen that is different from the first stylus pen. The second frequency may be different from the first frequency. The processor 150 may determine the second pen pressure, which is the pen pressure corresponding to the second frequency, as the pen pressure of the first stylus pen. The second pen pressure may be different from the first pen pressure. The processor 150 may assign the ID of the second stylus pen to the pen pressure of the second stylus pen. For example, the processor 150 may assign an ID of 'pen 002' to the second pen pressure.

상술한 예시는 프로세서(150)가 두 개의 펜을 식별하는 경우이나, 이에 한정되지 않고, 프로세서(150)는 더 많은 펜을 식별할 수 있다.The above-described example is a case where the processor 150 identifies two pens, but the present invention is not limited to this, and the processor 150 can identify more pens.

프로세서(150)는 하나 이상의 스타일러스 펜 각각에 대응하는 동작을 정의(또는, 설정)할 수 있다. 예를 들어, 프로세서(150)는 펜 ID에 따라 동작을 정의할 수 있다. 예를 들어, 동작은, 지정된 굵기 및/또는 지정된 색상으로 선을 표시하는 동작을 포함할 수 있다.The processor 150 may define (or set) an operation corresponding to each of one or more stylus pens. For example, the processor 150 may define operations according to the pen ID. For example, the operation may include displaying a line with a specified thickness and/or a specified color.

프로세서(150)는 펜 ID에 대응하는 동작을 정의하는 사용자 입력을 수신할 수 있다. 예를 들어, 프로세서(150)는 펜 ID에 대응하여 펜에 대한 설정 정보를 입력하는 사용자 입력을 수신할 수 있다. 펜에 대한 설정 정보는, 펜 입력에 의해 출력되는 선의 굵기 및/또는 색상을 포함할 수 있다. 프로세서(150)는 펜 ID에 대응하여 입력된 펜에 대한 설정 정보를 저장할 수 있다. 예를 들어, 프로세서(150)는 '펜 001'에 대하여 스타일러스 펜을 이용하여 필기 또는 드로잉하는 입력이 수신되면 제1 지정된 굵기 및/또는 제1 지정된 색상으로 선을 표시하도록 설정할 수 있다. 예를 들어, 프로세서(150)는 '펜 002'에 대하여 스타일러스 펜을 이용하여 필기 또는 드로잉하는 입력이 수신되면 제2 지정된 굵기 및/또는 제2 지정된 색상을 선을 표시하도록 설정할 수 있다. 예를 들어, 제1 지정된 굵기는 제2 지정된 굵기와 다를 수 있다. 예를 들어, 제1 지정된 색상은 제2 지정된 색상과 다를 수 있다.The processor 150 may receive a user input defining an operation corresponding to the pen ID. For example, the processor 150 may receive a user input for entering setting information for the pen in response to the pen ID. Setting information about the pen may include the thickness and/or color of the line output by pen input. The processor 150 may store setting information for the input pen corresponding to the pen ID. For example, the processor 150 may be set to display a line with a first designated thickness and/or a first designated color when an input of writing or drawing using a stylus pen is received for 'pen 001'. For example, the processor 150 may set 'pen 002' to display a line with a second designated thickness and/or a second designated color when an input of writing or drawing using a stylus pen is received. For example, the first specified thickness may be different from the second specified thickness. For example, the first designated color may be different from the second designated color.

상술한 예시에서는 펜에 대한 설정 정보로서, 펜 입력에 의한 선의 굵기 및 색상을 예로 들고 있으나, 이에 한정되는 것은 아니다. 일 예로, 펜에 대한 설정 정보는, 펜 입력에 의한 선에 대한 설정 정보를 포함할 수 있다. 선에 대한 설정 정보는 예를 들어, 선의 굵기, 색상, 종류, 명암, 및/또는 투명도를 포함할 수 있다. 일 예로, 펜에 대한 설정 정보는, 펜의 모드(예: 필기 모드 또는 지우개 모드)를 포함할 수 있다. 일 예로, 펜에 대한 설정 정보는, 지정된 스트로크(stroke) 또는 스트로크 시퀀스에 대응하여 수행되는 지정된 동작(예: 그래픽 객체(예: 아이콘 또는 텍스트)를 표시하는 동작)을 포함할 수 있다.In the above example, the setting information for the pen is the thickness and color of the line by pen input, but is not limited thereto. As an example, setting information about the pen may include setting information about a line generated by pen input. Setting information about a line may include, for example, line thickness, color, type, contrast, and/or transparency. As an example, setting information about the pen may include the mode of the pen (eg, writing mode or eraser mode). As an example, setting information about the pen may include a designated operation (eg, an operation to display a graphic object (eg, an icon or text)) performed in response to a designated stroke or stroke sequence.

예를 들어, 프로세서(150)는 펜 ID 별 펜에 대한 설정 정보를 저장할 수 있다. 예를 들어, 펜 ID 별 펜에 대한 설정 정보는 메모리(140)에 저장될 수 있다. 프로세서(150)는 스타일러스 펜(201)에 의한 입력이 수행되는 경우, 별도의 펜 설정 절차를 거치지 않고도, 식별된 스타일러스 펜(201)의 ID에 대응하는 설정 정보에 따라 펜 입력에 대응하는 출력을 수행할 수 있다.For example, the processor 150 may store setting information for pens for each pen ID. For example, setting information for pens for each pen ID may be stored in the memory 140. When input is performed by the stylus pen 201, the processor 150 produces output corresponding to the pen input according to setting information corresponding to the ID of the identified stylus pen 201, without going through a separate pen setting procedure. It can be done.

예를 들어, 전자 장치(101)는 도 5에 도시된 구성요소 외에 다른 구성요소를 더 포함할 수 있다. 예를 들어, 전자 장치(101)는 터치 패널 및 터치 패널 컨트롤러를 더 포함할 수 있다. 예를 들어, 터치 패널은 디스플레이 패널(120) 위에 적층될 수 있다. 터치 패널은 정전용량 터치 패널 일 수 있다. 터치 패널 컨트롤러는 정전용량 터치 패널 컨트롤러일 수 있다. 정전용량 터치 패널은 정전용량 터치 패널 컨트롤러로부터 전압을 인가받아 터치 감지를 위한 전기장을 형성할 수 있다. 예를 들어, 정전용량 터치 패널은 전도성 객체(예: 손가락 또는 스타일러스 펜(201)에 구비된 전도성 요소)의 접근 또는 접촉에 따라 달라지는 전하량(또는, 정전용량 변화)을 획득할 수 있다. 정전용량 터치 패널 컨트롤러는 정전용량 터치 패널에서 획득된 전하량에 기반하여 스타일러스 펜(201)의 터치 위치를 감지(또는, 식별)할 수 있다. 정전용량 터치 패널 컨트롤러는 스타일러스 펜(201)의 터치 위치를 프로세서(150)에 제공할 수 있다. 터치 위치는, 예를 들어, 좌표 정보로서 제공될 수 있다.For example, the electronic device 101 may further include other components in addition to those shown in FIG. 5 . For example, the electronic device 101 may further include a touch panel and a touch panel controller. For example, the touch panel may be stacked on the display panel 120. The touch panel may be a capacitive touch panel. The touch panel controller may be a capacitive touch panel controller. The capacitive touch panel can form an electric field for touch detection by receiving voltage from the capacitive touch panel controller. For example, the capacitive touch panel may acquire an amount of charge (or a change in capacitance) that varies depending on the approach or contact of a conductive object (eg, a finger or a conductive element provided in the stylus pen 201). The capacitive touch panel controller may detect (or identify) the touch position of the stylus pen 201 based on the amount of charge acquired from the capacitive touch panel. The capacitive touch panel controller may provide the touch position of the stylus pen 201 to the processor 150. The touch location may be provided as coordinate information, for example.

프로세서(150)는 터치 패널을 통해 사용자의 손가락 또는 스타일러스 펜(201)을 이용한 터치 입력을 수신할 수 있다. 프로세서(150)는 터치 입력에 대응하는 동작을 수행할 수 있다. 예를 들어, 프로세서(150)는 펜 ID에 대응하여 펜에 대한 설정 정보를 입력하는 터치 입력을 수신할 수 있다. 프로세서(150)는 터치 입력에 응답하여, 펜 ID에 대응하여 입력된 펜에 대한 설정 정보를 저장할 수 있다.The processor 150 may receive a touch input using the user's finger or stylus pen 201 through the touch panel. The processor 150 may perform an operation corresponding to a touch input. For example, the processor 150 may receive a touch input for entering setting information for the pen in response to the pen ID. In response to a touch input, the processor 150 may store setting information for the input pen corresponding to the pen ID.

프로세서(150)는 스타일러스 펜(201)의 호버링(hovering) 또는 접촉 여부를 식별할 수 있다. 호버링이란, 비접촉된 상태에서 지정된 거리 이내에 위치하는 것을 의미할 수 있다. 일 예로, 터치 패널 컨트롤러는 터치 패널의 정전용량 변화량에 기반하여 스타일러스 펜(201)의 호버링(hovering) 또는 접촉 여부를 식별할 수 있다. 일 예로, 터치 패널 컨트롤러는 터치 패널을 통해 검출되는 값(예: 전류 값 또는 전압 값)에 따라 스타일러스 펜(201)의 호버링 또는 접촉 여부를 식별할 수 있다. 터치 패널 컨트롤러는 스타일러스 펜(201)의 호버링 또는 접촉 여부에 대한 정보를 프로세서(150)로 제공(또는, 전달)할 수 있다. 프로세서(150)는 터치 패널 컨트롤러부터 스타일러스 펜(201)의 호버링 또는 접촉 여부에 대한 정보를 획득할 수 있다. 프로세서(150)는 터치 패널 컨트롤러부터 획득된 정보에 기반하여 스타일러스 펜(201)의 호버링(hovering) 또는 접촉 여부를 식별할 수 있다.The processor 150 may identify whether the stylus pen 201 is hovering or touching. Hovering may mean being located within a specified distance in a non-contact state. As an example, the touch panel controller may identify whether the stylus pen 201 is hovering or touching based on the change in capacitance of the touch panel. As an example, the touch panel controller may identify whether the stylus pen 201 is hovering or touching depending on a value (eg, current value or voltage value) detected through the touch panel. The touch panel controller may provide (or transmit) information about whether the stylus pen 201 is hovering or touching to the processor 150 . The processor 150 may obtain information about whether the stylus pen 201 is hovering or touching from the touch panel controller. The processor 150 may identify whether the stylus pen 201 is hovering or touching based on information obtained from the touch panel controller.

프로세서(150)는 스타일러스 펜(201)의 펜 ID에 대응하여 호버링 입력 및 접촉 입력(또는, 터치 입력) 각각에 대응하는 동작을 정의(또는, 설정)할 수 있다. 예를 들어, 프로세서(150)는 동일한 펜 ID에 대하여 호버링 입력 및 접촉 입력에 대응하는 동작을 다르게 정의할 수 있다. 예를 들어, 프로세서(150)는 펜 ID 별로 호버링 입력 및 접촉 입력 각각에 대응하는 펜에 대한 설정 정보를 입력하는 사용자 입력을 수신할 수 있다. 프로세서(150)는 펜 ID 별로 호버링 입력 및 접촉 입력 각각에 대응하여 입력된 펜에 대한 설정 정보를 저장할 수 있다.The processor 150 may define (or set) operations corresponding to each of the hovering input and contact input (or touch input) in response to the pen ID of the stylus pen 201. For example, the processor 150 may define operations corresponding to hovering input and touch input differently for the same pen ID. For example, the processor 150 may receive a user input for entering setting information for the pen corresponding to each hovering input and contact input for each pen ID. The processor 150 may store setting information for the pen input corresponding to each hovering input and contact input for each pen ID.

프로세서(150)는 스타일러스 펜(201)의 누름 버튼이 눌렸는지 여부를 식별할 수 있다. 예를 들어, 스타일러스 펜(201)의 누름 버튼의 눌림 여부에 따라 스타일러스 펜(201)의 공진 회로(210)의 공진 주파수가 달라질 수 있다. 예를 들어, 프로세서(150)는 스타일러스 펜(201)의 누름 버튼이 눌린 상태에서 감지되는 주파수에 대응하는 필압에 스타일러스 펜(201)의 누름 버튼이 눌리지 않은 상태에서 감지되는 주파수에 대응하는 필압에 부여된 펜 ID와 동일한 펜 ID를 부여할 수 있다.The processor 150 may identify whether the push button of the stylus pen 201 has been pressed. For example, the resonance frequency of the resonance circuit 210 of the stylus pen 201 may vary depending on whether the push button of the stylus pen 201 is pressed. For example, the processor 150 may adjust the pen pressure corresponding to the frequency detected when the push button of the stylus pen 201 is pressed to the pen pressure corresponding to the frequency detected when the push button of the stylus pen 201 is not pressed. A pen ID identical to the assigned pen ID can be assigned.

프로세서(150)는 스타일러스 펜(201)의 펜 ID에 대응하여 스타일러스 펜(201)의 누름 버튼이 눌린 상태에 대응하는 동작을 정의(또는, 설정)할 수 있다. 스타일러스 펜(201)의 누름 버튼이 눌린 상태에 대응하는 동작은, 예를 들어, 지정된 메뉴를 표시하는 동작일 수 있다. 예를 들어, 프로세서(150)는 동일한 펜 ID에 대하여 스타일러스 펜(201)의 누름 버튼이 눌린 상태 및 누름 버튼이 눌리지 않은 상태에 대응하는 동작을 다르게 정의할 수 있다. 예를 들어, 프로세서(150)는 펜 ID 별로 스타일러스 펜(201)의 누름 버튼이 눌린 상태에 대응하는 펜에 대한 설정 정보를 입력하는 사용자 입력을 수신할 수 있다. 프로세서(150)는 펜 ID 별로 스타일러스 펜(201)의 누름 버튼이 눌린 상태에 대응하여 입력된 펜에 대한 설정 정보를 저장할 수 있다. 예를 들어, 프로세서(150)는 '펜 001'에 대하여 누름 버튼이 눌리면 선의 굵기를 조절하는 메뉴를 표시하도록 설정할 수 있다. 예를 들어, 프로세서(150)는 '펜 002'에 대하여 누름 버튼이 눌리면 선의 명암을 조절하는 메뉴를 표시하도록 설정할 수 있다.The processor 150 may define (or set) an operation corresponding to a state in which the push button of the stylus pen 201 is pressed in response to the pen ID of the stylus pen 201. An operation corresponding to a state in which the push button of the stylus pen 201 is pressed may be, for example, an operation of displaying a designated menu. For example, the processor 150 may define different operations corresponding to a state in which the push button of the stylus pen 201 is pressed and a state in which the push button is not pressed for the same pen ID. For example, the processor 150 may receive a user input for entering setting information for the pen corresponding to the state in which the push button of the stylus pen 201 is pressed for each pen ID. The processor 150 may store setting information for the pen input corresponding to the state in which the push button of the stylus pen 201 is pressed for each pen ID. For example, the processor 150 can be set to display a menu for adjusting the thickness of the line when the push button for 'pen 001' is pressed. For example, the processor 150 can be set to display a menu for adjusting the brightness of the line when the push button for 'pen 002' is pressed.

프로세서(150)는 호버링 입력 또는 접촉 입력 여부와 누름 버튼의 눌림 여부를 조합한 것에 대응하는 동작을 스타일러스 펜(201)의 펜 ID에 대응하여 정의(또는, 설정)할 수 있다. 예를 들어, 프로세서(150)는 스타일러스 펜(201)의 호버링 입력 중에 누름 버튼을 누르는 입력에 대응하는 동작 및 스타일러스 펜(201)의 터치 입력 중에 누름 버튼을 누르는 입력에 대응하는 동작을 펜 ID에 대응하여 정의할 수 있다. 예를 들어, 프로세서(150)는 동일한 펜 ID에 대하여 스타일러스 펜(201)의 호버링 입력 중에 누름 버튼을 누르는 입력에 대응하는 동작 및 스타일러스 펜(201)의 터치 입력 중에 누름 버튼을 누르는 입력에 대응하는 동작을 다르게 정의할 수 있다. 예를 들어, 프로세서(150)는 펜 ID 별로 스타일러스 펜(201)의 호버링 입력 중에 누름 버튼을 누르는 입력 및 터치 입력 중에 누름 버튼을 누르는 입력 각각에 대응하는 펜에 대한 설정 정보를 입력하는 사용자 입력을 수신할 수 있다. 프로세서(150)는 펜 ID 별로 스타일러스 펜(201)의 호버링 입력 중에 누름 버튼을 누르는 입력 및 터치 입력 중에 누름 버튼을 누르는 입력 각각에 대응하여 입력된 펜에 대한 설정 정보를 저장할 수 있다.The processor 150 may define (or set) an operation corresponding to a combination of hovering input or contact input and whether the push button is pressed in response to the pen ID of the stylus pen 201. For example, the processor 150 may perform an operation corresponding to an input of pressing a push button during a hovering input of the stylus pen 201 and an operation corresponding to an input of pressing a push button during a touch input of the stylus pen 201 to the pen ID. It can be defined accordingly. For example, the processor 150 may perform an operation corresponding to an input of pressing a push button during a hovering input of the stylus pen 201 and an input of pressing a push button during a touch input of the stylus pen 201 for the same pen ID. Actions can be defined differently. For example, the processor 150 receives a user input for entering setting information for the pen corresponding to an input of pressing a push button during a hovering input of the stylus pen 201 and an input of pressing a push button during a touch input for each pen ID. You can receive it. The processor 150 may store setting information for the pen input corresponding to an input of pressing a push button during a hovering input of the stylus pen 201 and an input of pressing a push button during a touch input for each pen ID.

도 6은 일 예시에 따른 전자 장치(101)의 동작을 나타낸 흐름도(600)이다. 예를 들어, 후술되는 전자 장치(101)의 동작들은 프로세서(150)에 의해 수행될 수 있다.FIG. 6 is a flowchart 600 showing the operation of the electronic device 101 according to an example. For example, operations of the electronic device 101, which will be described later, may be performed by the processor 150.

동작 601에서, 전자 장치(101)는 전자기 유도로 인해 디지타이저 패드(130)에 인가되는 자기장의 주파수를 획득할 수 있다. 전자 장치(101)는 스타일러스 펜(201)이 디지타이저 패드(130)에 접근함에 따라, 전자기 유도로 인해 디지타이저 패드(130)에 인가되는 자기장의 주파수를 디지타이저 패드 컨트롤러(135)로부터 획득할 수 있다. 자기장의 주파수는 스타일러스 펜(201)의 공진 회로(210)의 공진 주파수일 수 있다.In operation 601, the electronic device 101 may acquire the frequency of the magnetic field applied to the digitizer pad 130 due to electromagnetic induction. As the stylus pen 201 approaches the digitizer pad 130, the electronic device 101 may obtain the frequency of the magnetic field applied to the digitizer pad 130 due to electromagnetic induction from the digitizer pad controller 135. The frequency of the magnetic field may be the resonance frequency of the resonance circuit 210 of the stylus pen 201.

공진 주파수는 공진 회로(210)의 가변 커패시터(213)의 정전용량에 기반하여 결정될 수 있다. 예를 들어, 공진 회로(210)의 가변 커패시터(213)는 스타일러스 펜(210)의 후단부에 배치된 회전부(231)가 회전되는 정도에 따라 정전용량이 달라질 수 있다. 예를 들어, 공진 주파수는 스타일러스 펜(210)의 후단부에 배치된 회전부(231)가 회전되는 정도에 따라 결정될 수 있다. 예를 들어, 공진 주파수는 회전부(231)가 회전되는 정도에 대응하여 하나의 주파수로 결정될 수 있다. 예를 들어, 공진 주파수는 회전부(231)가 회전되는 정도에 대응하는 주파수로 고정될 수 있다. 예를 들어, 회전부(231)가 회전되는 정도는, 회전각으로 표현될 수 있다. 일 예로, 회전부(231)가 30도(30°) 회전되는 경우, 공진 주파수가 제1 주파수로 결정될 수 있다. 회전부(231)가 60도(60°) 회전되는 경우, 공진 주파수가 제2 주파수로 결정될 수 있다. 제2 주파수는 제1 주파수와 다를 수 있다.The resonance frequency may be determined based on the capacitance of the variable capacitor 213 of the resonance circuit 210. For example, the capacitance of the variable capacitor 213 of the resonance circuit 210 may vary depending on the degree to which the rotating part 231 disposed at the rear end of the stylus pen 210 is rotated. For example, the resonance frequency may be determined according to the degree to which the rotating part 231 disposed at the rear end of the stylus pen 210 is rotated. For example, the resonance frequency may be determined as one frequency corresponding to the degree to which the rotating part 231 is rotated. For example, the resonance frequency may be fixed to a frequency corresponding to the degree to which the rotating part 231 is rotated. For example, the degree to which the rotating part 231 rotates can be expressed as a rotation angle. For example, when the rotating part 231 is rotated 30 degrees, the resonance frequency may be determined as the first frequency. When the rotating part 231 is rotated by 60 degrees, the resonance frequency may be determined as the second frequency. The second frequency may be different from the first frequency.

동작 603에서, 전자 장치(101)는 주파수에 대응하는 제1 필압을 스타일러스 펜(201)의 필압으로 결정할 수 있다. 전자 장치(101)는 예를 들어 메모리(140)에 저장된 주파수 별 미리 결정된 필압 정보로부터 동작 601에서 획득된 주파수에 대응하는 제1 필압을 식별할 수 있다. 전자 장치(101)는 식별된 제1 필압을 스타일러스 펜(201)의 필압으로 결정할 수 있다.In operation 603, the electronic device 101 may determine the first pen pressure corresponding to the frequency as the pen pressure of the stylus pen 201. For example, the electronic device 101 may identify the first pen pressure corresponding to the frequency obtained in operation 601 from predetermined pen pressure information for each frequency stored in the memory 140. The electronic device 101 may determine the identified first pen pressure as the pen pressure of the stylus pen 201.

동작 605에서, 전자 장치(101)는 결정된 필압에 따라 스타일러스 펜(201)을 식별할 수 있다. 예를 들어, 전자 장치(101)는 스타일러스 펜(201)의 필압으로 결정된 제1 필압에 스타일러스 펜(201)의 ID를 부여할 수 있다. 전자 장치(101)는 다른 시점에 제1 필압이 감지되는 경우 스타일러스 펜(201)을 이용한 입력이 수행됨을 인식할 수 있다. 예를 들어, 전자 장치(101)는 필압에 부여된 ID에 기반하여, 필압에 따라 스타일러스 펜을 식별할 수 있다.In operation 605, the electronic device 101 may identify the stylus pen 201 according to the determined pen pressure. For example, the electronic device 101 may assign the ID of the stylus pen 201 to the first pen pressure determined as the pen pressure of the stylus pen 201. The electronic device 101 may recognize that input using the stylus pen 201 is performed when the first pen pressure is detected at another time. For example, the electronic device 101 may identify the stylus pen according to the pen pressure, based on the ID assigned to the pen pressure.

예를 들어, 전자 장치(101)는 식별된 스타일러스 펜에 대한 설정 정보를 입력하는 사용자 입력을 수신할 수 있다. 예를 들어, 설정 정보는, 스타일러스 펜을 이용한 입력에 대응하는 동작을 포함할 수 있다. 예를 들어, 설정 정보는, 스타일러스 펜을 이용한 입력에 대응하여 출력되는 선에 대한 설정 정보를 포함할 수 있다. 선에 대한 설정 정보는, 예를 들어, 선의 굵기, 색상, 종류, 명암, 및/또는 투명도를 포함할 수 있다.For example, the electronic device 101 may receive a user input for entering setting information for the identified stylus pen. For example, the setting information may include an operation corresponding to input using a stylus pen. For example, the setting information may include setting information about a line output in response to an input using a stylus pen. Setting information about a line may include, for example, line thickness, color, type, contrast, and/or transparency.

예를 들어, 전자 장치(101)는 필압에 부여된 ID에 대응하여 설정 정보를 저장할 수 있다. 예를 들어, 전자 장치(101)는 필압에 부여된 ID에 대응하는 설정 정보에 따라 스타일러스 펜을 이용한 입력에 대응하는 동작을 수행할 수 있다.For example, the electronic device 101 may store setting information corresponding to the ID assigned to the pen pressure. For example, the electronic device 101 may perform an operation corresponding to an input using a stylus pen according to setting information corresponding to the ID assigned to the pen pressure.

상술한 예시들은, 전자 장치(101)가 스타일러스 펜(201)의 누름 버튼이 눌리지 않은 상태에서 획득된 주파수에 기반하여 필압을 결정하고, 결정된 필압에 ID를 부여하여 스타일러스 펜을 식별하는 방법에 관한 것이다.The above-described examples relate to a method in which the electronic device 101 determines pen pressure based on the frequency obtained while the push button of the stylus pen 201 is not pressed, and identifies the stylus pen by assigning an ID to the determined pen pressure. will be.

예를 들어, 전자 장치(101)는 스타일러스 펜(201)의 누름 버튼이 눌림에 따라, 디지타이저 패드 컨트롤러(135)로부터 변경된 주파수를 획득할 수 있다. 변경된 주파수는 스타일러스 펜(201)의 누름 버튼이 눌리지 않은 상태에서 획득된 주파수로부터 변경된 주파수일 수 있다. 예를 들어, 전자 장치(101)는 변경된 주파수에 대응하는 제2 필압에 제1 필압에 부여된 ID와 동일한 ID를 부여할 수 있다. 예를 들어, 하나의 ID는 하나의 스타일러스 펜(201)에 대응될 수 있다. 예를 들어, 하나의 ID는 둘 이상의 대응하는 필압 또는 주파수를 가질 수 있다.For example, the electronic device 101 may obtain a changed frequency from the digitizer pad controller 135 as the push button of the stylus pen 201 is pressed. The changed frequency may be a frequency changed from a frequency obtained when the push button of the stylus pen 201 is not pressed. For example, the electronic device 101 may assign the same ID to the second pen pressure corresponding to the changed frequency as the ID assigned to the first pen pressure. For example, one ID may correspond to one stylus pen 201. For example, one ID may have two or more corresponding pen pressures or frequencies.

예를 들어, 전자 장치(101)는 변경된 주파수에 기반하여 스타일러스 펜(201)의 누름 버튼이 눌렸는지 여부를 식별할 수 있다. 예를 들어, 전자 장치(101)는 변경된 주파수가 획득되는 경우, 스타일러스 펜(201)의 누름 버튼이 눌린 것으로 식별할 수 있다.For example, the electronic device 101 may identify whether the push button of the stylus pen 201 was pressed based on the changed frequency. For example, when a changed frequency is obtained, the electronic device 101 may identify that the push button of the stylus pen 201 has been pressed.

예를 들어, 전자 장치(101)는 스타일러스 펜(201)의 누름 버튼이 눌린 상태에 대응하는 펜에 대한 설정 정보를 입력하는 사용자 입력을 수신할 수 있다. 예를 들어, 설정 정보는, 스타일러스 펜의 누름 버튼을 누르는 입력에 대응하는 동작을 포함할 수 있다. 스타일러스 펜의 누름 버튼을 누르는 입력에 대응하는 동작은, 예를 들어, 지정된 메뉴를 표시하는 동작일 수 있다.For example, the electronic device 101 may receive a user input for entering setting information for the pen corresponding to a state in which the push button of the stylus pen 201 is pressed. For example, the setting information may include an operation corresponding to an input of pressing a push button of a stylus pen. An action corresponding to an input of pressing a push button of a stylus pen may be, for example, an action of displaying a designated menu.

예를 들어, 전자 장치(101)는 필압에 부여된 ID에 대응하여 스타일러스 펜(201)의 누름 버튼이 눌린 상태에 대응하여 입력된 설정 정보를 저장할 수 있다. 예를 들어, 전자 장치(101)는 필압에 부여된 ID에 대응하는 설정 정보에 따라 스타일러스 펜의 누름 버튼을 누르는 입력에 대응하는 동작을 수행할 수 있다.For example, the electronic device 101 may store setting information input in response to a state in which the push button of the stylus pen 201 is pressed in response to the ID assigned to the pen pressure. For example, the electronic device 101 may perform an operation corresponding to an input of pressing a push button of a stylus pen according to setting information corresponding to the ID assigned to the pen pressure.

예를 들어, 전자 장치(101)는 스타일러스 펜(201)의 호버링 또는 접촉 여부를 식별할 수 있다. 예를 들어, 전자 장치(101)는 스타일러스 펜(201)의 호버링 또는 접촉 여부에 각각에 대응하는 펜에 대한 설정 정보를 입력하는 사용자 입력을 수신할 수 있다. 예를 들어, 설정 정보는, 스타일러스 펜의 호버링 입력에 대응하는 동작 및 터치 입력에 대응하는 동작을 포함할 수 있다. 예를 들어, 전자 장치(101)는 필압에 부여된 ID에 대응하여 스타일러스 펜(201)의 호버링 입력 및 터치 입력 각각에 대응하여 입력된 설정 정보를 저장할 수 있다. 예를 들어, 전자 장치(101)는 필압에 부여된 ID에 대응하는 설정 정보에 따라 스타일러스 펜의 호버링 입력 또는 터치 입력 각각에 대응하는 동작을 수행할 수 있다.For example, the electronic device 101 can identify whether the stylus pen 201 is hovering or touching. For example, the electronic device 101 may receive a user input for entering setting information for the pen corresponding to whether the stylus pen 201 is hovering or touching. For example, the setting information may include an action corresponding to a hovering input of a stylus pen and an action corresponding to a touch input. For example, the electronic device 101 may store setting information input in response to each of the hovering input and touch input of the stylus pen 201 in response to the ID assigned to the pen pressure. For example, the electronic device 101 may perform an operation corresponding to a hovering input or a touch input of a stylus pen, respectively, according to setting information corresponding to the ID assigned to the pen pressure.

도 7은 일 예시에 따른 전자 장치(101)의 동작을 나타낸 흐름도(700)이다. 예를 들어, 후술되는 전자 장치(101)의 동작들은 프로세서(150)에 의해 수행될 수 있다.FIG. 7 is a flowchart 700 showing the operation of the electronic device 101 according to an example. For example, operations of the electronic device 101, which will be described later, may be performed by the processor 150.

동작 701에서, 전자 장치(101)는 전자기 유도로 인해 디지타이저 패드(130)에 인가되는 자기장의 제1 주파수를 획득할 수 있다. 전자 장치(101)는 제1 스타일러스 펜이 디지타이저패드(130)에 접근함에 따라, 전자기 유도로 인해 디지타이저 패드(130)에 인가되는 자기장의 제1 주파수를 디지타이저 패드 컨트롤러(135)로부터 획득할 수 있다. 자기장의 주파수는 제1 스타일러스 펜의 공진 회로의 공진 주파수일 수 있다. 예를 들어, 공진 주파수는 제1 스타일러스 펜의 회전부가 회전되는 정도에 대응하여 하나의 주파수로 결정될 수 있다. 예를 들어, 제1 주파수는 제1 스타일러스 펜의 회전부가 회전되는 정도에 대응될 수 있다.In operation 701, the electronic device 101 may acquire the first frequency of the magnetic field applied to the digitizer pad 130 due to electromagnetic induction. As the first stylus pen approaches the digitizer pad 130, the electronic device 101 may obtain the first frequency of the magnetic field applied to the digitizer pad 130 due to electromagnetic induction from the digitizer pad controller 135. . The frequency of the magnetic field may be the resonance frequency of the resonance circuit of the first stylus pen. For example, the resonance frequency may be determined as one frequency corresponding to the degree to which the rotating part of the first stylus pen is rotated. For example, the first frequency may correspond to the degree to which the rotating part of the first stylus pen is rotated.

동작 703에서, 전자 장치(101)는 제1 주파수에 대응하는 제1 필압에 제1 스타일러스 펜의 ID를 부여할 수 있다. 전자 장치(101)는 예를 들어 메모리(140)에 저장된 주파수 별 미리 결정된 필압 정보로부터 제1 주파수에 대응하는 제1 필압을 식별할 수 있다. 전자 장치(101)는 식별된 제1 필압을 제1 스타일러스 펜의 필압으로 결정할 수 있다.In operation 703, the electronic device 101 may assign the ID of the first stylus pen to the first pen pressure corresponding to the first frequency. For example, the electronic device 101 may identify the first pen pressure corresponding to the first frequency from predetermined pen pressure information for each frequency stored in the memory 140. The electronic device 101 may determine the identified first pen pressure as the pen pressure of the first stylus pen.

동작 705에서, 전자 장치(101)는 전자기 유도로 인해 디지타이저 패드(130)에 인가되는 자기장의 제2 주파수를 획득할 수 있다. 전자 장치(101)는 제2 스타일러스 펜이 디지타이저패드(130)에 접근함에 따라, 전자기 유도로 인해 디지타이저 패드(130)에 인가되는 자기장의 제2 주파수를 디지타이저 패드 컨트롤러(135)로부터 획득할 수 있다. 자기장의 주파수는 제2 스타일러스 펜의 공진 회로의 공진 주파수일 수 있다. 예를 들어, 공진 주파수는 제2 스타일러스 펜의 회전부가 회전되는 정도에 대응하여 하나의 주파수로 결정될 수 있다. 예를 들어, 제2 주파수는 제2 스타일러스 펜의 회전부가 회전되는 정도에 대응될 수 있다. 제2 주파수는 제1 주파수와 다를 수 있다.In operation 705, the electronic device 101 may acquire a second frequency of the magnetic field applied to the digitizer pad 130 due to electromagnetic induction. As the second stylus pen approaches the digitizer pad 130, the electronic device 101 may obtain the second frequency of the magnetic field applied to the digitizer pad 130 due to electromagnetic induction from the digitizer pad controller 135. . The frequency of the magnetic field may be the resonance frequency of the resonance circuit of the second stylus pen. For example, the resonance frequency may be determined as one frequency corresponding to the degree to which the rotating part of the second stylus pen is rotated. For example, the second frequency may correspond to the degree to which the rotating part of the second stylus pen is rotated. The second frequency may be different from the first frequency.

동작 707에서, 전자 장치(101)는 제2 주파수에 대응하는 제2 필압에 제2 스타일러스 펜의 ID를 부여할 수 있다. 전자 장치(101)는 예를 들어 메모리(140)에 저장된 주파수 별 미리 결정된 필압 정보로부터 제2 주파수에 대응하는 제2 필압을 식별할 수 있다. 전자 장치(101)는 식별된 제2 필압을 제2 스타일러스 펜의 필압으로 결정할 수 있다. 제2 필압은 제1 필압과 다를 수 있다.In operation 707, the electronic device 101 may assign the ID of the second stylus pen to the second pen pressure corresponding to the second frequency. For example, the electronic device 101 may identify the second pen pressure corresponding to the second frequency from predetermined pen pressure information for each frequency stored in the memory 140. The electronic device 101 may determine the identified second pen pressure as the pen pressure of the second stylus pen. The second pen pressure may be different from the first pen pressure.

동작 709에서, 전자장치(101)는 스타일러스 펜의 ID에 대응하여 펜에 대한 설정 정보를 저장할 수 있다. 예를 들어, 전자 장치(101)는 제1 스타일러스 펜에 대한 설정 정보를 입력하는 사용자 입력을 수신할 수 있다. 전자 장치(101)는 제2 스타일러스 펜에 대한 설정 정보를 입력하는 사용자 입력을 수신할 수 있다. 전자 장치(101)는 제1 스타일러스 펜 및 제2 스타일러스 펜의 ID에 대응하여 각 스타일러스 펜에 대한 설정 정보를 저장할 수 있다. 예를 들어, 설정 정보는, 각 스타일러스 펜을 이용한 입력에 대응하는 동작을 포함할 수 있다. 예를 들어, 설정 정보는, 각 스타일러스 펜을 이용한 입력에 대응하여 출력되는 선에 대한 설정 정보를 포함할 수 있다. 선에 대한 설정 정보는, 예를 들어, 선의 굵기, 색상, 종류, 명암, 및/또는 투명도를 포함할 수 있다.In operation 709, the electronic device 101 may store setting information about the pen in response to the ID of the stylus pen. For example, the electronic device 101 may receive a user input for entering setting information for the first stylus pen. The electronic device 101 may receive a user input for entering setting information for the second stylus pen. The electronic device 101 may store setting information for each stylus pen in correspondence with the IDs of the first stylus pen and the second stylus pen. For example, the setting information may include an operation corresponding to input using each stylus pen. For example, the setting information may include setting information about lines output in response to input using each stylus pen. Setting information about a line may include, for example, line thickness, color, type, contrast, and/or transparency.

예를 들어, 제1 스타일러스 펜의 ID에 대응하는 설정 정보가 제1 동작일 수 있다. 제2 스타일러스 펜의 ID에 대응하는 설정 정보가 제2 동작일 수 있다. 예를 들어, 전자 장치(101)는 제1 스타일러스 펜의 ID에 대응하는 설정 정보에 따라 제1 스타일러스 펜을 이용한 입력에 대응하는 제1 동작을 수행할 수 있다. 전자 장치(101)는 제2 스타일러스 펜의 ID에 대응하는 설정 정보에 따라 제2 스타일러스 펜을 이용한 입력에 대응하는 제2 동작을 수행할 수 있다.For example, setting information corresponding to the ID of the first stylus pen may be the first operation. Setting information corresponding to the ID of the second stylus pen may be the second operation. For example, the electronic device 101 may perform a first operation corresponding to an input using the first stylus pen according to setting information corresponding to the ID of the first stylus pen. The electronic device 101 may perform a second operation corresponding to an input using the second stylus pen according to setting information corresponding to the ID of the second stylus pen.

일 예로, 제1 동작은 제1 지정된 굵기 및/또는 제1 지정된 색상으로 선을 표시하는 동작일 수 있다. 예를 들어, 제1 지정된 굵기는 제2 지정된 굵기와 다를 수 있다. 예를 들어, 제1 지정된 색상은 제2 지정된 색상과 다를 수 있다.As an example, the first operation may be an operation of displaying a line with a first designated thickness and/or a first designated color. For example, the first specified thickness may be different from the second specified thickness. For example, the first designated color may be different from the second designated color.

일 예로, 제1 동작 및 제2 동작은 동작 자체가 다를 수 있다. 예를 들어, 제1 동작은 필기 모드의 동작으로서, 필기하거나 드로잉하는 동작일 수 있다. 예를 들어, 제2 동작은 지우개 모드의 동작으로서, 필기 또는 드로잉된 그래픽 객체를 삭제하는 동작일 수 있다.For example, the first operation and the second operation may be different from each other. For example, the first operation is a writing mode operation and may be an operation of writing or drawing. For example, the second operation is an eraser mode operation and may be an operation for deleting a handwritten or drawn graphic object.

예를 들어, 전자 장치(101)는 제1 스타일러스 펜의 누름 버튼이 눌림에 따라, 디지타이저 패드 컨트롤러(135)로부터 제3 주파수를 획득할 수 있다. 제3 주파수는 동작 701의 제1 주파수와 다를 수 있다. 예를 들어, 전자 장치(101)는 제3 주파수에 대응하는 제3 필압에 제1 주파수에 대응하는 제1 필압에 부여된 ID와 동일한 ID를 부여할 수 있다.For example, the electronic device 101 may obtain the third frequency from the digitizer pad controller 135 as the push button of the first stylus pen is pressed. The third frequency may be different from the first frequency of operation 701. For example, the electronic device 101 may assign the same ID to the third pen pressure corresponding to the third frequency as the ID assigned to the first pen pressure corresponding to the first frequency.

예를 들어, 전자 장치(101)는 제2 스타일러스 펜의 누름 버튼이 눌림에 따라, 디지타이저 패드 컨트롤러(135)로부터 제4 주파수를 획득할 수 있다. 제4 주파수는 동작 703의 제2 주파수와 다를 수 있다. 예를 들어, 전자 장치(101)는 제4 주파수에 대응하는 제4 필압에 제2 주파수에 대응하는 제2 필압에 부여된 ID와 동일한 ID를 부여할 수 있다.For example, the electronic device 101 may obtain the fourth frequency from the digitizer pad controller 135 as the push button of the second stylus pen is pressed. The fourth frequency may be different from the second frequency of operation 703. For example, the electronic device 101 may assign the same ID to the fourth pen pressure corresponding to the fourth frequency as the ID assigned to the second pen pressure corresponding to the second frequency.

예를 들어, 전자 장치(101)는 제3 주파수가 획득되는 경우, 제1 스타일러스 펜의 누름 버튼이 눌린 것으로 식별할 수 있다. 예를 들어, 전자 장치(101)는 제4 주파수가 획득되는 경우, 제2 스타일러스 펜의 누름 버튼이 눌린 것으로 식별할 수 있다.For example, when the third frequency is obtained, the electronic device 101 may identify that the push button of the first stylus pen has been pressed. For example, when the fourth frequency is obtained, the electronic device 101 may identify that the push button of the second stylus pen has been pressed.

예를 들어, 전자 장치(101)는 스타일러스 펜(201)의 누름 버튼이 눌린 상태에 대응하는 펜에 대한 설정 정보를 입력하는 사용자 입력을 수신할 수 있다. 예를 들어, 설정 정보는, 스타일러스 펜의 누름 버튼을 누르는 입력에 대응하는 동작을 포함할 수 있다. 스타일러스 펜의 누름 버튼을 누르는 입력에 대응하는 동작은, 예를 들어, 지정된 메뉴를 표시하는 동작일 수 있다.For example, the electronic device 101 may receive a user input for entering setting information for the pen corresponding to a state in which the push button of the stylus pen 201 is pressed. For example, the setting information may include an operation corresponding to an input of pressing a push button of a stylus pen. An action corresponding to an input of pressing a push button of a stylus pen may be, for example, an action of displaying a designated menu.

일 예로, 제1 스타일러스 펜의 누름 버튼을 누르는 입력에 대응하는 설정 정보가 제1 지정된 메뉴(예: 선의 굵기를 조절하는 메뉴)를 표시하는 동작일 수 있다. 제2 스타일러스 펜의 누름 버튼을 누르는 입력에 대응하는 설정 정보가 제2 지정된 메뉴를 표시하는 동작일 수 있다. 예를 들어, 전자 장치(101)는 제1 스타일러스 펜의 누름 버튼을 누르는 입력에 응답하여 제1 지정된 메뉴를 표시할 수 있다. 전자 장치(101)는 제2 스타일러스 펜의 누름 버튼을 누르는 입력에 응답하여 제2 지정된 메뉴(예: 선의 명암을 조절하는 메뉴)를 표시할 수 있다. 제2 지정된 메뉴는 제1 지정된 메뉴와 다를 수 있다.As an example, the setting information corresponding to the input of pressing the push button of the first stylus pen may be an operation of displaying a first designated menu (eg, a menu for adjusting the thickness of a line). Setting information corresponding to the input of pressing the push button of the second stylus pen may be an operation of displaying a second designated menu. For example, the electronic device 101 may display a first designated menu in response to an input of pressing a push button of a first stylus pen. The electronic device 101 may display a second designated menu (eg, a menu for adjusting the brightness of a line) in response to an input of pressing a push button of a second stylus pen. The second designated menu may be different from the first designated menu.

예를 들어, 전자 장치(101)는 스타일러스 펜의 호버링 또는 접촉 여부를 식별할 수 있다. 예를 들어, 전자 장치(101)는 스타일러스 펜(201)의 호버링 또는 접촉 여부에 각각에 대응하는 펜에 대한 설정 정보를 입력하는 사용자 입력을 수신할 수 있다. 예를 들어, 설정 정보는, 스타일러스 펜의 호버링 입력에 대응하는 동작 및 터치 입력에 대응하는 동작을 포함할 수 있다. 예를 들어, 전자 장치(101)는 스타일러스 펜의 호버링 입력에 대응하는 동작과 스타일러스 펜의 터치 입력에 대응하는 동작을 다르게 설정할 수 있다. 예를 들어, 전자 장치(101)는 스타일러스 펜(스타일러스 펜의 ID 또는 필압) 별로 호버링 입력에 대응하는 동작을 다르게 설정할 수 있다. 예를 들어, 전자 장치(101)는 스타일러스 펜 별로 터치 입력에 대응하는 동작은 다르게 설정할 수 있다.For example, the electronic device 101 can identify whether the stylus pen is hovering or touching. For example, the electronic device 101 may receive a user input for entering setting information for the pen corresponding to whether the stylus pen 201 is hovering or touching. For example, the setting information may include an action corresponding to a hovering input of a stylus pen and an action corresponding to a touch input. For example, the electronic device 101 may set the operation corresponding to the hovering input of the stylus pen and the operation corresponding to the touch input of the stylus pen to be different. For example, the electronic device 101 may set the operation corresponding to the hovering input differently for each stylus pen (ID or pen pressure of the stylus pen). For example, the electronic device 101 may set different operations corresponding to touch input for each stylus pen.

예를 들어, 전자 장치(101)는 제1 스타일러스 펜의 호버링 입력에 대응하는 동작(동작 1-H) 및 제1 스타일러스 펜의 터치 입력에 대응하는 동작(동작 1-T)을 입력하는 사용자 입력을 수신할 수 있다. 전자 장치(101)는 제1 스타일러스 펜의 호버링 입력에 응답하여 동작 1-H를 수행할 수 있다. 전자 장치(101)는 제1 스타일러스 펜의 터치 입력에 응답하여 동작 1-T를 수행할 수 있다. 예를 들어, 동작 1-H는 동작 1-T와 다를 수 있다.For example, the electronic device 101 may input a user input to input an action (action 1-H) corresponding to a hovering input of the first stylus pen and an action (action 1-T) corresponding to a touch input of the first stylus pen. can receive. The electronic device 101 may perform operation 1-H in response to the hovering input of the first stylus pen. The electronic device 101 may perform operation 1-T in response to a touch input from the first stylus pen. For example, operation 1-H may be different from operation 1-T.

예를 들어, 전자 장치(101)는 제2 스타일러스 펜의 호버링 입력에 대응하는 동작(동작 2-H) 및 제2 스타일러스 펜의 터치 입력에 대응하는 동작(동작 2-T)을 입력하는 사용자 입력을 수신할 수 있다. 전자 장치(101)는 제2 스타일러스 펜의 호버링 입력에 응답하여 동작 2-H를 수행할 수 있다. 전자 장치(101)는 제2 스타일러스 펜의 터치 입력에 응답하여 동작 2-T를 수행할 수 있다. 예를 들어, 동작 2-H는 동작 2-T와 다를 수 있다. 예를 들어, 동작 2-H는 동작 1-H와 다를 수 있다. 예를 들어, 동작 2-T는 동작 1-T와 다를 수 있다.For example, the electronic device 101 may input a user input to input an action (action 2-H) corresponding to a hovering input of the second stylus pen and an action (action 2-T) corresponding to a touch input of the second stylus pen. can receive. The electronic device 101 may perform operation 2-H in response to the hovering input of the second stylus pen. The electronic device 101 may perform operation 2-T in response to a touch input from the second stylus pen. For example, operation 2-H may be different from operation 2-T. For example, operation 2-H may be different from operation 1-H. For example, operation 2-T may be different from operation 1-T.

예를 들어, 전자 장치(101)는 스타일러스 펜의 호버링 입력 중에 누름 버튼을 누르는 입력 또는 터치 입력 중에 누름 버튼을 누르는 입력 각각에 대응하는 펜에 대한 설정 정보를 입력하는 사용자 입력을 수신할 수 있다. 예를 들어, 전자 장치(101)는 스타일러스 펜의 호버링 입력 중에 누름 버튼을 누르는 입력에 대응하는 동작과 스타일러스 펜의 터치 입력 중에 누름 버튼을 누르는 입력에 대응하는 동작을 다르게 설정할 수 있다. 예를 들어, 전자 장치(101)는 스타일러스 펜(스타일러스 펜의 ID 또는 필압) 별로 호버링 입력 중에 누름 버튼을 누르는 입력에 대응하는 동작을 다르게 설정할 수 있다. 예를 들어, 전자 장치(101)는 스타일러스 펜(스타일러스 펜의 ID 또는 필압) 별로 터치 입력 중에 누름 버튼을 누르는 입력에 대응하는 동작을 다르게 설정할 수 있다.For example, the electronic device 101 may receive a user input of entering setting information for the pen corresponding to an input of pressing a push button during a hovering input of a stylus pen or an input of pressing a push button during a touch input. For example, the electronic device 101 may set an operation corresponding to an input of pressing a push button during a hovering input of a stylus pen and an operation corresponding to an input of pressing a push button during a touch input of a stylus pen to be different. For example, the electronic device 101 may set an operation corresponding to an input of pressing a push button during a hovering input differently for each stylus pen (ID or pen pressure of the stylus pen). For example, the electronic device 101 may set the operation corresponding to the input of pressing a push button during touch input differently for each stylus pen (ID or pen pressure of the stylus pen).

예를 들어, 전자 장치(101)는 제1 스타일러스 펜의 호버링 입력 중에 누름 버튼을 누르는 입력에 대응하는 동작(동작 1-H') 및 제1 스타일러스 펜의 터치 입력 중에 누름 버튼을 누르는 입력에 대응하는 동작(동작 1-T')을 입력하는 사용자 입력을 수신할 수 있다. 전자 장치(101)는 제1 스타일러스 펜의 호버링 입력 중에 누름 버튼을 누르는 입력에 응답하여 동작 1-H'를 수행할 수 있다. 전자 장치(101)는 제1 스타일러스 펜의 터치 입력 중에 누름 버튼을 누르는 입력에 응답하여 동작 1-T'를 수행할 수 있다. 예를 들어, 동작 1-H'는 동작 1-T'와 다를 수 있다.For example, the electronic device 101 operates (action 1-H') corresponding to an input of pressing a push button during a hovering input of a first stylus pen and an input of pressing a push button during a touch input of a first stylus pen. User input for entering an action (action 1-T') can be received. The electronic device 101 may perform operation 1-H' in response to an input of pressing a push button during a hovering input of the first stylus pen. The electronic device 101 may perform operation 1-T' in response to an input of pressing a push button during a touch input of the first stylus pen. For example, operation 1-H' may be different from operation 1-T'.

예를 들어, 전자 장치(101)는 제2 스타일러스 펜의 호버링 입력 중에 누름 버튼을 누르는 입력에 대응하는 동작(동작 2-H') 및 제2 스타일러스 펜의 터치 입력 중에 누름 버튼을 누르는 입력에 대응하는 동작(동작 2-T')을 입력하는 사용자 입력을 수신할 수 있다. 전자 장치(101)는 제2 스타일러스 펜의 호버링 입력 중에 누름 버튼을 누르는 입력에 응답하여 동작 2-H'를 수행할 수 있다. 전자 장치(101)는 제2 스타일러스 펜의 터치 입력 중 누름 버튼을 누르는 입력에 응답하여 동작 2-T'를 수행할 수 있다. 예를 들어, 동작 2-H'는 동작 2-T'와 다를 수 있다. 예를 들어, 동작 2-H'는 동작 1-H'와 다를 수 있다. 예를 들어, 동작 2-T'는 동작 1-T'와 다를 수 있다.For example, the electronic device 101 operates (action 2-H') corresponding to an input of pressing a push button during a hovering input of a second stylus pen and an input of pressing a push button during a touch input of a second stylus pen. User input for entering an action (action 2-T') can be received. The electronic device 101 may perform operation 2-H' in response to an input of pressing a push button during a hovering input of the second stylus pen. The electronic device 101 may perform operation 2-T' in response to an input of pressing a push button among the touch inputs of the second stylus pen. For example, operation 2-H' may be different from operation 2-T'. For example, operation 2-H' may be different from operation 1-H'. For example, operation 2-T' may be different from operation 1-T'.

도 8은 일 예시에 따른 네트워크 환경 내의 전자 장치(801)의 블록도(800)이다. 전자 장치(801)는 전자 장치(101)의 일 예시일 수 있다.FIG. 8 is a block diagram 800 of an electronic device 801 in a network environment according to an example. Electronic device 801 may be an example of electronic device 101.

도 8을 참조하면, 네트워크 환경(800)에서 전자 장치(801)는 제 1 네트워크(898)(예: 근거리 무선 통신 네트워크)를 통하여 전자 장치(802)와 통신하거나, 또는 제 2 네트워크(899)(예: 원거리 무선 통신 네트워크)를 통하여 전자 장치(804) 또는 서버(808) 중 적어도 하나와 통신할 수 있다. 일 예시에 따르면, 전자 장치(801)는 서버(808)를 통하여 전자 장치(804)와 통신할 수 있다. 일 예시에 따르면, 전자 장치(801)는 프로세서(820), 메모리(830), 입력 모듈(850), 음향 출력 모듈(855), 디스플레이 모듈(860), 오디오 모듈(870), 센서 모듈(876), 인터페이스(877), 연결 단자(878), 햅틱 모듈(879), 카메라 모듈(880), 전력 관리 모듈(888), 배터리(889), 통신 모듈(890), 가입자 식별 모듈(896), 또는 안테나 모듈(897)을 포함할 수 있다. 어떤 예시에서는, 전자 장치(801)에는, 이 구성요소들 중 적어도 하나(예: 연결 단자(878))가 생략되거나, 하나 이상의 다른 구성요소가 추가될 수 있다. 어떤 예시에서는, 이 구성요소들 중 일부들(예: 센서 모듈(876), 카메라 모듈(880), 또는 안테나 모듈(897))은 하나의 구성요소(예: 디스플레이 모듈(860))로 통합될 수 있다.Referring to FIG. 8, in the network environment 800, the electronic device 801 communicates with the electronic device 802 through a first network 898 (e.g., a short-range wireless communication network) or a second network 899. It is possible to communicate with at least one of the electronic device 804 or the server 808 through (e.g., a long-distance wireless communication network). According to one example, the electronic device 801 may communicate with the electronic device 804 through the server 808. According to one example, the electronic device 801 includes a processor 820, a memory 830, an input module 850, an audio output module 855, a display module 860, an audio module 870, and a sensor module 876. ), interface 877, connection terminal 878, haptic module 879, camera module 880, power management module 888, battery 889, communication module 890, subscriber identification module 896, Alternatively, it may include an antenna module 897. In some examples, at least one of these components (eg, the connection terminal 878) may be omitted, or one or more other components may be added to the electronic device 801. In some examples, some of these components (e.g., sensor module 876, camera module 880, or antenna module 897) may be integrated into one component (e.g., display module 860). You can.

프로세서(820)는, 예를 들면, 소프트웨어(예: 프로그램(840))를 실행하여 프로세서(820)에 연결된 전자 장치(801)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일 예시에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(820)는 다른 구성요소(예: 센서 모듈(876) 또는 통신 모듈(890))로부터 수신된 명령 또는 데이터를 휘발성 메모리(832)에 저장하고, 휘발성 메모리(832)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(834)에 저장할 수 있다. 일 예시에 따르면, 프로세서(820)는 메인 프로세서(821)(예: 중앙 처리 장치 또는 어플리케이션 프로세서) 또는 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(823)(예: 그래픽 처리 장치, 신경망 처리 장치(NPU: neural processing unit), 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 예를 들어, 전자 장치(801)가 메인 프로세서(821) 및 보조 프로세서(823)를 포함하는 경우, 보조 프로세서(823)는 메인 프로세서(821)보다 저전력을 사용하거나, 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(823)는 메인 프로세서(821)와 별개로, 또는 그 일부로서 구현될 수 있다.The processor 820, for example, executes software (e.g., program 840) to operate at least one other component (e.g., hardware or software component) of the electronic device 801 connected to the processor 820. It can be controlled and various data processing or calculations can be performed. According to one example, as at least part of data processing or computation, processor 820 stores commands or data received from another component (e.g., sensor module 876 or communication module 890) in volatile memory 832. The commands or data stored in the volatile memory 832 may be stored and processed, and the resulting data may be stored in the non-volatile memory 834. According to one example, the processor 820 may be a main processor 821 (e.g., a central processing unit or an application processor) or an auxiliary processor 823 that can operate independently or together (e.g., a graphics processing unit, a neural network processing unit (NPU) : neural processing unit), image signal processor, sensor hub processor, or communication processor). For example, if the electronic device 801 includes a main processor 821 and a auxiliary processor 823, the auxiliary processor 823 may be set to use lower power than the main processor 821 or be specialized for a designated function. You can. The auxiliary processor 823 may be implemented separately from the main processor 821 or as part of it.

보조 프로세서(823)는, 예를 들면, 메인 프로세서(821)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(821)를 대신하여, 또는 메인 프로세서(821)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(821)와 함께, 전자 장치(801)의 구성요소들 중 적어도 하나의 구성요소(예: 디스플레이 모듈(860), 센서 모듈(876), 또는 통신 모듈(890))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일 예시에 따르면, 보조 프로세서(823)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성요소(예: 카메라 모듈(880) 또는 통신 모듈(890))의 일부로서 구현될 수 있다. 일 예시에 따르면, 보조 프로세서(823)(예: 신경망 처리 장치)는 인공지능 모델의 처리에 특화된 하드웨어 구조를 포함할 수 있다. 인공지능 모델은 기계 학습을 통해 생성될 수 있다. 이러한 학습은, 예를 들어, 인공지능 모델이 수행되는 전자 장치(801) 자체에서 수행될 수 있고, 별도의 서버(예: 서버(808))를 통해 수행될 수도 있다. 학습 알고리즘은, 예를 들어, 지도형 학습(supervised learning), 비지도형 학습(unsupervised learning), 준지도형 학습(semi-supervised learning) 또는 강화 학습(reinforcement learning)을 포함할 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은, 복수의 인공 신경망 레이어들을 포함할 수 있다. 인공 신경망은 심층 신경망(DNN: deep neural network), CNN(convolutional neural network), RNN(recurrent neural network), RBM(restricted boltzmann machine), DBN(deep belief network), BRDNN(bidirectional recurrent deep neural network), 심층 Q-네트워크(deep Q-networks) 또는 상기 중 둘 이상의 조합 중 하나일 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은 하드웨어 구조 이외에, 추가적으로 또는 대체적으로, 소프트웨어 구조를 포함할 수 있다. The auxiliary processor 823 may, for example, act on behalf of the main processor 821 while the main processor 821 is in an inactive (e.g., sleep) state, or while the main processor 821 is in an active (e.g., application execution) state. ), together with the main processor 821, at least one of the components of the electronic device 801 (e.g., the display module 860, the sensor module 876, or the communication module 890) At least some of the functions or states related to can be controlled. According to one example, coprocessor 823 (e.g., image signal processor or communication processor) may be implemented as part of another functionally related component (e.g., camera module 880 or communication module 890). . According to one example, the auxiliary processor 823 (e.g., neural network processing unit) may include a hardware structure specialized for processing artificial intelligence models. Artificial intelligence models can be created through machine learning. For example, such learning may be performed in the electronic device 801 itself on which the artificial intelligence model is performed, or may be performed through a separate server (e.g., server 808). Learning algorithms may include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but It is not limited. An artificial intelligence model may include multiple artificial neural network layers. Artificial neural networks include deep neural network (DNN), convolutional neural network (CNN), recurrent neural network (RNN), restricted boltzmann machine (RBM), belief deep network (DBN), bidirectional recurrent deep neural network (BRDNN), It may be one of deep Q-networks or a combination of two or more of the above, but is not limited to the examples described above. In addition to hardware structures, artificial intelligence models may additionally or alternatively include software structures.

메모리(830)는, 전자 장치(801)의 적어도 하나의 구성요소(예: 프로세서(820) 또는 센서 모듈(876))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(840)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(830)는, 휘발성 메모리(832) 또는 비휘발성 메모리(834)를 포함할 수 있다. The memory 830 may store various data used by at least one component (eg, the processor 820 or the sensor module 876) of the electronic device 801. Data may include, for example, input data or output data for software (e.g., program 840) and instructions related thereto. Memory 830 may include volatile memory 832 or non-volatile memory 834.

프로그램(840)은 메모리(830)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제(842), 미들 웨어(844) 또는 어플리케이션(846)을 포함할 수 있다. The program 840 may be stored as software in the memory 830 and may include, for example, an operating system 842, middleware 844, or application 846.

입력 모듈(850)은, 전자 장치(801)의 구성요소(예: 프로세서(820))에 사용될 명령 또는 데이터를 전자 장치(801)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 모듈(850)은, 예를 들면, 마이크, 마우스, 키보드, 키(예: 버튼), 또는 디지털 펜(예: 스타일러스 펜)을 포함할 수 있다. The input module 850 may receive commands or data to be used in a component of the electronic device 801 (e.g., the processor 820) from outside the electronic device 801 (e.g., a user). The input module 850 may include, for example, a microphone, mouse, keyboard, keys (eg, buttons), or digital pen (eg, stylus pen).

음향 출력 모듈(855)은 음향 신호를 전자 장치(801)의 외부로 출력할 수 있다. 음향 출력 모듈(855)은, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있다. 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일 예시에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.The sound output module 855 may output sound signals to the outside of the electronic device 801. The sound output module 855 may include, for example, a speaker or receiver. Speakers can be used for general purposes such as multimedia playback or recording playback. The receiver can be used to receive incoming calls. According to one example, the receiver may be implemented separately from the speaker or as part of it.

디스플레이 모듈(860)은 전자 장치(801)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 디스플레이 모듈(860)은, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일 예시에 따르면, 디스플레이 모듈(860)은 터치를 감지하도록 설정된 터치 센서, 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 압력 센서를 포함할 수 있다. The display module 860 can visually provide information to the outside of the electronic device 801 (eg, a user). The display module 860 may include, for example, a display, a hologram device, or a projector, and a control circuit for controlling the device. According to one example, the display module 860 may include a touch sensor configured to detect a touch, or a pressure sensor configured to measure the intensity of force generated by the touch.

오디오 모듈(870)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일 예시에 따르면, 오디오 모듈(870)은, 입력 모듈(850)을 통해 소리를 획득하거나, 음향 출력 모듈(855), 또는 전자 장치(801)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(802))(예: 스피커 또는 헤드폰)를 통해 소리를 출력할 수 있다.The audio module 870 can convert sound into an electrical signal or, conversely, convert an electrical signal into sound. According to one example, the audio module 870 acquires sound through the input module 850, the sound output module 855, or an external electronic device (e.g., electronic device) directly or wirelessly connected to the electronic device 801. Sound may be output through a device 802 (e.g., speaker or headphone).

센서 모듈(876)은 전자 장치(801)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일 예시에 따르면, 센서 모듈(876)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다. The sensor module 876 detects the operating state (e.g., power or temperature) of the electronic device 801 or the external environmental state (e.g., user state) and generates an electrical signal or data value corresponding to the detected state. can do. According to one example, the sensor module 876 includes, for example, a gesture sensor, a gyro sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biometric sensor, and a temperature sensor. It may include a sensor, humidity sensor, or light sensor.

인터페이스(877)는 전자 장치(801)가 외부 전자 장치(예: 전자 장치(802))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일 예시에 따르면, 인터페이스(877)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.The interface 877 may support one or more designated protocols that can be used to connect the electronic device 801 directly or wirelessly with an external electronic device (eg, the electronic device 802). According to one example, the interface 877 may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.

연결 단자(878)는, 그를 통해서 전자 장치(801)가 외부 전자 장치(예: 전자 장치(802))와 물리적으로 연결될 수 있는 커넥터를 포함할 수 있다. 일 예시에 따르면, 연결 단자(878)는, 예를 들면, HDMI 커넥터, USB 커넥터, SD 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다.The connection terminal 878 may include a connector through which the electronic device 801 can be physically connected to an external electronic device (eg, the electronic device 802). According to one example, the connection terminal 878 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (eg, a headphone connector).

햅틱 모듈(879)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일 예시에 따르면, 햅틱 모듈(879)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.The haptic module 879 can convert electrical signals into mechanical stimulation (e.g., vibration or movement) or electrical stimulation that the user can perceive through tactile or kinesthetic senses. According to one example, the haptic module 879 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.

카메라 모듈(880)은 정지 영상 및 동영상을 촬영할 수 있다. 일 예시에 따르면, 카메라 모듈(880)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.The camera module 880 can capture still images and moving images. According to one example, the camera module 880 may include one or more lenses, image sensors, image signal processors, or flashes.

전력 관리 모듈(888)은 전자 장치(801)에 공급되는 전력을 관리할 수 있다. 일 예시에 따르면, 전력 관리 모듈(888)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.The power management module 888 can manage power supplied to the electronic device 801. According to one example, the power management module 888 may be implemented as at least a part of, for example, a power management integrated circuit (PMIC).

배터리(889)는 전자 장치(801)의 적어도 하나의 구성요소에 전력을 공급할 수 있다. 일 예시에 따르면, 배터리(889)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.Battery 889 may supply power to at least one component of electronic device 801. According to one example, the battery 889 may include, for example, a non-rechargeable primary cell, a rechargeable secondary cell, or a fuel cell.

통신 모듈(890)은 전자 장치(801)와 외부 전자 장치(예: 전자 장치(802), 전자 장치(804), 또는 서버(808)) 간의 직접(예: 유선) 통신 채널 또는 무선 통신 채널의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있다. 통신 모듈(890)은 프로세서(820)(예: 어플리케이션 프로세서)와 독립적으로 운영되고, 직접(예: 유선) 통신 또는 무선 통신을 지원하는 하나 이상의 커뮤니케이션 프로세서를 포함할 수 있다. 일 예시에 따르면, 통신 모듈(890)은 무선 통신 모듈(892)(예: 셀룰러 통신 모듈, 근거리 무선 통신 모듈, 또는 GNSS(global navigation satellite system) 통신 모듈) 또는 유선 통신 모듈(894)(예: LAN(local area network) 통신 모듈, 또는 전력선 통신 모듈)을 포함할 수 있다. 이들 통신 모듈 중 해당하는 통신 모듈은 제 1 네트워크(898)(예: 블루투스, WiFi(wireless fidelity) direct 또는 IrDA(infrared data association)와 같은 근거리 통신 네트워크) 또는 제 2 네트워크(899)(예: 레거시 셀룰러 네트워크, 5G 네트워크, 차세대 통신 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크)를 통하여 외부의 전자 장치(804)와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성요소(예: 단일 칩)로 통합되거나, 또는 서로 별도의 복수의 구성요소들(예: 복수 칩들)로 구현될 수 있다. 무선 통신 모듈(892)은 가입자 식별 모듈(896)에 저장된 가입자 정보(예: 국제 모바일 가입자 식별자(IMSI))를 이용하여 제 1 네트워크(898) 또는 제 2 네트워크(899)와 같은 통신 네트워크 내에서 전자 장치(801)를 확인 또는 인증할 수 있다. Communication module 890 is configured to provide a direct (e.g., wired) communication channel or wireless communication channel between the electronic device 801 and an external electronic device (e.g., electronic device 802, electronic device 804, or server 808). It can support establishment and communication through established communication channels. Communication module 890 operates independently of processor 820 (e.g., an application processor) and may include one or more communication processors that support direct (e.g., wired) communication or wireless communication. According to one example, the communication module 890 may be a wireless communication module 892 (e.g., a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 894 (e.g., It may include a local area network (LAN) communication module, or a power line communication module. Among these communication modules, the corresponding communication module is a first network 898 (e.g., a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network 899 (e.g., legacy It may communicate with an external electronic device 804 through a telecommunication network such as a cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., LAN or WAN). These various types of communication modules may be integrated into one component (e.g., a single chip) or may be implemented as a plurality of separate components (e.g., multiple chips). The wireless communication module 892 uses subscriber information (e.g., International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module 896 within a communication network such as the first network 898 or the second network 899. The electronic device 801 can be confirmed or authenticated.

무선 통신 모듈(892)은 4G 네트워크 이후의 5G 네트워크 및 차세대 통신 기술, 예를 들어, NR 접속 기술(new radio access technology)을 지원할 수 있다. NR 접속 기술은 고용량 데이터의 고속 전송(eMBB(enhanced mobile broadband)), 단말 전력 최소화와 다수 단말의 접속(mMTC(massive machine type communications)), 또는 고신뢰도와 저지연(URLLC(ultra-reliable and low-latency communications))을 지원할 수 있다. 무선 통신 모듈(892)은, 예를 들어, 높은 데이터 전송률 달성을 위해, 고주파 대역(예: mmWave 대역)을 지원할 수 있다. 무선 통신 모듈(892)은 고주파 대역에서의 성능 확보를 위한 다양한 기술들, 예를 들어, 빔포밍(beamforming), 거대 배열 다중 입출력(massive MIMO(multiple-input and multiple-output)), 전차원 다중입출력(FD-MIMO: full dimensional MIMO), 어레이 안테나(array antenna), 아날로그 빔형성(analog beam-forming), 또는 대규모 안테나(large scale antenna)와 같은 기술들을 지원할 수 있다. 무선 통신 모듈(892)은 전자 장치(801), 외부 전자 장치(예: 전자 장치(804)) 또는 네트워크 시스템(예: 제 2 네트워크(899))에 규정되는 다양한 요구사항을 지원할 수 있다. 일 예시에 따르면, 무선 통신 모듈(892)은 eMBB 실현을 위한 Peak data rate(예: 20Gbps 이상), mMTC 실현을 위한 손실 Coverage(예: 164dB 이하), 또는 URLLC 실현을 위한 U-plane latency(예: 다운링크(DL) 및 업링크(UL) 각각 0.5ms 이하, 또는 라운드 트립 1ms 이하)를 지원할 수 있다.The wireless communication module 892 may support 5G networks after 4G networks and next-generation communication technologies, for example, NR access technology (new radio access technology). NR access technology provides high-speed transmission of high-capacity data (eMBB (enhanced mobile broadband)), minimization of terminal power and access to multiple terminals (mMTC (massive machine type communications)), or high reliability and low latency (URLLC (ultra-reliable and low latency). -latency communications)) can be supported. The wireless communication module 892 may support high frequency bands (e.g., mmWave bands), for example, to achieve high data rates. The wireless communication module 892 uses various technologies to secure performance in high frequency bands, such as beamforming, massive MIMO (multiple-input and multiple-output), and full-dimensional multiplexing. It can support technologies such as input/output (FD-MIMO: full dimensional MIMO), array antenna, analog beam-forming, or large scale antenna. The wireless communication module 892 may support various requirements specified in the electronic device 801, an external electronic device (e.g., electronic device 804), or a network system (e.g., second network 899). According to one example, the wireless communication module 892 supports peak data rate (e.g., 20 Gbps or more) for realizing eMBB, loss coverage (e.g., 164 dB or less) for realizing mmTC, or U-plane latency (e.g., 164 dB or less) for realizing URLLC. : Downlink (DL) and uplink (UL) each of 0.5 ms or less, or round trip 1 ms or less) can be supported.

안테나 모듈(897)은 신호 또는 전력을 외부(예: 외부의 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일 예시에 따르면, 안테나 모듈(897)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 안테나를 포함할 수 있다. 일 예시에 따르면, 안테나 모듈(897)은 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다. 이런 경우, 제 1 네트워크(898) 또는 제 2 네트워크(899)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(890)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(890)과 외부의 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 예시에 따르면, 방사체 이외에 다른 부품(예: RFIC(radio frequency integrated circuit))이 추가로 안테나 모듈(897)의 일부로 형성될 수 있다. The antenna module 897 may transmit or receive signals or power to or from the outside (e.g., an external electronic device). According to one example, the antenna module 897 may include an antenna including a radiator made of a conductor or a conductive pattern formed on a substrate (eg, PCB). According to one example, the antenna module 897 may include a plurality of antennas (eg, an array antenna). In this case, at least one antenna suitable for the communication method used in the communication network, such as the first network 898 or the second network 899, is connected to the plurality of antennas by, for example, the communication module 890. can be selected. Signals or power may be transmitted or received between the communication module 890 and an external electronic device through the selected at least one antenna. According to some examples, other components (e.g., radio frequency integrated circuit (RFIC)) in addition to the radiator may be additionally formed as part of the antenna module 897.

일 예시에 따르면, 안테나 모듈(897)은 mmWave 안테나 모듈을 형성할 수 있다. 일 예시에 따르면, mmWave 안테나 모듈은 인쇄 회로 기판, 상기 인쇄 회로 기판의 제 1 면(예: 아래 면)에 또는 그에 인접하여 배치되고 지정된 고주파 대역(예: mmWave 대역)을 지원할 수 있는 RFIC, 및 상기 인쇄 회로 기판의 제 2 면(예: 윗 면 또는 측 면)에 또는 그에 인접하여 배치되고 상기 지정된 고주파 대역의 신호를 송신 또는 수신할 수 있는 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다.According to one example, the antenna module 897 may form a mmWave antenna module. According to one example, a mmWave antenna module includes a printed circuit board, an RFIC disposed on or adjacent a first side (e.g., bottom side) of the printed circuit board and capable of supporting a designated high frequency band (e.g., mmWave band), and It may include a plurality of antennas (e.g., array antennas) disposed on or adjacent to the second side (e.g., top or side) of the printed circuit board and capable of transmitting or receiving signals in the designated high frequency band. You can.

상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))을 통해 서로 연결되고 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다.At least some of the components are connected to each other through a communication method between peripheral devices (e.g., bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)) and signal ( (e.g. commands or data) can be exchanged with each other.

일 예시에 따르면, 명령 또는 데이터는 제 2 네트워크(899)에 연결된 서버(808)를 통해서 전자 장치(801)와 외부의 전자 장치(804)간에 송신 또는 수신될 수 있다. 외부의 전자 장치(802, 또는 804) 각각은 전자 장치(801)와 동일한 또는 다른 종류의 장치일 수 있다. 일 예시에 따르면, 전자 장치(801)에서 실행되는 동작들의 전부 또는 일부는 외부의 전자 장치들(802, 804, 또는 808) 중 하나 이상의 외부의 전자 장치들에서 실행될 수 있다. 예를 들면, 전자 장치(801)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(801)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부의 전자 장치들에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부의 전자 장치들은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(801)로 전달할 수 있다. 전자 장치(801)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 모바일 에지 컴퓨팅(MEC: mobile edge computing), 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다. 전자 장치(801)는, 예를 들어, 분산 컴퓨팅 또는 모바일 에지 컴퓨팅을 이용하여 초저지연 서비스를 제공할 수 있다. 일 예시에 있어서, 외부의 전자 장치(804)는 IoT(internet of things) 기기를 포함할 수 있다. 서버(808)는 기계 학습 및/또는 신경망을 이용한 지능형 서버일 수 있다. 일 예시에 따르면, 외부의 전자 장치(804) 또는 서버(808)는 제 2 네트워크(899) 내에 포함될 수 있다. 전자 장치(801)는 5G 통신 기술 및 IoT 관련 기술을 기반으로 지능형 서비스(예: 스마트 홈, 스마트 시티, 스마트 카, 또는 헬스 케어)에 적용될 수 있다. According to one example, commands or data may be transmitted or received between the electronic device 801 and the external electronic device 804 through the server 808 connected to the second network 899. Each of the external electronic devices 802 or 804 may be of the same or different type as the electronic device 801. According to one example, all or part of the operations performed in the electronic device 801 may be executed in one or more of the external electronic devices 802, 804, or 808. For example, when the electronic device 801 needs to perform a certain function or service automatically or in response to a request from a user or another device, the electronic device 801 may perform the function or service instead of executing the function or service on its own. Alternatively, or additionally, one or more external electronic devices may be requested to perform at least part of the function or service. One or more external electronic devices that have received the request may execute at least part of the requested function or service, or an additional function or service related to the request, and transmit the result of the execution to the electronic device 801. The electronic device 801 may process the result as is or additionally and provide it as at least part of a response to the request. For this purpose, for example, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology can be used. The electronic device 801 may provide an ultra-low latency service using, for example, distributed computing or mobile edge computing. In one example, the external electronic device 804 may include an Internet of Things (IoT) device. Server 808 may be an intelligent server using machine learning and/or neural networks. According to one example, an external electronic device 804 or a server 808 may be included in the second network 899. The electronic device 801 may be applied to intelligent services (e.g., smart home, smart city, smart car, or healthcare) based on 5G communication technology and IoT-related technology.

본 문서에 개시된 다양한 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.Electronic devices according to various embodiments disclosed in this document may be of various types. Electronic devices may include, for example, portable communication devices (e.g., smartphones), computer devices, portable multimedia devices, portable medical devices, cameras, wearable devices, or home appliances. Electronic devices according to embodiments of this document are not limited to the above-described devices.

본 문서의 다양한 실시예들 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시예들로 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나", "A 또는 B 중 적어도 하나", "A, B 또는 C", "A, B 및 C 중 적어도 하나", 및 "A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제 1", "제 2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제 1) 구성요소가 다른(예: 제 2) 구성요소에, "기능적으로" 또는 "통신적으로"라는 용어와 함께 또는 이런 용어 없이, "커플드" 또는 "커넥티드"라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제 3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.The various embodiments of this document and the terms used herein are not intended to limit the technical features described in this document to specific embodiments, and should be understood to include various changes, equivalents, or replacements of the embodiments. In connection with the description of the drawings, similar reference numbers may be used for similar or related components. The singular form of a noun corresponding to an item may include one or more of the above items, unless the relevant context clearly indicates otherwise. As used herein, “A or B”, “at least one of A and B”, “at least one of A or B”, “A, B or C”, “at least one of A, B and C”, and “A Each of phrases such as “at least one of , B, or C” may include any one of the items listed together in the corresponding phrase, or any possible combination thereof. Terms such as "first", "second", or "first" or "second" may be used simply to distinguish one component from another, and to refer to that component in other respects (e.g., importance or order) is not limited. One (e.g., first) component is said to be “coupled” or “connected” to another (e.g., second) component, with or without the terms “functionally” or “communicatively.” When mentioned, it means that any of the components can be connected to the other components directly (e.g. wired), wirelessly, or through a third component.

본 문서의 다양한 실시예들에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로와 같은 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다. The term “module” used in various embodiments of this document may include a unit implemented in hardware, software, or firmware, and is interchangeable with terms such as logic, logic block, component, or circuit, for example. It can be used as A module may be an integrated part or a minimum unit of the parts or a part thereof that performs one or more functions. For example, a module may be implemented in the form of an application-specific integrated circuit (ASIC).

본 문서의 다양한 실시예들은 기기(machine)(예: 전자 장치(801)) 의해 읽을 수 있는 저장 매체(storage medium)(예: 내장 메모리(836) 또는 외장 메모리(838))에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램(840))로서 구현될 수 있다. 예를 들면, 기기(예: 전자 장치(801))의 프로세서(예: 프로세서(820))는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장 매체는, 비일시적(non-transitory) 저장 매체의 형태로 제공될 수 있다. 여기서, ‘비일시적’은 저장 매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장 매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.Various embodiments of the present document are one or more instructions stored in a storage medium (e.g., built-in memory 836 or external memory 838) that can be read by a machine (e.g., electronic device 801). It may be implemented as software (e.g., program 840) including these. For example, a processor (e.g., processor 820) of a device (e.g., electronic device 801) may call at least one command among one or more commands stored from a storage medium and execute it. This allows the device to be operated to perform at least one function according to the at least one instruction called. The one or more instructions may include code generated by a compiler or code that can be executed by an interpreter. A storage medium that can be read by a device may be provided in the form of a non-transitory storage medium. Here, 'non-transitory' only means that the storage medium is a tangible device and does not contain signals (e.g. electromagnetic waves), and this term refers to cases where data is semi-permanently stored in the storage medium. There is no distinction between temporary storage cases.

일실시예에 따르면, 본 문서에 개시된 다양한 실시예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory(CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어™)를 통해 또는 두 개의 사용자 장치들(예: 스마트 폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.According to one embodiment, methods according to various embodiments disclosed in this document may be included and provided in a computer program product. Computer program products are commodities and can be traded between sellers and buyers. The computer program product may be distributed in the form of a machine-readable storage medium (e.g. compact disc read only memory (CD-ROM)) or through an application store (e.g. Play Store™) or on two user devices (e.g. It can be distributed (e.g. downloaded or uploaded) directly between smart phones) or online. In the case of online distribution, at least a portion of the computer program product may be at least temporarily stored or temporarily created in a machine-readable storage medium, such as the memory of a manufacturer's server, an application store's server, or a relay server.

다양한 실시예들에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있으며, 복수의 개체 중 일부는 다른 구성요소에 분리 배치될 수도 있다. 다양한 실시예들에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.According to various embodiments, each component (e.g., module or program) of the above-described components may include a single or plural entity, and some of the plurality of entities may be separately placed in other components. there is. According to various embodiments, one or more of the components or operations described above may be omitted, or one or more other components or operations may be added. Alternatively or additionally, multiple components (eg, modules or programs) may be integrated into a single component. In this case, the integrated component may perform one or more functions of each component of the plurality of components in the same or similar manner as those performed by the corresponding component of the plurality of components prior to the integration. . According to various embodiments, operations performed by a module, program, or other component may be executed sequentially, in parallel, iteratively, or heuristically, or one or more of the operations may be executed in a different order, or omitted. Alternatively, one or more other operations may be added.

예를 들어, 스타일러스 펜은 0 내지 4096의 범위를 갖는 필압을 제공할 수 있다. 예를 들어, 스타일러스 펜의 앞 부분인 팁이 가압되는 정도에 따라 필압이 결정되는 경우, 사용자는 팁을 누르는 세기를 일정하게 유지하기 어려우므로, 전자 장치에서 감지되는 필압이 0 내지 4096의 범위에서 하나의 값으로 일정하게 유지되기 어려울 수 있다.For example, a stylus pen may provide a pen pressure ranging from 0 to 4096. For example, when pen pressure is determined by the degree to which the tip, which is the front part of a stylus pen, is pressed, it is difficult for the user to keep the strength of pressing the tip constant, so the pen pressure detected by the electronic device ranges from 0 to 4096. It may be difficult to maintain a constant value.

예를 들어, 스타일러스 펜은 팁이 가압되는 정도에 따라 내부에 구비된 공진 회로의 가변 커패시터의 정전용량을 변화시킴으로써 공진 주파수를 변화시킬 수 있다. 예를 들어, 전자 장치는 공진 주파수의 변화에 따라 필압을 다르게 감지할 수 있을 뿐, 복수의 스타일러스 펜을 구별하여 인식하지 못할 수 있다.For example, a stylus pen can change its resonance frequency by changing the capacitance of a variable capacitor of a resonance circuit provided therein according to the degree to which the tip is pressed. For example, an electronic device may only detect pen pressure differently depending on a change in resonance frequency, but may not be able to distinguish and recognize a plurality of stylus pens.

본 개시는, 스타일러스 펜 자체에서 필압을 조절 및 고정할 수 있는 스타일러스 펜, 이를 입력 장치로 이용하는 전자 장치 및 그 동작 방법을 제공하고자 한다.The present disclosure seeks to provide a stylus pen capable of adjusting and fixing pen pressure in the stylus pen itself, an electronic device using the stylus pen as an input device, and a method of operating the same.

본 개시는, 각 스타일러스 펜에 대하여 필압을 고정함으로써 서로 다른 필압에 의해 스타일러스 펜들이 구별되도록 하는 스타일러스 펜, 이를 입력 장치로 이용하는 전자 장치 및 그 동작 방법을 제공하고자 한다.The present disclosure seeks to provide a stylus pen that allows stylus pens to be distinguished by different pen pressures by fixing the pen pressure for each stylus pen, an electronic device using the stylus pen as an input device, and a method of operating the same.

본 개시는, 구별 가능한 복수의 스타일러스 펜에 대하여 각각 기능을 정의(또는, 설정)함으로써 각 펜의 사용 시마다 별도의 설정 프로세스를 거치지 않아도 되는 스타일러스 펜, 이를 입력 장치로 이용하는 전자 장치 및 그 동작 방법을 제공하고자 한다.The present disclosure provides a stylus pen that does not require a separate setting process each time each pen is used by defining (or setting) functions for each of a plurality of distinguishable stylus pens, an electronic device using the same as an input device, and a method of operating the same. We would like to provide

본 개시의 일 실시예에 따르면, 전자 장치(101;801)는, 디스플레이 패널(120;860), 디지타이저 패드(130;860), 디지타이저 패드 컨트롤러(135;860), 메모리(140;830), 및 프로세서(150;820)를 포함할 수 있다. 상기 메모리는, 상기 프로세서에 의해 실행 시에, 상기 전자 장치가, 스타일러스 펜(201)이 상기 디지타이저 패드에 접근함에 따라, 전자기 유도로 인해 상기 디지타이저 패드에 인가되는 자기장의 주파수를 상기 디지타이저 패드 컨트롤러로부터 획득하도록 하는 하나 이상의 인스트럭션들을 저장할 수 있다. 상기 인스트럭션들은, 상기 프로세서에 의해 실행 시에, 상기 전자 장치가, 상기 주파수에 대응하는 제1 필압을 상기 스타일러스 펜의 필압으로 결정하도록 할 수 있다. 상기 인스트럭션들은, 상기 프로세서에 의해 실행 시에, 상기 전자 장치가, 상기 결정된 필압에 따라 상기 스타일러스 펜을 식별하도록 할 수 있다. 일 실시예에 따르면, 각 스타일러스 펜에 대하여 필압을 고정함으로써 서로 다른 필압에 의해 스타일러스 펜들이 구별되도록 하는 효과를 포함하는 다양한 효과가 있을 수 있다.According to an embodiment of the present disclosure, the electronic device 101;801 includes a display panel 120;860, a digitizer pad 130;860, a digitizer pad controller 135;860, a memory 140;830, and a processor 150;820. The memory, when executed by the processor, causes the electronic device to determine, from the digitizer pad controller, the frequency of a magnetic field applied to the digitizer pad due to electromagnetic induction as the stylus pen 201 approaches the digitizer pad. One or more instructions that allow acquisition can be stored. When executed by the processor, the instructions may cause the electronic device to determine the first pen pressure corresponding to the frequency as the pen pressure of the stylus pen. When executed by the processor, the instructions may cause the electronic device to identify the stylus pen according to the determined pen pressure. According to one embodiment, by fixing the pen pressure for each stylus pen, there may be various effects, including the effect of allowing stylus pens to be distinguished by different pen pressures.

본 개시의 일 실시예에 따르면, 상기 메모리는, 주파수 별 미리 결정된 필압 정보를 저장할 수 있다. 상기 인스트럭션들은, 상기 프로세서에 의해 실행 시에, 상기 전자 장치가, 상기 저장된 주파수 별 미리 결정된 필압 정보로부터 상기 획득된 주파수에 대응하는 제1 필압을 식별하도록 할 수 있다.According to an embodiment of the present disclosure, the memory may store predetermined pen pressure information for each frequency. When executed by the processor, the instructions may cause the electronic device to identify a first pen pressure corresponding to the obtained frequency from predetermined pen pressure information for each stored frequency.

본 개시의 일 실시예에 따르면, 상기 주파수는 상기 스타일러스 펜의 공진 회로의 공진 주파수일 수 있다. 상기 공진 회로는 상기 스타일러스 펜의 후단부에 배치된 회전부가 회전되는 정도에 따라 정전용량이 달라지는 가변 커패시터를 포함할 수 있다. 상기 공진 주파수는 상기 가변 커패시터의 정전용량에 기반하여 결정될 수 있다. 일 실시예에 따르면, 스타일러스 펜 자체에서 필압을 조절 및 고정할 수 있는 효과를 포함하는 다양한 효과가 있을 수 있다.According to an embodiment of the present disclosure, the frequency may be a resonance frequency of a resonance circuit of the stylus pen. The resonance circuit may include a variable capacitor whose capacitance varies depending on the degree to which the rotating part disposed at the rear end of the stylus pen is rotated. The resonance frequency may be determined based on the capacitance of the variable capacitor. According to one embodiment, there may be various effects, including the effect of adjusting and fixing pen pressure in the stylus pen itself.

본 개시의 일 실시예에 따르면, 상기 인스트럭션들은, 상기 프로세서에 의해 실행 시에, 상기 전자 장치가, 상기 제1 필압에 상기 스타일러스 펜의 ID를 부여하도록 할 수 있다. 일 실시예에 따르면, 각 스타일러스 펜에 대하여 고정된 필압에 기반하여 스타일러스 펜들의 구별이 가능한 효과를 포함하는 다양한 효과가 있을 수 있다.According to an embodiment of the present disclosure, when executed by the processor, the instructions may cause the electronic device to assign the ID of the stylus pen to the first pen pressure. According to one embodiment, there may be various effects, including an effect that allows stylus pens to be distinguished based on a fixed pen pressure for each stylus pen.

본 개시의 일 실시예에 따르면, 상기 인스트럭션들은, 상기 프로세서에 의해 실행될 때, 상기 전자 장치가, 상기 식별된 스타일러스 펜에 대한 설정 정보를 입력하는 사용자 입력을 수신하도록 할 수 있다. 상기 인스트럭션들은, 상기 프로세서에 의해 실행될 때, 상기 전자 장치가, 상기 ID에 대응하여 상기 설정 정보를 저장하도록 할 수 있다. 일 실시예에 따르면, 구별 가능한 복수의 스타일러스 펜에 대하여 각각 기능을 정의(또는, 설정)함으로써 펜 사용 시마다 별도의 설정 프로세스를 거치지 않아도 되는 효과를 포함하는 다양한 효과가 있을 수 있다.According to one embodiment of the present disclosure, when executed by the processor, the instructions may cause the electronic device to receive a user input for entering setting information for the identified stylus pen. When executed by the processor, the instructions may cause the electronic device to store the setting information corresponding to the ID. According to one embodiment, by defining (or setting) functions for each of a plurality of distinguishable stylus pens, there may be various effects, including the effect of not having to go through a separate setting process each time the pen is used.

본 개시의 일 실시예에 따르면, 상기 인스트럭션들은, 상기 프로세서에 의해 실행될 때, 상기 전자 장치가, 상기 스타일러스 펜의 누름 버튼이 눌림에 따라, 상기 디지타이저 패드 컨트롤러로부터 변경된 주파수를 획득하도록 할 수 있다. 상기 인스트럭션들은, 상기 프로세서에 의해 실행될 때, 상기 전자 장치가, 상기 변경된 주파수에 대응하는 제2 필압에 상기 제1 필압에 부여된 상기 ID와 동일한 ID를 부여하도록 할 수 있다. 일 실시예에 따르면, 구별 가능한 복수의 스타일러스 펜 각각의 누름 버튼 입력을 식별할 수 있도록 하는 효과를 포함하는 다양한 효과가 있을 수 있다.According to one embodiment of the present disclosure, the instructions, when executed by the processor, may cause the electronic device to obtain a changed frequency from the digitizer pad controller as a push button of the stylus pen is pressed. When executed by the processor, the instructions may cause the electronic device to assign the same ID to the second pen pressure corresponding to the changed frequency as the ID assigned to the first pen pressure. According to one embodiment, there may be various effects, including an effect that allows the push button input of each of a plurality of distinguishable stylus pens to be identified.

본 개시의 일 실시예에 따르면, 상기 변경된 주파수에 기반하여 상기 식별된 스타일러스 펜의 누름 버튼이 눌렸는지 여부를 식별하도록 할 수 있다. 상기 인스트럭션들은, 상기 프로세서에 의해 실행될 때, 상기 전자 장치가, 상기 스타일러스 펜의 누름 버튼이 눌린 상태에 대응하는 펜에 대한 설정 정보를 입력하는 사용자 입력을 수신하도록 할 수 있다. 상기 인스트럭션들은, 상기 프로세서에 의해 실행될 때, 상기 전자 장치가, 상기 ID에 대응하여 상기 스타일러스 펜의 누름 버튼이 눌린 상태에 대응하여 입력된 상기 설정 정보를 저장하도록 할 수 있다. 일 실시예에 따르면, 구별 가능한 복수의 스타일러스 펜에 대하여 각 펜의 사용 시마다 누름 버튼 입력에 대응하는 동작을 설정하는 별도의 프로세스를 거치지 않아도 되는 효과를 포함하는 다양한 효과가 있을 수 있다.According to an embodiment of the present disclosure, it is possible to identify whether the push button of the identified stylus pen has been pressed based on the changed frequency. When executed by the processor, the instructions may cause the electronic device to receive a user input for entering setting information for the pen corresponding to a state in which the push button of the stylus pen is pressed. When executed by the processor, the instructions may cause the electronic device to store the setting information input in response to a pressed state of the push button of the stylus pen corresponding to the ID. According to one embodiment, there may be various effects, including the effect of not having to go through a separate process of setting an operation corresponding to a push button input each time each pen is used for a plurality of distinguishable stylus pens.

본 개시의 일 실시예에 따르면, 상기 인스트럭션들은, 상기 프로세서에 의해 실행될 때, 상기 전자 장치가, 제1 스타일러스 펜이 상기 디지타이저 패드에 접근함에 따라, 전자기 유도로 인해 상기 디지타이저 패드에 인가되는 자기장의 제1 주파수를 상기 디지타이저 패드 컨트롤러로부터 획득하도록 할 수 있다. 상기 인스트럭션들은, 상기 프로세서에 의해 실행될 때, 상기 전자 장치가, 상기 제1 주파수에 대응하는 제1 필압에 상기 제1 스타일러스 펜의 ID를 부여하도록 할 수 있다. 상기 인스트럭션들은, 상기 프로세서에 의해 실행될 때, 상기 전자 장치가, 제2 스타일러스 펜이 상기 디지타이저 패드에 접근함에 따라, 전자기 유도로 인해 상기 디지타이저 패드에 인가되는 자기장의 제2 주파수를 상기 디지타이저 패드 컨트롤러로부터 획득하도록 할 수 있다. 상기 인스트럭션들은, 상기 프로세서에 의해 실행될 때, 상기 전자 장치가, 상기 제2 주파수에 대응하는 제2 필압에 상기 제2 스타일러스 펜의 ID를 부여하도록 할 수 있다. 상기 인스트럭션들은, 상기 프로세서에 의해 실행될 때, 상기 전자 장치가, 상기 제1 스타일러스 펜 및 상기 제2 스타일러스 펜의 ID에 대응하여 각 스타일러스 펜에 대한 설정 정보를 저장하도록 할 수 있다. 일 실시예에 따르면, 각 스타일러스 펜에 대하여 고정된 필압에 기반하여 스타일러스 펜들의 구별을 가능하게 하는 효과를 포함하는 다양한 효과가 있을 수 있다. 일 실시예에 따르면, 구별되는 복수의 스타일러스 펜에 대하여 각각 기능을 정의함으로써 각 펜의 사용 시마다 별도의 설정 프로세스를 거치지 않아도 되고, 사용자에게 복수의 펜을 이용한 입력의 다양성 및 확장성을 제공할 수 있는 효과를 포함하는 다양한 효과가 있을 수 있다.According to one embodiment of the present disclosure, when the instructions are executed by the processor, the electronic device generates a magnetic field applied to the digitizer pad due to electromagnetic induction as the first stylus pen approaches the digitizer pad. The first frequency can be obtained from the digitizer pad controller. When executed by the processor, the instructions may cause the electronic device to assign the ID of the first stylus pen to the first pen pressure corresponding to the first frequency. The instructions, when executed by the processor, cause the electronic device to generate a second frequency of a magnetic field applied to the digitizer pad due to electromagnetic induction from the digitizer pad controller as a second stylus pen approaches the digitizer pad. You can obtain it. When executed by the processor, the instructions may cause the electronic device to assign the ID of the second stylus pen to the second pen pressure corresponding to the second frequency. When executed by the processor, the instructions may cause the electronic device to store setting information for each stylus pen in correspondence with the IDs of the first stylus pen and the second stylus pen. According to one embodiment, there may be various effects, including an effect that allows stylus pens to be distinguished based on a fixed pen pressure for each stylus pen. According to one embodiment, by defining functions for each of a plurality of distinct stylus pens, there is no need to go through a separate setup process each time each pen is used, and diversity and scalability of input using a plurality of pens can be provided to the user. There can be a variety of effects, including those that are present.

본 개시의 일 실시예에 따르면, 전자 장치(101;801)의 동작 방법은, 스타일러스 펜(201)이 디지타이저 패드(130;860)에 접근함에 따라, 전자기 유도로 인해 상기 디지타이저 패드에 인가되는 자기장의 주파수를 디지타이저 패드 컨트롤러(135;860)로부터 획득하는 동작을 포함할 수 있다. 상기 방법은, 상기 주파수에 대응하는 제1 필압을 상기 스타일러스 펜의 필압으로 결정하는 동작을 포함할 수 있다. 상기 방법은, 상기 결정된 필압에 따라 상기 스타일러스 펜을 식별하는 동작을 포함할 수 있다.According to an embodiment of the present disclosure, a method of operating the electronic device (101;801) includes, as the stylus pen (201) approaches the digitizer pad (130;860), a magnetic field applied to the digitizer pad due to electromagnetic induction. It may include an operation of obtaining the frequency of from the digitizer pad controller (135; 860). The method may include determining the first pen pressure corresponding to the frequency as the pen pressure of the stylus pen. The method may include an operation of identifying the stylus pen according to the determined pen pressure.

본 개시의 일 실시예에 따르면, 상기 스타일러스 펜의 필압을 결정하는 동작은, 메모리(140;830)에 저장된 주파수 별 미리 결정된 필압 정보로부터 상기 획득된 주파수에 대응하는 제1 필압을 식별하는 동작을 포함할 수 있다.According to one embodiment of the present disclosure, the operation of determining the pen pressure of the stylus pen includes the operation of identifying the first pen pressure corresponding to the obtained frequency from predetermined pen pressure information for each frequency stored in the memory (140; 830). It can be included.

본 개시의 일 실시예에 따르면, 상기 주파수는 상기 스타일러스 펜의 공진 회로의 공진 주파수일 수 있다. 상기 공진 회로는 상기 스타일러스 펜의 후단부에 배치된 회전부가 회전되는 정도에 따라 정전용량이 달라지는 가변 커패시터를 포함할 수 있다. 상기 공진 주파수는 상기 가변 커패시터의 정전용량에 기반하여 결정될 수 있다.According to an embodiment of the present disclosure, the frequency may be a resonance frequency of a resonance circuit of the stylus pen. The resonance circuit may include a variable capacitor whose capacitance varies depending on the degree to which the rotating part disposed at the rear end of the stylus pen is rotated. The resonance frequency may be determined based on the capacitance of the variable capacitor.

본 개시의 일 실시예에 따르면, 상기 스타일러스 펜을 식별하는 동작은, 상기 제1 필압에 상기 스타일러스 펜의 ID를 부여하는 동작을 포함할 수 있다.According to an embodiment of the present disclosure, the operation of identifying the stylus pen may include the operation of assigning an ID of the stylus pen to the first pen pressure.

본 개시의 일 실시예에 따르면, 상기 방법은, 상기 식별된 스타일러스 펜에 대한 설정 정보를 입력하는 사용자 입력을 수신하는 동작을 포함할 수 있다. 상기 방법은, 상기 ID에 대응하여 상기 설정 정보를 저장하는 동작을 포함할 수 있다.According to one embodiment of the present disclosure, the method may include receiving a user input for entering setting information for the identified stylus pen. The method may include an operation of storing the setting information corresponding to the ID.

본 개시의 일 실시예에 따르면, 상기 방법은, 상기 스타일러스 펜의 누름 버튼이 눌림에 따라, 상기 디지타이저 패드 컨트롤러로부터 변경된 주파수를 획득하는 동작을 포함할 수 있다. 상기 방법은, 상기 변경된 주파수에 대응하는 제2 필압에 상기 제1 필압에 부여된 상기 ID와 동일한 ID를 부여하는 동작을 포함할 수 있다.According to one embodiment of the present disclosure, the method may include an operation of obtaining a changed frequency from the digitizer pad controller as the push button of the stylus pen is pressed. The method may include an operation of assigning the same ID as the ID assigned to the first pen pressure to the second pen pressure corresponding to the changed frequency.

본 개시의 일 실시예에 따르면, 상기 방법은, 상기 변경된 주파수에 기반하여 상기 식별된 스타일러스 펜의 누름 버튼이 눌렸는지 여부를 식별하는 동작을 포함할 수 있다. 상기 방법은, 상기 스타일러스 펜의 누름 버튼이 눌린 상태에 대응하는 펜에 대한 설정 정보를 입력하는 사용자 입력을 수신하는 동작을 포함할 수 있다. 상기 방법은, 상기 ID에 대응하여 상기 스타일러스 펜의 누름 버튼이 눌린 상태에 대응하여 입력된 상기 설정 정보를 저장하는 동작을 포함할 수 있다.According to one embodiment of the present disclosure, the method may include an operation of identifying whether the push button of the identified stylus pen has been pressed based on the changed frequency. The method may include receiving a user input for inputting setting information for the pen corresponding to a state in which the push button of the stylus pen is pressed. The method may include an operation of storing the setting information input in response to a state in which the push button of the stylus pen is pressed corresponding to the ID.

본 개시의 일 실시예에 따르면, 상기 방법은, 제1 스타일러스 펜이 상기 디지타이저 패드에 접근함에 따라, 전자기 유도로 인해 상기 디지타이저 패드에 인가되는 자기장의 제1 주파수를 상기 디지타이저 패드 컨트롤러로부터 획득하는 동작을 포함할 수 있다. 상기 방법은, 상기 제1 주파수에 대응하는 제1 필압에 상기 제1 스타일러스 펜의 ID를 부여하는 동작을 포함할 수 있다. 상기 방법은, 제2 스타일러스 펜이 상기 디지타이저 패드에 접근함에 따라, 전자기 유도로 인해 상기 디지타이저 패드에 인가되는 자기장의 제2 주파수를 상기 디지타이저 패드 컨트롤러로부터 획득하는 동작을 포함할 수 있다. 상기 방법은, 상기 제2 주파수에 대응하는 제2 필압에 상기 제2 스타일러스 펜의 ID를 부여하는 동작을 포함할 수 있다. 상기 방법은, 상기 제1 스타일러스 펜 및 상기 제2 스타일러스 펜의 ID에 대응하여 각 스타일러스 펜에 대한 설정 정보를 저장하는 동작을 포함할 수 있다.According to one embodiment of the present disclosure, the method includes, as a first stylus pen approaches the digitizer pad, obtaining a first frequency of a magnetic field applied to the digitizer pad due to electromagnetic induction from the digitizer pad controller. may include. The method may include assigning the ID of the first stylus pen to the first pen pressure corresponding to the first frequency. The method may include obtaining, from the digitizer pad controller, a second frequency of a magnetic field applied to the digitizer pad due to electromagnetic induction as a second stylus pen approaches the digitizer pad. The method may include assigning an ID of the second stylus pen to a second pen pressure corresponding to the second frequency. The method may include storing setting information for each stylus pen in response to the IDs of the first stylus pen and the second stylus pen.

본 개시의 일 실시예에 따르면, 스타일러스 펜(201)은, 양단이 개구되고, 관형의 수용 공간을 형성하는 하우징(290)을 포함할 수 있다. 상기 스타일러스 펜은, 상기 하우징의 선단부의 개구를 통해 내부에 삽입 배치되는 본체부(221) 및 상기 선단부의 개구를 통해 외부로 노출되는 팁(222)을 포함하는 제1 심체(220)를 포함할 수 있다. 상기 스타일러스 펜은, 상기 하우징 내부에 수용되는 공진 회로(210)를 포함할 수 있다. 상기 스타일러스 펜은, 상기 하우징의 후단부에 배치되는 필압 조절부(230)를 포함할 수 있다. 상기 필압 조절부에 회전력이 인가되면, 상기 공진 회로의 공진 주파수가 변경될 수 있다. 일 실시예에 따르면, 필압을 고정할 수 있는 스타일러스 펜을 제공할 수 있는 효과를 포함하는 다양한 효과가 있을 수 있다. 일 실시예에 따르면, 펜 자체에서 필압을 조절할 수 있는 스타일러스 펜을 제공할 수 있는 효과를 포함하는 다양한 효과가 있을 수 있다.According to one embodiment of the present disclosure, the stylus pen 201 may include a housing 290 that is open at both ends and forms a tubular receiving space. The stylus pen may include a first core 220 including a main body portion 221 inserted into the interior through an opening in the front end of the housing and a tip 222 exposed to the outside through the opening in the front end. You can. The stylus pen may include a resonance circuit 210 accommodated inside the housing. The stylus pen may include a pen pressure adjusting unit 230 disposed at the rear end of the housing. When rotational force is applied to the pen pressure adjusting unit, the resonance frequency of the resonance circuit may be changed. According to one embodiment, there may be various effects, including the effect of providing a stylus pen capable of fixing pen pressure. According to one embodiment, there may be various effects, including the effect of providing a stylus pen that can adjust pen pressure in the pen itself.

본 개시의 일 실시예에 따르면, 상기 필압 조절부는, 상기 하우징의 축 방향으로 상기 하우징의 내부에 배치되는 제2 심체(235)를 포함할 수 있다. 상기 필압 조절부는, 상기 하우징의 타단부의 개구를 통해 외부로 노출되는 회전부(231)를 포함할 수 있다. 상기 필압 조절부는, 상기 회전부에 회전력이 인가되면, 상기 제2 심체를 상기 하우징의 축 방향으로 진퇴 이동시키도록 설정된 이송부(233)를 포함할 수 있다. 상기 제2 심체의 진퇴 이동에 따라 상기 공진 주파수가 변경될 수 있다.According to one embodiment of the present disclosure, the pen pressure adjusting unit may include a second core 235 disposed inside the housing in the axial direction of the housing. The pen pressure adjusting unit may include a rotating part 231 exposed to the outside through an opening at the other end of the housing. The pen pressure adjusting unit may include a transfer unit 233 set to move the second core body forward and backward in the axial direction of the housing when a rotational force is applied to the rotation unit. The resonance frequency may change according to the forward and backward movement of the second core.

Claims (10)

전자 장치(101;801)에 있어서,
디스플레이 패널(120;860);
디지타이저 패드(130;860);
디지타이저 패드 컨트롤러(135;860);
메모리(140;830); 및
프로세서(150;820)를 포함하고,
상기 메모리는, 상기 프로세서에 의해 실행 시에, 상기 전자 장치가,
스타일러스 펜(201)이 상기 디지타이저 패드에 접근함에 따라, 전자기 유도로 인해 상기 디지타이저 패드에 인가되는 자기장의 주파수를 상기 디지타이저 패드 컨트롤러로부터 획득하고,
상기 주파수에 대응하는 제1 필압을 상기 스타일러스 펜의 필압으로 결정하고,
상기 결정된 필압에 따라 상기 스타일러스 펜을 식별하도록 하는 하나 이상의 인스트럭션들을 저장하는, 전자 장치.
In the electronic device (101;801),
display panel (120;860);
digitizer pad (130;860);
digitizer pad controller (135;860);
memory(140;830); and
Includes a processor (150;820),
When executed by the processor, the memory causes the electronic device to:
As the stylus pen 201 approaches the digitizer pad, the frequency of the magnetic field applied to the digitizer pad due to electromagnetic induction is obtained from the digitizer pad controller,
Determine the first pen pressure corresponding to the frequency as the pen pressure of the stylus pen,
An electronic device that stores one or more instructions for identifying the stylus pen according to the determined pen pressure.
청구항 1에 있어서,
상기 메모리는, 주파수 별 미리 결정된 필압 정보를 저장하고,
상기 인스트럭션들은, 상기 프로세서에 의해 실행될 때, 상기 전자 장치가,
상기 저장된 주파수 별 미리 결정된 필압 정보로부터 상기 획득된 주파수에 대응하는 제1 필압을 식별하도록 하는, 전자 장치.
In claim 1,
The memory stores predetermined pen pressure information for each frequency,
When executed by the processor, the instructions cause the electronic device to:
An electronic device that identifies a first pen pressure corresponding to the acquired frequency from predetermined pen pressure information for each stored frequency.
청구항 1 내지 청구항 2 중 어느 한 항에 있어서,
상기 주파수는 상기 스타일러스 펜의 공진 회로의 공진 주파수이고,
상기 공진 회로는 상기 스타일러스 펜의 후단부에 배치된 회전부가 회전되는 정도에 따라 정전용량이 달라지는 가변 커패시터를 포함하고,
상기 공진 주파수는 상기 가변 커패시터의 정전용량에 기반하여 결정되는, 전자 장치.
The method according to any one of claims 1 to 2,
The frequency is the resonance frequency of the resonance circuit of the stylus pen,
The resonance circuit includes a variable capacitor whose capacitance varies depending on the degree to which the rotating part disposed at the rear end of the stylus pen is rotated,
The resonant frequency is determined based on the capacitance of the variable capacitor.
청구항 1 내지 청구항 3 중 어느 한 항에 있어서,
상기 인스트럭션들은, 상기 프로세서에 의해 실행될 때, 상기 전자 장치가,
상기 제1 필압에 상기 스타일러스 펜의 ID를 부여하도록 하는, 전자 장치.
The method according to any one of claims 1 to 3,
When executed by the processor, the instructions cause the electronic device to:
An electronic device that assigns the ID of the stylus pen to the first pen pressure.
청구항 1 내지 청구항 4 중 어느 한 항에 있어서,
상기 인스트럭션들은, 상기 프로세서에 의해 실행될 때, 상기 전자 장치가,
상기 식별된 스타일러스 펜에 대한 설정 정보를 입력하는 사용자 입력을 수신하고,
상기 ID에 대응하여 상기 설정 정보를 저장하도록 하는, 전자 장치.
The method according to any one of claims 1 to 4,
When executed by the processor, the instructions cause the electronic device to:
Receive user input for entering setting information for the identified stylus pen,
An electronic device that stores the setting information in response to the ID.
청구항 1 내지 청구항 5 중 어느 한 항에 있어서,
상기 인스트럭션들은, 상기 프로세서에 의해 실행될 때, 상기 전자 장치가,
상기 스타일러스 펜의 누름 버튼이 눌림에 따라, 상기 디지타이저 패드 컨트롤러로부터 변경된 주파수를 획득하고,
상기 변경된 주파수에 대응하는 제2 필압에 상기 제1 필압에 부여된 상기 ID와 동일한 ID를 부여하도록 하는, 전자 장치.
The method according to any one of claims 1 to 5,
When executed by the processor, the instructions cause the electronic device to:
As the push button of the stylus pen is pressed, a changed frequency is obtained from the digitizer pad controller,
An electronic device that provides the same ID as the ID assigned to the first pen pressure to the second pen pressure corresponding to the changed frequency.
청구항 1 내지 청구항 6 중 어느 한 항에 있어서,
상기 인스트럭션들은, 상기 프로세서에 의해 실행될 때, 상기 전자 장치가,
상기 변경된 주파수에 기반하여 상기 식별된 스타일러스 펜의 누름 버튼이 눌렸는지 여부를 식별하고,
상기 스타일러스 펜의 누름 버튼이 눌린 상태에 대응하는 펜에 대한 설정 정보를 입력하는 사용자 입력을 수신하고,
상기 ID에 대응하여 상기 스타일러스 펜의 누름 버튼이 눌린 상태에 대응하여 입력된 상기 설정 정보를 저장하도록 하는, 전자 장치.
The method according to any one of claims 1 to 6,
When executed by the processor, the instructions cause the electronic device to:
Identify whether the push button of the identified stylus pen was pressed based on the changed frequency,
Receiving a user input for entering setting information for the pen corresponding to a state in which the push button of the stylus pen is pressed,
An electronic device configured to store the setting information input in response to a state in which the push button of the stylus pen is pressed in response to the ID.
청구항 1 내지 청구항 7 중 어느 한 항에 있어서,
상기 인스트럭션들은, 상기 프로세서에 의해 실행될 때, 상기 전자 장치가,
제1 스타일러스 펜이 상기 디지타이저 패드에 접근함에 따라, 전자기 유도로 인해 상기 디지타이저 패드에 인가되는 자기장의 제1 주파수를 상기 디지타이저 패드 컨트롤러로부터 획득하고,
상기 제1 주파수에 대응하는 제1 필압에 상기 제1 스타일러스 펜의 ID를 부여하고,
제2 스타일러스 펜이 상기 디지타이저 패드에 접근함에 따라, 전자기 유도로 인해 상기 디지타이저 패드에 인가되는 자기장의 제2 주파수를 상기 디지타이저 패드 컨트롤러로부터 획득하고,
상기 제2 주파수에 대응하는 제2 필압에 상기 제2 스타일러스 펜의 ID를 부여하고,
상기 제1 스타일러스 펜 및 상기 제2 스타일러스 펜의 ID에 대응하여 각 스타일러스 펜에 대한 설정 정보를 저장하도록 하는, 전자 장치.
The method according to any one of claims 1 to 7,
When executed by the processor, the instructions cause the electronic device to:
As the first stylus pen approaches the digitizer pad, a first frequency of a magnetic field applied to the digitizer pad due to electromagnetic induction is obtained from the digitizer pad controller,
assigning the ID of the first stylus pen to the first pen pressure corresponding to the first frequency,
As a second stylus pen approaches the digitizer pad, a second frequency of a magnetic field applied to the digitizer pad due to electromagnetic induction is obtained from the digitizer pad controller,
assigning the ID of the second stylus pen to the second pen pressure corresponding to the second frequency,
An electronic device configured to store setting information for each stylus pen in response to the IDs of the first stylus pen and the second stylus pen.
스타일러스 펜(201)에 있어서,
양단이 개구되고, 관형의 수용 공간을 형성하는 하우징(290);
상기 하우징의 선단부의 개구를 통해 내부에 삽입 배치되는 본체부(221) 및 상기 선단부의 개구를 통해 외부로 노출되는 팁(222)을 포함하는 제1 심체(220);
상기 하우징 내부에 수용되는 공진 회로(210); 및
상기 하우징의 후단부에 배치되는 필압 조절부(230)를 포함하고,
상기 필압 조절부에 회전력이 인가되면, 상기 공진 회로의 공진 주파수가 변경되는, 스타일러스 펜.
In the stylus pen 201,
A housing 290 that is open at both ends and forms a tubular receiving space;
A first core 220 including a main body 221 inserted into the housing through an opening at the front end and a tip 222 exposed to the outside through an opening at the front end of the housing;
A resonance circuit 210 accommodated within the housing; and
It includes a pen pressure adjusting unit 230 disposed at the rear end of the housing,
A stylus pen in which the resonance frequency of the resonance circuit changes when rotational force is applied to the pen pressure adjusting unit.
청구항 9에 있어서,
상기 필압 조절부는,
상기 하우징의 축 방향으로 상기 하우징의 내부에 배치되는 제2 심체(235);
상기 하우징의 타단부의 개구를 통해 외부로 노출되는 회전부(231); 및
상기 회전부에 회전력이 인가되면, 상기 제2 심체를 상기 하우징의 축 방향으로 진퇴 이동시키도록 설정된 이송부(233)를 포함하고,
상기 제2 심체의 진퇴 이동에 따라 상기 공진 주파수가 변경되는, 스타일러스 펜.
In claim 9,
The pen pressure control unit,
a second core 235 disposed inside the housing in the axial direction of the housing;
a rotating portion 231 exposed to the outside through an opening at the other end of the housing; and
When a rotational force is applied to the rotating unit, it includes a transfer unit 233 set to move the second core body forward and backward in the axial direction of the housing,
A stylus pen in which the resonance frequency changes as the second core moves forward and backward.
KR1020220108352A 2022-08-09 2022-08-29 Stylus pen with adjustable pen pressure, electronic device using the same as an input device, and operating method thereof KR20240021072A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR20220099150 2022-08-09
KR1020220099150 2022-08-09

Publications (1)

Publication Number Publication Date
KR20240021072A true KR20240021072A (en) 2024-02-16

Family

ID=90056152

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020220108352A KR20240021072A (en) 2022-08-09 2022-08-29 Stylus pen with adjustable pen pressure, electronic device using the same as an input device, and operating method thereof

Country Status (1)

Country Link
KR (1) KR20240021072A (en)

Similar Documents

Publication Publication Date Title
KR102256042B1 (en) An elelctronic device and method for inducing input
EP4187349A1 (en) Slidable electronic device and control method therefor
US20230244339A1 (en) Electronic device including flexible display, and touch control method therefor
US20230350566A1 (en) Electronic apparatus and method for processing input from stylus pen in electronic apparatus
KR20240021072A (en) Stylus pen with adjustable pen pressure, electronic device using the same as an input device, and operating method thereof
KR20220109254A (en) Electronic device and method for shape recognition based on stroke analysis in electronic device
KR20220048827A (en) Method of requesting replacement of stylus pen tip and electronic device supporting the same
KR20220017143A (en) Electronic device and method for dispalying electronic pen pointer in the same
US11922008B2 (en) Electronic device processing input of stylus pen and method for operating the same
US20230110166A1 (en) Electronic device including flexible display and method for controlling input area for expansion and reduction of display in the electronic device
US20230236696A1 (en) Electronic device, and method for displaying content in electronic device
US20230259169A1 (en) Electronic device comprising flexible display
EP4242785A1 (en) Electronic device having flexible display
US20230289025A1 (en) Method for controlling electronic device by using stylus, and electronic device for receiving input from stylus by using method
US20220237936A1 (en) Electronic device and method for shape recognition based on stroke analysis in electronic device
KR20220170212A (en) Electronic device, and method for correcting input error in electronic device
KR20220064850A (en) Electronic device including flexible display and method using the same
KR20220155873A (en) Electronic device including flexible display
KR20230033909A (en) Digitizer, and electronic device including the same
KR20240043019A (en) Electronic device for receiving handwriting input and method for controlling the same
KR20220031455A (en) Drawing method for preview and electronic device therefor
KR20240047252A (en) Cover member including conductive pattern and electronic device including the same
KR20220078430A (en) Electronic device for including extendable display and method using the same
KR20220079364A (en) Electronic device comprising flexible display
KR20240010367A (en) Electronic device comprising display including touch circuit processing contact of external object