CN103164977A - Red light signal transmitting device - Google Patents

Red light signal transmitting device Download PDF

Info

Publication number
CN103164977A
CN103164977A CN2011104212547A CN201110421254A CN103164977A CN 103164977 A CN103164977 A CN 103164977A CN 2011104212547 A CN2011104212547 A CN 2011104212547A CN 201110421254 A CN201110421254 A CN 201110421254A CN 103164977 A CN103164977 A CN 103164977A
Authority
CN
China
Prior art keywords
red light
data
send
retransmission unit
light signal
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN2011104212547A
Other languages
Chinese (zh)
Other versions
CN103164977B (en
Inventor
蔡叶菁
易吉良
刘小卫
舒晓华
龙永红
陈胜蓝
邱秋兰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nantong Yuanyuan Network Technology Co.,Ltd.
Original Assignee
Hunan University of Technology
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 Hunan University of Technology filed Critical Hunan University of Technology
Priority to CN201110421254.7A priority Critical patent/CN103164977B/en
Publication of CN103164977A publication Critical patent/CN103164977A/en
Application granted granted Critical
Publication of CN103164977B publication Critical patent/CN103164977B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Detection And Prevention Of Errors In Transmission (AREA)
  • Dc Digital Transmission (AREA)

Abstract

The invention discloses a red light signal transmitting device which is capable of transmitting alternating current (AC) 220V signals of a four-way red light to RS232 or RS485 and transistor-transistor logic (TTL) level signals and outputting and transmitting the signals to a detecting main machine through serial ports, and belongs to accessories of an intelligent traffic system. The red light signal transmitting device comprises an outer shell (1), an AC 220V power source (2), a four-way red light signal input end (3), a serial input interface COM1 (4) and a serial input interface COM2 (5). Four-way AC 220V red light signals are received by the four-way red light signal input end (3), the COM1 (4) is used for receiving red light data of a preceding stage transmitting device, and the COM2 (5) is used for transmitting the current stage red light signals and the preceding stage red light data to a back stage transmitting device or a computer. In the process of red light signal transmission, a hardware handshake and queuing strategy is adopted, report missing of data is avoided, frame header and frame tail authentication is conducted, and the phenomenon of mistaken report is prevented. The red light signal transmitting device has the advantages of being high in detecting precision, convenient to cascade and the like.

Description

A kind of red signal retransmission unit
Technical field
The present invention relates to a kind of red signal retransmission unit, relate in particular to a kind of in intelligent transportation system for detection of red signal and be transmitted to the retransmission unit that detects main frame.
Background technology
Studies show that in a large number, break in traffic rules and regulations and traffic hazard have close relationship, and once violating the regulations is exactly once accurate accident, and reducing violating the regulations is exactly the minimizing accident.The develop rapidly of the technology such as the urgency of improvement break in traffic rules and regulations and computing machine processing, information, data communication transmission, Electronic Control has impelled the birth of intelligent transportation system.
The red signal retransmission unit is an important component part of intelligent transportation system, is the special signal detected transmission equipment of all kinds of electronic police systems in modern intelligent transportation system (road traffic make a dash across the red light violation snap-shooting system).It can change the red signal in each track of the maximum four direction in crossing accurately detects, and can realize high speed real-time Transmission testing result, for the capturing system that makes a dash across the red light of intelligent transportation system provides reliable candid photograph foundation, the power-assisted Modern Traffic is towards scientific, and intelligent direction develops.
Summary of the invention
Red signal retransmission unit disclosed by the invention, red signal is directed to the AC220V signal of red signal machine, the red signal retransmission unit comprises: shell (1), AC220V power supply (2), 4 road red signal input ends (3), serial input interface COM1(4), serial output interface COM2(5).Serial input interface COM1(4) as the red light information that receives the transmission of prime transponder; Serial output interface COM2(5) red signal of the corresponding levels and the red light data of prime are sent to rear class retransmission unit or computing machine.Utilize serial output interface COM2(5) employing following steps when sending the red light data to the rear class transponder:
A 1: judge whether to send the free time, if send busy wait, if the free time is carried out A2;
A2: put and send busy sign, will send data with COM2 serial ports 7 human hair combing waste signal notice rear class retransmission units, and detecting real-time COM2 serial ports 8 pin states, judge whether the rear class retransmission unit is ready to receive data, if unripe wait, if be ready to carry out A3;
A3: send data, the clear sign that hurries that sends is ready for sending the next frame data.
Utilize serial input interface COM1(4) when receiving prime retransmission unit red light data also with this data retransmission, adopt following steps:
B1: detecting real-time COM1 serial ports 7 pin states, judge whether the prime retransmission unit has data to send, if do not continue detecting, if having, carry out B2;
B2: judge whether to receive the free time, if idle, be ready to receive with COM1 serial ports 8 pin notice prime retransmission units, put and receive the sign that does;
B3: receive data judges whether the frame head postamble of data is correct until frame data all finish receiving, if incorrectly do not deal with direct execution in step B4, if correctly send data step according to the COM2 serial ports, data is sent;
B4: the clear sign that hurries that receives, prepare to receive the next frame data.
In forwarding the red signal process, described device adopts hardware handshaking and queuing policy, avoids failing to report the red light data, and carries out the verification of frame head postamble, prevents from reporting by mistake phenomenon and occurs.The present invention have accuracy of detection high, facilitate the advantages such as cascade.
Description of drawings
Fig. 1 is structural representation of the present invention;
Fig. 2 is circuit theory schematic diagram in embodiments of the invention;
Fig. 3 is data transmission flow figure in embodiments of the invention;
Fig. 4 is data retransmission process flow diagram in embodiments of the invention.
Embodiment
The present invention converts the red signal at crossing to RS232/RS485 and the Transistor-Transistor Logic level signal is transmitted to the detection main frame by serial ports.
As Fig. 1, AC220V power supply (2) is changed to whole device power supply through builtin voltage, 4 road red light input ends (3) connect each road red signal machine, serial input interface COM1(4) as cascade prime RS232/RS485 signal, serial output interface COM2(5) be used for sending the RS232/RS485 signal.
As Fig. 2, the circuit theory schematic diagram of the embodiment of the present invention, red signal retransmission unit circuit comprises: red light AC220V signal acquisition module, single chip control module, serial communication modular and LED indicating module.Signal acquisition module becomes with the strong signal of AC220V the DC5V signal that single-chip microcomputer can bear through resistance step-down and photoelectricity isolation; Single chip control module is processed the red signal that receives, and controls the handshake pin of serial port, and realization is communicated by letter with prime and rear class retransmission unit; The LED indicating module is indicated channel number and the serial communication data active state of red signal by its light on and off of single-chip processor i/o port controlling.
As Fig. 3, the red signal device adopts following steps when utilizing serial output interface COM2 to send the red light data:
S1: have data to send, enter and send the data subroutine;
S2: judge according to sending busy sign whether serial output interface COM2 is sending data, waits for if sending data, otherwise carry out S3;
S3: will send busy sign and be set to 1;
S4: 7 pin of serial output interface COM2 are set to low level;
S5: whether the state that judges 8 pin of output interface COM2 is high level, if not continue to wait for, if be execution in step S6 of high level;
S6: 7 pin of serial output interface COM2 are set to high level;
S7: send data by serial output interface COM2;
S8: will send busy being masked as and be set to 0;
S9: finish.
As Fig. 4, the red signal retransmission unit adopts following steps when utilizing serial input interface COM1 to receive prime retransmission unit red light data and forwarding:
T1: enter data receiver and forward subroutine;
T2: whether 7 pin of detecting serial input interface COM1 are low level, if not wait for, if execution in step T3;
T3: judge whether to also have old data not forward according to receiving busy sign, if continue to wait for, if not execution in step T4;
T4: the busy sign of data receiver is put 1;
T5: 8 pin of serial input interface COM1 are set high level;
T6: begin receive data until frame data all receive;
T7: judge whether the frame head of received data and postamble be correct, if the incorrect T9 that changes over to, otherwise order is carried out T8;
T8: send the data that receive according to flow process shown in Figure 3;
T9: the busy sign clear 0 of receive data;
T10: finish.
Described red signal retransmission unit adopts hardware handshaking and queuing policy, avoids failing to report information, and carries out the verification of frame head postamble, prevents from reporting by mistake phenomenon and occurs.
Above-described embodiments of the present invention; it is not the restriction that becomes protection domain of the present invention; if embodiment of the present invention is carried out various distortion or modification, but still within the spirit and principles in the present invention, within all should being included in claim protection domain of the present invention.

Claims (3)

1. red signal retransmission unit, comprise: shell (1), AC220V power supply (2), 4 road red signal input ends (3), serial input interface COM1(4), serial output interface COM2(5), it is characterized in that, AC220V power supply (2) is changed to whole device power supply through builtin voltage, 4 road red light input ends (3) connect each road red signal machine, serial input interface COM1(4) connect prime retransmission unit, serial output interface COM2(5) connection rear class retransmission unit or computing machine.
2. red signal retransmission unit as claimed in claim 1, is characterized in that, utilizes serial output interface COM2(5) send the red light data to the rear class retransmission unit, adopt following steps:
A 1: judge whether to send the free time, if send busy wait, if the free time is carried out A2;
A2: put and send busy sign, with serial output interface COM2(5) 7 human hair combing waste signals notices rear class transponders will send data, and detecting real-time serial output interface COM2(5) 8 pin states, judge whether the rear class transponder is ready to receive data, if unripe wait is if be ready to carry out A3;
A3: send data, the clear sign that hurries that sends is ready for sending the next frame data.
3. red signal retransmission unit as claimed in claim 1, is characterized in that, utilizes serial input interface COM1(4) when receiving prime retransmission unit red light data, adopt following steps:
B1: detecting real-time serial input interface COM1(4) 7 pin states, judge whether the prime retransmission unit has data to send, if do not continue detecting, if having, carry out B2;
B2: judge whether to receive the free time, if idle, use serial input interface COM1(4) 8 pin notice prime retransmission units have been ready to receive, and put and receive the sign that does;
B3: receive data judges whether the frame head postamble of data is correct until frame data all finish receiving, if incorrectly do not deal with, direct execution in step B4 is if correctly send data according to the described step of claim 3;
B4: the clear sign that hurries that receives, prepare to receive the next frame data.
CN201110421254.7A 2011-12-16 2011-12-16 Red light signal transmitting device Active CN103164977B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110421254.7A CN103164977B (en) 2011-12-16 2011-12-16 Red light signal transmitting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110421254.7A CN103164977B (en) 2011-12-16 2011-12-16 Red light signal transmitting device

Publications (2)

Publication Number Publication Date
CN103164977A true CN103164977A (en) 2013-06-19
CN103164977B CN103164977B (en) 2014-12-17

Family

ID=48588026

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110421254.7A Active CN103164977B (en) 2011-12-16 2011-12-16 Red light signal transmitting device

Country Status (1)

Country Link
CN (1) CN103164977B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005122104A1 (en) * 2004-06-14 2005-12-22 Robot Visual Systems Gmbh System for the photographic monitoring of traffic by means of a video camera
US20080303695A1 (en) * 2007-06-06 2008-12-11 Mohammad Meshkin Assembly & method for controlling road signal indicators
CN201298294Y (en) * 2008-11-26 2009-08-26 杭州普乐科技有限公司 Electronic police snap device with traffic statistic function based on Linux system
CN101783071A (en) * 2009-12-30 2010-07-21 云南澜博科技有限公司 Embedded system capable of monitoring unlawful act of vehicle
CN101877168A (en) * 2009-04-29 2010-11-03 上海宝康电子控制工程有限公司 Wireless DSP electronic policeman system for standard definition for running red light
CN201845435U (en) * 2010-06-25 2011-05-25 株洲南车时代电气股份有限公司 Video-based vehicle red-light-running monitoring device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005122104A1 (en) * 2004-06-14 2005-12-22 Robot Visual Systems Gmbh System for the photographic monitoring of traffic by means of a video camera
US20080303695A1 (en) * 2007-06-06 2008-12-11 Mohammad Meshkin Assembly & method for controlling road signal indicators
CN201298294Y (en) * 2008-11-26 2009-08-26 杭州普乐科技有限公司 Electronic police snap device with traffic statistic function based on Linux system
CN101877168A (en) * 2009-04-29 2010-11-03 上海宝康电子控制工程有限公司 Wireless DSP electronic policeman system for standard definition for running red light
CN101783071A (en) * 2009-12-30 2010-07-21 云南澜博科技有限公司 Embedded system capable of monitoring unlawful act of vehicle
CN201845435U (en) * 2010-06-25 2011-05-25 株洲南车时代电气股份有限公司 Video-based vehicle red-light-running monitoring device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
吴洪森,等: ""电子警察"视频检测系统的分析与设计", 《浙江大学学报(工学版)》, vol. 39, no. 10, 31 October 2005 (2005-10-31) *
李向明,等: "基于视频检测的电子警察前端系统设计", 《通信电源技术》, vol. 27, no. 2, 25 March 2010 (2010-03-25) *

Also Published As

Publication number Publication date
CN103164977B (en) 2014-12-17

Similar Documents

Publication Publication Date Title
CN103454996B (en) Host slave system and control method thereof
CN102253913B (en) Device for carrying out state acquisition and output control on multi-board-card port
US9678919B2 (en) Collision detection in EIA-485 bus systems
CN110334046A (en) A kind of communication means, the apparatus and system of SPI full duplex
CN108111382A (en) Communicator and its communication means based on I3C buses
CN104050133A (en) Communication device and method for realizing communication between DSP and PC by means of PCIE on basis of FPGA
CN103823785B (en) Multi-way ARINC429 data transmit-receive circuit structure based on development of DSP and CPLD
CN108011692A (en) A kind of data communications method for microcontroller
CN102546033A (en) Multimachine communication device achieved by adopting pulse modulation combined with serial port mode
CN107122282A (en) A kind of Functional Safety Communication method based on spi bus
CN108170616B (en) System for realizing clock domain crossing signal transmission by using latch
CN103164977A (en) Red light signal transmitting device
CN103164913A (en) Intelligent quick multi-path digital quick-responding system
CN109582634B (en) Bus system
CN208477514U (en) A kind of SPI of intelligent temperature controller turns the analog circuit of UART
US7272744B2 (en) Method for signaling during a transaction and receiving unit and system for use therewith
CN110505200A (en) A kind of multi-protocols daisy chain interface conversion chip
EP1970816A2 (en) A conversion circuit
CN205318374U (en) Redundant circuit of RS -232 serial ports
CN210804414U (en) Circuit with reusable communication interface
CN105599709B (en) Safety device and method for automotive bus system
CN210776241U (en) Two-out-of-three safety input circuit of signal equipment
CN100499410C (en) Apparatus and method for implementing automatic detection of communication interface time sequence
CN108241359A (en) A kind of failure safe output method based on SAFEBus buses
CN103839388A (en) Multiple-host RS485 perimeter alarming method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201123

Address after: 226000 Jiangsu city of Nantong province Gangzha Xingtai Road No. 18

Patentee after: Nantong Yuanyuan Network Technology Co.,Ltd.

Address before: 412007 Zhuzhou Research Institute, Hunan University of Technology, 88 West Taishan Road, Tianyuan District, Hunan

Patentee before: HUNAN University OF TECHNOLOGY