KR20220040202A - Flashless ois driver circuit and ois device - Google Patents

Flashless ois driver circuit and ois device Download PDF

Info

Publication number
KR20220040202A
KR20220040202A KR1020200123131A KR20200123131A KR20220040202A KR 20220040202 A KR20220040202 A KR 20220040202A KR 1020200123131 A KR1020200123131 A KR 1020200123131A KR 20200123131 A KR20200123131 A KR 20200123131A KR 20220040202 A KR20220040202 A KR 20220040202A
Authority
KR
South Korea
Prior art keywords
flashless
ois
controller
mode
fls
Prior art date
Application number
KR1020200123131A
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 삼성전기주식회사
Priority to KR1020200123131A priority Critical patent/KR20220040202A/en
Publication of KR20220040202A publication Critical patent/KR20220040202A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/68Control of cameras or camera modules for stable pick-up of the scene, e.g. compensating for camera body vibrations
    • H04N23/682Vibration or motion blur correction
    • H04N23/683Vibration or motion blur correction performed by a processor, e.g. controlling the readout of an image memory
    • H04N5/23267
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/50Constructional details
    • H04N23/54Mounting of pick-up tubes, electronic image sensors, deviation or focusing coils
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/50Constructional details
    • H04N23/55Optical parts specially adapted for electronic image sensors; Mounting thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/68Control of cameras or camera modules for stable pick-up of the scene, e.g. compensating for camera body vibrations
    • H04N23/681Motion detection
    • H04N23/6812Motion detection based on additional sensors, e.g. acceleration sensors
    • H04N5/2253
    • H04N5/2254
    • H04N5/23258

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)

Abstract

An embodiment of the present invention proposes a flashless OIS driver circuit and OIS device capable of reducing size of a camera module. According to an embodiment of the present invention, in a flashless OIS driver circuit having a hand tremor correction function, the flashless OIS driver circuit comprises: a flashless control device that holds reset of an OIS control device for booting and reads driving firmware from an external memory, when the main power is supplied in a low power state, which is the main power off state; and a volatile memory for storing driving firmware read by the flashless control device.

Description

플래쉬리스 OIS 드라이버 회로 및 OIS 장치{FLASHLESS OIS DRIVER CIRCUIT AND OIS DEVICE} FLASHLESS OIS DRIVER CIRCUIT AND OIS DEVICE

본 발명은 플래쉬리스 OIS (Optical Image Stabilizer, 이하, OIS라 함) 드라이버 회로 및 OIS 장치에 관한 것이다.The present invention relates to a flashless OIS (Optical Image Stabilizer, hereinafter referred to as OIS) driver circuit and OIS device.

일반적으로, 휴대폰 등의 모바일 기기에 포함되는 카메라 장치에는, 손 떨림 보정을 위한 손떨림 보정(OIS: Optical Image Stabilization) 기술이 적용될 수 있다. 상기 OIS 기술은, 손 떨림에도 선명한 이미지를 얻기 위한 기술이다.In general, an optical image stabilization (OIS) technology for correcting hand shake may be applied to a camera device included in a mobile device such as a mobile phone. The OIS technology is a technology for obtaining a clear image even with hand shaking.

통상, OIS 기술로는, 촬영한 영상으로부터 손 떨림을 검출해서 소프트웨어적으로 보정하는 전자식 OIS 기술이 사용되어 왔다. 그러나, 낮은 이미지 보정 성능과 화소 수에 따른 메모리와 프로세서 성능의 오버 헤드(overhead)가 존재하는 단점을 갖고 있다. In general, as the OIS technology, an electronic OIS technology that detects hand shake from a captured image and corrects it in software has been used. However, it has disadvantages in that there is a low image correction performance and overhead of memory and processor performance according to the number of pixels.

이러한 전자식 OIS 기술의 단점을 해결하기 위해, 최근에는 보다 성능이 우수한 광학식 OIS 기술이 적용되고 있다. In order to solve the disadvantages of the electronic OIS technology, an optical OIS technology with better performance has been recently applied.

광학식 OIS 기술은 사용자의 손 떨림을 감지하여 카메라가 움직인 반대 방향으로 광학 축(렌즈 또는 이미지센서)을 기계적으로 손 떨림을 보상하는 방향으로 움직여서 이미지를 보정하는 방법으로써, 추가적인 하드웨어(hardware) 구성이 필요하며 전자식 OIS 기술에 비하여 고가의 시스템이라는 단점이 있지만, 입력되는 이미지가 손상되지 않아 보정 성능이 높고 고화소화에 대한 오버 헤드 또한 적다는 장점이 있다.Optical OIS technology detects the user's hand shake and compensates the image by mechanically moving the optical axis (lens or image sensor) in the opposite direction to the camera movement. It requires this and has the disadvantage that it is an expensive system compared to the electronic OIS technology, but it has the advantage that the input image is not damaged, so the correction performance is high and the overhead for high resolution is small.

기존의 OIS 장치는, 복수의 카메라 모듈 마다 구비되는 복수의 OIS 드라이버 회로를 포함할 수 있다. 복수의 OIS 드라이버 회로 각각은 구동 펌웨어를 포함하는 플래쉬 메모리(flash memory)를 내부에 포함할 수 있다.An existing OIS device may include a plurality of OIS driver circuits provided for each of a plurality of camera modules. Each of the plurality of OIS driver circuits may include a flash memory including driving firmware therein.

따라서, 기존의 OIS 장치는, 복수의 카메라 모듈 마다 구비되는 복수의 OIS 드바이버 회로를 포함할 수 있으며, 이 경우, 복수의 OIS 드라이버 회로 각각은, 구동 펌웨어를 저장하는 플래쉬 메모리(flash memory)를 포함하여야 한다.Accordingly, the existing OIS device may include a plurality of OIS driver circuits provided for each of the plurality of camera modules. In this case, each of the plurality of OIS driver circuits includes a flash memory that stores driving firmware. should include

기존 OIS 드라이버 회로(예, Driver IC)의 경우, 구동 펌웨어가 플래쉬 메모리(Flash Memory)에 저장되어 있어서, 전원이 공급되면 시스템 클럭에 동기화해서 OIS 드라이버 회로가 동작을 진행할 수 있다.In the case of an existing OIS driver circuit (eg, Driver IC), the driving firmware is stored in a flash memory, so that when power is supplied, the OIS driver circuit can operate in synchronization with the system clock.

이에 따라, 기존의 OIS 장치가 복수의 OIS 드라이버 회로를 포함하는 경우, 복수의 OIS 드라이버 회로 각각은 구동 펌웨어를 저장하는 플래쉬 메모리를 포함하고 있으며, 전원이 공급되면 바로 부스팅(booting) 동작이 진행되므로, 별도로 구동 펌웨어를 가져오거나 별도의 부팅 동작을 수행하는 등의 사전 동작이 필요없다는 장점이 있다.Accordingly, when the existing OIS device includes a plurality of OIS driver circuits, each of the plurality of OIS driver circuits includes a flash memory for storing driving firmware, and a boosting operation proceeds immediately when power is supplied. , there is an advantage in that there is no need for a prior operation such as separately importing the driving firmware or performing a separate booting operation.

그러나, 기존의 OIS 장치가 복수의 OIS 드라이버 회로를 포함하는 경우, 복수의 OIS 드라이버 회로 각각은 구동 펌웨어를 저장하는 플래쉬 메모리를 포함하여야 하므로, 이로 인하여 회로 사이즈(예, IC 칩 사이즈) 증가, 비용 증가 등의 문제점이 있었다.However, when the existing OIS device includes a plurality of OIS driver circuits, each of the plurality of OIS driver circuits must include a flash memory for storing the driving firmware, thereby increasing the circuit size (eg, IC chip size) and cost. There were problems such as increase.

(선행기술문헌)(Prior art literature)

(특허문헌 1) KR 공개특허공보 제10-2006-0069007호(Patent Document 1) KR Patent Publication No. 10-2006-0069007

(특허문헌 2) KR 공개특허공보 제10-2007-0081597호(Patent Document 2) KR Patent Publication No. 10-2007-0081597

본 발명의 일 실시 예는, OIS 장치의 복수의 OIS 드라이버 회로에서, 내부 플래쉬 메모리(Flash Memory)를 제거함으로써, OIS 드라이버 회로의 사이즈를 줄일 수 있고, 이에 따라 카메라 모듈의 사이즈를 줄일 수 있는 플래쉬리스 OIS 드라이버 회로 및 OIS 장치를 제안한다.According to an embodiment of the present invention, the size of the OIS driver circuit can be reduced by removing the internal flash memory from the plurality of OIS driver circuits of the OIS device, and thus the size of the camera module can be reduced. We propose a lease OIS driver circuit and OIS device.

또한, OIS 장치의 복수의 OIS 드라이버 회로에서, 내부 플래쉬 메모리(Flash Memory)를 제거하여도, OIS 드라이버 회로가 부스팅 동작을 안정적으로 수행할 수 있는 플래쉬리스 OIS 드라이버 회로 및 OIS 장치를 제안한다.In addition, a flashless OIS driver circuit and an OIS device are proposed in which the OIS driver circuit can stably perform a boosting operation even when an internal flash memory is removed from a plurality of OIS driver circuits of the OIS device.

본 발명의 일 실시 예에 의해, 손떨림 보정 기능을 갖는 플래쉬리스 OIS 드라이버 회로에 있어서, 주전원 오프상태인 로우 파워 상태에서 주전원이 공급되면, 부팅 동작을 개시하여, 외부 메모리로부터 구동 펌웨어를 읽어오는 플래쉬리스 제어기; 및 상기 플래쉬리스 제어기에 의해 읽혀진 상기 구동 펌웨어를 저장하는 휘발성 메모리; 를 포함하는 플래쉬리스 OIS 드라이버 회로가 제안된다.According to an embodiment of the present invention, in a flashless OIS driver circuit having an image stabilization function, when the main power is supplied in the low power state, which is the main power off state, the booting operation is started to read the driving firmware from the external memory. lease controller; and a volatile memory for storing the driving firmware read by the flashless controller. A flashless OIS driver circuit including

또한, 본 발명의 다른 일 실시 예에 의해, 손떨림 보정 기능을 갖는 OIS 장치에 있어서, 구동 펌웨어를 저장하는 외부 메모리; 및 주전원이 공급되면 부팅 동작을 개시하여, 상기 외부 메모리로부터 상기 구동 펌웨어를 읽어와서 휘발성 메모리에 저장하는 플래쉬리스 OIS 드라이버 회로; 를 포함하는 OIS 장치가 제안된다.In addition, according to another embodiment of the present invention, in the OIS device having a hand shake correction function, an external memory for storing the driving firmware; and a flashless OIS driver circuit that starts a booting operation when main power is supplied, reads the driving firmware from the external memory and stores it in a volatile memory; An OIS device comprising

본 발명의 일 실시 예에 의하면, OIS 장치의 복수의 OIS 드라이버 회로에서, 내부의 플래쉬 메모리(Flash Memory)를 제거함으로써, OIS 드라이버 회로의 사이즈를 줄일 수 있고, 이에 따라 카메라 모듈의 사이즈 및 비용을 줄일 수 있으며, 핸드폰에 장착시, 카메라 모듈이 차지하는 공간을 줄일 수 있다. According to an embodiment of the present invention, by removing the internal flash memory from the plurality of OIS driver circuits of the OIS device, the size of the OIS driver circuit can be reduced, thereby reducing the size and cost of the camera module. It can be reduced, and when installed in a mobile phone, the space occupied by the camera module can be reduced.

예를 들어, 핸드폰에 복수의 카메라 모듈이 설치되는 경우, 이들을 제어하기 위해 카메라 모듈 마다 구비되는 OIS 드바이버 회로의 개수도 증가하게 되는 상황에서, 각 OIS 드바이버 회로의 사이즈를 줄일 수 있다는 것은 큰 장점이 될 수 있다.For example, when a plurality of camera modules are installed in a mobile phone, the size of each OIS driver circuit can be reduced in a situation in which the number of OIS driver circuits provided for each camera module to control them also increases. This can be a huge advantage.

또한, OIS 장치의 복수의 OIS 드라이버 회로에서, 플래쉬 메모리(Flash Memory)를 제거하여도, OIS 드라이버 회로가 부스팅 동작을 안정적으로 수행할 수 있다.In addition, even if the flash memory is removed from the plurality of OIS driver circuits of the OIS device, the OIS driver circuit may stably perform the boosting operation.

도 1은 본 발명이 적용되는 OIS 장치의 구성 예시도이다.
도 2는 본 발명의 일 실시 예에 따른 플래쉬리스 OIS 드라이버 회로의 예시도이다.
도 3은 본 발명의 일 실시 예에 따른 OIS 장치 및 플래쉬리스 OIS 드라이버 회로의 예시도이다.
도 4는 도 3의 APO (Always Power On) 레지스터의 예시도이다.
도 5는 SPI 속도SPI 속도 결정 및 메모리 리드 동작에 대한 과정 예시도이다.
도 6은 메모리 리드 동작에 대한 상세 예시도이다.
도 7은 플래쉬리스 드라이버 회로와 주변 장치간의 3-와이어(3-wire) SPI 통신모드의 핀 접속 예시도이다.
도 8은 플래쉬리스 드라이버 회로와 주변 장치간의 4-와이어(4-wire) SPI 통신모드의 핀 접속 예시도이다.
1 is an exemplary configuration diagram of an OIS device to which the present invention is applied.
2 is an exemplary diagram of a flashless OIS driver circuit according to an embodiment of the present invention.
3 is an exemplary diagram of an OIS device and a flashless OIS driver circuit according to an embodiment of the present invention.
4 is an exemplary diagram of an Always Power On (APO) register of FIG. 3 .
5 is a diagram illustrating the process of determining the SPI rate and the SPI rate and the memory read operation.
6 is a detailed exemplary diagram of a memory read operation.
7 is a diagram illustrating pin connection in a 3-wire SPI communication mode between a flashless driver circuit and a peripheral device.
8 is a diagram illustrating pin connection in a 4-wire SPI communication mode between a flashless driver circuit and a peripheral device.

이하에서는, 본 발명은 설명되는 실시 예에 한정되지 않으며, 본 발명의 정신 및 범위를 벗어나지 않으면서 다양하게 변경될 수 있음이 이해되어야 한다.Hereinafter, it should be understood that the present invention is not limited to the described embodiments, and various changes may be made without departing from the spirit and scope of the present invention.

또한, 본 발명의 각 실시 예에 있어서, 하나의 예로써 설명되는 구조, 형상 및 수치는 본 발명의 기술적 사항의 이해를 돕기 위한 예에 불과하므로, 이에 한정되는 것이 아니라 본 발명의 정신 및 범위를 벗어나지 않으면서 다양하게 변경될 수 있음이 이해되어야 한다. 본 발명의 실시 예들은 서로 조합되어 여러 가지 새로운 실시 예가 이루어질 수 있다.In addition, in each embodiment of the present invention, the structure, shape, and numerical value described as an example are only examples for helping the understanding of the technical matters of the present invention, and thus the spirit and scope of the present invention are not limited thereto. It should be understood that various changes may be made without departing from it. The embodiments of the present invention may be combined with each other to form various new embodiments.

그리고, 본 발명에 참조된 도면에서 본 발명의 전반적인 내용에 비추어 실질적으로 동일한 구성과 기능을 가진 구성요소들은 동일한 부호를 사용할 것이다.In addition, in the drawings referenced in the present invention, components having substantially the same configuration and function will be denoted by the same reference numerals in light of the overall content of the present invention.

이하에서는, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자가 본 발명을 용이하게 실시할 수 있도록 하기 위해서, 본 발명의 실시 예를 첨부한 도면을 참조하여 상세히 설명한다.Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings in order to enable those of ordinary skill in the art to easily practice the present invention.

도 1은 본 발명이 적용되는 OIS 장치의 구성 예시도이다.1 is an exemplary configuration diagram of an OIS device to which the present invention is applied.

도 1을 참조하면, 본 발명이 적용되는 OIS 장치(1)는, 손 떨림 보정 기능을 포함하여, 손 떨림에 대한 정보를 검출하여 해당 손 떨림의 반대 방향으로, 렌즈(40)(또는 이미지 센서)를 이동시켜, 손 떨림이 있음에도 항상 선명한 촬영 이미지를 얻을 수 있도록 하며, 이러한 기능을 수행하기 위해 하기와 같이 이루어질 수 있다.Referring to FIG. 1 , the OIS device 1 to which the present invention is applied includes a hand shake correction function, detects information on hand shake, and in the opposite direction to the corresponding hand shake, a lens 40 (or an image sensor) ) to always obtain a clear photographed image even in the presence of hand tremors, and to perform this function, it can be done as follows.

예를 들어, 상기 OIS 장치(1)는, 자이로 센서부(10), OIS 드라이버 회로(20), 액츄에이터(30), 렌즈(40)(또는 렌즈모듈), 및 홀 센서(50)를 포함할 수 있다.For example, the OIS device 1 may include a gyro sensor unit 10 , an OIS driver circuit 20 , an actuator 30 , a lens 40 (or a lens module), and a hall sensor 50 . can

상기 자이로 센서부(10)는, 손 떨림에 대응되는 자이로 정보(Sgyro)를 제공할 수 있다.The gyro sensor unit 10 may provide gyro information (Sgyro) corresponding to hand shaking.

일 예로, 자이로 센서부(10)는, 자이로 센서(11), 적분기(12) 및 필터(13)를 포함할 수 있다. 상기 자이로 센서(11)는, 손떨림에 대한 X축 및 Y축의 움직임에 해당되는 각속도 정보를 검출할 수 있다. 상기 적분기(12)는, 상기 각속도 정보를 적분하여 손떨림에 대한 각도 정보를 산출할 수 있다. 상기 필터(13)는 상기 각도 정보중에서 노이즈 및 DC 오프셋(offset)을 제거하고 손떨림 주파수 성분(예, 2Hz~20Hz)을 추출하여 손떨림에 해당되는 각도 정보를 포함하는 자이로 데이터((Sgyro)를 출력할 수 있다.For example, the gyro sensor unit 10 may include a gyro sensor 11 , an integrator 12 , and a filter 13 . The gyro sensor 11 may detect angular velocity information corresponding to X-axis and Y-axis movement with respect to hand shake. The integrator 12 may integrate the angular velocity information to calculate angle information on hand shake. The filter 13 removes noise and DC offset from the angle information, extracts a hand shake frequency component (eg, 2 Hz to 20 Hz), and outputs gyro data (Sgyro) including angle information corresponding to hand shake can do.

상기 OIS 드라이버 회로(20)는, 오차 연산기(21), PID(Proportional-Integral-Derivative) 제어기(22), 구동기(23), 아날로그 증폭기(26), 및 ADC(Analog-to-Digital Converter)(27)를 포함할 수 있다.The OIS driver circuit 20 includes an error calculator 21, a Proportional-Integral-Derivative (PID) controller 22, a driver 23, an analog amplifier 26, and an analog-to-digital converter (ADC) ( 27) may be included.

상기 오차 연산기(21)는, 상기 자이로 센서부(10)에 의한 손떨림에 대한 자이로 데이타(Sgyro)와, 상기 ADC(27)로부터의 디지털의 검출 데이타(Sdd)와의 오차 데이타(Serr)를 생성할 수 있다.The error calculator 21 generates error data Serr between gyro data Sgyro for hand shake by the gyro sensor unit 10 and digital detection data Sdd from the ADC 27 . can

상기 PID 제어기(22)는, 상기 오차 연산기(21)로부터의 오차 데이타(Serr)를 이용하여, 렌즈 구동을 위한 제어신호(S22)를 생성할 수 있다.The PID controller 22 may use the error data Serr from the error calculator 21 to generate a control signal S22 for driving the lens.

상기 구동기(23)는, 상기 PID 제어기(22)로부터의 제어신호(S22)에 기초해 구동신호(Sdr)를 액츄에이터(30)에 출력할 수 있다.The driver 23 may output a driving signal Sdr to the actuator 30 based on the control signal S22 from the PID controller 22 .

상기 액츄에이터(30)는, 상기 구동기(23)로부터의 구동신호(Sdr)에 따라 동작하여 렌즈(40)의 위치를 조정할 수 있다. 일 예로, 상기 액츄에이터(30)는 VCM (Voice Coil Moto) 액츄에이터일 수 있으며, 이러한 예시에 한정되는 것은 아니다. The actuator 30 may operate according to the driving signal Sdr from the driver 23 to adjust the position of the lens 40 . For example, the actuator 30 may be a VCM (Voice Coil Moto) actuator, but is not limited thereto.

일 예로, VCM 액츄에이터는, 통상 연자성체(Steel)와 영구자석으로 자기 회로를 형성하고, 이 자기 회로 내부의 공극부에 코일을 위치시키고 그 위를 판스프링이 누르고 있는 구조로 구성될 수 있다. 이러한 예시에 한정되는 것은 아니다.As an example, the VCM actuator may have a structure in which a magnetic circuit is usually formed with a soft magnetic material (Steel) and a permanent magnet, a coil is placed in an air gap inside the magnetic circuit, and a leaf spring is pressed thereon. It is not limited to these examples.

예를 들어, VCM 액츄에이터의 동작은 자석(Magnet)으로 형성된 자기장(Magnetic field) 속에 있는 코일에 전류가 흐르면 발생하는 로렌츠 힘(Lorentz force)에 의해 동작할 수 있다. 여기서 힘의 방향은 플레밍의 왼손 법칙에 의해 결정되며 전기적 에너지를 기계 에너지로 변환하여 움직이며 스프링에 의해 원래 자리로 돌아가려는 특성이 있다. For example, the operation of the VCM actuator may be operated by a Lorentz force generated when a current flows through a coil in a magnetic field formed by a magnet. Here, the direction of the force is determined by Fleming's left hand rule, and it moves by converting electrical energy into mechanical energy and has the characteristic of returning to its original position by a spring.

상기 홀 센서(hall sensor)(50)는, 상기 액츄에이터(30)에 의해 이동되는 상기 렌즈(40)의 위치를 검출하여 검출 신호(S50)를 출력할 수 있다.The hall sensor 50 may detect a position of the lens 40 moved by the actuator 30 and output a detection signal S50 .

상기 아날로그 증폭기(26)는, 작은 크기의 검출신호에 대해 위치 검출이 가능하도록 상기 홀 센서(50)로부터의 검출신호(S25)를 증폭하여 상기 ADC(27)에 출력할 수 있다.The analog amplifier 26 may amplify the detection signal S25 from the Hall sensor 50 and output it to the ADC 27 to enable position detection for a small detection signal.

상기 ADC(27)는, 상기 아날로그 증폭기(26)에 의해 증폭된 검출신호(S26)를 디지털의 검출 데이타(Sdd)로 변환할 수 있다. The ADC 27 may convert the detection signal S26 amplified by the analog amplifier 26 into digital detection data Sdd.

전술한 바와 같은 OIS 장치(1)에서, 자이로 센서(11)로부터 얻을 수 있는 손 떨림에 해당되는 움직임 정보만큼 렌즈를 이동시키기 위해서, PID 제어기(22)를 통해서 제어를 수행하며, PID 제어기(22)를 통해서 제어되는 렌즈(40)의 이동 량을 피드백 루프(feedback loop)를 통해서 모니터링(monitoring) 하여 제어 량을 조절하는 방식을 통해서 손 떨림에 대한 보정을 수행할 수 있다.In the OIS device 1 as described above, in order to move the lens as much as movement information corresponding to hand tremor obtained from the gyro sensor 11, control is performed through the PID controller 22, and the PID controller 22 ), the amount of movement of the lens 40 controlled through a feedback loop is monitored through a feedback loop to adjust the amount of control, so that hand shake can be corrected.

한편, 본 발명의 일 실시 예에 따른 상기 플래쉬리스 OIS 드라이버 회로(도 3, 100)는, 플래스 메모리를 포함하지 않으며, 이와 같이 OIS 드라이버 회로(20)에서 플래쉬 메모리(Flash Memory)를 제거함에 따라, 내부 기능 블록들의 발진기 클럭(Oscillator clock) 및 시스템 부팅 시퀀스(System Booting Sequence)에 대한 제어가 필요하게 된다.On the other hand, the flashless OIS driver circuit ( FIGS. 3 and 100 ) according to an embodiment of the present invention does not include a flash memory, and in this way, the flash memory is removed from the OIS driver circuit 20 . Accordingly, it is necessary to control the oscillator clock and the system booting sequence of the internal functional blocks.

본 발명의 각 도면에 대해, 동일한 부호 및 동일한 기능의 구성요소에 대해서는 가능한 불필요한 중복 설명은 생략될 수 있고, 각 도면에 대해 가능한 차이점에 대한 사항이 설명될 수 있다.For each drawing of the present invention, unnecessary redundant descriptions of components having the same reference numerals and the same functions may be omitted, and possible differences may be described for each drawing.

도 2는 본 발명의 일 실시 예에 따른 플래쉬리스 OIS 드라이버 회로의 예시도이고, 도 3는 본 발명의 일 실시 예에 따른 OIS 장치 및 플래쉬리스 OIS 드라이버 회로의 예시도이다.2 is an exemplary diagram of a flashless OIS driver circuit according to an embodiment of the present invention, and FIG. 3 is an exemplary diagram of an OIS device and a flashless OIS driver circuit according to an embodiment of the present invention.

도 2 및 도 3를 참조하면, 본 발명의 일 실시 예에 따른 OIS 장치(2)는, 플래쉬리스 OIS 드라이버 회로(100)와 외부 메모리(200)를 포함할 수 있다. 여기서, 플래쉬리스 OSI 드라이버 회로는 복수개일 수 있으며, 이하에서는 하나의 플래쉬리스 OSI 드라이버 회로에 대한 동작을 설명할 것이고, 이러한 설명은 복수의 플래쉬리스 OSI 드라이버 회로 각각에 동일하게 적용될 수 있다.2 and 3 , the OIS device 2 according to an embodiment of the present invention may include a flashless OIS driver circuit 100 and an external memory 200 . Here, there may be a plurality of flashless OSI driver circuits. Hereinafter, an operation for one flashless OSI driver circuit will be described, and this description may be equally applied to each of the plurality of flashless OSI driver circuits.

또한, OIS 장치(2)는, 자이로 센서부(10) 및 핀 선택기(300)를 포함할 수 있다.Also, the OIS device 2 may include a gyro sensor unit 10 and a pin selector 300 .

상기 플래쉬리스 OIS 드라이버 회로(100)는, 주전원이 공급되면 부팅 동작을 개시하여, 상기 외부 메모리(200)로부터 상기 구동 펌웨어(DFW)를 읽어와서 휘발성 메모리(130)에 저장할 수 있다.The flashless OIS driver circuit 100 may start a booting operation when main power is supplied, read the driving firmware DFW from the external memory 200 and store it in the volatile memory 130 .

상기 외부 메모리(200)는, 구동 펌웨어(DFW)를 저장할 수 있고, 상기 플래쉬리스 OIS 드라이버 회로(100)에 제공할 수 있다.The external memory 200 may store driving firmware DFW and provide it to the flashless OIS driver circuit 100 .

상기 자이로 센서부(10)는, 손 떨림 정보에 대응되는 자이로 데이터를 포함할 수 있고, 이 자이로 데이터를 상기 플래쉬리스 OIS 드라이버 회로(100)에 제공할 수 있다.The gyro sensor unit 10 may include gyro data corresponding to hand shake information, and may provide the gyro data to the flashless OIS driver circuit 100 .

또한, 상기 플래쉬리스 OIS 드라이버 회로(100)는, 부팅 동작을 수행하여 구동 범웨어를 리드하고, 부팅 동작 이후에는 상기 자이로 센서부(10)로부터 상기 자이로 데이터를 리드할 수 있다.Also, the flashless OIS driver circuit 100 may perform a booting operation to read the driving software, and read the gyro data from the gyro sensor unit 10 after the booting operation.

도 3를 참조하면, 상기 플래쉬리스 OIS 드라이버 회로(100)는, 플래쉬리스 제어기(110)와 상기 휘발성 메모리(130)를 포함할 수 있다.Referring to FIG. 3 , the flashless OIS driver circuit 100 may include a flashless controller 110 and the volatile memory 130 .

또한, 상기 플래쉬리스 OIS 드라이버 회로(100)는, OIS 제어기(101)(예, MCU(Micro Controller Unit))를 포함할 수 있다.Also, the flashless OIS driver circuit 100 may include an OIS controller 101 (eg, microcontroller unit (MCU)).

상기 플래쉬리스 제어기(110)는, 주전원 공급과 관계없이, 전원을 공급받고, 구동 펌웨어의 다운로드에 관한 상태 신호들을 제공하는 APO 레지스터(115) 및 특정 레지스터(116)를 포함할 수 있다.The flashless controller 110 may include an APO register 115 and a specific register 116 that receive power regardless of main power supply and provide status signals related to downloading of driving firmware.

상기 APO 레지스터(115)는, 항상 전원을 공급받는 복수의 레지스터를 포함하여, 주전원이 공급되지 않는 상태에서도, 부팅 동작에 필요한 제어신호(또는 상태신호)들을 제공할 수 있으며, 이에 대해서는 도 4을 참조하여 설명한다.The APO register 115 includes a plurality of registers that are always supplied with power, and can provide control signals (or status signals) necessary for a booting operation even when the main power is not supplied. It will be described with reference.

상기 특정 레지스터(116)는 발진기 클럭에 관련된 데이터값을 저장하고 있으며, 데이터값이 특정값일 경우에는 SPI 속도는 초기 설정값으로 유지될 수 있고, 상기 테이타값이 특정값이 아닐 경우에는 이 데이터값는 SPI 속도를 결정하는데 이용될 수 있다.The specific register 116 stores a data value related to the oscillator clock. When the data value is a specific value, the SPI speed can be maintained at an initial setting value. When the data value is not a specific value, this data value is It can be used to determine the SPI rate.

또한, 플래쉬리스 제어기(110)는, 주전원 오프상태인 로우 파워 상태에서 주전원이 공급되면, 부팅을 위해 OIS 제어기(101)의 리세트를 홀드(hold)하고, 상기 상태 신호들을 참조하여, 외부 메모리(200)로부터 구동 펌웨어를 읽어와서 상기 휘발성 메모리(130)에 저장할 수 있다.In addition, the flashless controller 110 holds the reset of the OIS controller 101 for booting when the main power is supplied in the low power state, which is the main power off state, and refers to the state signals, the external memory The driving firmware may be read from 200 and stored in the volatile memory 130 .

상기 휘발성 메모리(130)는, 상기 플래쉬리스 제어기(110)에 의해 읽혀진 상기 구동 펌웨어(DFW)를 저장할 수 있다. 여기서, 상기 휘발성 메모리(130)는 SRAM이 될 수 있으며, 이러한 예시에 한정되는 것은 아니다.The volatile memory 130 may store the driving firmware DFW read by the flashless controller 110 . Here, the volatile memory 130 may be an SRAM, but is not limited thereto.

전술한 바와 같은 플래쉬리스 OIS 드라이버 회로(100)에 대한 동작을 간단히 설명하면, 예를 들어, 플래쉬리스 OIS 드라이버 회로(100)는, 펌웨어를 저장하는 플래쉬 메모리를 포함하지 않기 때문에, 구동 펌웨어(DFW)를 이용해 OIS 동작을 수행하기 이전에, 주전원이 공급되면 부팅 동작을 개시하여 외부 메모리(200)로부터 구동 펌웨어(DFW)를 읽어와서 내부 메모리인 휘발성 메모리(130)에 저장할 수 있다. Briefly describing the operation of the flashless OIS driver circuit 100 as described above, for example, since the flashless OIS driver circuit 100 does not include a flash memory storing firmware, the driving firmware DFW ) before performing the OIS operation, when the main power is supplied, the booting operation may be started, the driving firmware DFW may be read from the external memory 200 and stored in the volatile memory 130 which is an internal memory.

이러한 부팅 동작이 완료되면, 이후 OIS 제어기(101)가 상기 구동 펌웨어(DFW)를 이용한 PID 제어를 통해서 OIS (Optical Image Stabilization) 동작을 수행할 수 있다.After the booting operation is completed, the OIS controller 101 may then perform an OIS (Optical Image Stabilization) operation through PID control using the driving firmware DFW.

그리고, 핀 선택기(300)는, SPI 통신모드에서, 상기 자이로 센서부(10)와 상기 외부 메모리(200)중 하나와 핀 접속을 선택할 수 있다. In addition, the pin selector 300 may select a pin connection with one of the gyro sensor unit 10 and the external memory 200 in the SPI communication mode.

예를 들어, 부팅 동작중에는 핀 선택기(300)에 의해 플래쉬리스 OIS 드라이버 회로(100)와 외부 메모리(200)와의 핀 접속이 선택될 수 있고, 부팅 동작 이후에는, 핀 선택기(300)에 의해, 플래쉬리스 OIS 드라이버 회로(100)와 자이로 센서부(10)와의 핀 접속이 선택될 수 있다.For example, a pin connection between the flashless OIS driver circuit 100 and the external memory 200 may be selected by the pin selector 300 during the booting operation, and after the booting operation, the pin selector 300 may select, A pin connection between the flashless OIS driver circuit 100 and the gyro sensor unit 10 may be selected.

도 4은 도 3의 APO (Always Power On) 레지스터의 예시도이다.4 is an exemplary diagram of an Always Power On (APO) register of FIG. 3 .

도 3 및 도 4을 참조하면, 전술한 바와 같이 플래쉬리스 OIS 드라이버 회로(100)는 APO 레지스터(115)를 포함할 수 있다.3 and 4 , as described above, the flashless OIS driver circuit 100 may include the APO register 115 .

상기 APO 레지스터(115)는, 내부에 플래쉬 메모리(Flash Memory)가 없기 때문에, 사용자(User)가 사용하지 않는 이이들(IDLE) 상태에서도 내부 메모리인 휘발성 메모리(130)(예, SRAM)에 저장된 데이터가 유지될 수 있도록 필요한 신호들을 제공할 수 있어야 하며, 이를 위해, 주전원이 없는 동안에도 계속해서 항상 전원을 공급받을 수 있다.Since the APO register 115 does not have a flash memory therein, it is stored in the volatile memory 130 (eg, SRAM) that is an internal memory even in an IDLE state that is not used by a user. It must be able to provide the necessary signals so that the data can be maintained, and for this purpose, it can be continuously powered even when the mains is not present.

예를 들어, 휘발성 메모리(130)에 전원을 공급하지 않으면, 사용자에 의해 동작을 할 때 마다 외부에서 구동 펌웨어를 가져와야 하는 번거로움이 발생하게 될 수 있다. 이러한 번거로움을 방지하기 위해, 상기 APO 레지스터(115)는 항상 전원을 공급받아서 휘발성 메모리(130)가 데이터를 유지하는데 필요한 신호들을 제공할 수 있다.For example, if power is not supplied to the volatile memory 130 , the inconvenience of bringing the driving firmware from the outside may occur whenever a user performs an operation. In order to prevent such trouble, the APO register 115 may always receive power to provide signals necessary for the volatile memory 130 to retain data.

예를 들어, OIS 장치가 절전모드 (power saving mode)를 포함하는 로우 파워 시스템인 경우, 사용자에 의한 선택이 없는 경우에는, 파워 세이빙을 위해, 주전원을 차단하여 OIS 동작을 수행하지 않는 절전모드 (power saving mode)를 수행할 수 있다.For example, if the OIS device is a low power system including a power saving mode, and there is no selection by the user, for power saving, the main power is cut off to perform the OIS operation ( power saving mode).

일 예로, 처음 외부 메모리(200)로부터 구동 펌웨어(DFW)를 읽어와서 휘발성 메모리(130)에 저장하고, 절전(Power Save)을 위해 주전원 공급이 차단되어 모든 디지털 블록의 전원이 차단 되어도, 상기 APO 레지스터(115)에는 항상 전원이 공급되어야 한다. As an example, first read the driving firmware (DFW) from the external memory 200 and store it in the volatile memory 130, even if the main power supply is cut off for power saving and all digital blocks are powered off, the APO The resistor 115 must always be supplied with power.

도 4을 참조하면, 상기 APO 레지스터(115)는, 제1 레지스터(115-1), 제2 레지스터(115-2), 제3 레지스터(115-3). 및 제4 레지스터(115-4)를 포함할 수 있다.Referring to FIG. 4 , the APO register 115 includes a first register 115-1, a second register 115-2, and a third register 115-3. and a fourth register 115 - 4 .

먼저 제1 레지스터(115-1)는, 상기 구동 펌웨어(DFW)의 다운로드 진행중 여부를 알리는 플래쉬리스 비지신호(FLS_BUSY)를 출력할 수 있다.First, the first register 115 - 1 may output a flashless busy signal FLS_BUSY indicating whether or not the download of the driving firmware DFW is in progress.

예를 들어, 플래쉬리스 비지신호(FLS_BUSY)는 플래쉬리스 제어기(110)(또는 플래쉬리스 제어기)가 생성하는 제어 신호로서, 플래쉬리스 비지신호(FLS_BUSY)가 "0"일 경우에는 현재 플래쉬리스 제어기(110)에서 구동 펌웨어(DFW)를 다운로드 수행중임을 나타내며, "1"일 경우에는 구동 펌웨어(DFW)에 관련된 모든 데이터를 다운로드 완료했다는 상태를 나타낸다.For example, the flashless busy signal FLS_BUSY is a control signal generated by the flashless controller 110 (or flashless controller). When the flashless busy signal FLS_BUSY is “0”, the current flashless controller ( 110) indicates that the driving firmware DFW is being downloaded, and when “1” indicates that all data related to the driving firmware DFW have been downloaded.

제2 레지스터(115-2)는, 반복 다운로드를 방지하기 위해 다운로드 여부를 알리는 재다운로드 방지신호(DO_NOT_REDOWNLOAD)를 출력할 수 있다.The second register 115 - 2 may output a redownload prevention signal DO_NOT_REDOWNLOAD informing whether or not to download in order to prevent repeated download.

예를 들어, 재다운로드 방지신호(DO_NOT_REDOWNLOAD)는, 초기에는 구동 펌웨어(DFW)를 다운로드 하기 위해 "0"으로 디폴트(default)값을 가지고, 휘발성 메모리(130)에 구동 펌웨어(DFW)가 모두 저장되어 다운로드가 완료된 후에는 "1"로 세팅될 수 있다.For example, the re-download prevention signal DO_NOT_REDOWNLOAD initially has a default value of “0” to download the driving firmware DFW, and all of the driving firmware DFW is stored in the volatile memory 130 . It may be set to "1" after the download is completed.

일 예로, 재다운로드 방지신호(DO_NOT_REDOWNLOAD)의 상태값이 "1"로 셋팅이 되어 있으면, 휘발성 메모리(130)에 저장된 구동 펌웨어(DFW)를 유지하고, 다시 다운로드를 수행하지 않는다.For example, if the state value of the re-download prevention signal DO_NOT_REDOWNLOAD is set to “1”, the driving firmware DFW stored in the volatile memory 130 is maintained and the download is not performed again.

제3 레지스터(115-3)는, 초기화에 따른 다운로드 개시 여부를 알리는 플래쉬리스 초기화 신호(FLS_BLOCK_INIT)를 출력할 수 있다.The third register 115 - 3 may output a flashless initialization signal FLS_BLOCK_INIT indicating whether to start downloading according to initialization.

예를 들어, 플래쉬리스 초기화 신호(FLS_BLOCK_INIT)는, 구동 펌웨어(DFW)를 다운로드 하고 주전원이 공급되는 상태에서 다른 구동 펌웨어를 업데이트 하기 위한 수단으로 신호로 사용될 수 있다. 일 예로, 플래쉬리스 초기화 신호(FLS_BLOCK_INIT)가 "0"에서 "1"로 변경하면 플래쉬리스 제어기(110)가 초기화 되면서 다시 구동 펌웨어를 다운로드 하기 시작한다. 이때 재다운로드 방지신호(DO_NOT_REDOWNLOAD)도 초기화("0"으로 리세트) 될 수 있다.For example, the flashless initialization signal FLS_BLOCK_INIT may be used as a signal for downloading the driving firmware DFW and updating other driving firmware while the main power is supplied. For example, when the flashless initialization signal FLS_BLOCK_INIT is changed from “0” to “1”, the flashless controller 110 is initialized and the driving firmware starts to be downloaded again. At this time, the re-download prevention signal (DO_NOT_REDOWNLOAD) may also be initialized (reset to “0”).

제4 레지스터(115-4)는, 다운로드 통신방식을 알리는 플래쉬리스 모드신호(FLS_MODE_NEN)를 출력할 수 있다.The fourth register 115 - 4 may output a flashless mode signal FLS_MODE_NEN indicating a download communication method.

예를 들어, 플래쉬리스 모드신호(FLS_MODE_NEN)의 경우, 구동 펌웨어(DFW)의 다운로드 통신방법(I2C 통신 또는 SPI 통신)을 선택하기 위한 제어신호로, 플래쉬리스 모드신호(FLS_MODE_NEN)가 "0"이면 플래스리스 통신모드인 SPI 통신모드를 수행하고, 플래쉬리스 모드신호(FLS_MODE_NEN)가 "1"이면 I2C 통신모드를 수행할 수 있다.For example, in the case of the flashless mode signal (FLS_MODE_NEN), it is a control signal for selecting the download communication method (I2C communication or SPI communication) of the driving firmware (DFW). If the flashless mode signal (FLS_MODE_NEN) is “0”, The SPI communication mode, which is a flashless communication mode, is performed, and when the flashless mode signal (FLS_MODE_NEN) is “1”, the I2C communication mode can be performed.

전술한 바와같은, 제1 내지 제4 레지스터(115-1~115-4)는 로우 파워 모드에서 정보를 유지하기 위한 제어신호를 공급하는 기능을 수행하는데, 이러한 제1 내지 제4 레지스터(115-1~115-4)에서 제공되는 제어신호를 이용하면, 동작에 필요하지 않는 기능 블록의 모든 주전원을 오프하는 로우 파워 모드(Low Power Mode)에서, 모든 기능 블록에 주전원(main power)가 공급되었을 때 이상 동작을 방지할 수 있다.As described above, the first to fourth registers 115-1 to 115-4 perform a function of supplying a control signal for maintaining information in the low power mode, and these first to fourth registers 115- 1 to 115-4), in Low Power Mode, which turns off all main power of function blocks that are not required for operation, When abnormal operation can be prevented.

도 5는 SPI 속도SPI 속도 결정 및 메모리 리드 동작에 대한 과정 예시도이다. 5 is a diagram illustrating the process of determining the SPI rate and the SPI rate and the memory read operation.

도 5를 참조하여, 상기 플래쉬리스 제어기(110)에 의해 수행되는 SPI 속도SPI 속도 결정 및 메모리 리드 동작에 대해 설명한다.With reference to FIG. 5 , the SPI speed SPI speed determination and memory read operation performed by the flashless controller 110 will be described.

도 5를 참조하면, 상기 플래쉬리스 제어기(110)는, 주전원이 공급되고(S101), 상기 재다운로드 방지신호(DO_NOT_REDOWNLOAD)에 기초해 상기 구동 펌웨어(DFW)의 다운로드 이전상태로 확인되면(S110), 특정 레지스터(예, HRDATA)에 저장된 데이타값에 기초해(S130) SPI 속도(SPI speed) 결정, 상기 OIS 제어기(101) 리세트, 및 상기 메모리 리드 동작을 순차로 수행할 수 있다(S150).Referring to FIG. 5 , when the main power is supplied (S101) and the flashless controller 110 is confirmed as a state before the download of the driving firmware DFW based on the re-download prevention signal DO_NOT_REDOWNLOAD (S110) , SPI speed determination, OIS controller 101 reset, and memory read operation may be sequentially performed based on a data value stored in a specific register (eg, HRDATA) (S130) (S150) .

도 5에 도시된 과정에 대해 보다 자세히 설명한다.The process shown in FIG. 5 will be described in more detail.

상기 플래쉬리스 제어기(110)는, 주전원이 공급 여부를 판단하여(S101), 주전원이 공급되면, 상기 재다운로드 방지신호(DO_NOT_REDOWNLOAD)의 상태를 판단할 수 있다(S110).The flashless controller 110 may determine whether the main power is supplied (S101), and when the main power is supplied, the state of the re-download prevention signal DO_NOT_REDOWNLOAD may be determined (S110).

상기 판단 과정에서(S110), 상기 재다운로드 방지신호(DO_NOT_REDOWNLOAD)가 재다운로드 허용모드("0") 인지 여부를 판단하여, 상기 재다운로드 방지신호(DO_NOT_REDOWNLOAD)가 재다운로드 허용모드("0")가 아니고 재다운로드 방지모드("1")인 경우에는 이전 구동 펌웨어를 유지할 수 있고(S120), 상기 재다운로드 방지신호(DO_NOT_REDOWNLOAD)가 재다운로드 허용모드("0")인 경우에는 특정 레지스터(예, HRDATA)의 데이터값을 확인할 수 있다(S130).In the determination process (S110), it is determined whether the re-download prevention signal (DO_NOT_REDOWNLOAD) is in the re-download permission mode ("0"), and the re-download prevention signal DO_NOT_REDOWNLOAD is the re-download permission mode ("0") In the case of the re-download prevention mode (“1”) instead of , HRDATA) can be checked (S130).

다음, 상기 특정 레지스터(예, HRDATA)에 저장된 데이타값이 “특정값”인지 여부를 판단하여, 상기 특정 레지스터(예, HRDATA)에 저장된 데이타값이 “특정값”인 경우에는 초기 설정값으로 SPI 속도를 결정할 수 있고(S140), 상기 특정 레지스터(예, HRDATA)에 저장된 데이타값이 “특정값”이 아닌 경우에는 상기 특정 레지스터(예, HRDATA)에 저장된 데이타값에 기초해 SPI 속도를 결정할 수 있다(S150).Next, it is determined whether the data value stored in the specific register (eg, HRDATA) is a “specific value”. The speed can be determined (S140), and when the data value stored in the specific register (eg, HRDATA) is not a “specific value”, the SPI speed can be determined based on the data value stored in the specific register (eg, HRDATA). There is (S150).

여기서, OIS 장치가 복수의 OIS 드라이버 회로(예, OIS Driver IC)를 포함하는 경우, 복수의 OIS 드라이버 회로 각각은 SPI 속도와 관련된 발진기 클럭(Oscillator Clock)값이 서로 미소하게 다른 값일 수 있으므로, 이러한 발진기 클럭을 전술한 트리밍 과정을 통해서 설정해 줄 수 있다.Here, when the OIS device includes a plurality of OIS driver circuits (eg, OIS driver IC), the oscillator clock value related to the SPI speed of each of the plurality of OIS driver circuits may be slightly different from each other. The oscillator clock can be set through the trimming process described above.

예를 들어, 상기 SPI 속도 결정 과정(S150)은 하기와 같은 일련의 과정으로 이루어질 수 있다.For example, the SPI speed determination process ( S150 ) may be made of a series of processes as follows.

먼저, 상기 특정 레지스터(예, HRDATA)에 저장된 데이타값에 기초해 SPI 속도를 결정한 이후(S151), OIS 동작수행을 방지하도록 OIS 제어기(101)(예, MCU)의 리세트를 홀드하고(S152), 메모리 리드 동작(Memory read operation)을 수행하여 외부 메모리(200)에서 구동 펌웨어(DFW)를 읽어올 수 있다(S153).First, after determining the SPI speed based on the data value stored in the specific register (eg, HRDATA) (S151), the reset of the OIS controller 101 (eg, MCU) is held to prevent the OIS operation (S152) ), the driving firmware DFW may be read from the external memory 200 by performing a memory read operation (S153).

부연하면, 특정 레지스터(예, HRDATA)에 저장된 데이터값을 읽어서 SPI 속도(SPI Speed)를 결정할 수 있다. 일 예로, 특정 레지스터(예, HRDATA)에 저장된 데이터값 "0xMAX(0xFFF)" 또는 "MIN(0)" 일 경우에는 발진기 클럭이 변경된 값이 아니므로 초기 데이터값에 기초해 SPI 속도를 설정하게 된다. 파워 다운(Power Down) 모드(절전 모드)에서 파워 온(Power On) 모드(OIS 동작모드)로 재 전환 될 때 상기 특정 레지스터(예, HRDATA)에 저장된 데이터값을 다시 읽어 올 필요가 없기 때문에 재다운로드 방지신호(DO_NOT_REDOWNLOAD)의 상태 값을 확인할 수 있다.In other words, the SPI speed can be determined by reading a data value stored in a specific register (eg, HRDATA). For example, if the data value stored in a specific register (eg, HRDATA) is “0xMAX(0xFFF)” or “MIN(0)”, the oscillator clock is not a changed value, so the SPI speed is set based on the initial data value. . Because there is no need to read the data value stored in the specific register (eg HRDATA) again when it is switched back from the power down mode (power saving mode) to the power on mode (OIS operation mode), the You can check the status value of the download prevention signal (DO_NOT_REDOWNLOAD).

이와 같이, 발진기 클럭이 결정된 이후에는 외부 메모리(External Memory)(200)로부터 구동 펌웨어(DFW)를 읽어 오는 과정을 수행할 수 있다.As described above, after the oscillator clock is determined, a process of reading the driving firmware DFW from the external memory 200 may be performed.

도 6는 메모리 리드 동작에 대한 상세 예시도이다.6 is a detailed exemplary diagram of a memory read operation.

도 3 내지 도 6를 참조하면, 상기 플래쉬리스 제어기(110)는, 주전원이 공급되고(S101), OIS 제어기(101)(예, MCU)를 리세트 홀드하고(S210), 플래쉬리스 모드신호(FLS_MODE_NEN)의 상태값을 이용하여 통신모드를 확인할 수 있다(S220).3 to 6 , the flashless controller 110 receives the main power supply (S101), resets and holds the OIS controller 101 (eg, MCU) (S210), and performs a flashless mode signal (S210). The communication mode can be checked using the status value of FLS_MODE_NEN (S220).

예를 들어, 플래쉬리스 제어기(110)가 절전모드로 동작하는 동안에, 사용자의 동작 선택에 따라 주전원이 공급될 수 있으며, 이 경우에는 구동 펌웨어를 리드하는 부팅 동작을 수행할 수 있다. 이러한 부팅 동작의 초기에는 OIS 제어기(101)(예,MCU)를 리세트 홀드하는 과정(S210)과, 플래쉬리스 모드신호(FLS_MODE_NEN)의 상태값을 이용해 통신모드를 확인하는 과정(S220)을 수행할 수 있다.For example, while the flashless controller 110 operates in the power saving mode, main power may be supplied according to a user's operation selection, and in this case, a booting operation for reading the driving firmware may be performed. In the initial stage of this booting operation, a process of reset-holding the OIS controller 101 (eg, MCU) (S210) and a process of checking the communication mode using the state value of the flashless mode signal (FLS_MODE_NEN) (S220) are performed. can do.

예를 들어, 통신모드에 대해 설명하면, 플래쉬리스 제어기(110)에서는, SPI 통신을 이용하여 SPI 마스터 기능을 이용하여 구동 펌웨어(DFW)를 외부 메모리(200)에서 읽어 오는 SPI 통신모드와 어플리케이션(Application)에서 I2C 통신모드를 이용하여 외부 메모리(200)에서 구동 펌웨어(DFW)를 읽어오는 I2C 통신모드중에서 어느 하나를 설정 및 수행할 수 있다. For example, if the communication mode is described, in the flashless controller 110, the SPI communication mode and the application ( Application), it is possible to set and perform any one of the I2C communication modes in which the driving firmware (DFW) is read from the external memory 200 using the I2C communication mode.

일 예로, 플래쉬리스 모드신호(FLS_MODE_NEN)의 초기 설정값은 "0"이고, 이 경우에는 플래쉬리스 제어기(110)는 SPI 마스터(SPI Master)로 동작하여 SPI 슬래이부인 외부 메모리(200)로부터 구동 펌웨어(DFW)를 읽어와서 내부 메모리인 휘발성 메모리(130)에 저장할 수 있다(S230). For example, the initial setting value of the flashless mode signal FLS_MODE_NEN is “0”, and in this case, the flashless controller 110 operates as an SPI master and drives the firmware from the external memory 200 that is the SPI slave unit. (DFW) can be read and stored in the volatile memory 130 which is an internal memory (S230).

다른 일 예로, 어플리케이션(Application)에서 구동 펌웨어(DFW)를 다운로드하고 싶을 경우에는 플래쉬리스 모드신호(FLS_MODE_NEN)를 "1"로 설정하면, 이에 기초해서 이후 어플리케이션(Application)에 의해, I2C 통방모드를 이용하여, 구동 펌웨어를 다운로드하는 동작이 수행될 수 있다(S250).As another example, if the application (Application) wants to download the driving firmware (DFW), if the flashless mode signal (FLS_MODE_NEN) is set to “1”, then based on this, the I2C communication mode is set by the application Using this, an operation of downloading the driving firmware may be performed (S250).

먼저, OIS 제어기(101)(예, MCU) 리세트 홀드과정(S210)에 대해 설명한다.First, the OIS controller 101 (eg, MCU) reset hold process (S210) will be described.

일 예로, 구동 펌웨어(DFW)를 다운로드하느 동안에 다른 동작에 의해 방해를 받지 않기 위해서 OIS 제어기(101)를 리세트 할 수 있다.For example, the OIS controller 101 may be reset in order not to be interrupted by other operations while the driving firmware DFW is being downloaded.

상기 OIS 제어기(101) 리세트 홀드과정(S210)에서, SPI 통신모드를 수행하기 위해서는 플래쉬리스 비지신호(FLS_BUSY)를 "1"로 셋팅하고, I2C 통신모드를 수행하기 위해서는 12C 모드 인에이블 신호(I2C_MODE_EN)를 "1"로 셋팅하며, 이때 제어기 리세트 신호I2C 제어기 리세트 신호(I2c_mcu_resetn)를 "0"으로 리세트 할 수 있다.In the reset hold process (S210) of the OIS controller 101, the flashless busy signal (FLS_BUSY) is set to “1” to perform the SPI communication mode, and a 12C mode enable signal ( I2C_MODE_EN) is set to “1”, and in this case, the controller reset signal I2C controller reset signal I2c_mcu_resetn may be reset to “0”.

전술한 플래쉬리스 비지신호(FLS_BUSY), 12C 모드 인에이블 신호(I2C_MODE_EN), 및 제어기 리세트 신호I2C 제어기 리세트 신호(i2c_mcu_resetn)를 포함하여, OIS 제어기(101)의 리세트를 홀드하기 위한 신호로 이용될 수 있다.A signal for holding the reset of the OIS controller 101, including the aforementioned flashless busy signal (FLS_BUSY), 12C mode enable signal (I2C_MODE_EN), and controller reset signal I2C controller reset signal (i2c_mcu_resetn) can be used

여기서, OIS 제어기(101)의 리세트를 홀드하는 것은, 구동 펌웨어를 다운로드하는 동안에는, OIS 제어기(101)로부터 방해받지 않기 위함이다.Here, the reason for holding the reset of the OIS controller 101 is so as not to be disturbed by the OIS controller 101 while the driving firmware is being downloaded.

이와 같이, OIS 제어기(101)가 리세트 홀드되면, 플래쉬리스 제어기(110)는, 구동 펌웨어(DFW)를 가지고 있지 않으므로, OIS 제어기(101)의 동작을 정지시키고, 이후, 플래쉬리스 모드신호(FLS_MODE_NEN)를 확인하여, 구동 펌웨어 리드 동작을 수행하기 위한 통신모드를 결정할 수 있다.As such, when the OIS controller 101 is reset and held, the flashless controller 110 does not have the driving firmware DFW, so the operation of the OIS controller 101 is stopped, and thereafter, the flashless mode signal ( FLS_MODE_NEN) to determine the communication mode for performing the drive firmware read operation.

다음, 상기 플래쉬리스 제어기(110)는, 상기 플래쉬리스 모드신호(FLS_MODE_NEN)에 따라 통신모드를 확인할 수 있다(S220).Next, the flashless controller 110 may check the communication mode according to the flashless mode signal FLS_MODE_NEN ( S220 ).

일 예로, 상기 플래쉬리스 모드신호(FLS_MODE_NEN) 확인결과, SPI 통신모드로 설정된 경우(S220), SP 통신을 이용한 구동 펌웨어 리드 동작을 수행할 수 있다(S230).For example, as a result of checking the flashless mode signal (FLS_MODE_NEN), when the SPI communication mode is set (S220), a drive firmware read operation using SP communication may be performed (S230).

예를 들어, SP 통신을 이용한 구동 펌웨어 리드 동작(S230)에 대해 설명한다.For example, a drive firmware read operation ( S230 ) using SP communication will be described.

먼저, 상기 플래쉬리스 제어기(110)는, 상기 SPI 통신을 이용하여 상기 외부 메모리(200)로부터 상기 구동 펌웨어(DFW)를 다운로드 하며(S231), 상기 구동 펌웨어의 다운로드 완료후, 상기 플래쉬리스 비지 신호(FLS_BUSY)를 릴리즈(release)("1")하고(S232), 상기 재다운로드 방지신호(DO_NOT_REDOWNLOAD)를 세트("1")하고(S234), 핀접속 제어에 따라 채널 변경을 수행하고(S234), 상기 제어기 리세트 신호(I2c_mcu_resetn)를 릴리즈(release)("1")할 수 있다(S235).First, the flashless controller 110 downloads the driving firmware DFW from the external memory 200 using the SPI communication (S231), and after the download of the driving firmware is completed, the flashless busy signal (FLS_BUSY) is released ("1") (S232), the re-download prevention signal (DO_NOT_REDOWNLOAD) is set ("1") (S234), and a channel change is performed according to the pin connection control (S234) ), the controller reset signal I2c_mcu_resetn may be released (“1”) (S235).

한편, SPI 통신을 이용한 구동 범웨어 리드 동작을 설명하면, SPI 통신 수행중 I2C 통신 인트럽트가 있으면(S241), 상기 플래쉬리스 모드신호(FLS_MODE_NEN)의 상태값을 변경하고, 상기 플래쉬리스 모드신호(FLS_MODE_NEN) 확인결과, I2C 통신모드로 설정된 경우(S220), 어플리케이션에 의해 I2C 통신을 이용한 구동 펌웨어 리드 동작이 수행될 수 있다(S250)On the other hand, when explaining the driving Bumware read operation using SPI communication, if there is an I2C communication interrupt during SPI communication (S241), the state value of the flashless mode signal (FLS_MODE_NEN) is changed, and the flashless mode signal ( As a result of checking FLS_MODE_NEN), if the I2C communication mode is set (S220), a drive firmware read operation using I2C communication may be performed by the application (S250)

일 예로, SPI 통신을 이용한 구동 펌웨어 리드 동작 중에, 외부에서 I2C 통신모드를 수행하기 위한 인트럽트(Interrupt)가 있는지를 체크하여, 인트럽트(Interrupt)가 있으면, 통신모드를 변경하여, I2C 통신모드를 이용하여 어플리케이션에 으해 구동 펌웨어 리드 동작이 수행되고, 아니면 계속 SPI 통신모드를 이용한 구동 펌웨어 리드 동작이 수행될 수 있다. For example, during the drive firmware read operation using SPI communication, it is checked whether there is an interrupt for performing the I2C communication mode from the outside, and if there is an interrupt, the communication mode is changed and the I2C communication mode The driving firmware read operation may be performed by the application using , otherwise the driving firmware read operation using the SPI communication mode may be continuously performed.

예를 들어, SPI 통신 수행중 I2C 통신 인트럽트 체크 과정에 대해 설명한다.For example, an I2C communication interrupt check process during SPI communication will be described.

상기 플래쉬리스 제어기(110)는, 상기 플래쉬리스 모드신호(FLS_MODE_NEN)에 따라 상기 구동 펌웨어의 다운로드를 위한 SPI 통신 수행중 I2C 통신 인트럽트 여부를 체크하고(S241), I2C 통신 인트럽트가 있는 경우에는 통신모드 변경을 위해, 플래쉬리스 제어기의 동작을 리세트하고 핀 접속을 변경후 소정시간 경과하면(S242) 어플리케이션에 의해 I2C 통신모드를 이용한 구동 펌웨어 리드 동작이 수행될 수 있다.The flashless controller 110 checks whether there is an I2C communication interrupt while performing SPI communication for downloading the driving firmware according to the flashless mode signal FLS_MODE_NEN (S241), and if there is an I2C communication interrupt, To change the communication mode, when a predetermined time elapses after resetting the operation of the flashless controller and changing the pin connection (S242), the drive firmware read operation using the I2C communication mode may be performed by the application.

즉, 플래쉬리스 모드신호(FLS_MODE_NEN)의 상태값이 "0"인 경우, 플래쉬리스 모드신호(FLS_MODE_NEN)를 계속 확인하면서(S240), 플래쉬리스 제어기(110)는 SPI 통신모드를 이용하여 계속해서 외부 메모리(200)에서 구동 펌웨어(DFW)를 읽어 휘발성 메모리(130)에 저장한다(S230). That is, when the state value of the flashless mode signal FLS_MODE_NEN is “0”, while continuously checking the flashless mode signal FLS_MODE_NEN ( S240 ), the flashless controller 110 continues to external using the SPI communication mode. The driving firmware DFW is read from the memory 200 and stored in the volatile memory 130 (S230).

여기서, 플래쉬리스 모드신호(FLS_MODE_NEN)를 계속 확인하는 이유는, I2C 통신모드를 수행 동안에, 외부 어플리케이션(Application)으로부터, I2C 통신모드를 이용한 구동 펌웨어의 다운로드를 요청하는 제어권 이관 명령이 언제 수신될련지 모르기 때문에 계속적인 확인이 필요하다.Here, the reason for continuously checking the flashless mode signal (FLS_MODE_NEN) is that, while performing the I2C communication mode, the control right transfer command requesting the download of the driving firmware using the I2C communication mode from an external application is not known when it will be received. Therefore, continuous verification is necessary.

일 예로, 다운로드 수행중에 어플리케이션(Application)의 간섭이 없다면 SPI 통신모드를 이용해 계속 구동 펌웨어의 다운로드를 수행한다.For example, if there is no interference from an application during download, the download of the driving firmware is continuously performed using the SPI communication mode.

예를 들어 플래쉬리스 제어기(110)가 SPI 통신모드를 수행하여 SPI 마스터로 동작하고, SPI 슬레이브인 외부 메모리(200)로부터 구동 펌웨어(DFW)를 읽어 휘발성 메모리(130)에 저장하는 동작을 수행하는 동안에, 플래쉬리스 모드신호(FLS_MODE_NEN)의 상태 변화를 계속해서 모니터링 하면서 구동 펌웨어(DFW)를 읽어 온다. For example, the flashless controller 110 performs the SPI communication mode to operate as an SPI master, and reads the driving firmware (DFW) from the external memory 200 that is an SPI slave and stores it in the volatile memory 130 . During operation, the driving firmware DFW is read while continuously monitoring the state change of the flashless mode signal FLS_MODE_NEN.

만약 이때 어플리케이션(Application)에서 인트럽트(Interrupt)가 들어와 구동 펌웨어의 다운로드 방식을 변화시킬 경우, 즉 플래쉬리스 모드신호(FLS_MODE_NEN)의 상태값이 "1"로 세팅될 경우, 플래쉬리스 제어기(110)는 SPI 마스터로서 구동 펌웨어를 읽어 오는 동작을 멈추고 제어권을 어플리케이션(Application)에 넘긴다. If an interrupt comes from the application at this time to change the download method of the driving firmware, that is, when the state value of the flashless mode signal FLS_MODE_NEN is set to “1”, the flashless controller 110 As the SPI master, it stops the operation of reading the driving firmware and transfers the control right to the application.

이때, 플래쉬리스 제어기(110)는 SPI 통신을 이용한 펌웨어 리드 동작을 멈추고, 플래쉬리스 초기화 신호(FLS_BLOCK_INIT)의 상태값이 "0"으로 초기화 될 때까지 동작하지 않는다. At this time, the flashless controller 110 stops the firmware read operation using the SPI communication and does not operate until the state value of the flashless initialization signal FLS_BLOCK_INIT is initialized to “0”.

예를 들어, 상기 플래쉬리스 모드신호(FLS_MODE_NEN)에 따라 I2C 통신모드로 설정된 경우(S220), 어플리케이션에 의한 I2C 통신모드를 이용한 구동 펌웨어 리드 동작이 수행될 수 있다(S250).For example, when the I2C communication mode is set according to the flashless mode signal FLS_MODE_NEN (S220), a drive firmware read operation using the I2C communication mode by an application may be performed (S250).

일 예로, 상기 I2C 통신모드를 이용한 구동 펌웨어 리드 동작(S230)은, 상기 OIS 제어기(101)의 동작중지를 위해, 제어기 리세트 신호(I2c_mcu_resetn) 및 상기 플래쉬리스 비지 신호(FLS_BUSY)를 리세트("0") 하고(S251,S252), I2C 통신모드를 이용하여 상기 외부 메모리(200)로부터 상기 구동 펌웨어(DFW)를 다운로드 하며(S253), 상기 구동 펌웨어의 다운로드 완료후 상기 제어기 리세트 신호(I2c_mcu_resetn) 및 상기 플래쉬리스 비지 신호(FLS_BUSY)를 세트("1")할 수 있다.For example, the drive firmware read operation S230 using the I2C communication mode resets the controller reset signal I2c_mcu_resetn and the flashless busy signal FLS_BUSY to stop the operation of the OIS controller 101 . "0") and (S251, S252), the driving firmware (DFW) is downloaded from the external memory 200 using the I2C communication mode (S253), and after the download of the driving firmware is completed, the controller reset signal ( I2c_mcu_resetn) and the flashless busy signal FLS_BUSY may be set (“1”).

그 다음, 플래쉬리스 모드신호(FLS_MODE_NEN)의 상태값이 "1"로 변경되면 어플Ÿ케이션(Application)에서는 I2C 통신모드를 이용해 I2C 마스터(I2C Master)로 동작하여 데이터 버스(DATA BUS)를 이용하여 휘발성 메모리(130)에 직접적으로 구동 펌웨어(DFW)를 저장할 수 있다. Then, when the status value of the flashless mode signal (FLS_MODE_NEN) is changed to “1”, the application uses the I2C communication mode to operate as an I2C master and use the data bus. Thus, the driving firmware DFW may be directly stored in the volatile memory 130 .

부연하면, I2C 통신모드를 이용하여 구동 펌웨어의 다운로드를 하기 위해서는 제어기 리세트 신호(I2c_mcu_resetn)의 상태값을 "0"으로 하여, OIS 제어기(MCU)가 동작할 수 없도록 하고, 플래쉬리스 비지신호(FLS_BUSY) 또한 "0"으로 하여 SPI 동작이 아님을 표시할 수 있다.In other words, in order to download the driving firmware using the I2C communication mode, the state value of the controller reset signal (I2c_mcu_resetn) is set to “0” so that the OIS controller (MCU) cannot operate, and the flashless busy signal ( FLS_BUSY) can also be set to "0" to indicate that it is not an SPI operation.

그리고, I2C 통신모드를 이용하여 구동 펌웨어를 계속 다운로드를 수행하여, 구동 펌웨어에 대한 다운로드가 완료되면 OIS 제어기(MCU)가 동작할 수 있도록 제어기 리세트 신호(I2c_mcu_resetn)의 상태값이 "1"로 해제(release) 될 수 있다.In addition, the state value of the controller reset signal (I2c_mcu_resetn) is set to “1” so that the driving firmware is continuously downloaded using the I2C communication mode so that the OIS controller (MCU) can operate when the download of the driving firmware is completed. can be released.

전술한 구동 펌웨어의 다운로드가 완료되면, 플래쉬리스 제어기(110)는, 플래쉬리스 비지신호(FLS_BUSY)를 "0"으로 리세트하고, 재다운로드 방지신호(DO_NOT_REDOWNLOAD)를 "1"로 세트하여, 구동 펌웨어를 두번 다운로드 하는 것을 방지할 수 있다. When the download of the above-described driving firmware is completed, the flashless controller 110 resets the flashless busy signal FLS_BUSY to “0”, sets the re-download prevention signal DO_NOT_REDOWNLOAD to “1”, and drives You can avoid downloading the firmware twice.

예를 들어, 상기 플래쉬리스 제어기(110)는, 상기 구동 펌웨어의 다운로드 완료가 확인되면, 상기 플래쉬리스 비지신호(FLS_BUSY) 및 상기 재다운로드 방지신호(DO_NOT_REDOWNLOAD)의 상태값을 변경할 수 있다.For example, when the download completion of the driving firmware is confirmed, the flashless controller 110 may change the state values of the flashless busy signal FLS_BUSY and the re-download prevention signal DO_NOT_REDOWNLOAD.

다른 한편, SPI 통신에서, 상기 플래쉬리스 제어기(110)는 상기 핀 선택기(300)를 이용하여 상기 외부 메모리와의 핀 접속에서 자이로 센서부와의 핀 접속으로 변경할 수 있다. On the other hand, in SPI communication, the flashless controller 110 may change from a pin connection with the external memory to a pin connection with the gyro sensor unit by using the pin selector 300 .

일 예로, 플래쉬리스 제어기(110)가, SPI 마스터로 동작하는 경우, 주변 장치(예, 외부 메모리(200))와 3-와이어(3-wire) SPI 통신접속 또는 4-와이어(4-wire) SPI 통신접속이 이루어질 수 있다. 이에 대해 도 7 및 도 8을 참조하여 예를 들어 설명한다.For example, when the flashless controller 110 operates as an SPI master, a peripheral device (eg, external memory 200) and 3-wire SPI communication connection or 4-wire (4-wire) An SPI communication connection can be established. This will be described by way of example with reference to FIGS. 7 and 8 .

도 7은 플래쉬리스 드라이버 회로와 주변 장치간의 3-와이어(3-wire) SPI 통신모드의 핀 접속 예시도이고, 도 8은 플래쉬리스 드라이버 회로와 주변 장치간의 4-와이어(4-wire) SPI 통신모드의 핀 접속 예시도이다.7 is a diagram illustrating pin connection of a 3-wire SPI communication mode between a flashless driver circuit and a peripheral device, and FIG. 8 is a 4-wire SPI communication between a flashless driver circuit and a peripheral device. It is an example of pin connection of the mode.

도 7 및 도 8을 참조하면, 플래쉬리스 제어기(110)가, 상기 핀 선택기(300)를 이용하여, 상기 외부 메모리와의 핀 접속(예, SSX1 핀 접속)에서 자이로 센서부와의 핀 접속(에, SSX2 핀 접속)으로 변경할 수 있다.7 and 8 , the flashless controller 110 uses the pin selector 300 to connect a pin with the gyro sensor unit in a pin connection with the external memory (eg, SSX1 pin connection) ( In, SSX2 pin connection) can be changed.

일반적으로 SPI 통신은 총 4핀(SSX1, SCK, MOSI, MISO)으로 구성이 되는데, 4핀(SSX1, SCK, MOSI, MISO) 모두를 사용하면 4-와이어(4-wire) 통신모드가 되고, 4핀(SSX1, SCK, MOSI, MISO)중에서 3핀(SSX1, SCK, MOSI)만 사용하면 3-와이어(3-wire) 통신모드가 될 수 있다.In general, SPI communication consists of a total of 4 pins (SSX1, SCK, MOSI, MISO). If all 4 pins (SSX1, SCK, MOSI, MISO) are used, it becomes a 4-wire communication mode If only 3 pins (SSX1, SCK, MOSI) out of 4 pins (SSX1, SCK, MOSI, MISO) are used, 3-wire communication mode can be established.

도 7을 참조하면, 만약 3핀(SSX1, SCK, MOSI)만 사용한다면 4핀(SS1, SCK, MOSI, MISO)중 MISO핀을 SSX2로 할당하여 칩 선택기(Chip Selector) 핀으로 사용할 수 있다. Referring to FIG. 7 , if only 3 pins (SSX1, SCK, MOSI) are used, the MISO pin among the 4 pins (SS1, SCK, MOSI, MISO) may be assigned as SSX2 to be used as a chip selector pin.

먼저 상기 3핀(SSX1, SCK, MOSI)중 SSX1(chip selector1)을 이용하여 선택 할때는 외부 메모리(200)에서 데이터를 가져오게 되고, SSX2(chip selector2)를 이용하여 선택할 때는 자이로 센서부(10)에서 데이터를 가져오게 된다. First, when selecting using SSX1 (chip selector1) among the 3 pins (SSX1, SCK, MOSI), data is fetched from the external memory 200, and when selecting using SSX2 (chip selector2), the gyro sensor unit 10 data is fetched from

도 8을 참조하면, 4-와이어(4-wire) 통신모드를 사용하게 된다면 4핀(SSX1, SCK, MOSI, MISO)중 MISO 핀을 SSX2로 할당을 할 수 없게 되므로, 추가 PIN으로 SSX2를 할당해야 하고 동작은 상기 3-와이어(3-wire) 동작과 동일하다.Referring to FIG. 8 , if the 4-wire communication mode is used, the MISO pin among the 4 pins (SSX1, SCK, MOSI, MISO) cannot be assigned to SSX2, so SSX2 is assigned as an additional PIN. and the operation is the same as that of the 3-wire operation.

도 7 및 도 8과 같이, 3-와이어 통신모드 및 4-와이어 통신모드 각각은, 외부 메모리(200)에서 구동 펌웨어를 가져올 것인지, 아니면 자이로 센서부(10)에서 자이로 데이터를 가져올 인지는 핀 선택기(300)를 통해서 해당 핀(SSX1와 SSX2중 하나)를 선택(예, 채널선택)(도 7 및 도 8의 점선 화살표)하여 해당 동작을 수행할 수 있다.7 and 8, each of the 3-wire communication mode and the 4-wire communication mode is a pin selector whether to bring the driving firmware from the external memory 200 or the gyro data from the gyro sensor unit 10. A corresponding operation may be performed by selecting a corresponding pin (one of SSX1 and SSX2) (eg, channel selection) (dotted arrows in FIGS. 7 and 8 ) through 300 .

전술한 바와 같이, OIS 드라이버 회로에서, 플래수 메모리를 제거하면, OIS 드라이버 회로의 사이즈를 줄일 수 있고, OIS 드라이버 회로의 핀 수 역시 줄일 수 있으며, 이에 따라 OIS 장치의 사이즈를 줄일 수 있고 그 제작 비용을 절감할 수 있다.As described above, if the flag memory is removed from the OIS driver circuit, the size of the OIS driver circuit can be reduced, and the number of pins of the OIS driver circuit can also be reduced, thereby reducing the size of the OIS device and manufacturing the OIS driver circuit. cost can be reduced.

한편, 본 발명의 일 실시 예에 따른 OIS 장치의 OIS 제어기 및 플래쉬리스 제어기는, 프로세서(예: 중앙처리장치(CPU), 그래픽처리장치(GPU), 마이크로프로세서, 주문형 반도체(Application Specific Integrated Circuit, ASIC), Field Programmable Gate Arrays(FPGA) 등), 메모리(예: 휘발성 메모리(예를 들어, RAM 등), 비휘발성 메모리(예를 들어, ROM, 플래시 메모리 등), 입력 디바이스(예: 키보드, 마우스, 펜, 음성 입력 디바이스, 터치 입력 디바이스, 적외선 카메라, 비디오 입력 디바이스 등), 출력 디바이스(예: 디스플레이, 스피커, 프린터 등) 및 통신접속장치(예: 모뎀, 네트워크 인터페이스 카드(NIC), 통합 네트워크 인터페이스, 무선 주파수 송신기/수신기, 적외선 포트, USB 접속장치 등)이 서로 상호접속(예: 주변 구성요소 상호접속(PCI), USB, 펌웨어(IEEE 1394), 광학적 버스 구조, 네트워크 등)된 컴퓨팅 환경으로 구현될 수 있다.Meanwhile, the OIS controller and the flashless controller of the OIS device according to an embodiment of the present invention include a processor (eg, a central processing unit (CPU), a graphic processing unit (GPU), a microprocessor, an application specific integrated circuit, ASICs), Field Programmable Gate Arrays (FPGAs), etc.), memory (e.g. volatile memory (e.g. RAM, etc.), non-volatile memory (e.g. ROM, flash memory, etc.), input devices (e.g. keyboard, Mouse, pen, voice input device, touch input device, infrared camera, video input device, etc.), output device (eg display, speaker, printer, etc.) and communication interface (eg modem, network interface card (NIC), integration Computing in which network interfaces, radio frequency transmitters/receivers, infrared ports, USB connectors, etc.) are interconnected (e.g. Peripheral Component Interconnect (PCI), USB, Firmware (IEEE 1394), Optical Bus Architecture, Networks, etc.) It can be implemented in the environment.

상기 컴퓨팅 환경은 개인 컴퓨터, 서버 컴퓨터, 핸드헬드 또는 랩탑 디바이스, 모바일 디바이스(모바일폰, PDA, 미디어 플레이어 등), 멀티프로세서 시스템, 소비자 전자기기, 미니 컴퓨터, 메인프레임 컴퓨터, 임의의 전술된 시스템 또는 디바이스를 포함하는 분산 컴퓨팅 환경 등으로 구현될 수 있으나, 이에 한정되지 않는다.The computing environment may be a personal computer, server computer, handheld or laptop device, mobile device (mobile phone, PDA, media player, etc.), multiprocessor system, consumer electronics, minicomputer, mainframe computer, any of the foregoing systems or It may be implemented as a distributed computing environment including devices, but is not limited thereto.

이상에서는 본 발명을 실시 예로써 설명하였으나, 본 발명은 상기한 실시 예에 한정되지 아니하며, 특허청구범위에서 청구하는 본 발명의 요지를 벗어남이 없이 당해 발명이 속하는 분야에서 통상의 지식을 가진 자라면 누구든지 다양한 변형이 가능할 것이다.In the above, the present invention has been described as an embodiment, but the present invention is not limited to the above embodiment, and without departing from the gist of the present invention as claimed in the claims, those of ordinary skill in the art to which the invention pertains Anyone can make various modifications.

10: 자이로 센서부
100: 플래쉬리스 OIS 드라이버 회로;
101: OIS 제어기
110: 플래쉬리스 제어기
115: APO 레지스터
116: 특정 레지스터
130: 휘발성 메모리
200: 외부 메모리
300: 핀 선택기
10: gyro sensor unit
100: flashless OIS driver circuit;
101: OIS controller
110: flashless controller
115: APO register
116: specific register
130: volatile memory
200: external memory
300: pin selector

Claims (17)

손떨림 보정 기능을 갖는 OIS 드라이버 회로에 있어서,
주전원 오프상태인 로우 파워 상태에서 주전원이 공급되면, 부팅 동작을 수행하여, 외부 메모리로부터 구동 펌웨어를 읽어오는 플래쉬리스 제어기; 및
상기 플래쉬리스 제어기에 의해 읽혀진 상기 구동 펌웨어를 저장하는 휘발성 메모리;
를 포함하는 플래쉬리스 OIS 드라이버 회로.
In the OIS driver circuit having an image stabilization function,
a flashless controller that reads driving firmware from an external memory by performing a booting operation when main power is supplied in a low power state that is a main power off state; and
a volatile memory for storing the driving firmware read by the flashless controller;
A flashless OIS driver circuit comprising a.
제1항에 있어서, 상기 플래쉬리스 제어기는,
주전원 공급과 관계없이, 전원을 공급받고, 구동 펌웨어의 다운로드에 관한 상태 신호들을 제공하는 APO (Always Power On) 레지스터를 포함하는
플래쉬리스 OIS 드라이버 회로.
According to claim 1, wherein the flashless controller,
It receives power regardless of mains power supply and includes an Always Power On (APO) register that provides status signals regarding the download of the driving firmware.
Flashless OIS driver circuit.
제2항에 있어서, 상기 APO 레지스터는,
상기 구동 펌웨어의 다운로드 진행중 여부를 알리는 플래쉬리스 비지신호(FLS_BUSY)를 출력하는 제1 레지스터;
반복 다운로드를 방지하기 위해 다운로드 여부를 알리는 재다운로드 방지신호(DO_NOT_REDOWNLOAD)를 출력하는 제2 레지스터;
초기화에 따른 다운로드 개시 여부를 알리는 플래쉬리스 초기화 신호(FLS_BLOCK_INIT)를 출력하는 제3 레지스터; 및
다운로드 통신방식을 알리는 플래쉬리스 모드신호(FLS_MODE_NEN)를 출력하는 제4 레지스터;
를 포함하는 플래쉬리스 OIS 드라이버 회로.
The method of claim 2, wherein the APO register comprises:
a first register outputting a flashless busy signal (FLS_BUSY) indicating whether the driving firmware is being downloaded;
a second register for outputting a re-download prevention signal (DO_NOT_REDOWNLOAD) informing whether or not to download to prevent repeated download;
a third register outputting a flashless initialization signal (FLS_BLOCK_INIT) indicating whether to start downloading according to initialization; and
a fourth register for outputting a flashless mode signal (FLS_MODE_NEN) indicating a download communication method;
A flashless OIS driver circuit comprising a.
제3항에 있어서, 상기 플래쉬리스 제어기는,
주전원이 공급되고, 상기 재다운로드 방지신호(DO_NOT_REDOWNLOAD)에 기초해 상기 구동 펌웨어의 다운로드 이전상태로 확인되면, 특정 레지스터의 데이타값에 기초해 SPI 속도(SPI speed) 결정, OIS 제어기 리세트, 및 메모리 리드 동작을 수행하는,
플래쉬리스 OIS 드라이버 회로.
The method of claim 3, wherein the flashless controller,
When the main power is supplied and the state before the download of the driving firmware is confirmed based on the re-download prevention signal (DO_NOT_REDOWNLOAD), the SPI speed is determined based on the data value of a specific register, the OIS controller is reset, and the memory performing a lead operation,
Flashless OIS driver circuit.
제3항에 있어서, 상기 플래쉬리스 제어기는
상기 플래쉬리스 모드신호(FLS_MODE_NEN)에 따라 SPI 통신모드로 설정된 경우, SP 통신을 이용한 구동 펌웨어 리드 동작을 수행하는
플래쉬리스 OIS 드라이버 회로.
4. The method of claim 3, wherein the flashless controller is
When the SPI communication mode is set according to the flashless mode signal (FLS_MODE_NEN), the drive firmware read operation using SP communication is performed.
Flashless OIS driver circuit.
제5항에 있어서, 상기 플래쉬리스 제어기는
상기 플래쉬리스 모드신호(FLS_MODE_NEN)에 따라 상기 구동 펌웨어의 다운로드를 위한 SPI 통신 수행중 I2C 통신 인트럽트 여부를 체크하고, I2C 통신 인트럽트가 있는 경우에는 해당 인트럽트를 처리하기 위해 상기 플래쉬리스 모드신호(FLS_MODE_NEN)의 상태값을 변경하는
플래쉬리스 OIS 드라이버 회로.
The method of claim 5, wherein the flashless controller is
According to the flashless mode signal (FLS_MODE_NEN), it is checked whether I2C communication is interrupted during SPI communication for downloading the driving firmware, and if there is an I2C communication interrupt, the flashless mode signal is used to process the corresponding interrupt. To change the state value of (FLS_MODE_NEN)
Flashless OIS driver circuit.
제3항에 있어서, 상기 플래쉬리스 제어기는
상기 플래쉬리스 모드신호(FLS_MODE_NEN)에 따라 I2C 통신모드로 설정된 경우, 어플리케이션에게 제어권을 넘겨서 I2C 통신모드를 이용한 구동 펌웨어 리드 동작을 수행하도록 하는,
플래쉬리스 OIS 드라이버 회로.
4. The method of claim 3, wherein the flashless controller is
When the I2C communication mode is set according to the flashless mode signal (FLS_MODE_NEN), the control is transferred to the application to perform a drive firmware read operation using the I2C communication mode,
Flashless OIS driver circuit.
제3항에 있어서, 상기 플래쉬리스 제어기는, 주전원 온시, 부팅 동작을 위해 리세트되고, 부팅 동작 이후에 OIS(Optical Image Stabilization) 동작을 개시하는 OIS 제어기를 더 포함하며,
상기 플래쉬리스 제어기는,
상기 구동 펌웨어의 다운로드 완료가 확인되면, 상기 플래쉬리스 비지신호(FLS_BUSY) 및 상기 재다운로드 방지신호(DO_NOT_REDOWNLOAD)의 상태값을 변경하고, 핀 선택기를 이용하여 외부 메모리와의 핀 접속에서 자이로 센서부와의 핀 접속으로 변경하는
플래쉬리스 OIS 드라이버 회로.
The method of claim 3, wherein the flashless controller further comprises an OIS controller that is reset for a booting operation when the main power is turned on, and starts an OIS (Optical Image Stabilization) operation after the booting operation,
The flashless controller is
When the download completion of the driving firmware is confirmed, the state values of the flashless busy signal (FLS_BUSY) and the re-download prevention signal (DO_NOT_REDOWNLOAD) are changed, and the gyro sensor unit and the pin connection with the external memory using a pin selector to change to the pin connection of
Flashless OIS driver circuit.
손떨림 보정 기능을 갖는 OIS 장치에 있어서,
구동 펌웨어를 저장하는 외부 메모리; 및
주전원이 공급되면 부팅 동작을 개시하여, 상기 외부 메모리로부터 상기 구동 펌웨어를 읽어와서 휘발성 메모리에 저장하는 플래쉬리스 OIS 드라이버 회로;
를 포함하는 OIS 장치.
In the OIS device having an image stabilization function,
external memory for storing driving firmware; and
a flashless OIS driver circuit that starts a booting operation when main power is supplied, reads the driving firmware from the external memory and stores it in a volatile memory;
OIS device comprising a.
제9항에 있어서, 상기 OIS 장치는,
손 떨림 정보에 대응되는 자이로 데이터를 갖는 자이로 센서부; 를 더 포함하고,
상기 플래쉬리스 OIS 드라이버 회로는,
부팅 동작 이후에는 상기 자이로 센서부로부터 상기 자이로 데이터를 읽어오는
OIS 장치.
The method of claim 9, wherein the OIS device,
a gyro sensor unit having gyro data corresponding to hand shake information; further comprising,
The flashless OIS driver circuit comprises:
After the booting operation, the gyro data is read from the gyro sensor unit.
OIS device.
제10항에 있어서, 상기 플래쉬리스 OIS 드라이버 회로는,
주전원 공급과 관계없이, 전원을 공급받고, 구동 펌웨어의 다운로드에 관한 상태 신호들을 제공하는 APO 레지스터를 포함하고, 주전원 오프상태인 로우 파워 상태에서 주전원이 공급되면, 부팅 동작을 개시하여 외부 메모리로부터 구동 펌웨어를 읽어오는 플래쉬리스 제어기; 및
상기 플래쉬리스 제어기에 의해 읽혀진 상기 구동 펌웨어를 저장하는 상기 휘발성 메모리;
를 포함하는 OIS 장치.
The method of claim 10, wherein the flashless OIS driver circuit comprises:
It receives power regardless of main power supply and includes an APO register that provides status signals related to downloading of driving firmware. Flashless controller that reads firmware; and
the volatile memory for storing the driving firmware read by the flashless controller;
OIS device comprising a.
제11항에 있어서, 상기 APO 레지스터는,
상기 구동 펌웨어의 다운로드 진행중 여부를 알리는 플래쉬리스 비지신호(FLS_BUSY)를 출력하는 제1 레지스터;
반복 다운로드를 방지하기 위해 다운로드 여부를 알리는 재다운로드 방지신호(DO_NOT_REDOWNLOAD)를 출력하는 제2 레지스터;
초기화에 따른 다운로드 개시 여부를 알리는 플래쉬리스 초기화 신호(FLS_BLOCK_INIT)를 출력하는 제3 레지스터; 및
다운로드 통신방식을 알리는 플래쉬리스 모드신호(FLS_MODE_NEN)를 출력하는 제4 레지스터;
를 포함하는 OIS 장치.
12. The method of claim 11, wherein the APO register,
a first register outputting a flashless busy signal (FLS_BUSY) indicating whether the driving firmware is being downloaded;
a second register for outputting a re-download prevention signal (DO_NOT_REDOWNLOAD) informing whether or not to download to prevent repeated download;
a third register outputting a flashless initialization signal (FLS_BLOCK_INIT) indicating whether to start downloading according to initialization; and
a fourth register for outputting a flashless mode signal (FLS_MODE_NEN) indicating a download communication method;
OIS device comprising a.
제12항에 있어서, 상기 플래쉬리스 제어기는,
주전원이 공급되고, 상기 재다운로드 방지신호(DO_NOT_REDOWNLOAD)에 기초해 상기 구동 펌웨어의 다운로드 이전상태로 확인되면, 특정 레지스터에 기초해 SPI 속도(SPI speed) 결정, OIS 제어기 리세트, 및 메모리 리드 동작을 수행하는,
OIS 장치.
The method of claim 12, wherein the flashless controller,
When the main power is supplied and the state before the download of the driving firmware is confirmed based on the re-download prevention signal (DO_NOT_REDOWNLOAD), SPI speed determination, OIS controller reset, and memory read operation are performed based on a specific register. performing,
OIS device.
제12항에 있어서, 상기 플래쉬리스 제어기는
상기 플래쉬리스 모드신호(FLS_MODE_NEN)에 따라 SPI 통신모드로 설정된 경우, SP 통신을 이용한 구동 펌웨어 리드 동작을 수행하는
OIS 장치.
13. The method of claim 12, wherein the flashless controller is
When the SPI communication mode is set according to the flashless mode signal (FLS_MODE_NEN), the drive firmware read operation using SP communication is performed.
OIS device.
제14항에 있어서, 상기 플래쉬리스 제어기는,
상기 플래쉬리스 모드신호(FLS_MODE_NEN)에 따라 상기 구동 펌웨어의 다운로드를 위한 SPI 통신 수행중 I2C 통신 인트럽트 여부를 체크하고, I2C 통신 인트럽트가 있는 경우에는 해당 인트럽트를 처리하기 위해 상기 플래쉬리스 모드신호(FLS_MODE_NEN)의 상태값을 변경하는
OIS 장치.
15. The method of claim 14, wherein the flashless controller,
According to the flashless mode signal (FLS_MODE_NEN), it is checked whether I2C communication is interrupted during SPI communication for downloading the driving firmware, and if there is an I2C communication interrupt, the flashless mode signal is used to process the corresponding interrupt. To change the state value of (FLS_MODE_NEN)
OIS device.
제12항에 있어서, 상기 플래쉬리스 제어기는,
상기 플래쉬리스 모드신호(FLS_MODE_NEN)에 따라 I2C 통신모드로 설정된 경우, 어플리케이션에게 제어권을 넘겨서 I2C 통신모드를 이용한 구동 펌웨어 리드 동작을 수행히도록 하는,
OIS 장치.
The method of claim 12, wherein the flashless controller,
When the I2C communication mode is set according to the flashless mode signal (FLS_MODE_NEN), the control is transferred to the application to perform a drive firmware read operation using the I2C communication mode,
OIS device.
제12항에 있어서, 상기 플래쉬리스 제어기는
주전원 온시, 상기 플래쉬리스 제어기에 의해 부팅 동작을 위해 리세트되고, 부팅 동작 이후에 OIS(Optical Image Stabilization) 동작을 개시하는 OIS 제어기; 및
상기 자이로 센서부와 상기 외부 메모리중 하나와 핀 접속을 선택하는 핀 선택기; 를 더 포함하고,
상기 플래쉬리스 제어기는,
상기 구동 펌웨어의 다운로드 완료가 확인되면, 상기 플래쉬리스 비지신호(FLS_BUSY) 및 상기 재다운로드 방지신호(DO_NOT_REDOWNLOAD)의 상태값을 변경하고, 상기 핀 선택기를 이용하여 상기 외부 메모리와의 핀 접속에서 상기 자이로 센서부와의 핀 접속으로 변경하는
OIS 장치.
13. The method of claim 12, wherein the flashless controller is
an OIS controller that is reset for a booting operation by the flashless controller when the main power is turned on, and starts an OIS (Optical Image Stabilization) operation after the booting operation; and
a pin selector for selecting a pin connection with one of the gyro sensor unit and the external memory; further comprising,
The flashless controller is
When the download completion of the driving firmware is confirmed, the state values of the flashless busy signal (FLS_BUSY) and the re-download prevention signal (DO_NOT_REDOWNLOAD) are changed, and the gyro is connected to the external memory by using the pin selector. Changed by pin connection with the sensor unit
OIS device.
KR1020200123131A 2020-09-23 2020-09-23 Flashless ois driver circuit and ois device KR20220040202A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020200123131A KR20220040202A (en) 2020-09-23 2020-09-23 Flashless ois driver circuit and ois device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020200123131A KR20220040202A (en) 2020-09-23 2020-09-23 Flashless ois driver circuit and ois device

Publications (1)

Publication Number Publication Date
KR20220040202A true KR20220040202A (en) 2022-03-30

Family

ID=80948283

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020200123131A KR20220040202A (en) 2020-09-23 2020-09-23 Flashless ois driver circuit and ois device

Country Status (1)

Country Link
KR (1) KR20220040202A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023217186A1 (en) * 2022-05-13 2023-11-16 华为技术有限公司 System-on-chip, and power-on recovery method for related system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023217186A1 (en) * 2022-05-13 2023-11-16 华为技术有限公司 System-on-chip, and power-on recovery method for related system

Similar Documents

Publication Publication Date Title
US10277816B2 (en) Systems and methods to reduce actuator power leakage
CN109803066B (en) Electronic device and method for generating a clock signal within a camera module
KR102460750B1 (en) Camera apparatus having ois function and communication method thereof
EP3432572B1 (en) Image capturing accessory, image capturing apparatus, control method thereof and communication control program
JP5997867B2 (en) Device driver registration apparatus and device driver registration method using the same
JP6786937B2 (en) Information processing system, client terminal and program
WO2019192244A1 (en) Parameter configuration method and device, and display device
US20230209189A1 (en) Communication circuit, control method and apparatus, and electronic device
CN111050035B (en) Camera module
US11825194B2 (en) Image capturing apparatus and method for controlling the same, and non-transitory computer-readable storage medium
CN111459523A (en) Image quality chip software upgrading method and device, electronic equipment and storage medium
KR20220040202A (en) Flashless ois driver circuit and ois device
CN107749949B (en) Camera self-adaption method, camera self-adaption device and electronic equipment
JP6166053B2 (en) Semiconductor device, communication system, camera shake correction controller, imaging device, electronic equipment
JP7247662B2 (en) ELECTRONIC DEVICE WITH POWER SUPPLY AND METHOD PERFORMED BY ELECTRONIC DEVICE WITH POWER SUPPLY
US20220279118A1 (en) Image capturing apparatus, method for controlling image capturing apparatus, information processing apparatus
US8751693B2 (en) Apparatus for and method of processing data
KR102212080B1 (en) Variable interval for periodic fix requests of multiple clients
JP5569319B2 (en) Digital camera
WO2022159090A1 (en) Electronic device bios updates
WO2019131935A1 (en) Image blurring correction device, image capture device, image blurring correction method, and image blurring correction program
JP7273127B1 (en) Camera modules, portable electronics and position control systems
KR20180078008A (en) Micro gimbal camera
CN113836069B (en) Chip, pin operation method, readable storage medium and electronic device
US7779330B1 (en) Method and apparatus for computing checksum of packets