KR100437347B1 - Fan operation controlling method for improving cooling efficiency in a small transmitter - Google Patents

Fan operation controlling method for improving cooling efficiency in a small transmitter Download PDF

Info

Publication number
KR100437347B1
KR100437347B1 KR10-2001-0082831A KR20010082831A KR100437347B1 KR 100437347 B1 KR100437347 B1 KR 100437347B1 KR 20010082831 A KR20010082831 A KR 20010082831A KR 100437347 B1 KR100437347 B1 KR 100437347B1
Authority
KR
South Korea
Prior art keywords
speed
fan
temperature
value
alarm
Prior art date
Application number
KR10-2001-0082831A
Other languages
Korean (ko)
Other versions
KR20030052792A (en
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 KR10-2001-0082831A priority Critical patent/KR100437347B1/en
Publication of KR20030052792A publication Critical patent/KR20030052792A/en
Application granted granted Critical
Publication of KR100437347B1 publication Critical patent/KR100437347B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q1/00Details of selecting apparatus or arrangements
    • H04Q1/02Constructional details
    • H04Q1/035Cooling of active equipments, e.g. air ducts
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q1/00Details of selecting apparatus or arrangements
    • H04Q1/02Constructional details
    • H04Q1/08Frames or mounting racks for relays; Accessories therefor

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Cold Air Circulating Systems And Constructional Details In Refrigerators (AREA)

Abstract

본 발명은 소형 중계기의 냉각효율 향상을 위한 팬 동작 제어 방법에 관한 것으로, 더욱 상세하게는 소형 중계기의 냉각효율 향상을 위한 팬 동작 제어 방버베 관한 것이다.The present invention relates to a fan operation control method for improving the cooling efficiency of a small repeater, and more particularly to a fan operation control bomber for improving the cooling efficiency of a small repeater.

이를 위하여 본 발명은, 본 발명의 소형 중계기의 냉각효율 향상을 위한 팬 동작 제어 방법은, 팬이 일정한 시간을 두고 저민적인 크기로 회전되도록 하여 초기 설정치까지 속도가 증가되는지 판별하는 제1단계와; 상기 팬의 속도가 초기 설정치까지 증가된 경우, 직렬송신을 하기 위한 시간을 체크하기 위해 직렬 카운트를 증가시키는 제2단계와; 상기 직렬 카운트 값이 송신 가능한 것으로 판단되면 직렬송신을 수행하는 제3단계와; 현재의 온도값을 읽고 온도에 따른 처리가능 여부에 대한 상태를 설정하는 제4단계와; 상기 처리가능인 경우 온도값에 따라 팬의 속도를 조절하는 동작으로 가기 위한 속도조절시간을 증가시키는 제5단계와; 상기 속도조절시간이 된 경우 새로운 온도값을 저장한 후 팬 속도조절을 실행하는 제6단계 그리고, 동작 중 오류발생 여부를 검사하는 제7단계로 이루어진 것에 특징이 있다.To this end, the present invention, the fan operation control method for improving the cooling efficiency of the small repeater of the present invention comprises: a first step of determining whether the speed is increased to the initial set value by allowing the fan to rotate at a low size over a certain time; A second step of increasing the serial count to check time for serial transmission when the fan speed is increased to an initial set value; Performing a serial transmission if the serial count value is determined to be transmittable; A fourth step of reading a current temperature value and setting a state of whether it can be processed according to the temperature; A fifth step of increasing a speed adjustment time for going to the operation of adjusting the speed of the fan according to the temperature value if the processing is possible; When the speed adjustment time is reached, the sixth step of executing a fan speed control after storing a new temperature value, and the seventh step of checking whether an error occurs during operation.

Description

소형 중계기의 냉각효율 향상을 위한 팬 동작 제어방법 {Fan operation controlling method for improving cooling efficiency in a small transmitter}Fan operation controlling method for improving cooling efficiency in a small transmitter

본 발명은 소형 중계기의 냉각효율 향상을 위한 팬 동작 제어 방법에 관한 것으로, 더욱 상세하게는 중계기의 내부 온도에 따라 팬의 회전속도를 조절하고, 오류발생시 그 원인을 정확히 파악하며, 자체의 도어 개폐상황에 따라 팬의 동작개시 및 정지를 제어하기 위한 소형 중계기의 냉각효율 향상을 위한 팬 동작 제어 방법에 관한 것이다.The present invention relates to a fan operation control method for improving the cooling efficiency of a small repeater, and more particularly, to adjust the rotation speed of the fan according to the internal temperature of the repeater, to accurately determine the cause of the error, and to open and close the door itself The present invention relates to a fan operation control method for improving the cooling efficiency of a small repeater for controlling the start and stop of the fan according to the situation.

일반적으로 통신시스템 뿐만 아니라 각종 전기 전자기기는 많은 전기 전자부품으로 구성되는데, 이들 각각의 부품에 흐르는 전류로 인하여 발생되는 자체온도는 계속해서 상승하므로, 전기 전자기기를 장기간 구동하다 보면 온도상승에 부응하는 과전류가 흐르게 되므로 각 부품은 작동오류를 발생하게 된다.In general, various electrical and electronic devices as well as communication systems are composed of a large number of electrical and electronic components, the temperature generated by the current flowing through each of these components continues to rise, so long-term operation of the electrical and electronic equipment to meet the temperature rise Each part generates an operating error because of the overcurrent.

따라서, 전자기기의 내부에서 각 전자부품의 자체온도를 떨어뜨리려는 수단으로 외부의 차가운 공기와 접촉되는 면적을 최대로 넓히기 위한 방열판과 부품의 열을 강제로 냉각시키려는 팬(Fan)이 있다.Therefore, there is a fan for forcibly cooling the heat of the heat sink and the component to maximize the area of contact with the external cold air as a means of lowering the temperature of each electronic component in the electronic device.

상기 팬은 종래에는 정해진 RPM으로 단순히 기준값을 중심으로 온/오프하는 것이있는데, 이는 온도의 상태에 따라 정해진 RPM을 가지기 때문에 외부 공기가 더운 여름철의 경우 충분한 대처를 할 수 없다는 단점이 있다.한편 최근에는 상기와 같은 문제점을 해결하기 위하여 랙의 내부 온도에 의하여 냉각용 휀의 속도를 조절할수 있도록 한 방법(대한민국 1997년 특허출원 제012161호 교환기 등의 송환풍 장치 제어방법및 그 시스템)이 안출되었는 바, 그 방법을 살펴보면 다음과 같다.주위 온도 감지와 그 온도 변화에 따라 변하는 미약한 전압 변화를 증폭한 후, 상기 증폭된 전압을 온도로 환산하여 송환풍 팬의 회전 속도 레벨을 검출하고 상기 회전 속도 레벨에 비례하는 제어 전압의 공급에 의해 송환풍 팬의 회전 속도가 조절되며, 회전 속도가 설정치 이하로 저하되면 알람 시그널이 발생되고; 상기 제어 전압이 최대일 때만 유입되는 풍량을 체크하여 풍량이 감소되었을 경우 알람 시그널이 발생되는 제어방법과;온도를 감지하여 온도 변화에 따라 전압이 변하는 온도 센서와;상기 온도 센서의 미약한 전압 변화를 증폭하여 송환풍 팬의 제어에 필요한 신호원을 제공하는 OP AMP와;증폭된 전압을 온도로 환산하여 송환풍 팬의 회전 속도 레벨을 검출하는 비교기와;뒷단에 연결되는 구동부의 제어 전압을 발생시키는 전압 발생기와; 송환풍 팬을 구동하기 위한 전원을 공급하는 공급부와;공급되는 전압에 비례하여 회전하고, 회전 속도에 비례한 파형 발생기가 내장된 송환풍 팬과;상기 송환풍 팬의 회전 속도를 파형으로 연산하여 설정치 이하로 송환풍 팬의 회전 속도가 저하되면 알람 시그널을 발생하는 파형 검출기와;송환풍 장치에 유입되는 풍량이 감소되었을 경우 알람 시그널을 발생하는 풍량 센서와;상기 전압 발생기에서 발생한 전압이 최대일 때만 상기 풍량 센서의 체크 시기를 결정하는 앤드 케이트로 구성된 제어방법이다.그러나 상기의 방법은 단순히 랙의 내부에 온도변화에 의하여 온도감지센서를 이용하여 온도변화에 의하여 발생되는 전압을 증폭 한 후 증폭된 전압을 온도로 환산하여 휀의 회전속도를 조절할 수 있도록 한 것으로, 랙의 도어를 열고 닫을 경우와 랙의 도어를 열었을 경우 휀이 계속 작동됨으로서, 랙의 수리할 경우 휀 자체를 오프시켜야 하는 문제점이 있었던 것이다.The fan has a conventional RPM to simply turn on / off around the reference value at a predetermined RPM, which has a predetermined RPM depending on the state of the temperature, so that the fan cannot cope sufficiently in the summer when the outside air is hot. In order to solve the above problems, a method for controlling the cooling fan speed by the internal temperature of the rack (a method and a system for controlling a return air blower such as a Korean patent application No. 012161 exchanger and the like) has been devised. The method is as follows. Ambient temperature is sensed and the weak voltage change that changes according to the temperature change is amplified, and then the amplified voltage is converted into a temperature to detect the rotational speed level of the return air fan and the rotation. The rotation speed of the return fan is adjusted by supplying a control voltage proportional to the speed level, and the rotation speed is When lowered the alarm signal is generated; A control method in which an alarm signal is generated when the amount of air flow is reduced by checking the amount of air flowing only when the control voltage is maximum; a temperature sensor that senses temperature and changes a voltage according to a temperature change; and a slight voltage change of the temperature sensor OP AMP to provide a signal source for controlling the return fan by amplifying the; and a comparator for converting the amplified voltage to a temperature to detect the rotational speed level of the return fan; generating a control voltage of the drive unit connected to the rear end A voltage generator; Supply unit for supplying power for driving the ventilation fan; A ventilation fan fan that rotates in proportion to the supplied voltage, the waveform generator is built in proportion to the rotational speed; By calculating the rotational speed of the ventilation fan as a waveform Waveform detector for generating an alarm signal when the rotational speed of the return fan is lower than the set value; Air flow sensor for generating an alarm signal when the amount of air flowing into the ventilation fan is reduced; The voltage generated by the voltage generator is the maximum It is a control method consisting of an end-catch to determine the check time of the air volume sensor only. However, the above method simply amplifies the voltage generated by the temperature change by using the temperature sensor by the temperature change inside the rack. This is to control the rotation speed of the fan by converting the voltage into temperature. If the door is opened by being fan will continue to operate, if you want to repair a problem that could rack will need to turn off the fan itself.

본 발명은 상기와 같은 문제점을 해결하기 위한 본 발명의 목적은, 단순한 팬의 작동이 아니라 중계기 도어의 개폐여부, 팬 속도 증가시간, 팬의 속도, 내부온도 등을 종합적으로 판단하여 점진적이며 정확하게 중계기를 냉각시키기 위한 소형 중계기의 냉각효율 향상을 위한 팬 동작 제어 방법을 제공하는 것이다.The present invention is to solve the above problems, the objective of the present invention is not a simple operation of the repeater door, whether the opening and closing of the door, the fan speed increase time, the speed of the fan, the internal temperature, etc. To provide a fan operation control method for improving the cooling efficiency of the small repeater for cooling the.

도1은 본 발명에 의한 소형 중계기의 개략적인 외관을 보여주는 도면이다.1 is a view showing a schematic appearance of a small repeater according to the present invention.

도2는 본 발명에 한 소형 중계기의 냉각효율 향상을 위한 팬 동작 제어를 위한 실시예의 개략적인 구성도이다.Figure 2 is a schematic diagram of an embodiment for the fan operation control for improving the cooling efficiency of the small repeater according to the present invention.

도3은 도2의 플랙들의 예를 나타내는 도면이다.3 is a diagram showing an example of the flags of FIG.

도4는 중계기에 전원이 공급되거나 리셋(Reset)된 경우의 진행 과정을 보이는 흐름도이다.4 is a flowchart illustrating a process in the case where the repeater is powered on or reset.

도5는 내부 타이머가 하이 상태로 인터럽트가 발생된 경우의 흐름도이다.5 is a flowchart when an interrupt is generated with an internal timer in a high state.

도6은 팬의 동작을 제어하기 위한 과정을 보여주는 흐름도이다.6 is a flowchart showing a process for controlling the operation of a fan.

도7은 셀프 테스트 루틴의 처리과정을 보여주는 흐름도이다.7 is a flowchart showing a process of a self test routine.

도8은 직렬통신 서비스를 위한 흐름도이다.8 is a flowchart for a serial communication service.

도9는 현재의 온도를 읽는 루틴을 설명하기 위한 흐름도이다.9 is a flowchart for explaining a routine of reading the current temperature.

도10은 대기시간을 얻기 위한 루틴을 위한 흐름도이다.10 is a flowchart for a routine for obtaining a waiting time.

도11a 및 도11b는 팬속도를 조절하기 위한 루틴을 위한 흐름도이다.11A and 11B are flowcharts for a routine for adjusting the fan speed.

도12는 팬속도를 감속하는 과정을 보여주는 흐름도이다.12 is a flowchart showing a process of slowing down the fan speed.

도13은 팬속도를 감소시키기 위한 과정을 보여주는 흐름도이다.13 is a flowchart showing a process for reducing the fan speed.

도14는 팬속도를 증가시키기 위한 과정을 보여주는 흐름도이다.14 is a flowchart showing a process for increasing the fan speed.

도15는 에러 서비스 루틴에 대한 흐름도이다.15 is a flow chart for an error service routine.

도16은 팬 오류 검사를 위한 과정을 보여주는 흐름도이다.16 is a flowchart showing a process for checking a fan error.

※ 도면의 주요부분에 대한 부호의 설명 ※※ Explanation of code about main part of drawing ※

10 : 중계기 12 : 도어 14 : 팬10 repeater 12 door 14 fan

16 : CPU 18 : 인터페이스부 20 : 입출력 장치16 CPU 18 interface unit 20 input / output device

22 : 메모리 24 : 레지스터 26 : 플랙22: memory 24: register 26: flag

상기와 같은 목적을 달성하기 위한 볼 발명의 소형 중계기의 냉각효율 향상을 위한 팬 동작 제어 방법은, 팬이 일정한 시간을 두고 점진적인 크기로 회전되도록 하여 초기 설정치까지 속도가 증가되는지 판별하는 제1단계와; 상기 팬의 속도가 초기 설정치까지 증가된 경우, 직렬송신을 하기 위한 시간을 체크하기 위해 직렬 카운트를 증가시키는 제2단계와; 상기 직렬 카운트 값이 송신 가능한 것으로 판단되면 직렬송신을 수행하는 제3단계와; 현재의 온도값을 읽고 온도에 따른 처리가능 여부에 대한 상태를 설정하는 제4단계와; 상기 처리가능인 경우 온도값에 따라 팬의 속도를 조절하는 동작으로 가기 위한 속도조절시간을 증가시키는 제5단계와; 상기속도조절시간이 된 경우 새로운 온도값을 저장한 후 팬 속도조절을 실행하는 제6단계 그리고, 동작 중 오류발생 여부를 검사하는 제7단계를 포함한 것을 특징으로 한다.The fan operation control method for improving the cooling efficiency of the small repeater of the ball invention for achieving the above object, the first step to determine whether the speed is increased to the initial set value by allowing the fan to rotate in a gradual size over a certain time; ; A second step of increasing the serial count to check time for serial transmission when the fan speed is increased to an initial set value; Performing a serial transmission if the serial count value is determined to be transmittable; A fourth step of reading a current temperature value and setting a state of whether it can be processed according to the temperature; A fifth step of increasing a speed adjustment time for going to the operation of adjusting the speed of the fan according to the temperature value if the processing is possible; The sixth step of executing the fan speed control after storing the new temperature value and the seventh step of checking whether the error occurs during the operation when the speed adjustment time is reached.

상기 제1단계에서, 상기 팬의 속도가 초기 설정치까지 증가되지 않는 경우에는 도어의 개방여부, 팬 속도 증가시간, 팬의 속도 등을 측정하는 셀프 테스트 루틴이 수행되도록 하는 것이 바람직하다.In the first step, if the fan speed does not increase to the initial set value, it is preferable to perform a self test routine for measuring whether the door is opened, the fan speed increase time, the fan speed, and the like.

상기 제2단계에서, 상기 직렬 송신시의 송신 데이터에는 독취한 온도값, 도어의 개폐여부, 현재의 팬 속도값들이 포함될 수 있다.In the second step, the transmission data during the serial transmission may include a read temperature value, whether the door is opened or closed, and current fan speed values.

상기 제6단계에서, 팬속도의 조절은, 온도차 위치를 저장한 후 속도변화 대기상태인지를 확인하기 위해 검사를 실시하는 제8단계와; 온도변화 대기상태인 경우 대기 카운트를 증가시키고, 온도변화 대기상태가 아닌 경우에는 독취한 온도가 0℃ 이하이면 영하온도를 알리기 위해 저온 플랙을 세트하고 팬을 정지시키는 제9단계와; 영하온도가 아니면 이전에 독취한 온도가 영하였는지를 판단하여 이전의 온도가 영하이고 독취한 온도가 팬 동작온도이면 저온 플랙을 클리어하고 팬을 동작시키며, 이전에 읽어온 온도가 영하가 아니면 팬 오프온도와 유지온도를 판단하여 유지온도차를 저장하고 팬속도 감소 루틴을 실행하는 제10단계와; 상기 유지온도를 넘어선 경우에는 유지온도와 함께 현재의 온도 차이를 버퍼에 저장하고, 팬속도 변화에 대한 모든 변수가 클리어 상태인지를 검사하여 모든 변수를 클리어 시키는 제11단계; 그리고, 상기 독취한 온도와 유지온도와의 차이가 0인 경우 팬속도를 변화시키지 않고 서비스를 종료하고, 온도차가 있는 경우 일정 비율의 속도로 변화되도록 속도를 증가시키는 제12단계를 포함하는 것을 특징으로 한다.In the sixth step, the adjustment of the fan speed may include: an eighth step of conducting an inspection to confirm whether the speed difference is in a standby state after storing the temperature difference position; A ninth step of increasing a standby count when the temperature is in a standby state and setting a low temperature flag to notify the sub-zero temperature when the read temperature is 0 ° C. or less when the temperature is not in the standby state; If it is not below zero temperature, it is determined whether the previously read temperature is below zero. If the previous temperature is below zero and the read temperature is the fan operating temperature, the low temperature flag is cleared and the fan is operated. If the previously read temperature is not below zero, the fan off temperature is And a tenth step of determining a holding temperature, storing a holding temperature difference, and executing a fan speed reduction routine; An eleventh step of storing the current temperature difference together with the holding temperature in the buffer when the holding temperature is exceeded and clearing all the variables by checking whether all the variables for the fan speed change are clear; And a twelfth step of terminating the service without changing the fan speed when the difference between the read temperature and the maintenance temperature is zero, and increasing the speed so as to change at a constant rate if there is a temperature difference. It is done.

이때 상기 팬속도 감소 루틴은, 팬속도 다운모드인지를 검사하여 팬속도를 줄이고, 줄어든 속도와 희망하는 감속속도가 같은지 판단하여 대기상태로 전환하는 단계와; 팬속도 다운모드가 아닌 경우 감속할 속도값을 버퍼에 저장시키고 최저속도와 비교하여 적으면 최소값을 적용하여 전에 정해진 변경값을 클리어하고 대기상태를 알리기 위하여 대기 플랙을 세트하는 단계; 그리고, 상기 최저속도 보다 작지 않은 경우 최저속도를 설정하고 대기상태로 전환하는 단계로 이루어질 수 있다.In this case, the fan speed reduction routine may include: checking whether the fan speed is in the down mode and reducing the fan speed, determining whether the reduced speed and the desired deceleration speed are the same, and switching to the standby state; Storing the speed value to be decelerated in the buffer when the fan speed is not in the down mode, and setting the standby flag to apply the minimum value to clear the previously set change value and inform the standby state if the speed value is small compared with the minimum speed; And, if it is not less than the minimum speed may be set to the minimum speed and switch to the standby state.

상기 제6단계에서 상기 팬 속도조절시 팬속도의 증가는, 팬속도 증가모드인지를 검사하여 팬속도를 높이고, 증가된 속도와 희망하는 증가속도가 같은지 판단하여 대기상태로 전환하는 단계와; 팬속도 증가모드가 아닌 경우 증속할 속도값을 버퍼에 저장시키고 최고속도와 비교하여 적으면 최소값을 적용하고, 이전에 정해진 변경값을 클리어하고 대기상태를 알리기 위하여 대기 플랙을 세트하는 단계; 그리고, 최고속도 보자 작지 않은 경우 최고속도를 설정하고 대기상태로 전환하는 것이 바람직하다.In the sixth step, the increase in the fan speed during the fan speed adjustment includes: checking whether the fan speed increase mode is used to increase the fan speed, and determining whether the increased speed and the desired increase speed are the same; Storing the speed value to be increased in the buffer when the fan speed increase mode is not increased, applying a minimum value when the speed value is small compared with the maximum speed, and setting a standby flag to clear a previously determined change value and notify the standby state; If the maximum speed is not small, it is preferable to set the maximum speed and switch to the standby state.

상기 제7단계에서 상기 오류발생 검사는, 팬에 대한 경보가 발생하면 정상 유무를 검사하여 경보를 클리어 하거나 다음 명령을 실행하는 단계와; 팬에 대한 경보가 아닌 경우, 타코 펄스(Tacho Pulse)를 체크하여 하이 구간인지 비교하는 단계와; 상기 타코 펄스가 하이 구간인 경우, 타코 펄스 하이 구간용 타이머를 일정시간 동안 증가시키고 상기 타이머가 일정시간 경과하면 팬 경보를 발생시키고 경보를 출력하는 단계와; 상기 타코 펄스가 하이 구간이 아닌 경우, 타코 펄스 로우 구간용 타이머를 증가시키며, 로우 구간 타이머가 일정시간 경과하면 팬 경보를 발생시키는 단계와; 상기 팬에 대한 경보가 발생한 경우, 경보 발생 구간이 하이 구간이면 입력된 타코 펄스의 레벨이 로우일 때 이전에 발생된 경보는 클리어하고, 로우 구간에서 발생되면 입력된 타코 펄스의 레벨이 하이일 때 이전에 발생된 경보를 클리어 하는 단계를 구비하는 것이 바람직하다.In the seventh step, the error occurrence check may include: checking whether a fan is generated and clearing the alarm or executing the next command; If it is not an alarm for the fan, checking a tacho pulse and comparing whether it is a high section; When the taco pulse is a high section, increasing a timer for the taco pulse high section for a predetermined time and generating a fan alarm and outputting an alarm when the timer passes for a predetermined time; If the taco pulse is not a high interval, increasing a timer for a taco pulse low interval, and generating a fan alarm when the low interval timer elapses for a predetermined time; When the alarm occurs for the fan, if the alarm generation section is a high section, the previously generated alarm is cleared when the level of the input taco pulse is low, and when the level of the input taco pulse is high when it is generated in the low section It is desirable to have a step of clearing a previously generated alert.

이하 첨부된 도면에 의해 상세히 설명하면 다음과 같다.Hereinafter, described in detail by the accompanying drawings as follows.

본 발명에 의한 소형 중계기의 냉각효율 향상을 위한 팬 동작 제어 방법의 실시예는, 도1의 소형 중계기(10)의 도어(12) 부분에 장착되어 있는 팬(14)의 동작이 도2의 기본적인 제어장치에 의해 제어될 수 있다.In the embodiment of the fan operation control method for improving the cooling efficiency of the small repeater according to the present invention, the operation of the fan 14 mounted on the door 12 of the small repeater 10 of FIG. It can be controlled by the controller.

즉, 도2를 참조하면, CPU(16)에는 인터페이스부(18)를 통해 입출력 장치(20)와 메모리(22)가 연결되어 있다. 상기 인터페이스부(18)는 내부에 레지스터(24, Register)와 플랙(26, Flag)들이 구비되어 있으며, 본 발명을 위한 상기 플랙(26)들은 도3에 이들의 세부기능요소들이 설명되어 있다.That is, referring to FIG. 2, the input / output device 20 and the memory 22 are connected to the CPU 16 through the interface unit 18. The interface unit 18 is provided with a register 24 and a flag 26 and flags therein. The flags 26 for the present invention are described in detail in FIG. 3.

도3을 참조하면, 플랙(26)은 전력초기화(Power_Init) 플랙(260)과, 프로세스런(Process_Run) 플랙(262), 도어개방(Door_Open) 플랙(264), 캐리(Carry) 플랙(266), 센서오픈(Sensor_Open) 플랙(268), 센서쇼트(Sensor_Short) 플랙(270), 저온(Minus_Temp) 플랙(272), 대기(Wait) 플랙(274) 및 에러(High_Error) 플랙(276)으로 구성되어 있다. 이들에 대한 구체적인 설명은 다음에 소개되는 도4 이하의 구체적인 방법을 통해 설명하기로 한다.Referring to FIG. 3, the flag 26 includes a power_init flag 260, a process_run flag 262, a door_open flag 264, and a carry flag 266. , Sensor_Open flag 268, Sensor_Short flag 270, Minus_Temp flag 272, Wait flag 274 and High_Error flag 276. have. A detailed description thereof will be described with reference to the following detailed method of FIG. 4.

도4는 중계기(10)에 전원이 공급되거나 리셋(Reset)된 경우의 프로그램이 진행되는 과정을 보이는 흐름도이다.4 is a flowchart illustrating a process of a program when a power is supplied to or reset from the repeater 10.

먼저, 내부의 메모리(22)인 램을 초기화하고, 팬(14) 동작을 정지시키기 위해 출력포트에 팬 오프값을 쓰게(Write)된다. 그리고, 이외의 기능을 사용하기 위한 내부 레지스터 설정 및 현재 도어(12)의 상태를 확인하기 위해 해당 포트를 읽는다(S1).First, the RAM, which is an internal memory 22, is initialized, and a fan off value is written to the output port to stop the operation of the fan 14. Then, the corresponding port is read to check the state of the internal register setting and the current door 12 for using other functions (S1).

그 후 현재 도어(12)가 열렸는지를 체크하여(S2) 열린 경우에는, 경보출력을 클리어(Clear) 하고 팬(14)을 오프시키며 '도어개방' 상태임을 알리기 위한 플랙을 세트한다(S3). 또한, 열리지 않은 경우에는, 경보포트를 클리어하고 팬(14)에 전원을 공급한다(S4).After that, it is checked whether the current door 12 is opened (S2), and when it is opened, the alarm output is cleared, the fan 14 is turned off, and a flag is set to indicate the 'door open' state (S3). . If it is not opened, the alarm port is cleared and power is supplied to the fan 14 (S4).

그리고, 경보상태를 출력하고, 인터럽트가 사용 가능한 상태로 만들며(Enable) 모든 타이머들을 사용 가능한 상태가 되도록 세팅한다(S5).Then, the alarm state is output, the interrupt is enabled (Enable) and all timers are set to be enabled (S5).

다음으로 도5를 참조하면, 내부 타이머가 하이상태로 인터럽트가 발생된 경우를 나타내는 흐름도이다.Next, referring to FIG. 5, a flowchart illustrating a case where an interrupt occurs when the internal timer is high.

이때 먼저 레지스터를 스택으로 옮긴다(S6). 그리고, 수신 인터럽트인지(S7), 송신시의 인터럽트인지를 판단하고(S8), 송신할 데이터가 있는지 카운트 값을 비교하여(S9) 0 이면 송신할 데이터가 없는 것으로 판단하여 리턴 루틴으로 점프한다. 이때 송신할 데이터가 있다면 새로운 송신 데이터를 로드하고, 직렬 카운트를 1 감소시키고 다음 송신할 데이터의 위치를 지정하기 위해 데이터 포인터를 1 만큼 증가시킨 후 새로이 로드한 데이터를 직렬 버퍼에 기록하여 1 바이트의 새로운 데이터를 전송시킨다(S10). 마지막으로 초기에 옮겼던 레지스터값을 스택에서 레지스터로 다시 전송한다(S11). 이로써 인터럽트 이전의 상태로 되돌아갈 수 있는 것이다.At this time, the register is first moved to the stack (S6). Then, it is determined whether it is a reception interrupt (S7) or an interrupt at the transmission (S8). The count value is compared whether there is data to be transmitted (S9). At this time, if there is data to be transmitted, load new transmission data, decrease the serial count by 1, increase the data pointer by 1 to designate the position of the next transmission data, and write the newly loaded data to the serial buffer to New data is transmitted (S10). Finally, the register value, which was initially moved, is transferred from the stack to the register again (S11). This allows you to return to the state before the interrupt.

도6은 실재로 팬의 동작을 제어하기 위한 프로그램의 주된 과정을 보여주는 흐름도이다. 이 예에서는 다음에 계속 제시된 도면들과 병행하여 설명한다.6 is a flow chart showing the main process of the program for actually controlling the operation of the fan. This example will be explained in parallel with the figures presented next.

먼저, 팬(14)의 동작을 제어하기 위한 프로그램이 시작되면, 팬 동작을 서서히 증가시키기 위해 도7의 예와 같은 셀프 테스트 루틴(L1)에서 일정한 시간을 두고 팬의 속도를 증가시키며, 일정한 속도가 되었을 때 전력초기화 플랙(260)을 세트함으로써 초기 설정치까지 속도가 증가되었음을 확인할 수 있도록 한다(S15).First, when a program for controlling the operation of the fan 14 is started, in order to gradually increase the fan operation, the speed of the fan is increased at a constant time in the self-test routine L1 as shown in the example of FIG. When the power initialization flag 260 is set when it is possible to confirm that the speed has been increased to the initial set value (S15).

상기 단계 S15가 정상적으로 이루어진 경우, 직렬송신을 하기 위한 시간을 검사하기 위해 직렬 카운트를 증가시킨다(S16). 이와 달리 정상적인 동작이 이루어지지 않은 경우에는 도7의 셀프 테스트 루틴(L1)을 실행하게 된다.When step S15 is normally performed, the serial count is increased to check the time for serial transmission (S16). In contrast, when the normal operation is not performed, the self test routine L1 of FIG. 7 is executed.

직렬 카운트를 증가시키고 직렬 카운트 값을 비교하여 송신할 수 있는 시간이 되었는지 확인하게 되는데(S17), 직렬송신이 가능하다면 도8의 시리얼 서비스(Serial Service) 루틴(L2)을 실행하게 되고, 그렇지 않은 경우에는, 도9의 예와같이, 현재의 온도값을 읽기 위한 루틴(L3)을 실행하게 된다. 이때 온도에 따른 처리가 가능하다는 것을 알리기 위해 프로세스런 플랙(262)을 설정한다.The serial count is increased and the serial count value is compared to determine whether it is time to transmit (S17). If serial transmission is possible, the serial service routine L2 of FIG. 8 is executed. In this case, as in the example of Fig. 9, the routine L3 for reading the current temperature value is executed. At this time, the process run flag 262 is set to indicate that the processing according to the temperature is possible.

다음으로, 읽어들인 온도값에 따라 처리가 가능한지를 판단하게 되는데(S18), 처리 가능하다면 온도값에 따라 팬의 속도를 조절하기 위한 루틴(도11a 및 도11b 참조)으로 가기 위한 시간을 구하기 위해 인터럽트 카운트 값을 증가시킨다(S19). 상기 인터럽트 카운트 값을 검사하여 팬 속도조절 루틴으로 갈 것인지를 판단하고(S20), 해당된 경우에는 읽어들인 새로운 온도값을저장한다(S21). 그리고, 팬속도 조절 루틴(L4)을 호출하게 된다.Next, it is determined whether the processing is possible according to the read temperature value (S18), if possible to obtain a time to go to the routine (see Figs. 11a and 11b) for adjusting the fan speed according to the temperature value. The interrupt count value is increased (S19). It is determined whether to go to the fan speed control routine by checking the interrupt count value (S20), and if so, stores the read new temperature value (S21). Then, the fan speed adjustment routine L4 is called.

이때 그 결과가 에러 발생인지를 파악하기 위해 에러 서비스 루틴(L5)을 호출하게 되며, 그 후 모든 프로그램을 종료하고 인터럽트 서비스가 종료되었다는 것을 알리고 다음 타이머 인터럽트가 발생될 때까지 대기상태로 돌아간다.At this time, the error service routine (L5) is called to determine whether the result is an error. After that, all programs are terminated and the interrupt service is terminated, and the state is returned to the standby state until the next timer interrupt is generated.

<셀프 테스트(L1)><Self test (L1)>

그러면, 셀프 테스트 루틴(L1)의 처리과정을 도7을 참조하여 파악해 보자.Then, the process of the self test routine L1 will be described with reference to FIG.

먼저, 이 루틴에서는 도어(12)가 개방되어 있는지를 확인하기 위해 도어개방 플랙(264)을 검사하고(S25), 이때 도어(12)가 개방되어 있다면 도 15의 에러 서비스 루틴(L5)을 실행하게 된다. 이와는 달리 도어 클로즈(Door Close) 상태라면 경보출력 포트를 클리어 하여 정상적으로 동작하고 있음을 시스템으로 출력하고, 속도를 증가하기 위하여 일정한 시간을 검사할 수 있도록 셀프 카운트값을 증가시킨다(S26). 그 결과 팬속도를 증가시켜도 되는지 시간을 체크하여(S27) 팬속도를 증가시키거나(S28) 리턴 한다. 이때 팬 속도는 1/256 스텝씩을 감소시키면서 팬속도를 증가시키게 되는 최고속도인 경우의 'FAN_PWM'값은 0이고, 최저인 경우는 255 즉 정지한다.First, in this routine, the door opening flag 264 is checked to see if the door 12 is open (S25), and if the door 12 is open, the error service routine L5 of FIG. 15 is executed. Done. On the contrary, if the door is closed, the alarm output port is cleared, and the system outputs that it is operating normally, and the self-count value is increased so that a certain time can be checked to increase the speed (S26). As a result, the time is checked to increase the fan speed (S27) and the fan speed is increased (S28) or returned. At this time, the fan speed decreases by 1/256 steps, and the 'FAN_PWM' value at the maximum speed that increases the fan speed is 0, and at the minimum, it stops 255.

팬속도를 증가시키면서 초기에 설정된 값만큼 증가되었는지를 판단하여(S29) 이를 만족하면 전력초기화 플랙(260)을 설정한다(S30). 그리고, 변화된 팬속도 값을 실제로 적용하기 위해 변경된 값을 래치버퍼(Latch Buffer)에 기록함으로써 팬속도가 변경 적용된다(S31).It is determined whether the initial speed is increased by increasing the fan speed while increasing the speed (S29). If this is satisfied, the power initialization flag 260 is set (S30). In order to actually apply the changed fan speed value, the fan speed is changed and applied by recording the changed value in the latch buffer (S31).

<시리얼 서비스(L2)>Serial Service (L2)

도8을 참조하여 직렬통신 서비스를 위한 과정을 설명한다.Referring to Figure 8 will be described the process for the serial communication service.

먼저, 전송 버퍼를 클리어하고 독취된 온도값을 저장한다(S35). 이때 도어(12)가 개방되었는지를 검사하고(S36), 개방되어 있지 않다면 현재의 팬속도 값을 전송 버퍼에 기록한다(S37). 그리고, 개방되었으면 전송 버퍼에 팬속도 값 대신 '255'를 기록하여(Write) 현재 팬이 돌고 있지 않음을 알린다(S38). 송신해야할 바이트(Byte) 값을 직렬 카운트 버퍼에 기록하고, 송신버퍼에 '0AAH' 16진수 'AA'값을 기록함으로써 직렬송신을 개시한다(S39).First, the transmission buffer is cleared and the read temperature value is stored (S35). At this time, it is checked whether the door 12 is opened (S36), and if not opened, the current fan speed value is recorded in the transmission buffer (S37). If it is open, it writes '255' to the transmission buffer instead of the fan speed value (Write) to indicate that the fan is not currently running (S38). The serial transmission is started by writing the byte value to be transmitted to the serial count buffer and recording the '0AAH' hexadecimal 'AA' value in the transmission buffer (S39).

<현재 온도읽기(L3)><Reading Current Temperature (L3)>

다음은 도9를 참조하여 현재의 온도를 읽는 루틴을 설명하기로 하다.Next, a routine of reading the current temperature will be described with reference to FIG.

먼저 온도를 읽기 위해 A/D 컨버터에 접근하기 위해 초기화를 한다(S45). 즉 클록포트를 클리어하고 칩 선택(Chip Select)을 온(on)으로 하며 주소입력을 세트한다. 그리고, 다음에 도 10에서 언급될 대기시간 루틴(L6)을 실행하여 일정 시간 기다리고 클록을 세트한다(S46). 그리고 클록을 클리어하고(S47), 이들을 한 번 반복한 후(S48, S49), 다음 클록을 위해 대기시간 만큼 기다린 후 클록셋 주소가 종료되었음을 알린다(S50). 다시 한번 클록을 클리어하고(S51), 대기시간 만큼 기다린 후 클록을 세트하고 일정 횟수만큼 반복하도록 루프 카운트를 설정한다(S52). 그리고, 클록을 다시 세트하고(S53), 일정 시간 대기한 후 클록셋하고 외부 포트값을 캐리 플랙(266)에 읽어 들인 후 저장한다. 이후 횟수를 카운트하기 위해 루프 카운트를 하나 감소시킨다(S54).First, to initialize the temperature to access the A / D converter to read the temperature (S45). That is, the clock port is cleared, the chip select is turned on, and the address input is set. Then, the waiting time routine L6, which will be mentioned later in FIG. 10, is executed to wait for a predetermined time and set the clock (S46). After the clock is cleared (S47), these are repeated once (S48 and S49), and the wait time for the next clock is waited for the next clock to indicate that the clock set address is finished (S50). The clock is cleared once again (S51), the loop count is set to wait for the waiting time, set the clock, and repeat the predetermined number of times (S52). Then, the clock is reset (S53), waits for a predetermined time, and then clocks, reads an external port value into the carry flag 266 and stores it. Thereafter, the loop count is decreased by one to count the number of times (S54).

루프 카운트를 검사하여 계속할 것인지를 묻게 되는데(S55), 종료하는 경우 이때까지의 현재온도를 저장하게 된다(S56). 이때 저장된 현재온도가 최저의 값보다 작은지를 검사하게 되는데, 이는 온도센서의 불량 여부를 검사하기 위한 것이다. 즉, 최저온도보다 작은지를 판단하여(S57), 작지 않은 것으로 판단되면 센서오픈으로 클리어 하여 온도센서가 정상인 것을 표시하고(S58), 작은 것으로 판단되면 센서오픈으로 세팅하여 온도센서가 오류인 것을 표시한다(S59).When the loop count is checked, it is asked whether to continue (S55), and when it ends, the current temperature up to this point is stored (S56). At this time, it is checked whether the stored current temperature is smaller than the minimum value. This is to check whether the temperature sensor is defective. That is, judging whether it is smaller than the minimum temperature (S57), if it is determined that it is not small, it is cleared by the sensor open to indicate that the temperature sensor is normal (S58). (S59).

이때 다시 최대온도와 비교하여(S60) 최대온도보다 크면 센서 쇼트로 세트하여 온도센서가 오류인 것을 표시하고(S61), 그렇지 않으면 센서 쇼트로 클리어 하여 온도센서가 정상인 것을 표시한다(S62).At this time, compared to the maximum temperature again (S60), if it is greater than the maximum temperature, it is set to the sensor short to indicate that the temperature sensor is an error (S61), otherwise cleared by the sensor short to indicate that the temperature sensor is normal (S62).

<대기시간 루틴(L6)><Wait time routine (L6)>

도10에는 대기시간을 얻기 위한 루틴(L6)을 소개하고 있다. 이 예는 온도에 따라 변화되는 아날로그 값을 디지털 값으로 읽어 들이기 위하여 동기 클록을 만드는데 듀티(Duty)비를 결정하기 위한 것이다. 먼저, 루프타임을 일정 변수로 저장하고(S65), 저장된 값인 상기 변수를 1 차감한다(S66). 그 결과가 0 보다 큰지를 비교하여 작다면 다음 명령을 실행한다(S67).10 introduces a routine L6 for obtaining a waiting time. This example is to determine the duty ratio to create a synchronous clock to read analog values that vary with temperature as digital values. First, the loop time is stored as a predetermined variable (S65), and the variable which is the stored value is first subtracted (S66). If the result is smaller than or equal to 0, the next command is executed (S67).

<팬속도 조절(L4)><Fan speed control (L4)>

도11a 및 도11b에는 팬속도를 조절하기 위한 루틴의 예가 도시되어 있다.11A and 11B show an example of a routine for adjusting the fan speed.

먼저, 온도차 위치를 저장한 후에(S70) 속도변화 대기상태인지 확인하기 위해 검사를 실시한다(S71). 온도변화 대기상태인 경우, 대기 카운트를 증가시키고(S72) 대기카운트가 4.2 이상인지를 판단하여(S73) 대기 플랙(274)을 클리어 시킨다(S74). 온도변화 대기상태가 아닌 경우에는, 읽어온 온도가 0℃ 이하인지를 판단하고(S75), 이하이면 영하온도를 알리기 위해 저온 플랙(272)을 세트하고 팬을 정지시킨다(S76). 그리고, 현재 설정된 팬 속도를 출력 버퍼에 쓴다(S77).First, after storing the temperature difference position (S70), a check is performed to determine whether the speed change is in a standby state (S71). In the case of the temperature change standby state, the wait count is increased (S72) and the wait count is determined to be 4.2 or more (S73) to clear the wait flag 274 (S74). If the temperature change is not in the standby state, it is determined whether the read temperature is 0 ° C. or less (S75), and if it is below, the low temperature flag 272 is set to notify the sub-zero temperature and the fan is stopped (S76). Then, the currently set fan speed is written to the output buffer (S77).

영하온도가 아니면, 이전에 읽어온 온도가 영하였는지를 판단하고(S78), 만약 이전의 온도가 영하이고 읽어온 온도가 팬 동작온도이면(S79) 저온 플랙(272)을 클리어하고 팬을 동작시킨다(S80). 이전에 읽어온 온도가 영하가 아닌 경우에는 팬 오프온도 이하인지를 판단하고(S81), 유지온도 이하인지를 판단한다(S82) 이때 유지온도 이하이면 유지온도차를 저장하고(S83) 도13에 개시된 팬속도 감소 루틴(L7)을 진행시킨다.If the temperature is not below zero, it is determined whether the previously read temperature is zero (S78). If the previous temperature is below zero and the read temperature is the fan operating temperature (S79), the low temperature flag 272 is cleared and the fan is operated ( S80). If the previously read temperature is not below zero, it is determined whether the temperature is less than the fan off temperature (S81), and whether the temperature is lower than the holding temperature (S82). Proceed with the fan speed reduction routine (L7).

상기 유지온도를 넘어선 경우에는 유지온도와 함께 현재의 온도 차이를 버퍼에 저장한다(S84). 이때 팬속도 변화에 대한 모든 변수가 클리어 상태인지를 검사하고(S85), 클리어 되어 있지 않다면 모든 변수를 클리어 시킨다(S86).If the holding temperature is exceeded, the current temperature difference is stored in the buffer together with the holding temperature (S84). At this time, it is checked whether all variables for the fan speed change are in a clear state (S85), and if not, clears all variables (S86).

읽어들인 온도가 유지온도와의 차이가 0인지 비교하여(S87) 0이라면 팬속도를 변화시키지 않고 서비스를 종료한다. 온도차가 1인지를 비교하여(S88) 1인 경우 변화속도를 증가시키는데, 3/256 만큼 증가시킨다(S89). 온도차가 2인지를 비교하여(S90)2인 경우 변화속도를 증가시켜 5/256 만큼 증가시킨다(S91). 그리고, 온도차가 3인 경우에는 변화속도를 7/256 만큼 증가시키고(S93), 그렇지 않은 경우에는 변화속도를 더욱 높여서 9/256 만큼 증가시킨다(S94). 이와 같은 팬속도 증가 루틴(L8)이 도14에 제시된다.If the read temperature is 0 and the difference from the maintenance temperature is 0 (S87), the service is terminated without changing the fan speed. Comparing whether the temperature difference is 1 (S88), in the case of 1 increases the rate of change, increases by 3/256 (S89). Comparing whether the temperature difference is 2 (S90), in the case of 2, the rate of change is increased by 5/256 (S91). If the temperature difference is 3, the rate of change is increased by 7/256 (S93). Otherwise, the rate of change is further increased by 9/256 (S94). This fan speed increasing routine L8 is shown in FIG.

이상과 같은 흐름을 따라 팬속도 조절이 각종 조건에 따라 다르게 이루어짐을 알 수 있다.According to the flow as described above it can be seen that the fan speed control is made differently according to various conditions.

<팬속도 감속 루틴(L7)><Fan speed deceleration routine (L7)>

도12를 차조하여 팬속도를 감속하는 과정을 파악해 보기로 한다.12, the process of decelerating the fan speed will be described.

먼저, 팬속도 변화에 대한 모든 변수가 클리어 상태인지를 확인하게 되며(S100), 클리어 상태가 아니라면 팬속도 변화에 사용하는 모든 변수를 클리어 한다(S101). 그리고, 온도차이를 비교하여 차이값이 0 이라면 이 과정을 종료시키고 그렇지 않으면 상기한 팬속도 조절 루틴(L4)과 같이 온도차에 따라(S103, S105, S107) 다른 변화속도를 주어 팬속도를 감속시킨다. 이와 같은 과정을 수행한 후에는 결국 실질적으로 팬속도를 감속시키는 루틴(L8)을 수행하게 된다.First, it is checked whether all the variables for the fan speed change are in the clear state (S100), and if not the clear state, all the variables used for the fan speed change are cleared (S101). Then, if the difference is 0 by comparing the temperature difference, the process is terminated. Otherwise, the fan speed is reduced by giving a different change speed according to the temperature difference (S103, S105, S107) as in the fan speed adjusting routine L4. . After performing such a process, the routine L8 substantially reduces the fan speed.

<팬속도 감소 루틴(L8)><Fan speed reduction routine (L8)>

도13에는 팬속도를 감소시키기 위한 과정을 상세하게 도시하였다. 먼저, 팬속도 다운모드(Down Mode)인지를 검사하여(S110) 해당 모드인 경우에는 팬속도를 줄이고(S111), 줄어든 속도와 원하고자 하는 감속속도가 같은지 판단하여(S112) 대기상태로 가거나 빠져나간다.13 shows the process for reducing the fan speed in detail. First, by checking the fan speed down mode (Sown Mode) (S110) in the case of the corresponding mode, reduce the fan speed (S111), determine whether the reduced speed and the desired deceleration speed is the same (S112) go to the standby state or exit I'm going.

팬속도 다운모드가 아닌 경우에는 감속할 속도값을 버퍼에 저장시키고(S113) 최저속도와 비교하여 적으면 최소값을 적용하고, 전에 정해진 변경값을 클리어하고 대기상태를 알리기 위하여 대기 플랙(274)을 세트하고 서비스를 종료한다. 최저속도 보다 작지 않다면 최저속도를 설정하고(S115), 대기상태로 전환한다(S116). 이로써 감속 서비스를 종료하고 변경된 팬속도를 쓰고 이 서비스 루틴을 종료한다.If the fan speed is not in the down mode, the speed value to be decelerated is stored in the buffer (S113), and if the value is small compared with the minimum speed, the minimum value is applied, and the standby flag 274 is cleared to clear the predetermined change value and inform the standby state. Set and terminate the service. If not less than the minimum speed is set to the minimum speed (S115), and switch to the standby state (S116). This terminates the deceleration service, writes the changed fan speed and terminates this service routine.

<팬속도 증가 루틴(L8)><Fan speed increase routine (L8)>

도14에서 팬속도를 증가시키기 위한 과정이 도시되어 있다. 먼저, 팬속도 증가모드인지를 검사하여(S120) 해당 모드인 경우에는 팬속도를 높이고(S121), 증가된 속도와 원하고자 하는 증가속도가 같은지 판단하여(S122) 대기상태로 가거나 빠져나간다.In Fig. 14, a process for increasing the fan speed is shown. First, by checking whether the fan speed increase mode (S120), in the case of the corresponding mode, increase the fan speed (S121), determine whether the increased speed and the desired increase speed are the same (S122), or go out to the standby state.

팬속도 증가모드가 아닌 경우에는 증속할 속도값을 버퍼에 저장시키고(S123) 최고속도와 비교하여 적으면 최소값을 적용하고, 전에 정해진 변경값을 클리어하고 대기상태를 알리기 위하여 대기 플랙(274)을 세트하고 서비스를 종료한다. 최고속도 보다 작지 않다면 최고속도를 설정하고(S125), 대기상태로 전환한다(S126). 이로써 팬속도 증가 서비스를 종료하고 변경된 팬속도를 쓰고(Write) 이 서비스 루틴을 종료한다.If the fan speed increase mode is not increased, the speed value to increase speed is stored in the buffer (S123), and if the value is small compared with the maximum speed, the minimum value is applied, and the standby flag 274 is cleared to clear the predetermined change value and inform the standby state. Set and terminate the service. If not less than the maximum speed is set to the maximum speed (S125), and switch to the standby state (S126). This terminates the fan speed increasing service, writes the changed fan speed, and terminates this service routine.

<에러 서비스(L5)><Error service (L5)>

도15를 참조하면, 에러 서비스 루틴에 대한 흐름이 제시되어 있다. 먼저, 에러 레지스트 버퍼에 저장되어 있는 현재의 에러 상태를 읽어 저장한다(S130). 읽어들인 현재의 상태에서 도어가 열렸는지 검사하여 열렸으면 다음 명령을 도어가 열려서 에러가 발생한 것으로 간주한다(S131). 도어 오류가 발생했는지 검사하고 이미 발생한 것이라면 다음 명령을 배제한다(S132). 일정한 시간만큼 도어가 열렸는지를 검사하기 위해 시간을 증가시킨다(S133). 정해진 시간만큼 도어가 열렸었는지를 검사하고, 시간이 초과하도록 열렸다면 에러신호를 발생시킨다(S134). 그리고, 시간검사용 카운터를 클리어하고, 도어알람을 세팅하며 팬을 정지시킨다(S135).Referring to Figure 15, a flow for an error service routine is shown. First, the current error state stored in the error registration buffer is read and stored (S130). If the door is opened in the current state of reading and the door is opened, the next command is considered to be an error due to the door being opened (S131). Checks whether a door error has occurred and if it has already occurred, excludes the next command (S132). The time is increased to check whether the door is opened by a predetermined time (S133). It checks whether the door has been opened for a predetermined time, and generates an error signal if the door is opened to exceed the time (S134). Then, the time check counter is cleared, the door alarm is set, and the fan is stopped (S135).

도어가 열려서 에러가 발생하였는지를 검사하여 발생한 적이 있다면 다음 명령을 실행한다. 이때 에러가 발생하였다면 도어 에러상태는 하이(High)일것이다(S137). 도어가 개방되어 있었다면 팬 오류검사 루틴(L9)을 실행한다. 그와 반대의 경우 일정한 시간만큼 도어가 닫혔는지를 검사하기 위해 시간을 증가시키고(S138), 닫혀있는 시간이 최대시간을 초과하도록 닫혀 있었다면 에러를 클리어하며(S139), 시간검사용 카운터를 클리어하고, 모든 알람을 클리어 한다. 그리고 모든 동작이 처음부터 다시 시작하도록 전력초기화 플랙(260)을 클리어 한다(S140).Run the following command to check if an error occurred due to the door being opened. If an error occurs at this time, the door error state will be high (S137). If the door is open, the fan error check routine L9 is executed. On the contrary, increase the time to check whether the door is closed by a certain time (S138), clear the error if the closed time exceeds the maximum time (S139), clear the time check counter, , Clear all alarms. Then, the power initialization flag 260 is cleared so that all operations start again from the beginning (S140).

이와 같은 과정이 완료되면 알람 상태를 포트에 쓰는(Write) 것으로 에러 서비스를 마무리하여 리턴한다.When this process is completed, the alarm service is completed by returning the error service by writing to the port.

<팬 오류 검사(L9)><Check Fan Failure (L9)>

도16을 참조하면, 팬 오류 검사를 위한 과정이 도시되어 있다.Referring to Fig. 16, a process for checking a fan error is shown.

이것은 제어대상인 팬의 이상 유무를 검사하여 경보를 발생하기 위한 것으로서, 먼저 초기동작이 완료되었는지 비교하여 체크할 것인지 스킵(Skip)할 것인지를 판단한다(S145). 팬에 대한 경보가 발생하였다면 정상 유무를 검사하여 경보를 클리어 하거나 다음 명령을 실행한다(S146). 팬 경보가 발생되지 않은 경우, 팬이 정지상태인지 확인하여 정지상태라면 체크하지 않고 동작중이면 체크한다(S147). 이때 타코 펄스(Tacho Pulse)를 체크하여 하이("H") 구간인지 비교한다(S148). 하이 구간인 경우, 타코 펄스 하이 구간용 타이머를 증가시키고(S149), 타코 펄스 하이 구간 타이머가 일정시간 경과하였는지를 판단한다(S150). 이때 일정시간 경과하면 팬 경보를 발생시키고(S151) 경보상태를 출력한다(S152).This is to check whether there is an abnormality of the fan to be controlled and to generate an alarm. First, it is determined whether to check or skip by comparing whether the initial operation is completed (S145). If an alarm occurs for the fan, check whether the alarm is normal or not, and execute the next command (S146). If a fan alarm does not occur, check whether the fan is in a stopped state, and if not, check if it is in operation (S147). At this time, the tacho pulse is checked to compare whether it is a high ("H") section (S148). In the case of the high section, the timer for the taco pulse high section is increased (S149), and it is determined whether the taco pulse high section timer has elapsed for a predetermined time (S150). At this time, if a predetermined time elapses, a fan alarm is generated (S151) and an alarm state is output (S152).

타코 펄스가 하이 구간이 아니라면 팬 경보가 발생하였는지를판단한다(S153). 경보발생이 아닌 경우 타코 펄스 로우("L") 구간용 타이머를 증가시키며(S154), 로우 구간 타이머가 일정시간 경과하였는지 판단하여(S155) 팬 경보를 발생시킨다(S156).If the taco pulse is not a high section, it is determined whether a fan alarm has occurred (S153). When the alarm is not generated, the timer for the taco pulse low (“L”) section is increased (S154), and the fan section is generated by determining whether the low section timer has elapsed for a predetermined time (S155).

상기 단계 S146에서 팬에 대한 경보가 발생하였다면 경보가 발생된 구간이 하이인지 로우인지를 판단한다(S157). 하이인 경우 타코 펄스의 레벨이 "L"이라면 이전에 발생된 경보는 클리어 한다(S158).If an alarm occurs for the fan in step S146, it is determined whether the section in which the alarm is generated is high or low (S157). If high, if the level of the taco pulse is "L", the previously generated alarm is cleared (S158).

이상과 같이 본 발명에 의한 실시예를 통해 중계기를 냉각시키기 위한 각종 구성요소드의 상태에 따라 적절하고도 정확한 제어동작이 이루어지므로 중계기 내부의 온도가 적당하게 유지되는 이점이 있다.As described above, according to the embodiment of the present invention, an appropriate and accurate control operation is performed according to the state of various components for cooling the repeater, so that the temperature inside the repeater is properly maintained.

이상에서 상술한 바와 같이 본 발명은, 단순한 팬의 작동이 아니라 중계기 도어의 개폐여부, 팬 속도 증가시간, 팬의 속도, 내부온도 등을 종합적으로 판단하여 점진적이며 정확하게 중계기를 냉각시키기는 효과가 있다.이상에서와 같이 본 발명은 기재된 구체 예에 대해서만 상세히 설명되었지만 본 발명의 기술 사상 범위 내에서 다양한 변형 및 수정이 가능함은 당업자에게 있어서 명백한 것이며, 이러한 변형 및 수정이 첨부된 특허청구범위에 속함은 당연한 것이다.As described above, the present invention has the effect of gradually cooling the repeater gradually and accurately by comprehensively judging whether the repeater door is opened or closed, the fan speed increase time, the fan speed, the internal temperature, etc., rather than a simple fan operation. As described above, the present invention has been described in detail only with respect to the described embodiments, but it will be apparent to those skilled in the art that various changes and modifications are possible within the technical spirit of the present invention, and such modifications and modifications belong to the appended claims. It is natural.

Claims (7)

랙의 내부 온도의 변화에 의하여 휀의 속도를 조절할 수 있도록 한 냉각방법에 잇어서,In the cooling method, the speed of fan can be adjusted by changing the temperature inside the rack. 팬이 일정한 시간을 두고 점진적인 크기로 회전되도록 하여 초기 설정치까지 속도가 증가되는지 판별하는 제1단계와;A first step of determining whether the speed is increased to an initial set value by allowing the fan to rotate at a gradual size over a predetermined time; 상기 팬의 속도가 초기 설정치까지 증가된 경우, 직렬송신을 하기 위한 시간을 체크하기 위해 직렬 카운트를 증가시키는 제2단계와;A second step of increasing the serial count to check time for serial transmission when the fan speed is increased to an initial set value; 상기 직렬 카운트 값이 송신 가능한 것으로 판단되면 직렬송신을 수행하는 제3단계와;Performing a serial transmission if the serial count value is determined to be transmittable; 현재의 온도값을 읽고 온도에 따른 처리가능 여부에 대한 상태를 설정하는 제4단계와;A fourth step of reading a current temperature value and setting a state of whether it can be processed according to the temperature; 상기 처리가능인 경우 온도값에 따라 팬의 속도를 조절하는 동작으로 가기 위한 속도조절시간을 증가시키는 제5단계와;A fifth step of increasing a speed adjustment time for going to the operation of adjusting the speed of the fan according to the temperature value if the processing is possible; 상기 속도조절시간이 된 경우 새로운 온도값을 저장한 후 팬 속도조절을 실행하는 제6단계 그리고,A sixth step of executing a fan speed control after storing a new temperature value when the speed control time comes; 동작 중 오류발생 여부를 검사하는 제7단계를 포함한 것을 특징으로 하는 소형 중계기의 냉각효율 향상을 위한 팬 동작 제어 방법.Fan operation control method for improving the cooling efficiency of the small repeater, characterized in that it comprises a seventh step of checking whether an error occurs during operation. 제1항에 있어서,The method of claim 1, 상기 제1단계에서, 상기 팬의 속도가 초기 설정치까지 증가되지 않는 경우에는 도어의 개방여부, 팬 속도 증가시간, 팬의 속도 등을 측정하는 셀프 테스트 루틴을 수행하는 것을 특징으로 하는 소형 중계기의 냉각효율 향상을 위한 팬 동작 제어방법.In the first step, when the fan speed does not increase to the initial setting value, the cooling of the small repeater is performed by performing a self test routine that measures whether the door is opened, the fan speed increase time, the fan speed, and the like. Fan operation control method for improving efficiency. 제1항에 있어서,The method of claim 1, 상기 제2단계에서, 상기 직렬송신시의 송신 데이터에는 독취한 온도값, 도어의 개폐여부, 현재의 팬 속도값들이 포함되는 것을 특징으로 하는 소형 중계기의 냉각효율 향상을 위한 팬 동작 제어방법.In the second step, the transmission data during serial transmission includes a read temperature value, whether the door is opened or closed, and the current fan speed value. 제1항에 있어서,The method of claim 1, 상기 제6단계에서, 팬속도의 조절은,In the sixth step, the adjustment of the fan speed, 온도차 위치를 저장한 후 속도변화 대기상태인지를 확인학시 위해 검사를 실시하는 제8단계와;An eighth step of storing the temperature difference position and performing an inspection to confirm whether the speed change is in a standby state; 온도변화 대기상태인 경우 대기 카운트를 증가시키고, 온도변화 대기상태가 아닌 경우에는 독취한 온도가 0℃이하이면 영하온도를 알리기 위해 저온 플랙을 세트하고 팬을 정지시키는 제9단계와;A ninth step of increasing a standby count when the temperature is in the standby state and setting a low temperature flag to notify the sub-zero temperature when the temperature read is less than 0 ° C. when the temperature is not in the standby state; 영하온도가 아니면 이전에 독취한 온도가 영하였는지를 판단하여 이전의 온도가 영하이고 독취한 온도가 팬 동작온도이면 저온 플랙을 클리어하고 팬을 동작시키며, 이전에 읽어온 온도가 영하가 아니편 팬 오프온도와 유지온도를 판단하여 유지온도차를 저장하고 팬속도 감소 루틴을 실행하는 제10단계와;If it is not below zero temperature, it is determined whether the previously read temperature is below zero, and if the previous temperature is below zero and the read temperature is the fan operating temperature, the low temperature flag is cleared and the fan is operated, and the previously read temperature is not below zero. Determining a temperature and a holding temperature to store a holding temperature difference and to execute a fan speed reduction routine; 상기 유지온도를 넘어선 경우엔즌 유지온도와 함께 현재의 온도 차이를 버퍼에 저장하고, 팬속도 변화에 대한 모든 변수가 클리어 상태인지를 검사하여 모든 변수를 클리어 시키는 제11단계; 그리고An eleventh step of storing the current temperature difference together with the yen maintenance temperature in the buffer when the temperature is exceeded and checking whether all variables for the fan speed change are in a clear state and clearing all variables; And 상기 독취한 온도아 유지온도와의 차이가 0인 경우 팬속도를 변화시키지 않고 서비스를 종료하고, 온도차가 있는 경우 일정 비율의 속도로 변화되도록 속도를 증가시키는 제12단계를 포함하는 것을 특징으로 하는 소형 중계기의 냉각효율 향상을 위한 팬 동작 제어방법.And a twelfth step of terminating the service without changing the fan speed when the difference between the read temperature and the holding temperature is 0, and increasing the speed so that the temperature is changed at a predetermined rate if there is a temperature difference. Fan operation control method for improving cooling efficiency of small repeater. 제4항에 있어서,The method of claim 4, wherein 상기 팬속도 감소 루틴은,The fan speed reduction routine, 팬속도 다운모드인지를 검사하여 팬속도를 줄이고, 줄어든 속도와 희망하는 감속속도가 같은지 판단하여 대기상태로 전환하는 단계와;Reducing the fan speed by checking whether the fan speed is in the down mode, and determining whether the reduced speed is equal to the desired deceleration speed, and switching to the standby state; 팬속도 다운모드가 아닌 경우 감속할 속도값을 버퍼에 저장시키고 최저속도와 비교하여 적으면 최소값을 적용하여 전에 정해진 변경값을 클리어하고 대기상태를 알리기 위하여 대기 플랙을 세트하는 단계; 그리고,Storing the speed value to be decelerated in the buffer when the fan speed is not in the down mode, and setting the standby flag to apply the minimum value to clear the previously set change value and inform the standby state if the speed value is small compared with the minimum speed; And, 상기 최저속도보다 작지 않은 경우 최저속도를 설정하고 대기상태로 전환하는 단계를 포함하는 것을 특징으로 하는 소형 중계기의 냉각효율 향상을 위한 팬 동작 제어방법.And setting a minimum speed and switching to a standby state when the speed is not smaller than the minimum speed. 제1항에 있어서,The method of claim 1, 상기 팬 속도 조절시 팬속도의 증가는,When the fan speed is adjusted, the increase in the fan speed is, 팬속도 증가모드인지를 검사하여 팬 속도를 높이고, 증가된 속도와 희망하는 증가속도가 같은지 판단하여 대기상태로 전환하는 단계와;Checking whether the fan speed is increased, increasing the fan speed, determining whether the increased speed is equal to the desired increase speed, and switching to the standby state; 팬속도 증가모드가 아닌 경우 증속할 속도값을 버퍼에 저장시키고 최고속도와 비교하여 적으면 최소값을 적용하고, 이전에 정해진 변경값을 클리어하고 대기상태를 알리기 위하여 대기 플랙을 세트하는 단계; 그리고,Storing the speed value to be increased in the buffer when the fan speed increase mode is not increased, applying a minimum value when the speed value is small compared with the maximum speed, and setting a standby flag to clear a previously determined change value and notify the standby state; And, 최고속도 보다 작지 않은 경우 최고속도를 설정하고 대기상태로 전환하는 단계를 포함한 것을 특징으로 하는 소형 중계기의 냉각효율 향상을 위한 팬 동작 제어 방법.If not less than the maximum speed fan operation control method for improving the cooling efficiency of the small repeater comprising the step of setting the maximum speed to the standby state. 제1항에 있어서,The method of claim 1, 상기 오류발생 검사는,The error occurrence check, 팬에 대한 경보가 발생하면 정상 유무를 검사하여 경보를 클리어 하거나 다름 명령을 실행하는 단계와;If the alarm occurs for the fan, checking whether it is normal and clearing the alarm or executing a different command; 팬에 대한 경보가 아닌 경우, 타코 펄스(Tacho Pulse)를 체크하여 하이 구간인지 비교하는 단계와;If it is not an alarm for the fan, checking a tacho pulse and comparing whether it is a high section; 상기 타코 펄스가 하이 구간인 경우, 타코 펄스 하이 구간용 타이머를 일정시간 동안 증가시키고 상기 타이머가 일정시간 경과하면 팬 경보를 발생시키고 경보를 출력하는 단계와;When the taco pulse is a high section, increasing a timer for the taco pulse high section for a predetermined time and generating a fan alarm and outputting an alarm when the timer passes for a predetermined time; 상기 타코 펄스가 하이 구간이 아닌 경우, 타코 펄스 로우 구간용 타이머를 증가시키며, 로우 구간 타이머가 일정시간 경과하면 팬 경보를 발생시키는 단계와;If the taco pulse is not a high interval, increasing a timer for a taco pulse low interval, and generating a fan alarm when the low interval timer elapses for a predetermined time; 상기 팬에 대한 경보가 발생한 경우, 경보 발생 구간이 하이 구간이면 입력된 타코 펄스의 레벨이 로우일 때 이전에 발생된 경보는 클리어하고, 로우 구간에서 발생되면 입력된 타코 펄스의 레벨이 하이일 때 이전에 발생된 경보를 클리어하는 단계를 포함하는 것을 특징으로 하는 소형 중계기의 냉각효율 향상을 위한 팬 동작 제어방법.When the alarm occurs for the fan, if the alarm generation section is a high section, the previously generated alarm is cleared when the level of the input taco pulse is low, and when the level of the input taco pulse is high when it is generated in the low section A method for controlling fan operation for improving the cooling efficiency of a small repeater comprising the step of clearing a previously generated alarm.
KR10-2001-0082831A 2001-12-21 2001-12-21 Fan operation controlling method for improving cooling efficiency in a small transmitter KR100437347B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-2001-0082831A KR100437347B1 (en) 2001-12-21 2001-12-21 Fan operation controlling method for improving cooling efficiency in a small transmitter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-2001-0082831A KR100437347B1 (en) 2001-12-21 2001-12-21 Fan operation controlling method for improving cooling efficiency in a small transmitter

Publications (2)

Publication Number Publication Date
KR20030052792A KR20030052792A (en) 2003-06-27
KR100437347B1 true KR100437347B1 (en) 2004-06-25

Family

ID=29577535

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2001-0082831A KR100437347B1 (en) 2001-12-21 2001-12-21 Fan operation controlling method for improving cooling efficiency in a small transmitter

Country Status (1)

Country Link
KR (1) KR100437347B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100855818B1 (en) * 2006-11-28 2008-09-01 엘지노텔 주식회사 Method and apparatus for detecting and controlling temperature in base station

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19980075819A (en) * 1997-04-02 1998-11-16 김현국 Control method and system for returning wind device such as exchanger

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19980075819A (en) * 1997-04-02 1998-11-16 김현국 Control method and system for returning wind device such as exchanger

Also Published As

Publication number Publication date
KR20030052792A (en) 2003-06-27

Similar Documents

Publication Publication Date Title
TWI397791B (en) Microcontroller methods of improving reliability in dc brushless motors and cooling fans
US6205547B1 (en) Computer system management apparatus and method
US6801004B2 (en) System and method of controlling cooling fan speeds
JP6254615B2 (en) Electronic expansion valve and control method thereof
CN100444072C (en) Fan controlling equipment and method
US6718461B1 (en) Booting processor-based systems
US6931306B2 (en) System and method of designing cooling fans
US20030236594A1 (en) Intelligent cooling fan
US20150045964A1 (en) Environmental control for hvac system
US20070168686A1 (en) Method and apparatus for over clocking in a digital processing system
CN110579010B (en) Control method and control device for electronic expansion valve of multi-split internal machine and air conditioner
CN109272956A (en) Protection circuit of memory cell in display panel and display device
US5917305A (en) Battery control architecture with standardized language
KR100437347B1 (en) Fan operation controlling method for improving cooling efficiency in a small transmitter
JPH0651033A (en) Data output impedance control
CN107436575A (en) Power failure protection method and household appliance
JPH02140804A (en) Programmable logic circuit
CN108255666A (en) A kind of computing platform low-temperature switch machine method of discrimination
US7742357B2 (en) Securing an integrated circuit
US6298006B1 (en) Method and apparatus to automatically determine the size of an external EEPROM
KR100507867B1 (en) Semiconductor memory device having data bus sense amplifier
JPH0756641A (en) System for control of temperature of circuit driven by circuit clock signal
JP2020058199A (en) Motor drive control device, fan device, and motor drive control method
KR20180079727A (en) System and method for reducing the current consumption of temperature sensing device
CN101083445A (en) Universal drive device for different fans

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20130710

Year of fee payment: 10

FPAY Annual fee payment

Payment date: 20140616

Year of fee payment: 11

LAPS Lapse due to unpaid annual fee