Microchip Technology

DSPIC33EP512MC504-E/MV - 16-bit DSC 70 MIPS 512KB Flash | Microchip

부품 번호: DSPIC33EP512MC504-E/MV ✓ 활성
재고 있음 영업일 기준 1~3일 내 발송
3 V to 3.6 V Vdss 48-lead UQFN (MV) Package 70 MHz Speed 512 KB Flash Memory
시작가 $4.05 USD / 개
MOQ: 1 |
가격 업데이트: 2026-09-25
볼륨 가격
수량 단가 합계
1 $5.53 $5.53
10 $5.1 $51.00
100 $4.72 $472.00
500 $4.38 $2,190.00
1,000 $4.05 $4,050.00
ℹ️ 모든 가격은 USD 기준입니다

DSPIC33EP512MC504-E/MV 개요

The Microchip Technology DSPIC33EP512MC504-E/MV is a 16-bit digital signal controller (DSC) from the dsPIC33EP MC family, delivering 70 MIPS performance, 512 KB of Flash program memory, and 48 KB of RAM in a 48-pin UQFN (MV) package operating from 3 V to 3.6 V.

A digital signal controller combines the compute throughput of a DSP with the peripheral integration and ease of use of a microcontroller. Within the power-management hierarchy, a DSC such as this sits above a general-purpose MCU: it adds a DSP engine (multiply-accumulate, barrel shifter, modulo addressing) on top of a 16-bit MCU core, making it a single-chip solution for control loops that would otherwise require a separate MCU and DSP.

Key features include the 70 MIPS dsPIC DSC core with integrated DSP instruction set, motor-control peripherals (MCPWM with complementary outputs and dead-time, quadrature encoder interface or QEI), CAN 2.0B for industrial networking, and multiple serial interfaces for system connectivity. The 48 KB RAM supports complex control algorithms, field-oriented control (FOC) state variables, and communication buffers simultaneously.

Technically, the dsPIC33EP core executes most instructions in a single cycle at 70 MIPS, with two 40-bit accumulators and hardware DSP support. The -E suffix denotes an extended temperature grade of -40C to +125C ambient, while the MV suffix denotes the 48-lead UQFN, a square no-lead package (JESD-30 HVQCCN) suited to compact motor-drive PCBs. Supply voltage is specified at 3 V to 3.6 V, with 70 MHz maximum clock operation cited by several distributors.

Typical applications include precision motor control (BLDC, PMSM, stepper with QEI feedback), digital power supplies, industrial automation nodes using CAN, and embedded sensing systems requiring DSP filtering.

Design consideration: the UQFN package has an exposed thermal pad that must be soldered to a ground pour for both thermal dissipation and signal integrity; plan the ICSP programming pair (PGECx/PGEDx) early since any pair may be used but must remain matched.

This page synthesizes distributor pricing, same-family drop-in alternatives, and practical design notes not found in the manufacturer datasheet.

드롭인 대체품: DSPIC33EP512MC504-E/MV — 동일 패키지, 핀 호환. PCB 재작업이 필요한 다른 패키지 부품은 제외됩니다.

이 시리즈의 변형

다음과 드롭인 호환되는 동일 시리즈 모델: DSPIC33EP512MC504-E/MV (동일 폼 팩터 및 풋프린트) — 차이점: Core, Package, CAN, Operating Temperature, Supply Voltage Range.

Microchip Technology
Core: dsPIC33E 16-bit DSC core
Package: 48-UQFN (6x6 mm) exposed pad
CAN: CAN 2.0B controller
Microchip Technology
Core: dsPIC33E, 16-bit
Package: 48-UQFN (6x6 mm)
Operating Temperature: -40C to +125C

빠른 비교 도구 — 나란히 비교할 대체 부품을 선택하십시오:

DSPIC33EP512MC504-I/MV

✅ 드롭인
📦 48-lead UQFN (MV)
temperature grade -40C to +85C industrial vs -40C to +125C extended; all other specs identical

📋 참조 대체품 (카탈로그에 없음)

DSPIC33EP512MC504-H/MV

✅ 드롭인
📦 48-lead UQFN (MV)
same 48-lead PQCC/UQFN footprint but 24 KB data RAM vs 48 KB (-50% RAM) per Microchip USA listing

📋 참조 대체품 (카탈로그에 없음)

DSPIC33EP32MC504-E/MV

✅ 드롭인 ⚠️ 사양 미검증
Microchip Technology
📦 48-lead UQFN (MV)
dsPIC33E 16-bit DSC core · 60 MIPS (60 MHz) · 32 KB (10.7K x 24) · 4 KB · 48-UQFN (6x6 mm) exposed pad · -40C to +125C (E grade) · 3.0 V to 3.6 V · Motor Control PWM (MCPWM) with complementary outputs and dead-time

✓ 재고 있음

$3.35 / 개

데이터시트 보기 →

DSPIC33EP512MC504-E/MV 최대 정격 & 전기적 특성

Core dsPIC33EP 16-bit DSC core
최대 클록 주파수 70 MHz
Performance 70 MIPS
Program Memory Size 512 KB Flash
RAM Size 48 KB
Supply Voltage Range 3 V to 3.6 V
패키지 48-lead UQFN (MV)
실장 유형 Surface Mount
동작 온도 -40C to +125C (E grade)
CAN CAN 2.0B
Quadrature Encoder Interface Yes (QEI)
Motor Control PWM MCPWM, complementary outputs with dead time
Package Code (JESD-30) S-PQCC-N48 (HVQCCN)
RoHS 상태 Compliant
Programming Interface ICSP (multiple PGECx/PGEDx pairs)

DSPIC33EP512MC504-E/MV s-pqcc-n48 (hvqccn) 핀 구성 가이드

DSPIC33EP512MC504-E/MV(s-pqcc-n48 (hvqccn) 패키지)의 핀 구성입니다. 이 디지털 IC에는 GPIO, 통신 인터페이스(UART, SPI, I2C), 전원 핀이 포함되어 있습니다. 대체 핀 기능과 구성 옵션은 제조사 데이터시트를 참조하십시오. 임베디드 시스템 설계와 PCB 레이아웃에 필수적입니다.

DSPIC33EP512MC504-E/MV의 s-pqcc-n48 (hvqccn) 패키지 핀아웃 다이어그램

다음에 대한 상세 핀아웃 데이터 없음: DSPIC33EP512MC504-E/MV.

다음을 참조하십시오: 데이터시트 전체 핀 구성은 다음을 참조하십시오.

일반적인 애플리케이션

DSPIC33EP512MC504-E/MV 적합 용도: 6 애플리케이션s: BLDC/PMSM Motor Control (FOC), Digital Power Supplies (SMPS/PFC), Industrial Automation CAN Nodes, Stepper and Servo Drive Systems, Sensor Processing and Embedded DSP, Automotive-Adjacent and Harsh-Environment Control.

🏭

BLDC/PMSM Motor Control (FOC)

The DSPIC33EP512MC504-E/MV fits field-oriented control of PMSM and BLDC motors because its 70 MIPS DSP core executes single-cycle MAC instructions for Clarke/Park transforms and dual current-loop PI regulators at 10-20 kHz PWM frequencies. The MCPWM peripheral generates complementary PWM pairs with hardware dead-time insertion, while the QEI decodes incremental encoder feedback for position and speed. In a typical drive, the DSC sits between gate-driver ICs and current-sense amplifiers, sampling phase currents via its ADC and updating duty cycles every PWM period. The extended -40C to +125C grade tolerates the hot environment near power stages, and 48 KB RAM holds sinusoidal tables and fault logs without external memory.

⚡

Digital Power Supplies (SMPS/PFC)

For digitally controlled AC-DC and DC-DC converters, the DSPIC33EP512MC504-E/MV provides the high-loop-rate computation and precise PWM resolution digital power requires. Its 70 MIPS core closes voltage and current loops at hundreds of kHz update rates, while the MCPWM module offers high-resolution PWM suitable for phase-shifted full-bridge and LLC topologies. The 3.0-3.6 V supply simplifies interfacing with feedback dividers and optocoupler feedback stages, and the extended temperature grade suits power supplies in industrial cabinets. Software-based control also enables adaptive features such as burst mode, OTP/OVP protection, and power-metering telemetry over CAN or UART that analog controllers cannot offer without additional ICs.

🏭

Industrial Automation CAN Nodes

The DSPIC33EP512MC504-E/MV serves as a capable industrial control node thanks to its integrated CAN 2.0B controller, eliminating an external CAN controller in CANopen- or DeviceNet-style networks. The 70 MIPS core handles protocol stacks, sensor filtering (FIR/IIR via DSP instructions), and local control loops concurrently, while 48 KB RAM buffers message queues and data logs. QEI inputs allow direct connection of encoders on axes or valves, and multiple UART/SPI/I2C ports link HMI, sensors, and actuators. The -40C to +125C rating covers control cabinets and outdoor equipment. Typical companions include CAN transceivers and RS-485 drivers on the same 3.3 V rail.

🔧

Stepper and Servo Drive Systems

In stepper and servo drives, the DSPIC33EP512MC504-E/MV generates microstepping waveforms or closed-loop servo control from a single chip. The MCPWM module produces sine-weighted PWM phases with dead time, and the QEI port reads servo encoders directly, enabling closed-loop stepper retrofit designs. At 70 MIPS, the core computes current compensation and anti-resonance algorithms in real time, and 512 KB Flash stores motion profiles, trajectory planners, and communication stacks without external memory. The extended temperature grade suits drives mounted near motors or inside sealed housings. Companion gate drivers and current-sense amplifiers complete the power stage around the 3.3 V logic domain.

🧩

Sensor Processing and Embedded DSP

The DSPIC33EP512MC504-E/MV is an efficient sensor-fusion and signal-conditioning engine: the DSP engine (40-bit accumulators, barrel shifter, modulo addressing) accelerates FFT, FIR, and RMS computation for vibration, acoustic, and power-quality sensing. 512 KB Flash retains calibration tables and coefficient sets, while 48 KB RAM supports double-buffered sample streams from its ADC or external converters over SPI. On-chip CAN and UART publish processed results to higher-level systems, and the extended -40C to +125C rating permits mounting directly on machinery where ambient temperatures exceed standard industrial grades. Its single-chip integration reduces BOM count versus separate MCU-plus-DSP architectures.

🚗

Automotive-Adjacent and Harsh-Environment Control

With the -E extended temperature grade of -40C to +125C, the DSPIC33EP512MC504-E/MV addresses underhood-adjacent and harsh-environment control applications such as pump controllers, fan drives, actuators, and auxiliary motor systems. The 48 KB RAM and 512 KB Flash support diagnostic routines, fault storage, and CAN-based OBD-style communication, while hardware QEI handles position feedback from rotary actuators. Distributor data (Vyrian) even lists the temperature grade as automotive-classed, although designers must verify AEC-Q100 qualification status independently for automotive programs. The 3.3 V single-supply operation eases integration with standard automotive logic-level transceivers and regulators.

추천 제품 요약

MCP2515 CAN interface option for drive networking 사용처: BLDC/PMSM Motor Control (FOC), Stepper and Servo Drive Systems MCP3204 External ADC for auxiliary analog sensing 사용처: BLDC/PMSM Motor Control (FOC) MCP1702 3.3 V LDO bias supply for the DSC 사용처: Digital Power Supplies (SMPS/PFC), Automotive-Adjacent and Harsh-Environment Control MCP2551 CAN transceiver for the on-chip CAN controller 사용처: Industrial Automation CAN Nodes, Automotive-Adjacent and Harsh-Environment Control MCP2003 LIN/RS-485 style transceiver for auxiliary links 사용처: Industrial Automation CAN Nodes MCP3208 8-channel external ADC for multi-sensor acquisition 사용처: Sensor Processing and Embedded DSP MCP79410 RTC with EEPROM for time-stamped data logging 사용처: Sensor Processing and Embedded DSP
What are the key specifications of DSPIC33EP512MC504-E/MV that engineers should know?
The DSPIC33EP512MC504-E/MV is a Microchip 16-bit digital signal controller with a 70 MIPS dsPIC core, 512 KB Flash program memory, 48 KB RAM, and a 3 V to 3.6 V supply. It comes in a 48-lead UQFN (MV) package rated -40C to +125C (extended/E grade) and integrates motor-control PWM, QEI, and CAN 2.0B peripherals. According to Microchip's product page and distributor listings, it targets precision motor control and digital power applications.
What is the price of DSPIC33EP512MC504-E/MV?
The DSPIC33EP512MC504-E/MV starts at approximately $5.53 per unit at quantity 1, based on LCSC pricing as of 2026-09-25, with typical volume discounts bringing the unit price to roughly $4.00-$4.70 at 100 to 1000 pieces. Octopart lists 8 distributors carrying stock, so comparing Mouser, DigiKey, and LCSC quotes for your exact quantity is recommended since pricing varies by region and stock position.
Where to buy DSPIC33EP512MC504-E/MV online?
You can buy the DSPIC33EP512MC504-E/MV from authorized distributors including DigiKey (part page 4966912), Mouser, LCSC (part C639666), and Ampheo, as well as through XAIPART. Octopart aggregates pricing from 8 distributors as of 2026-09-25. For production volumes, request quotes from multiple distributors because lead times and reel pricing differ; LCSC currently lists the part as in stock.
Is DSPIC33EP512MC504-E/MV in stock and what is the lead time?
Yes, the DSPIC33EP512MC504-E/MV is listed as in stock at LCSC (part C639666, priced from $5.5318) and DigiKey states "buy now, ships today" as of 2026-09-25. Typical distributor lead time for in-stock pieces is 1-3 business days for standard shipping. For tape-and-reel production quantities, confirm the reel quantity and factory lead time with the distributor, as larger orders may require 8-16 weeks if distributor stock is exceeded.
What is the best drop-in replacement for DSPIC33EP512MC504-E/MV?
The best drop-in replacement for the DSPIC33EP512MC504-E/MV is the DSPIC33EP512MC504-I/MV: it is the same die in the same 48-lead UQFN package, pin-to-pin compatible, differing only in temperature grade (-40C to +85C industrial vs -40C to +125C extended). According to Mouser's product listings, both parts share identical 512 KB Flash, 48 KB RAM, QEI, and CAN peripherals, so PCB layout and firmware require no changes when the ambient temperature stays within the industrial range.
What is the difference between DSPIC33EP512MC504-E/MV and DSPIC33EP512MC504-I/MV?
The only difference is the operating temperature grade. The -E/MV variant is rated for -40C to +125C (extended), while the -I/MV variant is rated -40C to +85C (industrial). Both use the same 48-lead UQFN (MV) package, the same 70 MIPS core, 512 KB Flash, and 48 KB RAM, making them drop-in interchangeable. According to Microchip's ordering-code convention, the letter after the base part number encodes the temperature range; choose -E for automotive bays, motor drives near hot heatsinks, or enclosures above 85C.
DSPIC33EP512MC504-E/MV vs DSPIC33EP512MC502-H/MM - which is better for motor control?
The DSPIC33EP512MC504-E/MV is generally the better choice for motor control. Both are dsPIC33EP family parts, but the 504-E/MV offers 512 KB Flash and 48 KB RAM versus the 502's smaller memory, and its 48-pin UQFN provides more PWM and encoder pins. The 502-H/MM suits cost-sensitive, lower-complexity drives. If your FOC algorithm, CAN stack, and data logging fit in the 502's memory, you save cost; otherwise the 504-E/MV's headroom and extended -40C to +125C rating make it the safer motor-control platform.
When should I choose DSPIC33EP512MC504-E/MV over the -I/MV variant?
Choose the DSPIC33EP512MC504-E/MV over the -I/MV whenever ambient or local junction-adjacent temperatures can exceed +85C. Typical cases include motor-drive boards mounted near power stages, sealed enclosures in industrial or automotive bays, and designs derating for reliability where you want margin to +125C. According to Microchip's ordering codes, the -E suffix guarantees the extended -40C to +125C range in the identical 48-lead UQFN package, so the swap costs only a modest price premium with zero layout or firmware changes.
Where to download DSPIC33EP512MC504-E/MV datasheet PDF?
You can download the dsPIC33EP512MC504 datasheet PDF directly from Microchip's official product page at microchip.com/en-us/product/dsPIC33EP512MC504, which links the latest family datasheet and reference manuals. Mirror copies are available at digchip.com and datasheet aggregator sites, but Microchip's site guarantees the current revision. Note that the dsPIC33EP family uses a shared datasheet covering the 504 variants plus separate family reference manuals for peripherals like MCPWM, CAN, and QEI.
Is DSPIC33EP512MC504-E/MV suitable for field-oriented control (FOC) of PMSM motors?
Yes, the DSPIC33EP512MC504-E/MV is well suited for FOC of PMSM and BLDC motors. Its 70 MIPS DSP core executes single-cycle multiply-accumulate operations for the Clarke/Park transforms and current-loop PI controllers, the MCPWM peripheral generates complementary outputs with hardware dead time, and the QEI decodes encoder feedback. The 48 KB RAM comfortably holds control state, sinusoidal lookup tables, and communication buffers. Microchip positions the dsPIC33E MC family specifically for high-performance precision motor control, and its motor-control application libraries target this exact class of device.
What supply voltage does DSPIC33EP512MC504-E/MV require?
The DSPIC33EP512MC504-E/MV requires a single supply of 3 V to 3.6 V, with 3.3 V being the nominal operating point, according to distributor specification listings (e.g., GlobalSpec lists 3 to 3.6 V). All VDD pins on the 48-lead UQFN must be connected and decoupled with 0.1 uF ceramics placed close to each pin. If your system runs from 5 V, add an LDO or buck regulator to derive the 3.3 V rail; note that some I/O and analog reference considerations apply when interfacing to 5 V logic.
How many pins does the DSPIC33EP512MC504-E/MV have and what package is it?
The DSPIC33EP512MC504-E/MV has 48 terminals in a UQFN (very-thin quad flat no-lead) package, package code MV, with JESD-30 code S-PQCC-N48 (HVQCCN square no-lead) per distributor data. The exposed pad on the underside must be soldered to a grounded PCB pour for thermal and electrical performance. Being no-lead, it is reflow-solderable and inspectable via X-ray but not hand-solderable, so plan rework strategy accordingly for prototype builds.
What is the best Microchip equivalent for DSPIC33EP512MC504-E/MV in the same package?
The best same-package equivalents are Microchip's own family members. The DSPIC33EP512MC504-I/MV is pin-to-pin identical with only the temperature grade differing (-40C to +85C), and the DSPIC33EP512MC504-H/MV shares the 48-lead PQCC/UQFN footprint with reduced RAM (per Microchip USA listing). Within the same family, the DSPIC33EP32MC504-E/MV keeps the MV package and pinout but reduces Flash to 32 KB. All are programmed with the same tools (MPLAB X, PICkit, ICD), so selection depends on memory and temperature needs.
Is DSPIC33EP512MC504-E/MV RoHS compliant and lead-free?
Yes, the DSPIC33EP512MC504-E/MV is RoHS compliant and lead-free, according to distributor listings including GlobalSpec, which explicitly describes the part as "16-bit MCU/DSC, 512 KB, 70 MHz, 3 to 3.6V, UQFN-48, RoHS." Microchip's standard active product portfolio is manufactured lead-free with matte-tin terminations. REACH status and halogen-free classification should be confirmed on Microchip's product page regulatory documents for your specific shipment lot, as compliance declarations are updated periodically.

엔지니어링 참조 데이터: DSPIC33EP512MC504-E/MV — 비교, 설계 지침 및 규정 준수 정보.

선택 가이드

Choose the DSPIC33EP512MC504-E/MV when your motor-control, digital-power, or industrial node needs maximum memory (512 KB Flash, 48 KB RAM) and must survive ambients up to +125C, such as drives mounted near power stages. Choose the DSPIC33EP512MC504-I/MV - the same die and UQFN-48 footprint - when ambient stays below +85C and you want the lower industrial-grade price; it is a true drop-in swap. Choose the DSPIC33EP512MC504-H/MV only if 24 KB RAM suffices and the H-grade pricing wins. Choose the DSPIC33EP32MC504-E/MV for cost-reduced builds whose firmware fits 32 KB, keeping the same PCB. All listed alternatives share the identical 48-lead UQFN (MV) footprint, so PCB reuse is preserved; verify the RAM and temperature deltas against your firmware's memory map before finalizing the BOM.

대체품과의 비교

파라미터 이 제품 DSPIC33EP512MC504-I/MV DSPIC33EP512MC504-H/MV DSPIC33EP32MC504-E/MV
Package 48-lead UQFN (MV) 48-lead UQFN (MV) - same 48-lead UQFN (MV) - same 48-lead UQFN (MV) - same
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Program Memory 512 KB Flash 512 KB Flash 512 KB Flash 32 KB Flash
Performance 70 MIPS 70 MIPS 60 MHz max clock (per Microchip USA) 70 MIPS
CAN Yes (CAN 2.0B) Yes (CAN 2.0B) Yes (CAN 2.0B) Yes (CAN 2.0B)

주요 차별점

  • Extended temperature rating for hot environments (vs DSPIC33EP512MC504-I/MV)
  • Double the RAM of the H variant (vs DSPIC33EP512MC504-H/MV)
  • Large program memory headroom (vs DSPIC33EP32MC504-E/MV)

설계 노트

The 48-lead UQFN (MV) package includes an exposed die-attach pad on the underside that must be soldered to a grounded copper pour. Connect the pour to the ground plane with an array of 4x4 vias (approximately 0.3 mm drill) to reduce thermal resistance and inductance. Because the package is no-lead, inspect solder joints with X-ray or by butterfly rework techniques; hand soldering is impractical. Follow Microchip's QFN layout guidelines for stencil apertures (typically 80% coverage with paste segmentation on the center pad to prevent tombstoning).

Decouple every VDD pin pair on the UQFN-48 with a 0.1 uF X7R ceramic placed within 2 mm of the pin, plus one bulk 4.7-10 uF capacitor near the device. The supply range is 3.0-3.6 V; a linear regulator from 5 V dissipates, for example, an estimated 17 mW at 10 mA load ((5V-3.3V) x 10 mA) - trivial, but a buck converter is preferable for higher system loads. Ensure all VSS pins connect directly to the exposed-pad ground pour rather than sharing thin traces.

ICSP programming: the dsPIC33EP512MC504 provides multiple PGECx/PGEDx pairs, and per Microchip documentation you may use any pair but must use them as a matched set - if PGEC2 carries ICSPCLK, ICSPDAT must route to PGED2. Route one matched pair to a programming header, and keep it short and free of motor-phase switching noise. Also, all VDD and VSS pins must be connected during programming, and the extended -E grade should not be assumed for designs whose ambient could exceed +85C if a -I variant is substituted for cost savings.

규정 준수 정보

RoHS
Compliant
REACH
Unknown
AEC-Q100
Not Applicable
무연
Yes
무할로겐
Unknown
분쟁 광물
Unknown

RoHS compliance explicitly stated in GlobalSpec distributor listing ("UQFN-48, RoHS"). AEC-Q100 qualification not stated in provided data for this exact part; verify with Microchip for automotive programs.

데이터 검증일: 2026-09-25 — XAIPART 부품 엔지니어링 팀이 검증하고 관리한 데이터

관련 검색

DSPIC33EP512MC504-E/MV DSPIC33EP512MC504 datasheet PDF Microchip DSPIC33EP512MC504-E/MV price dsPIC33EP 70 MIPS 512KB Flash motor control DSC UQFN-48 16-bit digital signal controller DSPIC33EP512MC504 FOC PMSM motor control DSPIC33EP512MC504-E/MV vs DSPIC33EP512MC504-I/MV DSPIC33EP512MC504-E/MV drop-in replacement buy DSPIC33EP512MC504-E/MV in stock what is the difference between dsPIC33EP504 E and I grade DSPIC33EP512MC504 pinout UQFN-48 Microchip DSPIC33EP512MC504 CAN QEI DSC

관련 부품 & 용어

Microchip Technology DSPIC33EP512MC504-E/MV DSPIC33EP512MC504-I/MV DSPIC33EP512MC504-H/MV DSPIC33EP32MC504-E/MV dsPIC33EP family digital signal controller (DSC) 16-bit MCU/DSC 70 MIPS UQFN-48 HVQCCN / S-PQCC-N48 RoHS CAN 2.0B QEI (quadrature encoder interface) MCPWM (motor control PWM) field-oriented control (FOC) BLDC motor control ICSP programming MPLAB X
빠른 견적 RFQ
상세 정보를 모두 입력하십시오 — 영업팀이 24시간 이내에 답변드립니다
부품 번호 제조사 패키지 QTY 목표 가격 합계
합계: $0.00 USD
✓
견적이 제출되었습니다!

24시간 이내에 이메일로 답변드리겠습니다

1
RFQ 제출됨
2
견적 접수됨
3
주문 완료
4
결제
5
배송됨
6
배송 완료
RFQ 상세 보기