Abstract:
The present invention relates to a micro robot control apparatus using magnetic sensors. The apparatus includes a direction control coil unit having first and second circular coils of the same radius coaxially spaced apart from each other and generating a uniform magnetic field region in some areas of the spaced space to control the direction of a micro robot within the magnetic field regions of the first and second circular coils; a power supply unit supplying a current value of the same current direction to the first and second circular coils to form the uniform magnetic field region; first and second magnetic sensors spaced apart from each other outside the first and second circular coils to detect the first and second magnetic field strength; and a current amount control unit controlling the power supply unit to maintain the current value previously supplied to the first and second circular coils if the difference between the first and second magnetic field strengths is within an error range, or to control the current value of the first or second circular coil if the difference is deviated from the error range. Therefore, it is possible to compensate the magnetic field strength, which is caused by the disturbance, by the values detected by the magnetic sensors disposed outside two circular coils, and to form the further uniform magnetic field. [Reference numerals] (111) First circular coil; (112) Second circular coil; (120) First magnetic sensor; (130) Second magnetic sensor; (AA,CC) Uniform magnetic field region; (BB) Magnetic field strength; (DD) Sum of magnetic fields of first and second circular coils; (EE) Coil 1; (FF) Coil 2; (GG) Center; (HH) Distance from center of coil
Abstract:
태스크 상태변화가 반드시 스케줄링과 태스크 컨텍스트 스위칭을 필요로 하는 경우와 그렇지 않은 경우를 구분하고, 상태변화에 따른 우선순위에 따라 차량용 실시간 운영체제 내 OS 스케줄러의 기능을 분산한다. 본 발명에 따른 차량용 실시간 운영체제의 스케줄링 방법은, Running, Ready, Waiting, Suspended의 네 가지 상태 중 하나의 상태로부터 다른 하나의 상태로 변화하는 태스크의 상태변화 발생을 감지하는 단계; 상기 상태변화가 Waiting으로부터 Ready로의 변화이거나, Suspended로부터 Ready로의 변화인 경우, 제1 플래그를 On으로 설정하는 단계; 상기 상태변화에 따라 새롭게 Ready 상태로 된 태스크의 우선순위가 현재 Running 상태의 태스크의 우선순위보다 높은 경우, 제2 플래그를 True로 설정하는 단계; 및 상기 차량용 실시간 운영체제의 스케줄러를 호출하는 단계를 포함한다.
Abstract:
본 발명은 운영체제가 콘텍스트 스위치를 위해서 참조하는 테스크 스케줄링 테이블을 배열로 구성하여 테이블을 단순화함으로써 운영체제의 실시간성 및 성능을 향상시킬 수 있는 실시간 운영체제의 테스크 스케줄링 테이블을 이용한 테스크 관리장치 및 관리방법에 관한 것으로, 일정 영역에 배열을 이용한 고정된 테스크 스케줄링 테이블을 구성하여 다수의 테스크를 저장하는 메모리, 및 운영체제에서 하나의 테스크를 실행하고, 콘텍스트 스위치의 발생을 판단하여 현재 테스크를 상기 메모리의 테스크 스케줄링 테이블에 저장하고 다음 실행될 테스크를 리딩하여 실행시키는 마이크로프로세서를 포함한다.
Abstract:
PURPOSE: A task management device using an array-type task scheduling table of a real-time operating system and a management method thereof are provided to comprise the task scheduling table that the operating system refers for a context switch as an array, thereby improving real-time performance of the operating system. CONSTITUTION: A memory(20) stores tasks by comprising a task scheduling table(21) which is fixed by using arrays in a constant area. When one task is executed in an operating system, a microprocessor(10) stores a current task in the task scheduling table by determining generation of a context switch and executes a next task by reading the same. A specification of each task is assigned to the task scheduling table. [Reference numerals] (10) Microprocessor; (11) Real time operating system; (20) Memory; (21) Task scheduling table; (AA) Task 1; (BB) Task 2; (CC) Task 3; (DD) Task 4; (EE) Task N