A kind of driveway controller based on TCP communication
Technical field
The utility model relates to field of traffic, and in particular to a kind of driveway controller based on TCP communication.
Background technique
Driveway controller is the most basic control unit of freeway toll station, and connection railing device, awning lamp etc. are external
Equipment simultaneously controls it, while driveway controller is also responsible for the state of the external equipments such as acquisition railing device, awning lamp, because
The state of collected external equipment is sent to industrial control computer by driveway controller, thus can only industrial control computer and with
The state of external equipment is checked by the administrative center that industrial control computer is connected, and for needing to grasp at any time, highway is various sets for this
It is inconvenient for the staff of standby state.
Authorization Notice No. is that the utility model patent of CN205263527U discloses a kind of driveway controller comprising shell
Body, the control circuit board in shell and the first communication port on shell and the second communication port, described second is logical
Letter port is shown for the status information of the external equipments such as railing device, awning lamp to be sent to industrial control computer.The utility model
Disclosed driveway controller its only can by the status information of the external equipments such as railing device, awning lamp send industrial control computer, work
The state of external equipment can only be checked by industrial control computer by making personnel;Or by the shape of the received external equipment of industrial control computer
State information is sent to connected administrative center, and staff checks the state of external equipment by administrative center, still,
This further increases work complexity for the industrial control computer for originally serving as complex work.
Utility model content
It in order to solve the above technical problems, can not the utility model relates to a kind of driveway controller based on TCP communication
The working condition for needing that staff is just allowed more easily to grasp coupled external equipment by means of industrial control computer.
The driveway controller based on TCP communication according to the utility model include communication interface, relay, power interface,
First circuit main board, further includes second circuit mainboard and network module, the second circuit mainboard and first circuit main board
Connection, the network module are installed on the second circuit mainboard.
Preferably, the second circuit mainboard and the connection type of first circuit main board are that grafting, winding displacement are connect
At least one of.
Any of the above-described scheme is preferably, and the communication interface, the relay and the power interface are installed on described
On first circuit main board.
Any of the above-described scheme is preferably, and the communication interface and the relay pass through circuit connection.
Any of the above-described scheme is preferably, and the network module and the relay pass through circuit connection.
Any of the above-described scheme is preferably, and the power interface is mentioned for connecting external power supply for above-mentioned each component part
For electric energy.
Any of the above-described scheme is preferably, and the driveway controller further includes RS235 serial ports, for driveway controller into
Row debugging.
Any of the above-described scheme is preferably, and the RS235 serial ports is installed on the second circuit mainboard.
Any of the above-described scheme is preferably, and the driveway controller passes through the network module and remote status checking device
Connection.
Any of the above-described scheme is preferably, and the remote status checking device includes server, at least one in mobile terminal
Kind.
Any of the above-described scheme is preferably, and TCP is used between the network module and the remote status checking device
(Transmission Control Protocol transmission control protocol) protocol communication.
Any of the above-described scheme is preferably, and the driveway controller is connect by communication interface with industrial control computer.
Any of the above-described scheme is preferably, and the driveway controller receives the external equipment that the industrial control computer is sent and drives
Dynamic order.
Any of the above-described scheme is preferably, and the driveway controller is connect by the relay with external equipment.
Any of the above-described scheme is preferably, and the driveway controller is dynamic by external equipment described in the relay driving
Make.
Any of the above-described scheme is preferably, and the driveway controller acquires the shape of the external equipment by the relay
State information.
Any of the above-described scheme is preferably, and the driveway controller is by the communication interface by the shape of the external equipment
State information is sent to the industrial control computer.
Any of the above-described scheme is preferably, and the driveway controller passes through the network module for the shape of the external equipment
State information sends remote status checking device.
Any of the above-described scheme is preferably, and the relay is 12V relay.
Any of the above-described scheme is preferably, and the power interface is 12V power interface.
Any of the above-described scheme is preferably, and the external equipment includes railing device, awning lamp, right of way signal lamp, Huang Shanbao
At least one of alert device, lane detector.
Any of the above-described scheme is preferably, and the driveway controller further includes mounting plate and cabinet.
Any of the above-described scheme is preferably, and first circuit main board and/or second circuit mainboard are installed and the installation
On plate.
Any of the above-described scheme is preferably, and the mounting plate is installed in the cabinet.
Can both staff be made to pass through industrial control computer using the driveway controller based on TCP communication of the utility model
It checks the state of external equipment, staff can also be made in the long-range shape for checking equipment real time inspection external equipment by state
State is conducive to the state that staff grasps charge station at any time, is compared to present scene and checks or looked by administrative center
It sees, substantially increases convenience.
Detailed description of the invention
Fig. 1 is the structural representation according to a preferred embodiment of the driveway controller based on TCP communication of the utility model
Figure.
Fig. 2 is the circuit board according to the embodiment as shown in Figure 1 of the driveway controller based on TCP communication of the utility model
Distribution schematic diagram.
Fig. 3 is the structural schematic diagram according to another embodiment of the driveway controller based on TCP communication of the utility model.
Fig. 4 is the circuit board according to the embodiment as shown in Figure 3 of the driveway controller based on TCP communication of the utility model
Distribution schematic diagram.
Fig. 5 is to set according to the embodiment as shown in Figure 1 of the driveway controller based on TCP communication of the utility model with other
Standby connection schematic diagram.
Specific embodiment
The utility model in order to better understand combined with specific embodiments below elaborates to the utility model.
Embodiment 1
As shown in Figure 1, a kind of driveway controller based on TCP communication, including the first circuit main board 100, second circuit master
Plate 110, communication interface 120,12V relay 130,12V power interface 140, network module 150, RS235 serial ports 160, mounting plate
170 and cabinet 180.The second circuit mainboard 110 is connect with the first circuit main board 100.The network module 150 and RS235
Serial ports 160 is installed on the second circuit mainboard 110.The communication interface 120,12V relay 130 and 12V power interface
It is installed on first circuit main board 100.First circuit main board 100 is installed on the mounting plate 170, the installation
Plate 170 is installed in the cabinet 180.
The communication interface 120 and the 12V relay 130 by circuit connection, the network module 150 with it is described after
Electric appliance 130 is by circuit connection, and the network module 150 uses Transmission Control Protocol, and 12 power input interface 140 is for connecting
External power supply provides electric energy for above-mentioned each component part.
Embodiment 2
As shown in Fig. 2, first circuit main board 100 and the second circuit mainboard 110 are rectangle, wherein described the
The apparent size of one circuit main board 100: a length of 302mm, width 125mm, a height of 2mm, the appearance of the second circuit mainboard 110
Size: a length of 90mm, width 85mm, a height of 2mm, the second circuit mainboard 110 are electric with described first by way of grafting
Road mainboard 100 connects.Chip 210 is installed on first circuit main board 100 and the second circuit mainboard 110, it is described
Chip is for handling various data.On first circuit main board 100, the communication interface 120 is installed, it is described
Communication interface 120 includes 37 needle serial ports of needle serial port 121 and 25 122, is also equipped with communication on first circuit main board 100 and connects
Mouth switching push button 200, by completing 37 needle serial port input and output to 25 needle serial port input and output by lower communication interface switching push button
Switching, so that the driveway controller is can be adapted for different I/O mouthfuls of industrial control computers.In first circuit main board 100
On 8 relays are installed, for connecting the external equipment.It is provided on four angles of first circuit main board 100
Mounting hole 200, for first circuit main board 100 to be fixed on the mounting plate 170.
Embodiment 3
As shown in figure 3, a kind of driveway controller based on TCP communication, including including first the 100, second electricity of circuit main board
Road mainboard 110, communication interface 120,12V relay 130,12V power interface 140, network module 150, RS235 serial ports 160, peace
Loading board 170 and cabinet 180.The first circuit board 100 and the second circuit board 110 connect, and the first circuit board 100
It is all connect with the mounting plate 170 with the second circuit board.
Embodiment 4
As shown in figure 4, first circuit main board 100 and the second circuit mainboard 110 are rectangle, first electricity
Road mainboard 100 is connected with the second circuit mainboard 110 by winding displacement 400.Chip 210 is installed on the circuit main board,
For carrying out data processing.Power interface 140, No. 8 relays 130 and communication are installed to connect on first circuit main board 100
Mouth 120, the communication interface 120 can be configured according to I/O mouthfuls of type of mainstream industrial control computer, such as be set as 37 needle strings
Mouth, 25 needle serial ports etc..The RS235 serial ports 160 and the network module 150 are installed on the second circuit mainboard 110.?
It is provided with mounting hole on the angle of first circuit main board 110 and the second circuit mainboard 110, is used for the circuit main board
It is fixed on the mounting plate 170.
Embodiment 5
As shown in figure 5, driveway controller 500 is connect by the communication interface 120 with the industrial control computer 510, use
It is sent in the peripheral equipment control order that the reception industrial control computer 510 is sent, and by the external device status information of acquisition
To the industrial control computer 510.
Driveway controller 500 is connect by the relay 130 with external equipment, and the external equipment includes railing device
560, awning lamp 561, right of way signal lamp 562, yellow sudden strain of a muscle alarm lamp 563 and lane detector 564, driveway controller 500 receive
After the peripheral equipment control order of the industrial control computer 510, external equipment movement is driven by the relay 130, it is described
External equipment movement includes that the railing device 560 is lifted or fallen, the awning lamp 561 shows red fork or green haircut, described
The display of signal of communication lamp 562 allows token passing or no through traffic label, the yellow alarm lamp 563 that dodges to alarm or do not report
It is alert;The driveway controller 500 acquires the status information of the external equipment by the relay 130 and is sent to the work
Computer is controlled, the state of the external equipment includes that the railing device 560 is lifting status or full state, the awning lamp
The 561 red forked states of display or display green arrow state, the right of way signal lamp 562 display allow token passing state or
Carry out token passing state, the yellow alarm lamp 563 that dodges is alarm condition or non-alarm condition, the lane detector 564
To detect vehicle-state or vehicle-state being not detected.
Driveway controller 500 is connect by RS235 serial ports 160 with commissioning device 530, is installed just in driveway controller 500
When beginning or breakdown maintenance, staff can be connected driveway controller 500 and commissioning device 530 by RS235 serial ports 160
It connects, confirms whether driveway controller 500 can work normally convenient for staff, find fault point convenient for staff and to it
It repairs.
Driveway controller 500 is connect by power interface 140 with external power supply 520, is worked normally for driveway controller 500
Electric energy is provided, to avoid powering off the influence to driveway controller suddenly, the external power supply can use ups power, to avoid
Damage of the surge to driveway controller 500 can increase surge protective device at the power interface 140.
Driveway controller 500 is connect by network module 150 with the remote status checking device, and the remote status is looked into
See that device includes server 540 and/or mobile terminal 550.The network module 150 uses TCP communication agreement.
Embodiment 6
The network module 150 can be connect by optical fiber with the server 540, can also pass through mobile network and institute
State the connection of mobile terminal 550.It is logical using TCP between the network module 150 and the server 540 and/or the mobile terminal 550
Letter agreement is communicated.After the relay 130 acquires the external device status information, pass through the communication interface all the way
120 are sent to the industrial control computer 510, are sent to the server 540 and/or institute by the network module 150 all the way
State mobile terminal 550.It, can be with outer described in real time inspection after staff logs in the server 540 and/or the mobile terminal 550
The status information of portion's equipment, found the abnormal situation in time.
When highway because the reasons such as low visibility weather, traffic accident, road maintenance need to close or part is closed
When closing, staff passes through external described in 550 each lane of real time inspection charge station of the server 540 and/or the mobile terminal
The state of equipment can join with charge station's website in time if discovery executes lane or the charge station of shutdown command mistake
System informs that it executes shutdown command mistake, is modified in time.
When highway because staff passes through the server 540 and/or institute when the big needs of vehicle flowrate are all open
The state of external equipment described in 550 each lane of real time inspection charge station of mobile terminal is stated, if discovery has part lane or charge station
It is in off state, can go and find out what's going in time with charge station's site affiliation.
When highway opens, staff is real-time by the server 540 and/or the mobile terminal 550
Check the state of external equipment described in each lane of charge station, display is abnormal if discovery has external device status, can notify in time
Technical staff determines abnormal cause.
Embodiment 7
To make driveway controller adapt to different charge station's systems, the number of the relay on the driveway controller can be with
The number of the external equipment connected as needed is configured.First circuit main board 100 and the second circuit mainboard 110
It can be fixed on by mounting hole on the mounting plate 170, it can also be by the way that card slot be arranged on the mounting plate 170, by institute
Circuit main board is stated to be fixed on the mounting plate 170.The mounting plate 170 is fixed in the cabinet 180, and for the ease of peace
Dress and maintenance, the mounting plate can take apart out of described cabinet 180.
It should be noted that above embodiments are merely to illustrate the technical solution of the utility model, rather than its limitations;To the greatest extent
The utility model is described in detail in pipe previous embodiment, it should be appreciated by those skilled in the art: it can be to preceding
The technical solution for stating embodiment record is modified, or equivalent substitution of some or all of the technical features, and
These replacements, the range for technical solutions of the utility model that it does not separate the essence of the corresponding technical solution.