KR20010081493A - Apparatus for Collecting Traffic Information By Ultrasonic Means - Google Patents

Apparatus for Collecting Traffic Information By Ultrasonic Means Download PDF

Info

Publication number
KR20010081493A
KR20010081493A KR1020000007111A KR20000007111A KR20010081493A KR 20010081493 A KR20010081493 A KR 20010081493A KR 1020000007111 A KR1020000007111 A KR 1020000007111A KR 20000007111 A KR20000007111 A KR 20000007111A KR 20010081493 A KR20010081493 A KR 20010081493A
Authority
KR
South Korea
Prior art keywords
cpu
signal
modem
ultrasonic
time clock
Prior art date
Application number
KR1020000007111A
Other languages
Korean (ko)
Inventor
조동일
김형진
이주형
Original Assignee
조장환
장우정보통신 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 조장환, 장우정보통신 주식회사 filed Critical 조장환
Priority to KR1020000007111A priority Critical patent/KR20010081493A/en
Publication of KR20010081493A publication Critical patent/KR20010081493A/en

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • G08G1/04Detecting movement of traffic to be counted or controlled using optical or ultrasonic detectors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2854Wide area networks, e.g. public data networks
    • H04L12/2856Access arrangements, e.g. Internet access

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Traffic Control Systems (AREA)

Abstract

PURPOSE: An ultrasonic traffic volume detecting apparatus is provided to realize an interface circuit between a true time clock and a CPU board with providing a dial-up modem interface circuit so as to be capable of modem communication and directly connecting communication with a single series port provided from the CPU by utilizing the ultrasonic traffic volume detecting apparatus. CONSTITUTION: An ultrasonic sensor(11) periodically creates and outputs an ultrasonic transmitting signal and receives a reflected wave from cars or a ground. A signal processing unit(12) outputs a car detecting signal from the reflected wave received from the ultrasonic sensor. A CPU(13) creates a transportation data by using the car detecting signal from the signal processing unit. A memory unit stores the transportation data created by the CPU(13). A real time clock(16) provides a time information to the CPU(13) by creating a present time for the information of the transportation data. A modem(18) transmits The transportation data created by the CPU(13) and stored on the memory unit to center through a telephone line. A communication chip(17) changes the signal from the CPU(13) into an RS-232C standard which is communication agreement.

Description

초음파 교통량 검지 장치{Apparatus for Collecting Traffic Information By Ultrasonic Means}Ultrasonic Traffic Detection Device {Apparatus for Collecting Traffic Information By Ultrasonic Means}

본 발명은 초음파 교통량 검지 장치에 관한 것으로서, 특히 실시간클럭과 CPU간 인터페이스를 개발하여 CPU에서 시간 정보를 획득할 수 있도록 하고, 통신 기능을 위하여 다이얼-업 모뎀 인터페이스 회로를 포함하며, CPU에서 제공하는 단일의 직렬 포트를 이용하여 모뎀 통신 및 직접 연결 통신이 모두 가능하도록 한 것을 특징으로 한다.The present invention relates to an ultrasonic traffic detection apparatus, and in particular, to develop a real-time clock and the interface between the CPU to obtain time information from the CPU, and includes a dial-up modem interface circuit for a communication function, which is provided by the CPU. It features a single serial port to enable both modem and direct-connect communications.

교통량 검지기는 교통 관리 시스템의 최하부 장비로서 교통 혼잡 해소를 위하여 시급한 지능형 교통 시스템(Intelligent Transportation System, ITS) 구축을 위한 가장 기본적인 요소이다.The traffic detector is the lowermost part of the traffic management system and is the most basic element for constructing an urgent intelligent transportation system (ITS) to solve traffic congestion.

초음파 센서를 이용한 차량 검지기 및 교통 정보 수집 장비는 비매설식이며 다른 장비에 비하여 저렴한 가격으로 설치가 가능하고 수명도 반영구적이어서 유지 보수가 간편한 장점이 있다.Vehicle detectors and traffic information collection equipment using ultrasonic sensors are non-embedded, and can be installed at a lower price than other equipments, and are easy to maintain because they are semi-permanent.

먼저, 초음파 교통량 검지 장치의 원리를 설명한다.First, the principle of the ultrasonic traffic detection device will be described.

도로면으로부터 일정 높이에 송신부와 수신부를 포함하는 초음파 센서를 설치하고, 초음파 센서로부터 주기적으로 송신파를 발사하고, 반사파를 감지하여 차량의 통과를 검지한다.An ultrasonic sensor including a transmitter and a receiver is installed at a predetermined height from the road surface, periodically transmitting a transmission wave from the ultrasonic sensor, and detecting a reflected wave to detect the passage of the vehicle.

도1은 초음파 교통량 검지 장치의 원리를 설명하기 위한 도면으로서, 도1a는 초음파 센서가 측면 설치된 경우이고, 도1b는 초음파 센서가 오버 헤드 방식으로 설치된 경우이다.1 is a view for explaining the principle of the ultrasonic traffic detection device, Figure 1a is a case where the ultrasonic sensor is installed side, Figure 1b is a case where the ultrasonic sensor is installed in an overhead manner.

예를 들어서, 초음파 센서가 지상으로부터 6m의 높이에 측면 설치 방법으로 설치되었을 때, 초음파 센서로부터 발사된 송신파가 차량으로부터 반사되어 돌아오는데 걸리는 시간은 음속을 340㎧라고 하였을 때, 최대 44㎳이다. 차량이 센서 검지 영역 안에 없으면 송신파는 도로에서 반사되어 반대편으로 날라가 버린다. 초음파 센서가 오버헤드 방식으로 설치되었을 경우에는 도로로부터 반사되어 돌아오는 시간을 확인하여 그것을 기준으로 송신 주기를 결정하게 된다. 송신 주기 동안에는 도1에서 보이는 바와 같이, 게이트 신호가 액티브되는데, 이 사이에 차량이 통과하면 통과하는 차량에 의한 반사파는 송신 주기보다 짧은 시간내에 감지된다. 즉, 게이트신호가 액티브된 구간에 반사파가 검지되면 차량의 통과를 의미하는 것이다.For example, when the ultrasonic sensor is installed at a height of 6m from the ground by the side mounting method, the time it takes for the transmission wave emitted from the ultrasonic sensor to reflect back from the vehicle is 44 kHz at the sound speed of 340 kHz. . If the vehicle is not in the sensor detection area, the transmitted wave is reflected off the road and blown away. When the ultrasonic sensor is installed in an overhead manner, the transmission period is determined based on the time of returning from the road. During the transmission period, as shown in Fig. 1, the gate signal is activated, and when the vehicle passes therebetween, the reflected wave by the passing vehicle is detected within a shorter time than the transmission period. That is, when the reflected wave is detected in the section in which the gate signal is activated, it means the passage of the vehicle.

따라서, 초음파 교통량 검지 장치는, 주기적으로 초음파 송신 신호를 생성하여 출력하고 차량이나 지면으로부터의 반사파를 수신하는 초음파 센서, 초음파 센서로부터의 반사파로부터 차량 검지 신호를 출력하는 초음파 신호 처리부, 초음파 신호 처리부로부터 출력한 차량 검지 신호를 이용하여 필요한 교통 데이터 및 통계 데이터를 생성 저장하는 CPU 보드, CPU 보드에서 생성되고 저장된 교통 데이터 및 통계 데이터를 전화선을 통하여 전송하기 위한 모뎀을 포함한다.Therefore, the ultrasonic traffic detection device includes an ultrasonic sensor which periodically generates and outputs an ultrasonic transmission signal and receives a reflected wave from a vehicle or the ground, an ultrasonic signal processor for outputting a vehicle detection signal from the reflected wave from the ultrasonic sensor, and an ultrasonic signal processor. And a CPU board for generating and storing necessary traffic data and statistical data using the output vehicle detection signal, and a modem for transmitting traffic data and statistical data generated and stored in the CPU board through a telephone line.

본 발명은 이와 같은 초음파 교통량 검지 장치에서, 시간 정보에 따른 교통량 데이터를 생성하기 위하여 실시간 클럭이 포함되는 경우에, 실시간 클럭과 CPU 보드간의 인터페이스 방법 및 회로를 제시하고자 한다.The present invention is to provide an interface method and a circuit between a real time clock and a CPU board when a real time clock is included in the ultrasonic traffic detection apparatus to generate traffic data according to time information.

본 발명은 또한, 초음파 교통량 검지 장치에서, CPU가 제공하는 단일의 직렬포트로 모뎀 통신 및 직접 연결 통신이 가능하도록 다이얼-업 모뎀 인터페이스 회로를 제시하고자 한다.The present invention also proposes a dial-up modem interface circuit to enable modem communication and direct connection communication to a single serial port provided by a CPU in an ultrasonic traffic detection device.

도1은 초음파 교통량 검지 장치의 원리를 설명하기 위한 도면,1 is a view for explaining the principle of the ultrasonic traffic detection device;

도2는 본 발명에 의한 초음파 교통량 검지 장치의 블록 구성도,2 is a block diagram of an ultrasonic traffic detection device according to the present invention;

도3은 도2에 도시된 본 발명에 의한 초음파 교통량 검지 장치에서, 실시간 클럭(RTC)과 CPU의 인터페이스 회로도,3 is an interface circuit diagram of a real time clock (RTC) and a CPU in the ultrasonic traffic detection apparatus according to the present invention shown in FIG.

도4는 실시간클럭의 어드레스 매핑의 예,4 is an example of address mapping of a real time clock;

도5는 도2에 도시된 본 발명에 의한 초음파 교통량 검지 장치에서, 모뎀 제어를 위한 CPU 직렬 포트의 핀 배치도,FIG. 5 is a pinout diagram of a CPU serial port for modem control in the ultrasonic traffic detection apparatus according to the present invention shown in FIG.

도6은 도2에 도시된 본 발명에 의한 초음파 교통량 검지 장치에서, CPU, 통신칩 및 모뎀의 인터페이스 도표.6 is an interface diagram of a CPU, a communication chip, and a modem in the ultrasonic traffic detection apparatus according to the present invention shown in FIG.

* 도면의 주요한 부분에 대한 부호의 설명 *Explanation of symbols on the main parts of the drawings

11 : 초음파센서 12 : 신호처리부11: ultrasonic sensor 12: signal processor

13 : CPU 14 : ROM13: CPU 14: ROM

15 : RAM 16 : 실시간클럭15: RAM 16: Real Time Clock

17 : 통신칩 18 : 모뎀17: communication chip 18: modem

상기한 바와 같은 목적을 달성하기 위하여, 본 발명에 의한 초음파 교통량 검지 장치는, 주기적으로 초음파 송신 신호를 생성하여 출력하고, 차량이나 지면으로부터의 반사파를 수신하는 초음파센서; 상기 초음파센서가 수신한 반사파로부터 차량 검지 신호를 출력하는 신호처리부; 상기 신호처리부로부터의 차량 검지 신호를 이용하여 교통 데이터를 생성하는 CPU; 상기 CPU에 의하여 생성된 교통 데이터를 저장하는 메모리부; 교통 데이터의 시각 정보를 위하여 현재 시각을 생성하여 상기 CPU에 시각 정보를 제공하는 실시간클럭; 상기 CPU에 의하여 생성되고 상기 메모리부에 저장된 교통 데이터를 전화선을 통하여 센터로 전송하는 모뎀; 및 상기 CPU로부터의 신호를 통신 규약인 RS-232C 표준 규격으로 바꾸는 통신 칩을 포함하는 것임을 특징으로 한다.In order to achieve the above object, the ultrasonic traffic detection device according to the present invention, the ultrasonic sensor periodically generating and outputting the ultrasonic transmission signal, and receiving the reflected wave from the vehicle or the ground; A signal processor for outputting a vehicle detection signal from the reflected wave received by the ultrasonic sensor; A CPU for generating traffic data using the vehicle detection signal from the signal processor; A memory unit for storing traffic data generated by the CPU; A real time clock generating a current time for providing time information of traffic data and providing time information to the CPU; A modem configured to transmit traffic data generated by the CPU and stored in the memory to a center via a telephone line; And a communication chip for converting a signal from the CPU into an RS-232C standard, which is a communication protocol.

이하에서 첨부된 도면을 참조하면서 본 발명에 의한 초음파 교통량 검지 장치를 상세하게 설명한다.Hereinafter, an ultrasonic traffic detection device according to the present invention will be described in detail with reference to the accompanying drawings.

도2는 본 발명에 의한 초음파 교통량 검지 장치의 블록 구성도이다.2 is a block diagram of an ultrasonic traffic amount detecting device according to the present invention.

도2에 도시된 바와 같이, 본 발명에 의한 초음파 교통량 검지 장치에서, 초음파센서(11)는 주기적으로 초음파 송신 신호를 생성하여 출력하고, 차량이나 지면으로부터의 반사파를 수신한다. 신호처리부(12)는 초음파센서(11)가 수신한 반사파로부터 차량 검지 신호를 출력한다. CPU(13)는 상기 신호처리부(12)로부터의 차량검지 신호를 이용하여 교통 데이터 및 통계 데이터를 생성하여 RAM(15)에 저장하고, ROM(14)에는 시스템 동작 프로그램이 저장된다. 실시간클럭(16)은 교통 데이터를 생성할 때 도로상에 차량이 통과하는 시각을 알기 위하여 현재 시각을 생성한다. 통신칩(17)은 다이얼-업 모뎀 인터페이스 구축을 위하여, CPU(13)의 0∼5 V의 신호를 통신 규약인 RS-232C 표준 규격으로 바꾸어준다. 모뎀(18)은 CPU(13) 보드와 센터를 연결하여 주고, RAM(15)에 저장된 교통 데이터 및 통계 데이터를 전화선을 통하여 센터로 전송한다.As shown in Fig. 2, in the ultrasonic traffic amount detecting apparatus according to the present invention, the ultrasonic sensor 11 periodically generates and outputs an ultrasonic transmission signal and receives reflected waves from a vehicle or the ground. The signal processor 12 outputs the vehicle detection signal from the reflected wave received by the ultrasonic sensor 11. The CPU 13 generates and stores traffic data and statistical data in the RAM 15 using the vehicle detection signal from the signal processing unit 12, and a system operation program is stored in the ROM 14. The real time clock 16 generates the current time to know the time when the vehicle passes on the road when generating the traffic data. The communication chip 17 converts the 0 to 5 V signal of the CPU 13 into the RS-232C standard, which is a communication protocol, for building a dial-up modem interface. The modem 18 connects the CPU 13 board and the center and transmits traffic data and statistical data stored in the RAM 15 to the center via a telephone line.

도3은 도2에 도시된 본 발명에 의한 초음파 교통량 검지 장치에서, 실시간 클럭(RTC)과 CPU의 인터페이스 회로도이다.3 is an interface circuit diagram of a real time clock (RTC) and a CPU in the ultrasonic traffic detection apparatus according to the present invention shown in FIG.

실시간클럭(RTC, Real Time Clock)은 현재 시각을 알려주는 칩이다. 일반적으로 PC 등 시간 정보가 필요한 시스템의 버스에 연결되어 설정된 주소 호출시 시스템의 현재 시각을 제공하는 역할을 한다. 교통 데이터를 구성하는데 있어서, 시각은 필수적인 요소이므로 본 발명에 의한 초음파 교통량 검지 장치에서도 실시간클럭을 포함한다.Real Time Clock (RTC) is a chip that tells the current time. In general, it is connected to the bus of a system that requires time information such as a PC and plays a role of providing the current time of the system when calling the set address. In constructing the traffic data, since the time is an essential element, the ultrasonic traffic detection device according to the present invention also includes a real time clock.

본 발명에서는 FPGA 또는 ASIC를 이용하여 실시간클럭 칩과 CPU와의 인터페이스 부분을 설계한다. 실시간클럭과 CPU와의 인터페이스 회로는 도3에서 보이는 바와 같이, CPU의 어드레스 신호를 실시간클럭 칩에서 FPGA 또는 ASIC으로 구현된 로직에 의하여 칩 선택 신호를 발생하게 된다. CPU에서 실시간클럭에 접근하는 어드레스는 0x6000 번지를 할당한다. 또한, 실시간클럭의 데이터버스와 CPU의 입출력 포트를 연결하여 병렬 방식으로 CPU와 실시간클럭간의 데이터 송수신이 가능하도록한다. CPU에서 현재 시각 정보를 얻는 것은, 실시간클럭에 할당된 0x6000 번지를 읽음으로써 가능하다.In the present invention, the interface portion between the real-time clock chip and the CPU is designed using an FPGA or an ASIC. As shown in FIG. 3, the interface circuit between the real time clock and the CPU generates the chip select signal by logic implemented in the FPGA or the ASIC in the real time clock chip. The address to access the real time clock from the CPU is assigned 0x6000 address. In addition, by connecting the data bus of the real time clock and the input and output ports of the CPU to enable data transmission and reception between the CPU and the real time clock in a parallel manner. The current time information can be obtained from the CPU by reading address 0x6000 assigned to the real time clock.

실시간클럭의 어드레스 매핑이 도4와 같을 때, 실시간클럭을 통하여 시각 정보를 얻기 위하여는 실시간클럭의 처음 14바이트의 데이터 중 원하는 데이터를 읽으면 현재의 시각 정보를 획득할 수 있다. 시각의 설정이나 수정 또는 실시간클럭 내부의 오실레이터 온/오프는 14바이트 중 아래의 4바이트인 레지스터 값을 변환하여 설정할 수 있다.When the address mapping of the real time clock is as shown in FIG. 4, in order to obtain time information through the real time clock, current time information can be obtained by reading desired data among the first 14 bytes of the real time clock. The time setting or correction or the oscillator on / off inside the real-time clock can be set by converting the register value, which is the lower 4 bytes, out of 14 bytes.

본 발명에서 실시간클럭은 외부 전원의 공급이 없더라도 내부 전원에 의하여 동작할 뿐만 아니라, 내부 113 바이트의 RAM에 저장되어 있는 데이터를 보존할 수 있다. 그러므로 외부에서 전원이 끊겨도 안전하게 보관되어야할 시스템 ID 번호나 시스템이 측정한 총 차량 계수와 같은 정보를 실시간클럭의 RAM에 안전하게 저장할 수 있다.In the present invention, the real time clock not only operates by the internal power source but also stores the data stored in the internal 113 bytes of RAM even when there is no external power supply. Therefore, information such as the system ID number or the total vehicle count measured by the system can be safely stored in the RAM of the real-time clock even when the power is disconnected from the outside.

초음파 교통량 검지 장치에서, 통신 기능은 크게 두 가지 목적으로 사용된다. 첫째는 센터에서 현장 장비를 제어하는 목적으로 사용되는데, 구체적으로는 실시간클럭을 통하여 설정하는 시각을 현장의 여러 장비 및 센터의 시각과 일치시켜서 통계 데이터의 신뢰성을 높인다. 둘째는 장비의 현장 설치시에 현장 장비의 초기화 및 환경 설정에 사용된다. 본 발명에 의한 초음파 교통량 검지 장치가 설치되는 각 장소마다 센서의 설치 높이, 거리 등이 환경의 제약에 따라서 달라질 수 있고, 사용하는 초음파 센서가 각각 약간의 특성 차이를 가질 수 있다. 따라서 시스템에 설정되어 있는 기본값을 현장의 환경에 따라서 바꿀 필요가 있으며, 이를 위하여 노트북과 시스템을 직접 연결하여 기본값을 셋팅할 수 있도록 통신 기능을 갖추어야 한다.In the ultrasonic traffic detection device, the communication function is largely used for two purposes. First, it is used for the purpose of controlling the field equipment in the center. Specifically, the time set by the real time clock is matched with the time of various equipments and centers in the field to increase the reliability of the statistical data. Secondly, it is used to initialize and configure the field equipment during the field installation of the equipment. In each place where the ultrasonic traffic detection device according to the present invention is installed, the installation height, distance, etc. of the sensor may vary according to environmental constraints, and the ultrasonic sensors to be used may have some characteristic differences. Therefore, it is necessary to change the default value set in the system according to the environment of the site. For this purpose, it is necessary to have a communication function to set the default value by connecting the notebook and the system directly.

본 발명에 의한 초음파 교통량 검지 장치에서, 다이얼-업 모뎀 인터페이스를 구축하기 위하여 사용된 통신 칩은 'MAX232' 칩이다. MAX232 칩은 CPU로부터 출력되는 0∼5 V의 신호를 통신 규약이 RS-232C 표준 규격으로 바꾸어준다. MAX232 칩에서 신호의 송수신 역할을 하는 TxD, RxD 신호를 RS-232C 규격으로 변환하여 주게 되고, 이 신호가 전화선을 따라서 센서와 송수신된다.In the ultrasonic traffic detection apparatus according to the present invention, the communication chip used to construct the dial-up modem interface is a 'MAX232' chip. The MAX232 chip converts the 0-5 V signal output from the CPU into the RS-232C standard for communication protocols. In the MAX232 chip, TxD and RxD signals, which transmit and receive signals, are converted to the RS-232C standard, and these signals are transmitted and received along the telephone line with the sensor.

본 발명에서는 다이얼-업 모뎀 제어 로직을 구현하기 위하여, 모뎀과 통신 칩(MAX232), CPU 간의 인터페이스를 구현한다. 통신 칩은 CPU의 0V, 5V 신호를 RS-232 타입 신호로 변환, 혹은 그 반대 방향으로 변환해주므로 CPU를 이용하여 다이얼-업 모뎀의 제어를 가능하게 한다.In the present invention, in order to implement the dial-up modem control logic, an interface between the modem, the communication chip (MAX232), and the CPU is implemented. The communication chip converts the CPU's 0V and 5V signals into RS-232 type signals or vice versa, allowing the CPU to control the dial-up modem.

도5는 도2에 도시된 본 발명에 의한 초음파 교통량 검지 장치에서, 모뎀 제어를 위한 CPU 직렬 포트의 핀 배치도이다.FIG. 5 is a pinout diagram of a CPU serial port for modem control in the ultrasonic traffic detecting apparatus according to the present invention shown in FIG.

도5에서 DTR, RTS는 모뎀이 데이터를 송수신할 준비가 되었는지 확인하는 신호이고, DCD는 시스템의 모뎀이 타 모뎀과 연결이 되었는지 확인하는 신호이다. 두 시스템이 모뎀으로 연결되면 TxD, RxD 신호를 이용하여 데이터를 송수신한다. CTS, DSR, RI, GND 신호는 그 밖의 모뎀 주변 상황 파악 및 접지에 이용된다. CPU는 입출력 포트로 각 신호를 파악하고 제어하며, 데이터 송수신을 인식하기 위하여 직렬 포트 인터럽트를 사용한다.In FIG. 5, DTR and RTS are signals for checking whether a modem is ready to transmit and receive data, and DCD are signals for checking whether a modem of the system is connected to another modem. When two systems are connected by modem, data are transmitted and received using TxD and RxD signals. The CTS, DSR, RI, and GND signals are used to identify and ground other modems. The CPU identifies and controls each signal with its input and output ports, and uses serial port interrupts to recognize data transmission and reception.

도6은 도2에 도시된 본 발명에 의한 초음파 교통량 검지 장치에서, CPU, 통신칩 및 모뎀의 인터페이스 도표이다.FIG. 6 is an interface diagram of a CPU, a communication chip, and a modem in the ultrasonic traffic detecting apparatus according to the present invention shown in FIG.

본 발명에 의한 초음파 교통량 검지 장치에서, CPU(80C196)는 하나의 직렬 포트를 제공한다. 초음파 교통량 검지 장치는 센터와의 통신을 위하여 외장형 다이얼-업 모뎀뿐만 아니라, 직접 연결시 현장 테스트용 컴퓨터와도 연결되어야 한다. 이를 위하여, 본 발명에서는 딥 스위치를 조작하여 하나의 직렬 포트로 두 가지 역할을 하도록 한다. 구체적으로는 다이얼-업 모뎀과의 연결시에는 현재 널리 사용되고 있는 57600bps 모뎀의 규격에 따라 CPU의 baud rate인 38400bps로 셋팅되어야 한다. 이를 위하여 딥 스위치의 상태에 따라서 baud rate를 변환하여 주도록 제작한다. 딥 스위치의 상태가 통신 칩으로 입력되면 FPGA 또는 ASIC을 통하여 구현된 로직에 의하여 CPU의 baud rate를 결정하게 된다.In the ultrasonic traffic detection apparatus according to the present invention, the CPU 80C196 provides one serial port. Ultrasonic traffic detection devices must be connected to the field test computer when connected directly, as well as to an external dial-up modem for communication with the center. To this end, in the present invention, the dip switch is operated to serve two roles as one serial port. Specifically, the connection with the dial-up modem should be set to 38400bps, the baud rate of the CPU, according to the widely used standard of 57600bps modem. For this purpose, the baud rate is converted according to the state of the dip switch. When the state of the dip switch is input to the communication chip, the baud rate of the CPU is determined by logic implemented through the FPGA or the ASIC.

본 발명에 의한 초음파 교통량 검지 장치에서는, 80196 CPU 1개를 이용하여 단일 보드에 필요한 기능을 구현한다. 즉, 단일 보드에서 초음파 센서 구동 및 수신 반사파 신호 처리 기능, 교통 정보 수집 기능, 데이터베이스 생성 기능, 통신 수행 기능을 수행한다. 이와 같이 필요한 기능을 적절하게 수행하기 위하여, CPU 보드의 주변 회로 설계 및 시스템 프로그래밍이 필요하다.In the ultrasonic traffic detection apparatus according to the present invention, a function required for a single board is implemented using one 80196 CPU. That is, a single board performs ultrasonic sensor driving, received echo signal processing, traffic information collection, database generation, and communication. In order to properly perform these necessary functions, peripheral circuit design and system programming of the CPU board are required.

각 기능을 수행하기 위한 CPU 보드 설계를 간략하게 설명한다. 센서 구동 신호는 CPU의 HSO(High Speed Output) 신호를 이용하여 구동 시간을 제어하도록 설계한다. 또한, 수신 신호는 CPU의 HSI(High Speed Input)로 입력되어 교통 정보를 생성하게 된다. 통신부는 CPU와 통신 칩인 MAX232와의 인터페이스 설계로 하나의 보드로 통합되었다. 위의 HSO/HSI, 통신 신호는 모두 인터럽트로 처리되며, 메인 루트에서는 시간 획득, 데이터 생성 및 데이터 저장 기능을 수행한다.The CPU board design for performing each function is briefly described. The sensor drive signal is designed to control the drive time using the HSO (High Speed Output) signal of the CPU. In addition, the received signal is input to a high speed input (HSI) of the CPU to generate traffic information. The communication unit is integrated into a single board with an interface design between the CPU and the MAX232 communication chip. The above HSO / HSI and communication signals are all handled as interrupts, and the main route performs time acquisition, data generation and data storage functions.

이상에서 설명한 바와 같이, 본 발명에 의한 초음파 교통량 검지 장치에서는 시간 정보에 따른 교통량 데이터를 생성하기 위하여 실시간 클럭이 포함되는 경우에, 실시간 클럭과 CPU 보드간의 인터페이스 회로를 제시한다. 또한, CPU가 제공하는 단일의 직렬 포트로 모뎀 통신 및 직접 연결 통신이 가능하도록 다이얼-업 모뎀 인터페이스 회로를 제시한다.As described above, the ultrasonic traffic detection apparatus according to the present invention presents an interface circuit between a real time clock and a CPU board when a real time clock is included to generate traffic data according to time information. In addition, a dial-up modem interface circuit is provided to enable modem communication and direct connection communication to a single serial port provided by the CPU.

Claims (7)

주기적으로 초음파 송신 신호를 생성하여 출력하고, 차량이나 지면으로부터의 반사파를 수신하는 초음파센서;An ultrasonic sensor which periodically generates and outputs an ultrasonic transmission signal and receives reflected waves from a vehicle or the ground; 상기 초음파센서가 수신한 반사파로부터 차량 검지 신호를 출력하는 신호처리부;A signal processor for outputting a vehicle detection signal from the reflected wave received by the ultrasonic sensor; 상기 신호처리부로부터의 차량 검지 신호를 이용하여 교통 데이터를 생성하는 CPU;A CPU for generating traffic data using the vehicle detection signal from the signal processor; 상기 CPU에 의하여 생성된 교통 데이터를 저장하는 메모리부;A memory unit for storing traffic data generated by the CPU; 교통 데이터의 시각 정보를 위하여 현재 시각을 생성하여 상기 CPU에 시각 정보를 제공하는 실시간클럭;A real time clock generating a current time for providing time information of traffic data and providing time information to the CPU; 상기 CPU에 의하여 생성되고 상기 메모리부에 저장된 교통 데이터를 전화선을 통하여 센터로 전송하는 모뎀; 및A modem configured to transmit traffic data generated by the CPU and stored in the memory to a center via a telephone line; And 상기 CPU로부터의 신호를 통신 규약인 RS-232C 표준 규격으로 바꾸는 통신 칩을 포함하는 것임을 특징으로 하는 초음파 교통량 검지 장치.And a communication chip for converting a signal from the CPU into an RS-232C standard, which is a communication protocol. 제1항에 있어서,The method of claim 1, 상기 실시간클럭과 상기 CPU와의 인터페이스는, 상기 실시간 클럭 칩의 칩 선택 신호를 상기 CPU 어드레스 신호를 사용하여 FPGA 또는 ASIC으로 구현된 로직에 의하여 발생하는 것임을 특징으로 하는 초음파 교통량 검지 장치.And the interface between the real time clock and the CPU generates the chip select signal of the real time clock chip by logic implemented in an FPGA or an ASIC using the CPU address signal. 제2항에 있어서,The method of claim 2, 상기 실시간클럭의 데이터버스와 상기 CPU의 입출력 포트를 연결하여 병렬 방식으로 CPU와 실시간클럭간의 데이터 송수신이 가능한 것임을 특징으로 하는 초음파 교통량 검지 장치.Ultrasonic traffic detection device characterized in that the data transmission and reception between the CPU and the real-time clock in parallel by connecting the data bus of the real-time clock and the input and output ports of the CPU. 제1항에 있어서,The method of claim 1, 상기 메모리부에 저장된 교통량 데이터 중의 일부는 상기 실시간클럭의 RAM에 중복 저장되는 것임을 특징으로 하는 초음파 교통량 검지 장치.Some of the traffic volume data stored in the memory unit is redundantly stored in the RAM of the real-time clock. 제1항에 있어서,The method of claim 1, 상기 모뎀 제어를 위한 상기 CPU 직렬 포트의 핀 배치에서,In pin assignment of the CPU serial port for the modem control, DTR, RTS는 상기 모뎀이 데이터를 송수신할 준비가 되었는지를 확인하는 신호이고, DCD는 상기 모뎀이 타 시스템의 모뎀과 연결되었는지를 확인하는 신호이고, 두 시스템이 모뎀으로 연결되면, TxD, RxD 신호를 이용하여 데이터를 송수신하고, CTS, DSR, RI, GND 신호는 모뎀의 주변 상황 및 접지에 이용되는 것임을 특징으로 하는 초음파 교통량 검지 장치.DTR, RTS is a signal to check whether the modem is ready to transmit and receive data, DCD is a signal to check whether the modem is connected to the modem of another system, and if two systems are connected to the modem, TxD, RxD signal Ultrasonic traffic detection device, characterized in that for transmitting and receiving data, CTS, DSR, RI, GND signals are used for the environment and ground of the modem. 제1항에 있어서,The method of claim 1, 상기 CPU의 직렬 포트는, 딥 스위치를 이용하여 센터와의 통신을 위하여 외장형 다이얼-업 모뎀과 연결 또는 현장 테스트용 컴퓨터와의 직접 연결되는 것임을 특징으로 하는 초음파 교통량 검지 장치.And the serial port of the CPU is connected to an external dial-up modem or directly to a field test computer for communication with a center using a dip switch. 제6항에 있어서,The method of claim 6, 상기 딥 스위치의 상태가 상기 통신 칩으로 입력되면, FPGA 또는 ASIC을 이용하여 구현된 로직에 의하여 CPU의 baud rate가 결정되는 것임을 특징으로 하는 초음파 교통량 검지 장치.And a baud rate of the CPU is determined by logic implemented using an FPGA or an ASIC when the state of the dip switch is input to the communication chip.
KR1020000007111A 2000-02-15 2000-02-15 Apparatus for Collecting Traffic Information By Ultrasonic Means KR20010081493A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020000007111A KR20010081493A (en) 2000-02-15 2000-02-15 Apparatus for Collecting Traffic Information By Ultrasonic Means

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020000007111A KR20010081493A (en) 2000-02-15 2000-02-15 Apparatus for Collecting Traffic Information By Ultrasonic Means

Publications (1)

Publication Number Publication Date
KR20010081493A true KR20010081493A (en) 2001-08-29

Family

ID=19646647

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020000007111A KR20010081493A (en) 2000-02-15 2000-02-15 Apparatus for Collecting Traffic Information By Ultrasonic Means

Country Status (1)

Country Link
KR (1) KR20010081493A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0863694A (en) * 1994-08-25 1996-03-08 Kokusai Electric Co Ltd Method and device for traffic volume investigation
KR960008650A (en) * 1994-08-31 1996-03-22 김태구 Traffic light control device
KR970025243U (en) * 1995-11-24 1997-06-20 Ultrasonic Vehicle Detection Device
KR970049931A (en) * 1995-12-29 1997-07-29 배순훈 Traffic Automation System

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0863694A (en) * 1994-08-25 1996-03-08 Kokusai Electric Co Ltd Method and device for traffic volume investigation
KR960008650A (en) * 1994-08-31 1996-03-22 김태구 Traffic light control device
KR970025243U (en) * 1995-11-24 1997-06-20 Ultrasonic Vehicle Detection Device
KR970049931A (en) * 1995-12-29 1997-07-29 배순훈 Traffic Automation System

Similar Documents

Publication Publication Date Title
JP2006507703A5 (en)
JPH11506830A (en) 2-wire level transmitter
FR2856480B1 (en) OBSTACLE DETECTION DEVICE AND ASSOCIATED COMMUNICATION DEVICE
CN103196494A (en) Embedded type self-powered wireless sensing system for highway health monitoring
CN2859468Y (en) Wireless water meter reading system
CN100394902C (en) Intelligent blind person walking guide instrument and its walking guide method
WO1998045717A3 (en) Remote home monitoring system
EP1953724B1 (en) Control/monitor signal transmission system
CN102508464A (en) Building device for vehicular sensor network platform
US10113900B2 (en) Field device with multiple protocol support
KR20010081493A (en) Apparatus for Collecting Traffic Information By Ultrasonic Means
CN105372661A (en) Ultrasonic intelligent range finder
JPH10255190A (en) Remote meter inspection device and system
KR101869291B1 (en) Apparatus and methdo for detecting obstacle of vehicle
CN207215201U (en) A kind of ultrasonic flowmeter transmitter and ultrasonic flow meter systems
KR200436731Y1 (en) An apparatus for checking the fire extinguisher using ZigBee
KR20000052420A (en) Wireless data transmitting device
US20100279632A1 (en) Communication apparatus
KR100336478B1 (en) Ultrasonic Traffic Detection Device
US20080036621A1 (en) Method for Transmitting Measuring Values Between Two Measuring Transducers
KR20030068328A (en) Device and method for vehicle's diagnosis using bluetooth module
US20230273060A1 (en) Method for distributed determination of a fill level or limit level
JPH11306482A (en) Instrument and method for measuring traffic volume
CN203974735U (en) A kind of control system for safe driving of vehicle
KR100351460B1 (en) Method and apparatus for remoted-detecting a gas meter by using wireless data communication and wire network

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
N231 Notification of change of applicant
E902 Notification of reason for refusal
E601 Decision to refuse application
E601 Decision to refuse application