CN204327656U - A kind of cylinder control based on LPC1764 single-chip microcomputer - Google Patents

A kind of cylinder control based on LPC1764 single-chip microcomputer Download PDF

Info

Publication number
CN204327656U
CN204327656U CN201420761823.1U CN201420761823U CN204327656U CN 204327656 U CN204327656 U CN 204327656U CN 201420761823 U CN201420761823 U CN 201420761823U CN 204327656 U CN204327656 U CN 204327656U
Authority
CN
China
Prior art keywords
chip microcomputer
end connects
interface
sensor
lpc1764
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
CN201420761823.1U
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 CN201420761823.1U priority Critical patent/CN204327656U/en
Application granted granted Critical
Publication of CN204327656U publication Critical patent/CN204327656U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The utility model relates to a kind of cylinder control based on LPC1764 single-chip microcomputer, data memory module connects single-chip microcomputer, and with single-chip microcomputer both-way communication, Alarm module connects single-chip microcomputer, the signal of real-time reception single-chip microcomputer, for sending guard sign when needs are warned; One RS232 communication module one end connects single-chip microcomputer, and the other end connects RTU test board by RTU test board communication interface, and the 2nd RS232 communication module one end connects single-chip microcomputer, and the other end connects LCD screen by LCD communication interface; Solenoid valve control circuit one end connects single-chip microcomputer, and receive the control command of single-chip microcomputer, the other end is connected to solenoid valve by solenoid valve interface; Sensor circuit one end connects single-chip microcomputer, and the other end is connected to sensor by sensor interface, sends to single-chip microcomputer after receiving the signal of sensor transmission.The utility model can reduce operational hazards, provides testing efficiency, is convenient to detect remote terminal unit Elementary Function EF.

Description

A kind of cylinder control based on LPC1764 single-chip microcomputer
Technical field
The utility model relates to a kind of cylinder moving and touches the ATS Automatic Test System of LCD screen control, specifically a kind of cylinder control based on LPC1764 single-chip microcomputer.
Background technique
In some test events, have a lot of test event risk factor high.Test event as relevant in high voltage, high electric current etc.Now, when testing these projects, the safety problem of operator must be considered.Therefore, will reduce the participation of personnel when testing, the test of many use automations improves Security performance, reduces unnecessary accident and occurs as far as possible.Adopt the mode of automation also can accelerate test speed simultaneously, enhance productivity.
When testing RTU (remote terminal unit unit) functions of modules index, a wherein test index: the alternating voltage that electrical quantity performance has related to 380V/5A detects.Because it belongs to high voltage, high current detecting, if in test process tester's misoperation, very easily have an accident.Therefore, this model utility cylinder control panel is an important component part of carrying out RTU module in the test system of automatic test, primary responsibility controls test module and test needle plate moves to specified position, and by touching the frock state of LCD screen display current system.
Model utility content
For the deficiencies in the prior art, the utility model provides a kind of device shown for cylinder moving in control RTU ATS Automatic Test System and LCD screen.To reduce operational hazards, provide testing efficiency, be convenient to detect remote terminal unit Elementary Function EF.
The technological scheme that the utility model is adopted for achieving the above object is: a kind of cylinder control based on LPC1764 single-chip microcomputer, and data memory module connects single-chip microcomputer, with single-chip microcomputer both-way communication, for storing the configuration data of cylinder control panel;
Alarm module connects single-chip microcomputer, and the signal of real-time reception single-chip microcomputer, for sending guard sign when needs are warned;
One RS232 serial communication modular one end connects single-chip microcomputer, and the other end connects RTU test board by RTU test board communication interface, realizes the both-way communication between RTU test board and single-chip microcomputer;
2nd RS232 serial communication modular one end connects single-chip microcomputer, and the other end connects LCD screen by LCD communication interface, realizes the both-way communication between LCD screen and single-chip microcomputer;
Solenoid valve control circuit one end connects single-chip microcomputer, and receive the control command of single-chip microcomputer, the other end is connected to solenoid valve by solenoid valve interface, and control cylinder moves;
Sensor circuit one end connects single-chip microcomputer, and the other end is connected to sensor by sensor interface, sends to single-chip microcomputer after receiving the signal of sensor transmission.
RS485 serial communication modular one end connects single-chip microcomputer, and the other end arranges RS485 serial communication interface as spare interface.
Supply module connects whole control gear, is control gear and sensor power.
Described single-chip microcomputer is also provided with I/O expansion interface.
The utility model has following beneficial effect and advantage:
1, the utility model can carry out fore and aft motion by control cylinder.
2, the utility model is by touching LCD screen display device state.
3, the utility model runs by touching LCD screen control apparatus and stops.
4, the utility model can detection facility running state, and produces abnormality alarming.
Accompanying drawing explanation
Fig. 1 is cylinder control panel structural drawing;
Fig. 2 is Alarm module circuit diagram;
Fig. 3 is solenoid valve control circuit figure;
Fig. 4 is sensor interface circuitry figure.
Embodiment
Below in conjunction with drawings and Examples, the utility model is described in further detail.
The utility model is used in the middle of the ATE of air cylinder driven, plays the control to cylinder in equipment, and by touching LCD screen display device current operating state, simultaneously also by touching LCD screen input instruction, control apparatus running state.
As shown in Figure 1, cylinder control panel provided by the utility model, for the ATE of air cylinder driven.Its circuit comprises single-chip minimum system, data memory module, Alarm module, 485 communication modules, LCD communication interface, RTU test board communication interface, supply module, solenoid valve interface module, sensor interface, I/O expansion interface.
Single-chip minimum system is the control core of whole circuit board, in order to run test program of the present utility model, controls the functions such as the communication of whole circuit board, data storage, Interface Controller; Data memory module is mainly in order to store the current configuration data of cylinder control panel; Alarm module employs the buzzer an of+3.3V, when equipment operation irregularity is, can produce buzzing; Communication module mainly contains RS232 communication and to communicate with RS485 2 types, totally 3 communication interfaces.First communication interface adopts RS232 protocol communication, and the single-chip minimum system for cylinder control panel communicates with RTU test board, and cylinder control panel is configured according to the instruction of RTU test board, and returns corresponding information.Second communication interface adopts RS232 protocol communication equally, for cylinder control panel and the foundation touching the communication link between LCD screen, mainly realizes cylinder control panel to the control touching LCD screen displaying contents, and can receive the data information of touch screen transmission.3rd communication interface adopts RS485 communication, and this is reserved expansion interface, can use as required, as carried out address assignment to cylinder control panel, adopts RS485 bus form to find the cylinder control panel of appropriate address, and is controlled it; Supply module is mainly whole cylinder control panel and external sensor power; Solenoid valve interface module is in order to connect the battery valve of cylinder, thus control cylinder motion; Sensor interface, in order to connect photoelectric sensor, is measured cylinder and whether is arrived specified position; I/O expansion interface is the expansion interface drawn outside the I/O pin of LPC1764 single-chip microcomputer, as needed other signals external, directly quotes.
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 ATS Automatic 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.
The design of Alarm module is as Fig. 2, and in this figure, the base terminal P1.31 of triode (9013) V11 is connected on the I/O pin of single-chip microcomputer, and J1 is the buzzer of DC/+3.3V.When P1.31 output low level, the collector terminal of triode (9013) V11 is high level, and buzzer is sound not; When P1.31 exports high level, the collector terminal of triode (9013) V11 is low level, and buzzer rings.The sound that the mode exporting low and high level by above control single chip computer P1.31 pin controls buzzer and not sound, realize alarming mechanism.Current alarm mainly contains two kinds of situations: (1) when cylinder place at the volley time, produce alarm, remind operator take care; (2) when cylinder off-duty is to specified position, buzzer sounds, prompting cylinder trouble.
Serial communication modular is divided into following three parts:
(1) single-chip minimum system of cylinder control panel communicates with RTU test board: 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 RTU test board.Make cylinder control panel can receive control command from computer, and it is replied.The external interface of this part adopts the 3pin white socket of 2.54mm spacing, and interface is defined as: 1 pin is ground, 2 pin receive, 3 human hair combing wastes send.
(2) cylinder control panel and touch LCD screen communication interface: this part circuit uses the serial ports 0 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 8pin white socket of 2.54mm spacing.Interface is defined as: 1 pin, 2 pin are+5.0V; 3 pin, 8 pin are GND; 4 pin are LCD reset pin; 5 pin are the busy feedback pin of LCD; 6 pin are for receiving; 7 pin are for sending.
(3) the RS485 communication interface expanded, this partial circuit designs based on MAX3485 chip, uses the serial ports 3 of single-chip microcomputer.And there is the P1.17 of single-chip microcomputer as the enable control pin of transmitting-receiving of 485 chips.
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 wiring base of 5.08 spacing 2Pin.
Battery valve Interface Module partial design is as Fig. 3, and the controllable battery valve that this circuit board is corresponding is DC/+12V, as shown in FIG., uses the break-make of switch chip IRF7416 control DC/+12V.In figure, P2 is connected with single-chip processor i/o pin, and when it is low level, the base stage of triode (9013) V6 is low level, and current collection is high level very, and now chip I RF7416 disconnects.Output terminal CG1-2 does not have voltage; When P2 is high level, the base stage of triode (9013) V6 is high level, and current collection is low level very, now chip I RF7416 conducting.Output terminal CG1-2 has the voltage of DC/+12V.In figure, F4 is self-recoverage overcurrent protection sheet, in order to protect whole circuit board.The resistance value of this chip can increase along with the increase of electric current, and when it exceedes certain numerical value, this chip can disconnect this circuit.After the current reverts of circuit, the resistance value of chip is replied normal, the conducting again of this path.Circuit as Fig. 3 has 4 tunnels in the utility model, controls the elongation of No. 1 cylinder and No. 2 cylinders and shortening state respectively.
Sensor interface is connected on two I/O interfaces of single-chip microcomputer respectively as CG2_R and CG2_S in Fig. 4, figure, represents shortening and the elongation state of No. 2 cylinders respectively.In 4 pins of J8,1,2 pins are connected to 1 photoelectric sensor, and this sensor is placed on the shortening position of cylinder, are used for detecting cylinder and whether arrive shortening position.3,4 pins are connected to 1 photoelectric sensor equally, and this sensor is placed on the extended position of cylinder, are used for detecting cylinder and whether arrive extended position.Have 4 sensors in complete equipment, detect the elongation of 2 cylinders respectively, shorten 4 positions.Because the utility model uses LPC1764 single-chip microcomputer as process chip, its operating voltage is+3.3V.Therefore, the resistance in circuit, plays the effect of dividing potential drop in the application, ensures that the voltage that sensor exports is the acceptable scope of single-chip microcomputer.
I/O expansion interface uses the single contact pin of 2.54mm spacing as external interface.Main is not yet that the pins such as the I/O used are drawn by single-chip microcomputer, so that the function of equipment increase later uses.

Claims (4)

1. based on a cylinder control for LPC1764 single-chip microcomputer, it is characterized in that: data memory module connects single-chip microcomputer, with single-chip microcomputer both-way communication, for storing the configuration data of cylinder control panel;
Alarm module connects single-chip microcomputer, and the signal of real-time reception single-chip microcomputer, for sending guard sign when needs are warned;
One RS232 serial communication modular one end connects single-chip microcomputer, and the other end connects RTU test board by RTU test board communication interface, realizes the both-way communication between RTU test board and single-chip microcomputer;
2nd RS232 serial communication modular one end connects single-chip microcomputer, and the other end connects LCD screen by LCD communication interface, realizes the both-way communication between LCD screen and single-chip microcomputer;
Solenoid valve control circuit one end connects single-chip microcomputer, and receive the control command of single-chip microcomputer, the other end is connected to solenoid valve by solenoid valve interface, and control cylinder moves;
Sensor circuit one end connects single-chip microcomputer, and the other end is connected to sensor by sensor interface, sends to single-chip microcomputer after receiving the signal of sensor transmission.
2. the cylinder control based on LPC1764 single-chip microcomputer according to claim 1, is characterized in that: RS485 serial communication modular one end connects single-chip microcomputer, and the other end arranges RS485 serial communication interface as spare interface.
3. the cylinder control based on LPC1764 single-chip microcomputer according to claim 1, is characterized in that: supply module connects whole control gear, is control gear and sensor power.
4. the cylinder control based on LPC1764 single-chip microcomputer according to claim 1, is characterized in that: described single-chip microcomputer is also provided with I/O expansion interface.
CN201420761823.1U 2014-12-04 2014-12-04 A kind of cylinder control based on LPC1764 single-chip microcomputer Active CN204327656U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201420761823.1U CN204327656U (en) 2014-12-04 2014-12-04 A kind of cylinder control based on LPC1764 single-chip microcomputer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201420761823.1U CN204327656U (en) 2014-12-04 2014-12-04 A kind of cylinder control based on LPC1764 single-chip microcomputer

Publications (1)

Publication Number Publication Date
CN204327656U true CN204327656U (en) 2015-05-13

Family

ID=53164023

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201420761823.1U Active CN204327656U (en) 2014-12-04 2014-12-04 A kind of cylinder control based on LPC1764 single-chip microcomputer

Country Status (1)

Country Link
CN (1) CN204327656U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108092230A (en) * 2017-12-05 2018-05-29 中国电子科技集团公司第二十八研究所 A kind of airborne power supply system of DC source

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108092230A (en) * 2017-12-05 2018-05-29 中国电子科技集团公司第二十八研究所 A kind of airborne power supply system of DC source
CN108092230B (en) * 2017-12-05 2019-10-29 中国电子科技集团公司第二十八研究所 A kind of airborne power supply system of DC source

Similar Documents

Publication Publication Date Title
CN106707888A (en) Programmable control module, system provided with same and control method
CN202102060U (en) Direct current distribution intelligent detection unit
CN204327656U (en) A kind of cylinder control based on LPC1764 single-chip microcomputer
CN103928861A (en) Intelligent electric power monitoring device group
CN205104771U (en) Outdoor basic station of fault self diagnosis formula intelligent power distribution case
CN202003227U (en) Electrical measurement and control system with signal switching function
CN201035357Y (en) Feeder line distant place terminal
CN205844809U (en) A kind of hand-held intelligent terminal of AGV dolly
CN101345397B (en) Intelligentized electric energy monitoring system of power distribution cabinet
CN202677161U (en) Measurement and control apparatus based on Zigbee wireless communication
CN201893619U (en) Power distribution box monitoring system
CN203759158U (en) ZigBee-network-based low voltage power source SPD on-line monitoring system
CN205281253U (en) Detection apparatus for wind generating set controller
CN202013495U (en) Electric measurement and control system with safety control function
CN204706176U (en) Multi-functional data collector
CN206450780U (en) A kind of malfunction monitoring remote control type cable branch box and detecting system
CN105468424B (en) A kind of Moped Scooter intelligent diagnostics update device
CN216390911U (en) Portable photovoltaic detector
CN202444328U (en) Intelligent monitoring device of direct-current power supply equipment
CN202929749U (en) Watermeter circuit module with radio frequency card
CN208861169U (en) A kind of nuclear power plant's data control system based on ZIGBEE communication function
CN208335005U (en) A kind of modularization carton dry paint-fog processing control system
CN218350747U (en) Multi-unit distributed parallel operation control system of data center
CN105654742A (en) Intelligent traffic signal controller with remote control function
CN213843873U (en) Wisdom factory switch control system

Legal Events

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