CN204241910U - Based on the remote terminal unit unit test system of LPC1764 single-chip microcomputer - Google Patents

Based on the remote terminal unit unit test system of LPC1764 single-chip microcomputer Download PDF

Info

Publication number
CN204241910U
CN204241910U CN201420764206.7U CN201420764206U CN204241910U CN 204241910 U CN204241910 U CN 204241910U CN 201420764206 U CN201420764206 U CN 201420764206U CN 204241910 U CN204241910 U CN 204241910U
Authority
CN
China
Prior art keywords
chip microcomputer
module
interface
test
rtu
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.)
Active
Application number
CN201420764206.7U
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.)
SHENYANG ZHONGKE AOWEI TECHNOLOGY Co Ltd
Original Assignee
SHENYANG ZHONGKE AOWEI TECHNOLOGY Co Ltd
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 SHENYANG ZHONGKE AOWEI TECHNOLOGY Co Ltd filed Critical SHENYANG ZHONGKE AOWEI TECHNOLOGY Co Ltd
Priority to CN201420764206.7U priority Critical patent/CN204241910U/en
Application granted granted Critical
Publication of CN204241910U publication Critical patent/CN204241910U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The utility model relates to a kind of remote terminal unit unit test system based on LPC1764 single-chip microcomputer, data memory module connects single-chip microcomputer, path handover module one end connects single-chip microcomputer, receive the guiding path handover information that single-chip microcomputer sends, the other end is connected to tested RTU module by corresponding test interface, one RS232 serial communication modular one end connects single-chip microcomputer, the other end connects computing machine by communication interface, computing machine is connected to tested RTU module by RTU module communication interface after connecting the 2nd RS232 serial communication modular and RS485 serial communication modular successively by communication interface, single-chip microcomputer is connected to cylinder control panel by cylinder control panel communication interface, with the two-way communication of cylinder control panel.The test that the utility model can be remote terminal unit unit module provides test condition, and by software instruction switch test condition, switch speed is fast; Reduce tester's operation steps, enhance productivity; Realize software automatically to control, test result is accurate, and accuracy rate is high.

Description

Based on the remote terminal unit unit test system of LPC1764 single-chip microcomputer
Technical field
The utility model relates to the Auto-Test System of remote terminal unit unit module (RTU), particularly relates to a kind of remote terminal unit unit test system based on LPC1764 single-chip microcomputer.
Background technology
Remote terminal unit unit is mainly used in monitoring, controlling and the application of data acquisition.There is remote measurement, remote signalling, remote regulating, distant control function.Be applied to the industries such as electric power, water conservancy, oil more.
And remote terminal unit Elementary Function is various, the accuracy requirement of the functions such as data acquisition, data transmission, data processing is also very high, therefore needs when detecting to process a large amount of data.As adopted manual type to detect, then testing staff is needed to have good technical foundation, simultaneously because test process complexity is very easily made mistakes.Most importantly the test duration is very long, and production efficiency is low.
Utility model content
For the deficiencies in the prior art, the utility model provides a kind of remote terminal unit unit test system based on LPC1764 single-chip microcomputer for detecting remote terminal unit unit performance and each interface function.So that introduce when reducing test think error, reduce the requirement of tester and be convenient to detect remote terminal unit Elementary Function.
The technical scheme that the utility model is adopted for achieving the above object is: a kind of remote terminal unit unit test system based on LPC1764 single-chip microcomputer, data memory module connects single-chip microcomputer, with single-chip microcomputer two-way communication, for storing the current configuration data of RTU test board;
Path handover module one end connects single-chip microcomputer, and receive the guiding path handover information that single-chip microcomputer sends, the other end is connected to tested RTU module by corresponding test interface, for switching different guiding paths;
One RS232 serial communication modular one end connects single-chip microcomputer, and the other end connects computing machine by communication interface, realizes the communication connection between computing machine and single-chip microcomputer;
Computing machine is connected to tested RTU module by RTU module communication interface after connecting the 2nd RS232 serial communication modular and RS485 serial communication modular successively by communication interface, sets up the communication connection between computing machine and tested RTU module;
Single-chip microcomputer is connected to cylinder control panel by cylinder control panel communication interface, with the two-way communication of cylinder control panel, realizes the communication connection between single-chip microcomputer and cylinder control panel.
Described test interface comprises DI test interface, AI test interface, AI input interface and DO test interface.
Supply module connecting test system, for test macro is powered.
Described tested RTU module connects single-chip microcomputer, for detecting the LED status of tested RTU module by pilot lamp interface.
Also comprise MODEM testing circuit and connect tested RTU module by MODEM interface, for detecting the MODEM interface function of tested RTU module.
Also comprise choosing band module testing circuit and connect tested RTU module, for detecting the choosing band module interface function of tested RTU module by choosing band module interface.
The utility model has following beneficial effect and advantage:
1, the test that the utility model can be remote terminal unit unit module provides test condition;
2, the utility model is by software instruction switch test condition, and switch speed is fast;
3, the utility model can reduce tester's operation steps, enhances productivity;
4, the utility model can realize software and automatically controls, and test result is accurate, and accuracy rate is high.
Accompanying drawing explanation
Fig. 1 is the utility model circuit block diagram;
Fig. 2 is RS485 and RS232 transition of communications circuit;
Fig. 3 is optocoupler circuit;
Fig. 4 is DI test circuit;
Fig. 5 is AI test circuit.
Embodiment
Below in conjunction with drawings and Examples, the utility model is described in further detail.
The utility model is intended to reduce the personal error in test process, reduces tester's skill set requirements, improves testing efficiency.When frequent replacing test event, remote terminal unit unit testing plate can complete the automatic switchover of test event according to computer instruction, and provides the test condition of remote terminal unit unit.Remote terminal unit unit testing plate can be used for the following functions testing remote terminal unit unit: circuit parameter, analog input signal (AI), digital input signals (DI), digital output signal (DO), RS232 communication, RS485 communication, ethernet communication, state instruction, LED Unit interface, MODEM expansion interface, choosing band module interface, watchdog reset, real-time clock.
As shown in Figure 1, RTU test board provided by the utility model, for the automatic detection of remote terminal unit unit performance index.Its circuit comprises single-chip minimum system, data memory module, serial communication modular, path handover module, supply module and each interface corresponding with tested RTU module.Single-chip minimum system is the control core of whole circuit board, in order to run test procedure of the present utility model, controls the functions such as the communication of whole circuit board, test access switching, data storage; Data memory module is mainly in order to store the current configuration data of RTU test board; Serial communication modular mainly contains RS232 communication and to communicate with RS485 2 types, totally 3 communication interfaces.First single-chip minimum system for RTU test board and compunication, RTU test board is configured according to the instruction of computing machine, and returns corresponding information.Second, for the foundation of the communication link of computing machine and tested RTU intermodule, mainly realizes the conversion of RS232 and RS485 communication pattern.Communication between 3rd single-chip minimum system for RTU test board and cylinder control panel, is mainly used to, for cylinder control panel provides control command, realize the control to cylinder and LCD screen; Path handover module forms primarily of relay, in order to switch different guiding paths, realizes the switching of different test event; Supply module mainly contains DC/+12V and DC/+24V two kinds of galvanic inputs, with thinking RTU test fixture and tested RTU module for power supply; Tested RTU module interface is mainly used in the connection of RTU test fixture and tested RTU module each interface direct, to realize the test to each function of RTU module.
The LPC1764 single-chip microcomputer that single-chip minimum system employs NXP company designs.Use the crystal oscillator of 12M, matching capacitance is 18p.Emulation interface adopts the JTGA mode of the 20pin interface of 2*10.Affect Auto-Test System owing to worrying this frock program autoboot, therefore the design of this frock does not add watchdog reset circuit, has only done pull-up design to reset pin.
The design of data memory module uses the storage chip AT24C254 chip of atmel corp, and the storage space of its 256K has enough used the configuration data depositing RTU test board.
Serial communication modular is divided into following three parts:
(1) single-chip minimum system of RTU test board and compunication: this part circuit uses the serial ports 1 of LPC1764 single-chip microcomputer.Adopt the typical circuit design of SP3232 chip, for the RS232 level of serial communication and the conversion of Transistor-Transistor Logic level.Realize the communication of single-chip microcomputer and computing machine.Make RTU test board can receive steering order from computing machine, and it is replied.The external interface of this part adopts DB9 female, serial ports extended line can be used directly to survey serial ports with computing machine and be connected.DB9 interface is defined as: 2 human hair combing wastes send, 3 pin receive, 5 pin are ground.
(2) single-chip minimum system of RTU test board communicates with cylinder control panel: this part circuit uses the serial ports 3 of LPC1764 single-chip microcomputer.The typical circuit design of same employing SP3232 chip, for the RS232 level of serial communication and the conversion of Transistor-Transistor Logic level.External interface adopts the 3pin white socket of 2.54mm spacing.RTU test board is by this serial ports control cylinder control panel.Interface is defined as: 3 human hair combing wastes send, 2 pin receive, 1 pin is ground.
(3) communication of computing machine and tested RTU intermodule: as shown in Figure 2, this partial circuit adopts the triode 9013 of SP3232 chip, RS485 chip and a NPN type to design, and mainly realizes the conversion of RS232 and RS485 communication protocol.SP3232 chip is responsible for the conversion of RS232 level and Transistor-Transistor Logic level; RS485 chip is responsible for the conversion of Transistor-Transistor Logic level and RS485 agreement; NPN type triode 9013 plays the enable effect of RS485 chip I/O in circuit.
Path handover module circuit is made up of 2 parts:
(1) as Fig. 3, be made up of the PS2801-4 four-way transistor output photoelectric coupler chip of Renesas.Photoelectrical coupler plays the effect of isolation in circuit, makes the I/O of+3.3V voltage of single-chip microcomputer can control the break-make of+24V voltage.
(2) as Fig. 4, be made up of the AQL124 relay of PANASONIC.AQL124 is the voltage-controlled relay of+24V.There is the switching of its path of+24V Control of Voltage.
RTU module DI function test method: the voltage as Fig. 4, DI Function detection has+12V and+24V two kinds, therefore use relay L13 as the change-over switch of two kinds of voltages, its common port COM is the voltage that DI fuction output is wanted.Simultaneously in order to when not testing DI function, the DI interface no-voltage input of RTU module, therefore uses relay L12 as switch, controls input and the disconnection of test voltage.Simultaneously relay L10 and L11 respectively control voltage be the break-make of DI0-DI3 input voltage.By above 4 relays, control to make its signal exporting to RTU module DI interface be by Single Chip Microcomputer (SCM) program: " 1010 " of+12V, " 1010 " of " 0101 " signal and+24V, " 0101 " two kinds of signals.RTU module can produce different DI states according to the signal of this input, by the DI function of inquiry DI state-detection RTU now.
RTU modules A I function test method: as in Fig. 5, figure being the path commutation circuit figure of AI0.AI0 in figure is connected with the output of photoelectrical coupler, thus the break-make of pilot relay common port COM and two other pin NC, N.O..When needing the input signal AI_IN testing AI0 and AI to be connected with AI0 break-make, the control pin that single-chip microcomputer is corresponding exports high level, now the output pin of photoelectrical coupler disconnects, the voltage that AI0 goes out is the high level voltage of+24V, thus make relay GND pin be low level, the common port COM of relay is connected with N.O. pin, AI signal is incorporated into the AI0 interface of tested RTU module.The performance of AI0 is detected by the data message of inquiry RTU modules A I0.Same mode can test the AI performance of RTU modules A I1 ~ AI7.
Supply module: this part circuit uses LM2576S-5V chip and LDO chip LM1117, transfers the input voltage of DC/+12V to DC/+5V and DC/+3.3V.Power input interface uses the green junction block of 5.08 spacing 2Pin.

Claims (6)

1. based on a remote terminal unit unit test system for LPC1764 single-chip microcomputer, it is characterized in that: data memory module connects single-chip microcomputer, with single-chip microcomputer two-way communication, for storing the current configuration data of RTU test board;
Path handover module one end connects single-chip microcomputer, and receive the guiding path handover information that single-chip microcomputer sends, the other end is connected to tested RTU module by corresponding test interface, for switching different guiding paths;
One RS232 serial communication modular one end connects single-chip microcomputer, and the other end connects computing machine by communication interface, realizes the communication connection between computing machine and single-chip microcomputer;
Computing machine is connected to tested RTU module by RTU module communication interface after connecting the 2nd RS232 serial communication modular and RS485 serial communication modular successively by communication interface, sets up the communication connection between computing machine and tested RTU module;
Single-chip microcomputer is connected to cylinder control panel by cylinder control panel communication interface, with the two-way communication of cylinder control panel, realizes the communication connection between single-chip microcomputer and cylinder control panel.
2. the remote terminal unit unit test system based on LPC1764 single-chip microcomputer according to claim 1, is characterized in that: described test interface comprises DI test interface, AI test interface, AI input interface and DO test interface.
3. the remote terminal unit unit test system based on LPC1764 single-chip microcomputer according to claim 1, is characterized in that: supply module connecting test system, for test macro is powered.
4. the remote terminal unit unit test system based on LPC1764 single-chip microcomputer according to claim 1, is characterized in that: described tested RTU module connects single-chip microcomputer, for detecting the LED status of tested RTU module by pilot lamp interface.
5. the remote terminal unit unit test system based on LPC1764 single-chip microcomputer according to claim 1, is characterized in that: also comprise MODEM testing circuit and connect tested RTU module by MODEM interface, for detecting the MODEM interface function of tested RTU module.
6. the remote terminal unit unit test system based on LPC1764 single-chip microcomputer according to claim 1, it is characterized in that: also comprise choosing band module testing circuit and connect tested RTU module, for detecting the choosing band module interface function of tested RTU module by choosing band module interface.
CN201420764206.7U 2014-12-04 2014-12-04 Based on the remote terminal unit unit test system of LPC1764 single-chip microcomputer Active CN204241910U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201420764206.7U CN204241910U (en) 2014-12-04 2014-12-04 Based on the remote terminal unit unit test system of LPC1764 single-chip microcomputer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201420764206.7U CN204241910U (en) 2014-12-04 2014-12-04 Based on the remote terminal unit unit test system of LPC1764 single-chip microcomputer

Publications (1)

Publication Number Publication Date
CN204241910U true CN204241910U (en) 2015-04-01

Family

ID=52771379

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201420764206.7U Active CN204241910U (en) 2014-12-04 2014-12-04 Based on the remote terminal unit unit test system of LPC1764 single-chip microcomputer

Country Status (1)

Country Link
CN (1) CN204241910U (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108873759A (en) * 2017-05-10 2018-11-23 腾讯科技(深圳)有限公司 A kind of circuit, circuit protection method and electronic equipment
CN114003455A (en) * 2021-12-31 2022-02-01 广州鲁邦通物联网科技股份有限公司 Serial port automatic test system, interface automatic test method and test platelet

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108873759A (en) * 2017-05-10 2018-11-23 腾讯科技(深圳)有限公司 A kind of circuit, circuit protection method and electronic equipment
CN108873759B (en) * 2017-05-10 2021-05-28 腾讯科技(深圳)有限公司 Circuit, circuit protection method and electronic equipment
CN114003455A (en) * 2021-12-31 2022-02-01 广州鲁邦通物联网科技股份有限公司 Serial port automatic test system, interface automatic test method and test platelet

Similar Documents

Publication Publication Date Title
CN105223939B (en) Suitable for the multi-source heat transfer agent acquisition of agriculture Internet of Things application and the integrated fexible unit of control
CN201335953Y (en) General-purpose input/output device
CN110109393A (en) A kind of digital output card
CN204241910U (en) Based on the remote terminal unit unit test system of LPC1764 single-chip microcomputer
CN205610343U (en) Embedding integrated form distribution automation terminal
CN102621936A (en) Multipurpose intelligent serial controller
CN202677114U (en) Industrial control main board based on MSP430 single chip microcomputer
CN209570838U (en) A kind of multi-channel digital amount analog input card
CN207817492U (en) A kind of On-off signal output module
CN206961303U (en) A kind of photovoltaic plant wireless remote data Transmission system
CN201945994U (en) Multipurpose intelligent serial port controller
CN208462057U (en) A kind of ad hoc network low-power consumption water utilities monitoring RTU based on LoRa technology
CN204188979U (en) Based on the number connect test module of bus communication
CN209570837U (en) A kind of digital output card
CN202735799U (en) Integrated controller for floor
CN202711045U (en) Digital communication card of weighing controller
CN204423196U (en) Hot flow path temperature control system primary controller
CN202600934U (en) Smart acquisition terminal with multiple communication modes
CN205899299U (en) Four ways analog output device based on CIB BUS bus
CN205281253U (en) Detection apparatus for wind generating set controller
CN220252445U (en) PLC automatic test system based on domestic program control instrument and component
CN204334390U (en) A kind of control board controlled for synchronous motor excitation
CN205281199U (en) Redundant field bus IO controlling means
CN204314636U (en) Automatic frequency-conversion regulates the intelligent control system of motor speed
CN201476937U (en) Programmable pressure transmitter eight-channel debugging tester

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant