CN209373583U - A kind of compound serial communication interface detection apparatus of monitoring device - Google Patents

A kind of compound serial communication interface detection apparatus of monitoring device Download PDF

Info

Publication number
CN209373583U
CN209373583U CN201821617818.8U CN201821617818U CN209373583U CN 209373583 U CN209373583 U CN 209373583U CN 201821617818 U CN201821617818 U CN 201821617818U CN 209373583 U CN209373583 U CN 209373583U
Authority
CN
China
Prior art keywords
chip
communication
interface
communication interface
detection
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.)
Expired - Fee Related
Application number
CN201821617818.8U
Other languages
Chinese (zh)
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201821617818.8U priority Critical patent/CN209373583U/en
Application granted granted Critical
Publication of CN209373583U publication Critical patent/CN209373583U/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

The utility model provides a kind of compound serial communication interface detection apparatus of monitoring device, can the communication interface communication function to monitoring device detect, and it can be particularly shown the testing result of communication interface in visual form, greatly improve the detection verification efficiency of communication interface detection on monitoring device production line, it includes the one chip microcomputer in device, and I/O mouthfuls built-in of two serial ports are connected with RS485 interface communication chip, the RS422 interface communication chip in device respectively in the one chip microcomputer.

Description

A kind of compound serial communication interface detection apparatus of monitoring device
Technical field
The present invention relates to a kind of compound serial communication interface detection apparatus of monitoring device, belong to Video Supervision Technique neck Domain.
Background technique
Intellectualizing system is made of being collected as modern communications and information technology, computer networking technology etc. for one party The smart set of the application in face.With modern communication technology, computer networking technology and Field Bus Control Technology it is at full speed Development, digitlization, networking and it is information-based just increasingly incorporate among people's lives, especially video monitoring equipment more by People and user's likes.Currently, general video monitoring equipment is provided with RS485/RS422 communication interface, but in life When producing test, whether the function of testing communication interface module is normal, is typically only capable to be tested by tester's craft wiring and verify, this The manual test of sample extremely takes time and effort, so needing a kind of more easy compound detection device to complete to RS485/ Work is verified in the test of RS422 communication interface.
Utility model content
Technical problem to be solved by the utility model is: providing a kind of compound serial communication interface detection of monitoring device Device, can the serial communication interface communication function to monitoring device detect, and can specifically show in visual form The testing result for showing communication interface greatly improves the detection verifying effect of communication interface detection on monitoring device production line Rate.
The technical scheme adopted by the utility model to solve the technical problem is as follows: a kind of compound serial ports of monitoring device is logical Communication interface detection device characterized by comprising
One chip microcomputer in device, in the one chip microcomputer I/O mouthfuls built-in of two serial ports respectively with dress RS485 interface communication chip, RS422 interface communication chip in setting are connected;
The RS485 interface communication chip draws a data line and is connected with the RS485 connecting terminal block of device peripheral hardware;
The RS422 interface communication chip draws a data line and is connected with the RS422 connecting terminal block of device peripheral hardware;
A power supply mould group is additionally provided in device, for each electronics in device;
Device is externally provided with the detection button of trigger device work, the toggle switch of change detection communication port and a display inspection Survey the LCD display of result;
It include that there are two serial ports I/O mouthfuls of microcomputer chip, Ji Yuwei built in one piece in the one chip microcomputer LCD controller, the Flash flash memory, sdram memory of machine core piece connection.
The utility model has the beneficial effects that the detection button on the device for passing through the utility model just can be triggered to monitoring The communication interface of equipment (such as network hard disk video recorder) is detected, and be will test result and shown in visual mode, To solve in background technique with the defect of artificial mode of connection detection monitoring device communication interface communication function inefficiency.
Detailed description of the invention
The attached drawing constituted part of this application is used to provide a further understanding of the present invention, the utility model Schematic diagram and its explanation are not constituteed improper limits to the present invention for explaining the utility model.In the accompanying drawings:
Fig. 1 is the structural block diagram of the utility model;
Fig. 2 is the schematic diagram of the one chip microcomputer of the utility model;
Fig. 3 is the wiring schematic diagram of the RS485 interface communication chip of the utility model;
Fig. 4 is the wiring schematic diagram of the RS422 interface communication chip of the utility model;
Fig. 5 is the schematic diagram of the RS485 connecting terminal block of the utility model;
Fig. 6 is the schematic diagram of the RS422 connecting terminal block of the utility model;
Fig. 7 is the schematic diagram of the toggle switch of the utility model;
Fig. 8 is the connection circuit connection schematic diagram of the one chip microcomputer of the utility model.
Specific embodiment
The utility model is described in further detail presently in connection with attached drawing.These attached drawings are simplified schematic diagram, Only illustrate the basic structure of the utility model in a schematic way, therefore it only shows composition related with the utility model.
RS485 and 422 communication interface detection devices as shown in Figure 1 should including the one chip microcomputer 1 in device In one chip microcomputer 1 built-in I/O mouthfuls of 1b of two serial ports respectively with RS485 interface communication chip 2, the RS422 in device Interface communication chip 3 is connected.The RS485 interface communication chip 2 uses MAX485 chip, as shown in figure 3, RS485 connects The end RXD, TXD of mouth communication chip is connected with the end RXD, TXD at the end serial ports I/O of microcomputer chip respectively, passes through the height of RE, DE Low level switching control data half-duplex transmission mode, A, B terminals of RS485 interface communication chip are respectively and as shown in Figure 5 The end D+, D- of RS485 connecting terminal block 4 be connected.RS422 interface communication chip 3 draws a data line and device peripheral hardware RS422 connecting terminal block 5 is connected.The RS422 interface communication chip 3 uses MAX3095 chip, as shown in figure 4, The end A, B of RS422 interface communication chip is connected with the end RXD, TXD at the end serial ports I/O of microcomputer chip respectively, RS422 interface Y1, Y2, Y3, Y4 terminals of communication chip respectively with the end T+, T-, R+, R- phase of RS422 connecting terminal block 4 as shown in FIG. 6 Connection;
Power supply mould group 9 is additionally provided in device, for each electronics in device.Device is externally provided with triggering dress Set the detection button 6 of work, the toggle switch 7 of change detection communication port and the LCD display 8 for showing testing result;
In one chip microcomputer 1 as shown in Figure 2 include: one piece of microcomputer chip 1a, and is connect with microcomputer chip 1a LCD controller 1c, Flash flash memory 1d, sdram memory 1e;The microcomputer chip uses S3C44BOX01L chip, microcomputer core Piece is built-in, and there are two serial ports I/O mouthfuls of 1b;LCD controller uses LCD12864 chip.
The mentality of designing of the serial communication interface detection apparatus of the utility model be according to microcontroller serial port interaction concept into Row design.When being monitored the serial communication Function detection of equipment, the course of work of the utility model is as follows:
1, interface type judges: judging that the communication interface in monitoring device is a few line systems, if the communication in monitoring device connects The 2 line interfaces that mouth is D+/D- are then RS485 communication interface, this communication interface is half-duplex transmission mode;If in monitoring device Communication interface be the 4 line interfaces of T+/T-, R+/R- be then RS422 communication interface, this communication interface is full duplex transmission mould Formula;
2, detection interface connection: as shown in fig. 7, equipment detects interface class using a bit-type DIP toggle switch control device Type, is allocated to " 1 " end, switch connection, and detection device is switched to RS485 interface detecting state;It is allocated to " 0 " end, then switchs disconnection, is examined It surveys device and is switched to RS422 interface detecting state.When being in RS485 interface detecting state, RS485 connecting terminal block 4 is used It is linked on the communication interface of monitoring device;When being in RS422 interface detecting state, accessed using RS422 connecting terminal block 5 Onto the communication interface of monitoring device;
3, start detection device: by detection trigger button 6,801 circuit parts as shown in Figure 8 are detection button 6 The switch K2 of wiring schematic diagram, detection trigger button meets the RST that one high level signal of generation is input to one chip microcomputer 1 Mouthful, after one chip microcomputer 1 receives the high level signal, into detection working condition;802 circuit parts as shown in Figure 8, K1 is toggle switch, and the connected state by switching toggle switch generates high level or low level signal, and electric signal passes through such as Fig. 8 Shown in 803 amplifying circuits, be input to the wiring point 1 of one chip microcomputer 1, Flash flash memory 1d in one chip microcomputer 1 In the timing routine write can scan the electric signal in wiring point 1, start corresponding serial ports by judging the height of electric signal Communication interface;
Referring to 803 parts of Fig. 8, the electric signal that toggle switch generates can enter by R1 ~ R6 resistance, S1 diode, S2 bis- The amplification circuit of electrical signal of pole pipe and capacitor C composition, electric signal are inputted by the end R1, after the amplification of the NPN type diode of S1 and S2 It is input to 1 wiring point of one chip microcomputer, when input signal is high level signal, 7,8 wiring of one chip microcomputer 1 The RS455 interface communication chip of the built-in serial ports I/O mouthfuls of connections of connection enters work;When input signal is low level, monolithic is micro- The RS422 interface communication chip of the built-in serial ports I/O mouthfuls of connections of 7, the 8 wiring connection of type computer 1 enters work;
4, serial ports tests signal communication: the timing routine after serial port communication chip enters work, in one chip microcomputer 1 A string of test request codes " 0x11FF0011 " can be issued on corresponding serial port communication chip, monitoring device end is according to the inspection of input Request code, corresponding detection answer code " 0x00FF1100 " of return to serial communication interface side are surveyed, and is transmitted to single-sheet miniature meter It is handled in calculation machine 1;
Referring to Fig. 3, RS485 interface communication chip communication process is that when exporting request code, the DE of RS485 communication chip 2 is High level, RE are low level, into transmission operating mode, Transistor-Transistor Logic level are converted to RS-485 level, is transmitted to RS485 wiring In terminal block 4, monitoring device end is sent to by RS485 connecting terminal block 4;When receiving answer code, the RE of RS485 communication chip 2 For high level, DE is low level, into receiving operating mode, and the level conversion of RS-485 is transmitted to monolithic at Transistor-Transistor Logic level In microcomputer 1;
Referring to fig. 4, RS422 interface communication chip communication process is, when exporting request code, RS422 communication chip 3 is by TTL Level conversion is RS-422 level, is transmitted on RS422 connecting terminal block 5, is sent to monitoring by RS422 connecting terminal block 5 and sets Standby end;When receiving answer code, it is micro- to be transmitted to monolithic at Transistor-Transistor Logic level for the level conversion by RS-422 that RS422 communication chip returns In type computer 1;
5, serial ports response signal is handled: response results are transmitted to by the TTL signal that timing routine is returned by analysis response In one chip microcomputer 1 in LCD controller 1c, LCD display 8 is controlled by LCD controller 1c, shows that the detection received is rung It answers code " 0x00FF1100 ", whether return that testing staff shows according to LCD display 8 detection answer code correctly judges to monitor Whether the communication function of the communication interface in equipment is normal;
It is one chip microcomputer 1 and LCD connection schematic diagram referring to 804 circuit parts in Fig. 8, LCD controller 1c is used Series display mode, CLK mouth input clock signal, the SID mouthfuls of input serial datas of LCD controller 1c will by impulse hits Detection answer code data, which are delivered to inside LCD, to be shown.
Only specific embodiment of the present utility model described above, various illustrations are not to the reality of the utility model The limitation of matter Composition of contents, person of an ordinary skill in the technical field can be to described in the past specific after having read specification Embodiment is made an amendment or is deformed, without departing from the spirit and scope of utility model.

Claims (1)

1. a kind of compound serial communication interface detection apparatus of monitoring device characterized by comprising the monolithic in device is micro- Type computer (1) connects for built-in I/O mouthfuls of two serial ports (1b) with the RS485 in device respectively in the one chip microcomputer (1) Mouth communication chip (2), RS422 interface communication chip (3) are connected;
The RS485 interface communication chip (2) draws a data line and is connected with the RS485 connecting terminal block (4) of device peripheral hardware It connects;
The RS422 interface communication chip (3) draws a data line and is connected with the RS422 connecting terminal block (5) of device peripheral hardware It connects;
A power supply mould group (9) is additionally provided in device, for each electronics in device;
Device is externally provided with the detection button (6) of trigger device work, the toggle switch (7) of change detection communication port and a display The LCD display (8) of testing result;
It include the microcomputer chip (1a) built in one piece there are two serial ports I/O mouthfuls (1b) in the one chip microcomputer (1), And LCD controller (1c), Flash flash memory (1d), the sdram memory (1e) being connect with microcomputer chip (1a).
CN201821617818.8U 2018-10-02 2018-10-02 A kind of compound serial communication interface detection apparatus of monitoring device Expired - Fee Related CN209373583U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201821617818.8U CN209373583U (en) 2018-10-02 2018-10-02 A kind of compound serial communication interface detection apparatus of monitoring device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201821617818.8U CN209373583U (en) 2018-10-02 2018-10-02 A kind of compound serial communication interface detection apparatus of monitoring device

Publications (1)

Publication Number Publication Date
CN209373583U true CN209373583U (en) 2019-09-10

Family

ID=67838064

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201821617818.8U Expired - Fee Related CN209373583U (en) 2018-10-02 2018-10-02 A kind of compound serial communication interface detection apparatus of monitoring device

Country Status (1)

Country Link
CN (1) CN209373583U (en)

Similar Documents

Publication Publication Date Title
CN102866322B (en) A kind of touching device detection method
CN109143033B (en) Automatic testing system for whole satellite interface
CN104820637B (en) A kind of hand-held USB3.0 protocol analyzers
CN102087334A (en) High-reliability digital quantity acquisition system
CN107688521A (en) A kind of server power supply detects circuit and detection method in place
CN103154753A (en) Testing high-speed input-output devices
CN102866309A (en) Detection system and detection method for power terminal
CN102129061A (en) Automatic wiring detection device and method for three-phase simulation electric energy meter
CN102075788A (en) Automatic detection method and testing device for set top box
CN103995764A (en) Logic analyzer with serial bus protocol continuous triggering function
CN203241502U (en) Control system general testing device based on CPCI bus
CN206321757U (en) A kind of device of automatic test chip
CN1952905A (en) Bridging type fault injection apparatus and method of fault-tolerant computer system
CN102331546A (en) Device for detecting quality of multi-core cable based on wireless transmit-receive mode
CN103531247A (en) Testing device
CN104392603B (en) A kind of live power information collecting device intelligent diagnosis system
CN106936496B (en) Hot plug device for multiple IIC communication devices
CN206863160U (en) A kind of multi-thread detector
CN206369789U (en) A kind of multifunctional digital wafer prober
CN209373583U (en) A kind of compound serial communication interface detection apparatus of monitoring device
CN209264906U (en) CVC-200T hardware intelligent test system
CN108735309B (en) In-service inspection device for reactor protection system
CN207588113U (en) Network interface plug-in and pull-off device and network interface insert-pull detection system
CN107422214B (en) A kind of testing device for touch screens
CN203788304U (en) Device for testing function of hardware interface

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190910

Termination date: 20191002