KR19990085558A - Environmental Monitoring Board Test Method for Wireless Subscriber Network - Google Patents
Environmental Monitoring Board Test Method for Wireless Subscriber Network Download PDFInfo
- Publication number
- KR19990085558A KR19990085558A KR1019980018032A KR19980018032A KR19990085558A KR 19990085558 A KR19990085558 A KR 19990085558A KR 1019980018032 A KR1019980018032 A KR 1019980018032A KR 19980018032 A KR19980018032 A KR 19980018032A KR 19990085558 A KR19990085558 A KR 19990085558A
- Authority
- KR
- South Korea
- Prior art keywords
- test
- led
- environmental monitoring
- buzzer
- monitoring board
- Prior art date
Links
Abstract
무선 가입자망의 환경 감시 보드 시험 방법에 대하여 개시한다. 본 방법은, 시스템의 감시를 위해 실장되는 환경 감시 보드에 있어서, 시험자가 SRAM 시험을 선택한 경우 SRAM 시험을 수행하는 과정과, 시험자가 LED 시험을 선택한 경우 LED 시험을 수행하는 과정, 시험자가 버저 시험을 선택한 경우 버저 시험을 수행하는 과정, 시험자가 직렬 포트 시험을 선택한 경우 직렬 포트 시험을 수행하는 과정, 시험자가 팬 경보 시험을 선택한 경우 팬 경보 시험을 수행하는 과정, 시험자가 전압 센서 시험을 선택한 경우 전압 센서 시험을 수행하는 과정, 시험자가 온도 센서 시험을 선택한 경우 온도 센서 시험을 수행하는 과정, 및 시험자가 전체 시험을 선택한 경우 상기의 모든 시험을 수행하는 과정을 포함한다.An environmental monitoring board test method for a wireless subscriber network is disclosed. This method is for performing the SRAM test when the tester selects the SRAM test, the process of performing the LED test when the tester selects the LED test, and the tester performs the buzzer test. If you select, the process of performing a buzzer test, If the tester selects a serial port test, The process of performing a serial port test, If the tester selects a fan alarm test, The process of performing a fan alarm test, If the tester selects a voltage sensor test Performing the voltage sensor test, performing the temperature sensor test if the tester has selected the temperature sensor test, and performing all the above tests if the tester has selected the full test.
Description
본 발명은 무선 가입자망(Wireless Local Loop)의 환경 감시 보드(Sensor Alarm Module: SAM) 시험 방법에 관한 것으로서, 특히 무선 가입자망 시스템에서 사용되는 환경 감시 보드의 하드웨어 전 기능에 대한 시험 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for testing a Sensor Alarm Module (SAM) in a wireless local loop, and more particularly, to a test method for all hardware functions of an environmental monitoring board used in a wireless subscriber network system. .
통상적인 무선 가입자망의 구조는 공지되어 있는 바와 같다. 공중 교환 전화 네트워크(Public Switched Telephone Network: PSTN)에서 가입자망(Local Loop)이란 가입자와 교환기 사이의 접속을 말한다. 구리회선이나 동축 케이블 및 광섬유로 구축되던 기존의 유선 가입자 선로 대신에 무선 기술을 사용한 것을 무선 가입자망(Wireless Local Loop)이라 한다. 무선 가입자망은 무선 기술을 사용하여 신뢰성과 유연성을 가지며, 경제적으로 전화 서비스를 제공할 수 있기 때문에 낙후한 지역에 기존의 전화망을 손쉽게 정보통신망으로 발전시킬 수 있다.The structure of a typical wireless subscriber network is as known. In a public switched telephone network (PSTN), a local loop refers to a connection between a subscriber and an exchange. Instead of the existing wired subscriber lines, which were constructed with copper lines, coaxial cables, and fiber, wireless technology is called Wireless Local Loop. The wireless subscriber network can use the wireless technology to provide reliable and flexible and economical telephone service, so that the existing telephone network can be easily developed into an information communication network in an underdeveloped area.
특히 서비스 제공자 입장에서 볼 때 무선 가입자망은 낮은 자본투자, 시스템 설치의 신속성, 낮은 유지보수비 등의 장점을 지니고 있으며, 또한 지진, 홍수, 해일 등 자연 재해로 통신망이 파손되었을 때에도 신속히 복구가 가능하기 때문에 기존의 유선망의 백업 시스템으로도 고려되고 있다. 또한 인구밀도가 희박한 농촌 지역에 전화 서비스를 제공하는데 많이 사용되는 기술이다.Especially, from the service provider's point of view, the wireless subscriber network has the advantages of low capital investment, rapid system installation, low maintenance cost, and also can be quickly recovered even when the network is damaged by natural disasters such as earthquake, flood and tsunami. Therefore, it is considered as a backup system of the existing wired network. It is also a popular technique for providing telephony services in sparsely populated rural areas.
도 1 은 통상적인 무선 가입자망의 구성도를 나타낸 것이다. 도시된 바와 같이, 고정된 네트워크와 가입자간의 가입자 선로를 대체하기 위하여 무선 가입자 망을 사용하는 모든 종류의 무선 시스템에 대하여 적용될 수 있는 시스템 구조를 나타내었다.1 is a block diagram of a typical wireless subscriber network. As shown, a system structure that can be applied to all kinds of wireless systems using a wireless subscriber network to replace a subscriber line between a fixed network and a subscriber is shown.
도 1 의 무선 시스템은 교환기 시스템(Local Exchange: LE)(6)과; 무선 분배국 또는 교환기 연결국이라고도 불리우는 기지국 제어기(Radio Distribution Unit: RDU)(4); 무선 전송국이라고 불리우는 다수의 기지국(Radio Carrier Station: RCS)(3); 고정 가입자단 또는 가입자 댁내 장치라고도 불리우는 다수의 고정국(Fixed Subscriber Unit: FSU)(2) 및 전화 가입자(1)를 포함한다.The wireless system of FIG. 1 includes a local exchange (LE) 6; A Radio Distribution Unit (RDU) 4, also called a radio distribution station or switching center station; A plurality of Radio Carrier Stations (RCS) 3, called radio transmission stations; It includes a number of fixed subscriber unit (FSU) 2 and telephone subscriber 1, also called fixed subscriber end or subscriber premises equipment.
통상적인 구조의 무선 가입자망 시스템의 교환기(6)는 시스템의 온도와 전압을 체크하여 보고하는 환경 감시 보드(SAM)를 가지고 있다. 환경 감시 보드는 RS-485 직렬 포트를 통해 상위 모듈과 연결되어 있으며, 시스템의 각종 경보를 감지하여 상위 모듈로 보고한다.The switch 6 of the conventional wireless subscriber network system has an environmental monitoring board (SAM) that checks and reports the temperature and voltage of the system. The environmental monitoring board is connected to the upper module through the RS-485 serial port and detects various system alarms and reports them to the upper module.
환경 감시 보드는 시스템의 SRAM(Static Random Access Memory) 액세스(access) 상태, 경보(alarm) LED(Light Emitted Diode) 상태, 경보 버저(Alarm Buzzer) 상태, RS-485 포트 인터페이스 상태, 팬 경보(Fan Alarm) 상태, 현재 온도 센서(Temperature Sensor), 현재 입력 전압 센서(Input Voltage Sensor) 등을 측정한다.The environmental monitoring board provides access to the system's static random access memory (SRAM) access status, alarm light emitting diode (LED) status, alarm buzzer status, RS-485 port interface status, and fan alarms. Measures alarm status, current temperature sensor and current input voltage sensor.
도 2 는 환경 감시 보드의 내부 블럭도를 나타낸 것이다. 도시된 바와 같이, 환경 감시 보드의 프로세서(81)는, 온도 센서(82), 전압 센서(83), 팬(84), LED(85), 버저(86), SRAM(87), RS-485 포트(88) 및 운용자를 위한 모니터(89)를 포함한다.2 shows an internal block diagram of the environmental monitoring board. As shown, the processor 81 of the environmental monitoring board, the temperature sensor 82, voltage sensor 83, fan 84, LED 85, buzzer 86, SRAM 87, RS-485 Port 88 and monitor 89 for the operator.
종래 기술에 의한 환경 감시 보드는 보드의 초기화 프로그램에서 운용자의 명령이 주어지면 현재 온도와 전압을 출력한다. 그러므로 RS-485 포트를 시험하기 위해서는 시스템에 실장한 다음 실제로 동작을 시켜서 확인해 볼 수밖에 없었다. 또한 SRAM, LED, 버저, 팬 경보 상태에 관련한 시험도 시스템에 실장한 다음, 실제로 에러가 발생하는 조건을 입력하여 확인해야만 했다.The environment monitoring board according to the prior art outputs the current temperature and voltage when the operator's command is given in the board's initialization program. Therefore, in order to test the RS-485 port, I had to mount it on the system and actually run it. In addition, tests involving SRAM, LEDs, buzzers, and fan alarm conditions had to be implemented in the system, followed by inputting the conditions under which the error actually occurred.
상기와 같은 종래 기술에 의한 환경 감시 보드의 시험 방법은, 보드의 양산시 양질의 보드를 얻기 위한 변별력을 떨어뜨릴 뿐만 아니라 양산 기한이 길어진다는 문제점을 가진다.The test method of the environmental monitoring board according to the prior art as described above has a problem that not only reduces the discrimination power to obtain a high quality board when mass production of the board, but also the production period is long.
본 발명은 상기한 바와 같이 동작되는 종래 기술의 문제점을 해결하기 위하여 창안된 것으로서, 무선 가입자망의 환경 감시 보드의 전 기능을, 시험자가 시스템에 보드를 실장하지 않고도 시험하여, 해당 보드가 양품인지 불량품인지를 판단할 수 있도록 하기 위한 전 기능 시험 방법을 제공하는 것을 목적으로 한다.The present invention has been made to solve the problems of the prior art operating as described above, by testing all the functions of the environmental monitoring board of the wireless subscriber network without mounting the board in the system, whether the board is good quality The objective is to provide a full-featured test method to determine whether a product is defective.
본 발명의 다른 목적과 장점은 하기된 발명의 상세한 설명을 읽고 첨부된 도면을 참조하면 보다 명백해질 것이다.Other objects and advantages of the present invention will become more apparent from the following detailed description of the invention and the accompanying drawings.
도 1 은 통상적인 무선 가입자망의 구성도.1 is a block diagram of a typical wireless subscriber network.
도 2 는 환경 감시 보드의 내부 블럭도.2 is an internal block diagram of an environmental monitoring board.
도 3 은 본 발명에 의한 초기 동작을 나타낸 흐름도.3 is a flowchart showing an initial operation according to the present invention;
도 4 는 본 발명에 의한 환경 감시 보드의 SRAM 시험 방법을 나타낸 흐름도.4 is a flowchart showing a SRAM test method of an environmental monitoring board according to the present invention;
도 5 는 본 발명에 의한 환경 감시 보드의 LED 시험 방법을 나타낸 흐름도.5 is a flowchart showing an LED test method of an environmental monitoring board according to the present invention;
도 6 은 본 발명에 의한 환경 감시 보드의 버저 시험 방법을 나타낸 흐름도.6 is a flowchart illustrating a buzzer test method for an environmental monitoring board according to the present invention;
도 7 은 본 발명에 의한 환경 감시 보드의 485 포트 시험 방법을 나타낸 흐름도.Figure 7 is a flow chart showing a 485 port test method of the environmental monitoring board according to the present invention.
도 8 은 본 발명에 의한 환경 감시 보드의 팬 경보 시험 방법을 나타낸 흐름도.8 is a flowchart illustrating a fan alarm test method for an environmental monitoring board according to the present invention;
도 9 는 본 발명에 의한 환경 감시 보드의 전압 센서 시험 방법을 나타낸 흐름도.9 is a flowchart illustrating a voltage sensor test method of an environmental monitoring board according to the present invention;
도 10 은 본 발명에 의한 환경 감시 보드의 온도 센서 시험 방법을 나타낸 흐름도.10 is a flow chart showing a temperature sensor test method of the environmental monitoring board according to the present invention.
<도면의 주요 부분에 대한 부호의 설명><Explanation of symbols for the main parts of the drawings>
1 : 가입자1: Subscriber
2 : 고정국2: fixed station
3 : 기지국3: base station
4 : 기지국 제어기4: base station controller
5 : 교환국 시스템5: exchange office system
6 : 공중 교환 전화 네트워크6: public switched telephone network
7 : 다른 네트워크7: other networks
8 : 환경 감시 보드8: environmental monitoring board
81 : 프로세서81: processor
82 : 온도 센서82: temperature sensor
83 : 전압 센서83: voltage sensor
84 : 팬84: fan
85 : 3개의 LED85: 3 LEDs
86 : 버저86: buzzer
87 : SRAM87: SRAM
88 : RS-485 포트88: RS-485 port
89 : 모니터89: monitor
상기한 바와 같은 목적을 달성하기 위하여 창안된 본 발명에 따른 바람직한 실시예는, 시스템의 감시를 위해 실장되는 환경 감시 보드에 있어서,In order to achieve the above object, a preferred embodiment according to the present invention is an environmental monitoring board mounted for monitoring the system,
시험자가 SRAM 시험을 선택한 경우 SRAM 시험을 수행하는 과정과;Performing the SRAM test when the tester selects the SRAM test;
시험자가 LED 시험을 선택한 경우 LED 시험을 수행하는 과정;Performing the LED test if the tester selects the LED test;
시험자가 버저 시험을 선택한 경우 버저 시험을 수행하는 과정;Performing a buzzer test when the examiner selects the buzzer test;
시험자가 직렬 포트 시험을 선택한 경우 직렬 포트 시험을 수행하는 과정;Performing a serial port test if the tester selects a serial port test;
시험자가 팬 경보 시험을 선택한 경우 팬 경보 시험을 수행하는 과정;Performing a fan alarm test if the tester selects a fan alarm test;
시험자가 전압 센서 시험을 선택한 경우 전압 센서 시험을 수행하는 과정;Performing a voltage sensor test if the tester selects a voltage sensor test;
시험자가 온도 센서 시험을 선택한 경우 온도 센서 시험을 수행하는 과정; 및Performing a temperature sensor test if the tester selects a temperature sensor test; And
시험자가 전체 시험을 선택한 경우 상기의 모든 시험을 수행하는 과정을 포함한다.If the investigator selects the entire test, it includes the process of performing all the above tests.
본 발명의 바람직한 실시예에 있어서, 상기 SRAM 시험을 수행하는 과정은, 메모리의 임의 영역에 특정 값 X를 쓰는 단계와; n초 동안 기다리는 단계; 상기 영역을 읽어낸 값이 X와 일치하는지 확인하는 단계; 일치하지 않으면 SRAM 비정상으로 판단하는 단계; 일치하면 메모리의 임의 영역에 X를 쓰는 단계; n초 동안 기다리는 단계와; 상기 영역을 읽어낸 값이 X와 일치하는지 확인하는 단계; 일치하지 않으면 SRAM 비정상으로 판단하는 단계; 및 일치하면 SRAM 정상으로 판단하는 단계를 포함하는 것이 바람직하며,In a preferred embodiment of the present invention, the performing of the SRAM test comprises: writing a specific value X in an arbitrary area of the memory; waiting for n seconds; Checking that the value of reading the region matches X; If it does not match, determining that the SRAM is abnormal; If matched, writing X to any area of memory; waiting for n seconds; Checking that the value of reading the region matches X; If it does not match, determining that the SRAM is abnormal; And if it matches, determining that the SRAM is normal,
상기 메모리의 임의 영역은 환경 감시 보드 프로세서의 시동시 사용되지 않은 빈 영역인 것이 바람직하며,Preferably, the random area of the memory is an empty area that is not used at startup of the environmental monitoring board processor,
상기 LED 시험을 수행하는 과정은, 상기 환경 감시 보드의 프로세서가 온도 LED를 강제로 n초간 온 시킨 다음 오프하는 단계와; 환경 감시 보드의 프로세서가 팬 경보 LED를 강제로 n초간 온 시킨 다음 오프하는 단계; 환경 감시 보드의 프로세서가 전압 경보 LED를 강제로 n초간 온 시킨 다음 오프하는 단계; 상기 단계를 2회 반복하는 단계; 및 환경 감시 보드의 프로세서가 온도 LED와 팬 경보 LED 및 전압 경보 LED를 강제로 n1초간 온 시킨 다음 오프하는 단계를 포함하는 것이 바람직하며,The performing of the LED test may include: forcibly turning on and then turning off a temperature LED by a processor of the environmental monitoring board for n seconds; The processor of the environmental monitoring board forcibly turning on and off the fan alarm LED for n seconds; The processor of the environmental monitoring board forcibly turning on and off the voltage alarm LED for n seconds; Repeating said step twice; And forcing the processor of the environmental monitoring board to turn on the temperature LED, the fan alarm LED, and the voltage alarm LED for n1 seconds and then turn off.
상기 버저 시험을 수행하는 과정은, 버저의 스위치가 온인지를 확인하는 단계와; 시험자의 입력 키가 있으면 환경 감시 보드의 프로세서가 버저를 온시키는 단계; 및 버저를 온시키고 나서 n초 동안 기다린 다음 버저를 오프하는 단계를 포함하는 것이 바람직하며,The performing of the buzzer test may include: checking whether a buzzer is switched on; If the tester has an input key, turning on the buzzer by the processor of the environmental monitoring board; And after turning on the buzzer, waiting for n seconds and then turning off the buzzer,
상기 직렬 포트 시험을 수행하는 과정은, 직렬 포트로 메시지 포맷에 맞는 메시지를 보내는 단계와; 상기 메시지를 루프백시켜서 원래의 메시지와 비교하는 단계; 메시지 데이터의 값을 연속적으로 증가시키면서 메시지를 n회 루프백시키는 단계; 루프백된 메시지가 원래의 메시지와 다른 경우가 1회 이상 존재하는 경우, 직렬 포트가 비정상이라고 판단하는 단계; 및 루프백된 메시지가 원래의 메시지와 모두 같은 경우, 직렬 포트가 정상이라고 판단하는 단계를 포함하는 것이 바람직하며,The performing of the serial port test may include sending a message conforming to a message format to a serial port; Looping back the message and comparing it with the original message; Loopback the message n times while continuously increasing the value of the message data; If the looped message is different from the original message more than once, determining that the serial port is abnormal; And if the looped back message is all the same as the original message, determining that the serial port is normal,
상기 팬 경보 시험을 수행하는 과정은, 팬 경보 포트를 연결하는 단계와; 팬 경보 포트가 연결되면 팬 포트에 이상이 발생했는지 확인하는 단계; 팬 경보 포트에 이상이 발생한 경우, 팬 경보 LED를 온하는 단계; 버저를 온하는 단계; n초 동안 기다리는 단계; 팬 경보 LED를 오프하는 단계; 및 버저를 오프하는 단계를 포함하는 것이 바람직하며,The performing of the fan alarm test may include connecting a fan alarm port; Checking whether a problem occurs in the fan port when the fan alarm port is connected; If an error occurs in the fan alarm port, turning on the fan alarm LED; Turning on the buzzer; waiting for n seconds; Turning off the fan alarm LED; And off the buzzer,
상기 전압 센서 시험을 수행하는 과정은, 전압 센서로부터의 출력 펄스를 감지하는 단계와; 감지된 펄스의 시간축을 환형 큐에 저장하고 새로운 출력 펄스를 감지하는 단계; 큐에 저장된 시간축의 간격을 통해 각 전압값을 계산하는 단계; 전압값의 평균을 구하는 단계; 계산된 전압값의 평균을 출력하는 단계를 포함하는 것이 바람직하며,The performing of the voltage sensor test may include sensing an output pulse from the voltage sensor; Storing the time base of the sensed pulses in an annular queue and detecting a new output pulse; Calculating each voltage value through an interval of time axes stored in a queue; Obtaining an average of the voltage values; Preferably outputting an average of the calculated voltage values,
상기 전압 센서로부터의 출력 펄스는 전압 변화에 따라 선형적으로 주파수가 변하는 클럭인 것이 바람직하며,Preferably, the output pulse from the voltage sensor is a clock whose frequency changes linearly with the voltage change.
상기 온도 센서 시험을 수행하는 과정은, 프로세서에 연결된 다수의 온도 센서로 초기화 명령을 내리고 응답을 받는 단계와; 응답을 보낸 각 온도 센서로 감지된 온도값을 변환할 것을 명령하는 단계; 각 온도 센서가 온도값을 변환할 동안 대기하는 단계; 각 온도 센서로 초기화 명령을 내리고 응답을 받는 단계; 각 온도 센서로부터 변환된 온도값을 읽어오는 단계; 읽어온 각 온도값을 모니터에 디스플레이하는 단계; 입력 키가 존재하지 않으면 상기의 단계를 반복하는 단계; 및 입력 키가 존재하면 과정을 종료하는 단계를 포함하는 것이 바람직하다.The performing of the temperature sensor test may include: giving an initialization command to a plurality of temperature sensors connected to a processor and receiving a response; Instructing each temperature sensor that sent a response to convert a sensed temperature value; Waiting for each temperature sensor to convert a temperature value; Giving an initialization command to each temperature sensor and receiving a response; Reading the converted temperature value from each temperature sensor; Displaying each read temperature value on a monitor; Repeating the above step if there is no input key; And ending the process if the input key exists.
하기에서 본 발명을 설명함에 있어, 관련된 공지 기능 또는 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에는 그에 대한 상세한 설명은 생략할 것이다. 그리고 후술되는 용어들은 본 발명에서의 기능을 고려하여 정의내려진 용어들로서 이는 사용자 또는 장치 설계자의 의도 또는 관례 등에 따라 달라질 수 있다. 그러므로 그 정의는 본 명세서 전반에 걸친 내용을 토대로 내려져야 할 것이다.In the following description of the present invention, when it is determined that detailed descriptions of related known functions or configurations may unnecessarily obscure the subject matter of the present invention, the detailed description thereof will be omitted. Terms to be described later are terms defined in consideration of functions in the present invention, and may be changed according to the intention or custom of a user or a device designer. Therefore, the definition should be made based on the contents throughout the specification.
이하 첨부된 도면을 참조하여 본 발명의 바람직한 실시예에 대한 동작 원리를 상세히 설명한다.Hereinafter, with reference to the accompanying drawings will be described in detail the operating principle of the preferred embodiment of the present invention.
본 발명에 의한 환경 감시 보드는, 환경 감시 보드를 시험하기 위한 8가지의 시험 프로그램(test program)을 제공한다. 시험자는 8가지의 시험중의 하나를 선택할 수 있다. 1번 시험은 SRAM 시험, 2번은 LED 시험, 3번은 버저 시험, 4번은 485 포트 시험, 5번은 팬 경보 시험, 6번은 전압 센서 시험, 7번은 온도 센서 시험, 8번은 전체 시험이다.The environmental monitoring board according to the present invention provides eight test programs for testing the environmental monitoring board. The investigator can choose one of eight tests. The first test is the SRAM test, the second is the LED test, the third is the buzzer test, the fourth is the 485 port test, the fifth is the fan alarm test, the sixth is the voltage sensor test, the seventh is the temperature sensor test, and the eighth is the whole test.
도 3 은 본 발명에 의한 초기 동작을 나타낸 흐름도이다. 도시된 바와 같이, 시험자가 원하는 시험을 선택하면,(10) SRAM 시험(100), LED 시험(200), 버저 시험(300), 485 포트 시험(400), 팬 경보 시험(500), 전압 센서 시험(600), 온도 센서 시험(700), 전체 시험(800) 중의 하나가 실행된다.3 is a flowchart illustrating an initial operation according to the present invention. As shown, the tester selects the desired test (10) SRAM test 100, LED test 200, buzzer test 300, 485 port test 400, fan alarm test 500, voltage sensor One of the test 600, the temperature sensor test 700, and the full test 800 is performed.
도 4 는 본 발명에 의한 환경 감시 보드의 SRAM 시험 방법(100)을 나타낸 흐름도이다.4 is a flowchart illustrating an SRAM test method 100 of an environmental monitoring board according to the present invention.
환경 감시 보드가 시동하면 먼저 SRAM의 "0x000000 ~ 0x000400"의 영역에 RAM 벡터 테이블이 올라가고, "0x000400 ~ 0x020000"까지의 영역에 ROM(Read Only Memory)의 코드가 올라가며, "0x020000 ~ 0x040000"까지의 영역은 비어있게 된다. 그러므로 이 비어있는 영역에 임의의 값을 쓰고 읽어봄으로써 SRAM 시험을 수행할 수 있다.When the environment monitoring board starts up, the RAM vector table goes up in the area of "0x000000 ~ 0x000400" of SRAM, and the code of ROM (Read Only Memory) goes up in the area of "0x000400 ~ 0x020000", and it goes up to "0x020000 ~ 0x040000". The area becomes empty. Therefore, the SRAM test can be performed by writing and reading arbitrary values in this empty area.
먼저 메모리 영역 "0x020000 ~ 0x03FFFF"에 각 비트별로 임의의 값 "0x5A"을 쓴다.(110) 1초 후에 (120) 다시 그 영역의 값을 읽어 그 값 "0x5A"이 그대로 있는지를 확인한다.(130) 값이 그대로 있지 않으면 SRAM 시험 비정상으로 판단한다.(140) 확인결과 값이 해당 해당 영역에 그대로 있으면 다시한번 같은 영역에 임의의 값 "0xA5"을 넣는다.(150) 다시 1초후에 (160) 해당 영역을 확인하여(170) 그 값 "0xA5"이 그대로 있으면 SRAM 테스트 정상으로 판단하고,(180) 값이 그대로 있지 않으면 SRAM 시험 비정상으로 판단한다.(140)First, an arbitrary value "0x5A" is written for each bit in the memory areas "0x020000 to 0x03FFFF". (110) After 1 second (120), the value of the area is read again to check whether the value "0x5A" remains the same. If the value does not remain, it is determined that the SRAM test is abnormal. (140) If the result of the check remains in the corresponding area, the random value “0xA5” is once again put in the same area. (150) After 1 second (160) If the value " 0xA5 " remains as is, the SRAM test is judged to be normal (180). If the value is not, the SRAM test is judged to be abnormal.
도 5 는 본 발명에 의한 환경 감시 보드의 LED 시험 방법(200)을 나타낸 흐름도이다.5 is a flowchart illustrating an LED test method 200 of an environmental monitoring board according to the present invention.
환경 감시 보드의 CPU를 제어하여 특정 LED를 강제로 온/오프(ON/OFF)한다. 온도, 팬, 전압 이상의 경우를 가정하여, 이 순서대로 각 LED를 0.5초 동안씩 2회 온한 다음, 세 LED를 모두 1.5초 동안 3회 동시 온시킨 뒤 멈춘다.Controls the CPU of the environment monitoring board to forcibly turn specific LEDs on or off. Assuming abnormal temperatures, fans, and voltages, turn on each LED twice for 0.5 seconds in this order, then turn on all three LEDs simultaneously for 1.5 seconds and stop.
먼저 온도 LED를 온하고,(205) 0.5초 뒤에(210) 온도 LED를 오프한다.(215) 다음 팬 경보 LED를 온하고,(220) 0.5초 뒤에(225) 팬 경보 LED를 오프한다.(230) 마지막으로 전압 경보 LED를 온하고,(235) 0.5초 뒤에(240) 전압 경보 LED를 오프한다.(240) 전압 경보 LED를 오프하고 나면 상기 (205)부터 (240)까지의 과정을 1회 반복 수행한다. 다음 온도 LED와 팬 경보 LED 및 전압 경보 LED를 모두 온하고,(250) 1.5초 후에(255) 모든 LED를 오프한다.(260) 0.5초 후에 상기 (250)부터 (265)까지의 과정을 2회 반복한다.First turn on the temperature LED (205) 0.5 seconds later (210) turn off the temperature LED (215) then turn on the fan alarm LED (220) 0.5 seconds later (225) turn off the fan alarm LED. 230) Finally, the voltage alarm LED is turned on (235) 0.5 seconds later (240) and the voltage alarm LED is turned off (240) After the voltage alarm LED is turned off, the procedure from (205) to (240) is performed. Perform it several times. Turn on both the next temperature LED, the fan alarm LED and the voltage alarm LED (250) 1.5 seconds later (255) and turn off all LEDs. (260) After 0.5 seconds, repeat the process from (250) to (265). Repeat times.
상기와 같은 과정을 수행하는 동안 온이 되지 않는 LED가 존재하면 그 경로 및 해당 LED를 점검할 필요가 있다고 판단한다.If there is an LED that is not turned on during the above process, it is determined that the path and the corresponding LED need to be checked.
도 6 은 본 발명에 의한 환경 감시 보드의 버저 시험 방법(300)을 나타낸 흐름도이다.6 is a flowchart illustrating a buzzer test method 300 of an environmental monitoring board according to the present invention.
먼저 보드에서 버저의 스위치 상태가 온 인지 확인한다.(310) 버저의 스위치 상태가 온이면 입력 키를 기다린다.(320) 키의 입력이 있으면 버저를 온한다.(330) 2초 동안 버저를 울리게 한 뒤,(340) 버저를 오프한다.(350) 상기의 시험을 수행하는 동안 버저가 울리지 않으면 그 경로 및 해당 버저를 점검할 필요가 있다고 판단한다.First, check if the switch state of the buzzer on the board is on (310). If the switch state of the buzzer is on, wait for the input key. (320) If the key is input, turn on the buzzer (330). The buzzer is then turned off (340). (350) If the buzzer does not sound during the above test, it is determined that the path and the corresponding buzzer need to be checked.
도 7 은 본 발명에 의한 환경 감시 보드의 485 포트 시험 방법(400)을 나타낸 흐름도이다.7 is a flowchart illustrating a method 400 for testing a 485 port of the environmental monitoring board according to the present invention.
환경 감시 보드의 485 포트를 시험하기 위하여 일정한 메시지 포맷을 루프백 시킨다. 이때 사용되는 메시지의 포맷은 표 1과 같다.Loop back certain message formats to test the 485 port of the environmental monitoring board. The format of the message used at this time is shown in Table 1.
상기 STX(Start of TeXt) 필드는 "0x68"의 값을 가진다. 상기 길이(length) 필드는 m-id와 메시지 데이터 및 CRC 까지의 비트 값을 가진다. 상기 m-id 필드는 실제 전송될 메시지 타입이다. 상기 CRC(Cyclic Redundancy Check) 필드는 상기 길이 필드부터 메시지 데이터 필드까지의 비트 값을 256으로 나눈 나머지 값을 가진다. 상기 ETX(End of TeXt) 필드는 "0x16"의 값을 가진다.The STX (Start of TeXt) field has a value of "0x68". The length field has a bit value of m-id, message data, and up to CRC. The m-id field is a message type to be actually transmitted. The cyclic redundancy check (CRC) field has a remaining value obtained by dividing the bit value from the length field to the message data field by 256. The End of TeXt (ETX) field has a value of "0x16".
무선 가입자망에서 사용되는 환경 감시 보드의 길이 필드는 9 바이트로 정의되어 있으므로, 해당 길이 내에서 메시지 데이터 영역의 값을 증가시키면서 STX와 ETX 및 CRC를 붙여 연속하여 10개의 메시지를 상위 모듈로 보낸다.Since the length field of the environmental monitoring board used in the wireless subscriber network is defined as 9 bytes, 10 messages are continuously sent to the upper module by adding STX, ETX, and CRC while increasing the value of the message data area within the corresponding length.
먼저 환경 감시 보드 프로세서에서 test_result를 '0'으로 설정한다.(410) RS-485 포트 인터럽트를 이네이블한다.(420) RS-485 포트의 송신 포트로 메시지를 전송한다.(430) 수신 포트로 수신된 메시지가 상기 (430)에서 송신한 메시지와 일치하는지 확인하여,(440) 일치하지 않으면 test_result를 '1' 증가시키고,(450) 인터럽트를 디세이블한다.(460)First, test_result is set to '0' in the environment monitoring board processor. (410) Enable interrupt of the RS-485 port. (420) Send a message to the transmission port of the RS-485 port. (430) To the receiving port. Check whether the received message matches the message sent in step 430, and if it does not match (440), increase test_result to '1', and disable interrupt (450).
메시지의 데이터 값을 증가시켜 가면서, 상기 (410)부터 (460)까지의 과정을 9회 더 반복 수행한 다음, test_result의 값이 '0'인지를 확인한다.(470) test_result의 값이 0이면 10회의 수행과정동안 한번도 에러가 발생하지 않은 것이므로 RS-485 포트의 상태를 정상으로 판단한다.(480) test_result의 값이 '0'이 아니면 RS-485 포트의 상태를 비정상으로 판단한다.(490)Increasing the data value of the message, the process from 410 to 460 is repeated nine more times, and then it is checked whether the value of test_result is '0'. (470) If the value of test_result is 0 Since no error occurred during 10 executions, the status of the RS-485 port is determined to be normal. (480) If the value of test_result is not '0', the status of the RS-485 port is determined to be abnormal. )
RS-485 포트의 상태가 비정상으로 판단되면 환경 감시 보드의 프로세서로부터 상위 모듈로 연결되는 경로를 확인해 볼 필요가 있다고 판단한다.If the status of RS-485 port is abnormal, it is necessary to check the path from the processor of the environmental monitoring board to the upper module.
도 8 은 본 발명에 의한 환경 감시 보드의 팬 경보 시험 방법(500)을 나타낸 흐름도이다.8 is a flowchart illustrating a fan alarm test method 500 of the environmental monitoring board according to the present invention.
팬 경보 포트에 이상이 발생하면 '0'의 값이 들어온다는 가정하에 동작을 설명한다. 먼저 경보가 발생한다는 가정하에 경보 발생을 강제로 일으키도록 팬 경보 스위치를 단락(short)시킨다.(510) 시험자는 팬 경보 포트를 연결하고 임의의 키를 입력한다. 프로세서는 입력 키가 존재하는지 확인하여,(520) 입력 키가 없으면 팬 경보 스위치를 단락하라는 안내문을 다시 출력한다.(510) 입력 키가 존재하면 팬 포트가 '0'인지를 확인하여,(530) '0'이 아니면 경보 스위치가 연결되지 않았거나 경로가 불량인 것으로 판단한다.(540) 팬 포트가 '0'이면 팬 경보 LED를 온하고,(550) 버저를 온한다.(560) 2초 동안 대기한 뒤,(570) 팬 경보 LED를 오프하고,(580) 버저를 오프한다.(590)If an error occurs in the fan alarm port, the operation is explained on the assumption that a value of '0' is input. First, short the fan alarm switch to forcibly trigger the alarm, assuming that an alarm occurs (510). The tester connects the fan alarm port and enters an arbitrary key. The processor checks whether an input key exists (520) and again outputs a prompt to short-circuit the fan alarm switch if there is no input key (510). If the input key exists, it checks whether the fan port is '0' (530). If it is not '0', it is determined that the alarm switch is not connected or the path is bad. (540) If the fan port is '0', the fan alarm LED is turned on (550) and the buzzer is turned on (560). Wait for seconds, 570 turn off the fan alarm LED, and turn off the buzzer.
상기의 시험에서 이상이 발생한 경우, LED 시험과 버저 시험이 정상이면 프로세서와 팬 경보 포트의 경로를 점검할 필요가 있다고 판단한다.If any of the above tests occur, the LED test and the buzzer test are considered normal and it is necessary to check the paths of the processor and fan alarm ports.
도 9 는 본 발명에 의한 환경 감시 보드의 전압 센서 시험 방법(600)을 나타낸 흐름도이다.9 is a flowchart illustrating a voltage sensor test method 600 of an environmental monitoring board according to the present invention.
전압 센서로부터의 출력을 측정하여 실제 전압으로 변환한다. 이때 전압 센서로부터의 출력은 전압 변화에 따라 선형적으로 변화하는 클럭으로서, 대략 48V에 대해서 48KHz로 반응한다. 시험을 위해 프로세서는 2400개의 클럭 펄스(48V일 때 약 50ms동안)를 발생시켜 그 주기마다 인터럽트를 발생시킨다.The output from the voltage sensor is measured and converted into an actual voltage. At this time, the output from the voltage sensor is a clock that changes linearly with the voltage change, and responds at 48 KHz to approximately 48V. For testing, the processor generates 2400 clock pulses (approximately 50ms at 48V), generating interrupts at each cycle.
먼저 프로세서의 타이머를 초기화한다.(610) 펄스가 감지되어 인터럽트가 발생하면,(620) 해당 시간축의 시간을 환형 큐(circular queue)에 저장하고 타이머를 재시작한 뒤 인터럽트를 이네이블한다.(630) 타이머 인터럽트를 통해 큐에 저장된 시간축을 통해 전압을 계산하고, 각 값의 평균을 구한다.(640)First, the timer of the processor is initialized. (610) If a pulse is detected and an interrupt occurs (620), the time axis is stored in a circular queue, the timer is restarted, and the interrupt is enabled (630). The timer is interrupted to calculate the voltage through the time axis stored in the queue, and the average of each value is obtained.
환형 큐에 기록된 시간을 전압값으로 환산하는 방법은 수학식 1과 같다.The method of converting the time recorded in the annular queue into a voltage value is shown in Equation 1.
여기서 p는 기록된 시간축의 시간을 나타낸다.Where p represents the time on the recorded time base.
계산된 현재 평균 전압값을 출력한다.(650) 전압 센서 시험을 종료하라는 입력 키가 있는지를 감지하여,(660) 있으면 인터럽트를 디세이블하고(670) 전압 센서 시험을 종료한다. 입력 키가 없으면 상기 과정(640)으로 되돌아가 전압값을 계산하여 다시 출력한다.The calculated current average voltage value is output. (650) Detects whether there is an input key to terminate the voltage sensor test, and if it is 660, disables the interrupt (670) and ends the voltage sensor test. If there is no input key, the process returns to step 640 and the voltage value is calculated and output again.
상기와 같은 과정을 통해 모니터에 출력되는 전압값이 정상적인지를 판단할 수 있다.Through the above process, it may be determined whether the voltage value output to the monitor is normal.
도 10 은 본 발명에 의한 환경 감시 보드의 온도 센서 시험 방법(700)을 나타낸 흐름도이다.10 is a flowchart illustrating a method 700 for testing a temperature sensor of an environmental monitoring board according to the present invention.
환경 감시 보드의 프로세서는 4개의 온도 센서와 연결되어 있다. 각 온도 센서로 명령어를 보내어 감지된 온도값을 읽어옴으로써 온도 센서의 동작을 시험한다.The processor of the environmental monitoring board is connected to four temperature sensors. Test the operation of the temperature sensor by sending a command to each temperature sensor and reading the detected temperature value.
먼저 각 온도 센서로 초기화 명령을 내리고 응답을 받는다.(710) 상기의 단계에서 응답을 보낸 온도 센서로 현재 센서가 감지하고 있는 온도값을 디지털로 변환할 것을 명령한다.(720) 온도 센서가 온도값을 변환하는 동안 대기한다.(730) 온도 센서로 다시 명령을 내리기 위해 초기화 명령을 내리고 응답을 받는다.(740) 응답을 보낸 각 온도 센서로부터 변환된 온도값을 읽어온다.(750) 각 온도 센서로부터 읽어온 온도값을 모니터에 디스플레이한다.(760) 온도 센서 시험을 종료하라는 입력 키가 있는지를 감지하여,(770) 입력 키가 없으면 상기 (710)으로 되돌아가 새로운 온도값을 읽어온다.Initially, each temperature sensor issues an initialization command and receives a response (710). The temperature sensor that sent the response in the above step instructs the digital sensor to convert the temperature value detected by the current sensor (720). Wait for the value to be converted (730) Initiate a command to receive a command back to the temperature sensor and receive a response (740) Read the converted temperature value from each temperature sensor that sent the response (750) Each temperature The temperature value read from the sensor is displayed on the monitor (760). The sensor detects whether there is an input key to terminate the temperature sensor test (770). If there is no input key, the process returns to (710) to read a new temperature value.
초기 동작시 시험자가 전체 시험(800)을 선택하면 상기의 모든 시험을 한번에 모두 수행한다. 상기와 같은 과정을 통해 무선 가입자망의 환경 감시 보드 시험을 수행한다.In the initial operation, if the examiner selects the entire test 800, all the above tests are performed at once. Through the above process, the environmental monitoring board test of the wireless subscriber network is performed.
본 발명은 다양하게 변형될 수 있고 여러 가지 형태를 취할 수 있으며 상기 발명의 상세한 설명에서는 그에 따른 특별한 실시예에 대해서만 기술하였다. 하지만 본 발명은 상기 발명의 상세한 설명에서 언급된 특별한 양태로 한정되는 것이 아닌 것으로 이해되어야 하며, 오히려 첨부된 청구범위에 의해 정의되는 본 발명의 정신과 범위 내에 있는 모든 변형물과 균등물 및 대체물을 포함하는 것으로 이해되어야 한다.The present invention can be variously modified and can take various forms and only the specific embodiments thereof are described in the detailed description of the invention. It is to be understood, however, that the present invention is not limited to the particular embodiments mentioned in the detailed description of the invention, but rather includes all modifications, equivalents and substitutions within the spirit and scope of the invention as defined by the appended claims. It should be understood to do.
상기한 바와 같이 동작하는 본 발명은, 무선 가입자망 뿐 아니라 다른 시스템에서 응용이 가능한 환경 감시 보드의 모든 동작에 대한 시험 방법을 제시함으로써, 보드를 실장하지 않고도 상태를 판단하여 양질의 보드를 얻을 수 있을뿐만 아니라 이상 상태를 바로 파악하여 이상에 대한 조치를 취할 수 있도록 한다.The present invention operating as described above, by presenting a test method for all operations of the environmental monitoring board that can be applied to other systems as well as wireless subscriber network, it is possible to obtain a high-quality board by determining the state without mounting the board In addition, the status of the abnormality can be immediately identified so that action can be taken.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019980018032A KR19990085558A (en) | 1998-05-19 | 1998-05-19 | Environmental Monitoring Board Test Method for Wireless Subscriber Network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019980018032A KR19990085558A (en) | 1998-05-19 | 1998-05-19 | Environmental Monitoring Board Test Method for Wireless Subscriber Network |
Publications (1)
Publication Number | Publication Date |
---|---|
KR19990085558A true KR19990085558A (en) | 1999-12-06 |
Family
ID=65891685
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019980018032A KR19990085558A (en) | 1998-05-19 | 1998-05-19 | Environmental Monitoring Board Test Method for Wireless Subscriber Network |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR19990085558A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116609606A (en) * | 2023-07-17 | 2023-08-18 | 北京四方必施恩科技有限公司 | Railway moving ring real-time safety detection system based on artificial intelligence |
-
1998
- 1998-05-19 KR KR1019980018032A patent/KR19990085558A/en not_active Application Discontinuation
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116609606A (en) * | 2023-07-17 | 2023-08-18 | 北京四方必施恩科技有限公司 | Railway moving ring real-time safety detection system based on artificial intelligence |
CN116609606B (en) * | 2023-07-17 | 2023-10-17 | 北京四方必施恩科技有限公司 | Railway moving ring real-time safety detection system based on artificial intelligence |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5528661A (en) | Diagnostic mechanism for monitoring operational status of remote monitoring and test unit which controllably test and conditions subscriber line circuits | |
US5343461A (en) | Full duplex digital transmission facility loop-back test, diagnostics and maintenance system | |
KR19990085558A (en) | Environmental Monitoring Board Test Method for Wireless Subscriber Network | |
CN110267129B (en) | Fault detection method of PON gateway | |
CN101729282A (en) | Processing method and device for single-board alarming | |
US6542082B1 (en) | Remote and non-visual detection of illumination device operation | |
KR100327121B1 (en) | Transfer Performance Test Apparatus For Digital Subscriber Line Protocol Processing Device | |
KR100238728B1 (en) | Apparatus and method for self-testing cellular phone | |
KR100308888B1 (en) | Remote control system and its method for base station power / transmission test | |
KR19980051705A (en) | Packet Board Test Method of Electronic Switch | |
KR920008759B1 (en) | A testing method of universal signal transceiver assembly | |
KR100194801B1 (en) | Test method for asynchronous transfer mode switching system alarm collection device | |
KR20040079583A (en) | Obstacle sensing and alarm device | |
KR100208275B1 (en) | Apparatus and method for automatically recognizing signaling link in no.7 signaling protocol monitor device | |
KR920005012B1 (en) | Signalling service functions testing method | |
KR100267848B1 (en) | Method for testing voice path in full electronic exchange system | |
KR100214015B1 (en) | Apparatus and method for checking time switch bit in electronic switching system having time switch structure | |
KR100314771B1 (en) | Voice output test method in exchange system for radio linkage | |
KR20040033468A (en) | Test Method of Line Between Exchanger and Exchanger | |
KR19990017963U (en) | Internal processing communication path test apparatus and method | |
KR0182686B1 (en) | Method for testing speech path performance measurement apparatus in switching system | |
KR100298784B1 (en) | A subscriber tester of improved fiber loop carrier-c in fiber to the curb | |
KR100279677B1 (en) | How to output fault message through step diagnosis of switch link | |
KR100300087B1 (en) | Method and apparatus for checking input/output port in a mobile communication central office | |
JPS59111426A (en) | Failure supervisory system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
WITN | Withdrawal due to no request for examination |