CN201859336U - Programmable controller with multipath high-speed pulse output function - Google Patents

Programmable controller with multipath high-speed pulse output function Download PDF

Info

Publication number
CN201859336U
CN201859336U CN2010205877619U CN201020587761U CN201859336U CN 201859336 U CN201859336 U CN 201859336U CN 2010205877619 U CN2010205877619 U CN 2010205877619U CN 201020587761 U CN201020587761 U CN 201020587761U CN 201859336 U CN201859336 U CN 201859336U
Authority
CN
China
Prior art keywords
speed pulse
pulse output
chip
optocoupler
output
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 - Lifetime
Application number
CN2010205877619U
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.)
Shanghai Electrical Apparatus Research Institute Group Co Ltd
Original Assignee
Shanghai Electrical Apparatus Research Institute Group 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 Shanghai Electrical Apparatus Research Institute Group Co Ltd filed Critical Shanghai Electrical Apparatus Research Institute Group Co Ltd
Priority to CN2010205877619U priority Critical patent/CN201859336U/en
Application granted granted Critical
Publication of CN201859336U publication Critical patent/CN201859336U/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Programmable Controllers (AREA)

Abstract

本实用新型公开了一种具有多路高速脉冲输出功能的可编程控制器,包括主芯片和PLC输出端子,其中,所述主芯片通过并行接口和高速脉冲输出芯片相连,所述高速脉冲输出芯片的每一路输出依次经过光耦输入二极管限流电阻R1,光耦U1,反相器U2,场效应管Q1和PLC输出端子相连。本实用新型提供的具有多路高速脉冲输出功能的可编程控制器,具有多路独立的高速脉冲输出,提高高速脉冲输出的频率和稳定性。

Figure 201020587761

The utility model discloses a programmable controller with multi-channel high-speed pulse output function, which comprises a main chip and PLC output terminals, wherein the main chip is connected with a high-speed pulse output chip through a parallel interface, and the high-speed pulse output chip Each output of each channel is sequentially connected to the PLC output terminal through the optocoupler input diode current-limiting resistor R1, the optocoupler U1, the inverter U2, and the field effect transistor Q1. The programmable controller with multi-channel high-speed pulse output function provided by the utility model has multiple independent high-speed pulse outputs and improves the frequency and stability of the high-speed pulse output.

Figure 201020587761

Description

Programmable Logic Controller with multipath high-speed pulse output function
Technical field
The utility model relates to a kind of Programmable Logic Controller, relates in particular to a kind of Programmable Logic Controller with multipath high-speed pulse output function.
Background technology
Programmable Logic Controller (PLC) is owing to complete function, functional reliability and cost performance height, and is easy to use, and can be applicable in the various abominable engineering-environments, so be widely used in the industrial automation control system.The motion control type PLC that possesses multipath high-speed pulse output then is a demand and most widely used a kind of, though current a lot of small PLC has the function of high-speed pulse output, but has only a two-way mostly, and travelling speed is not high yet, can not satisfy the project situation of the limited needs again of a lot of budgets multichannel motion control, necessitate so develop a kind of high performance mini PLC that possesses the multipath high-speed pulse output function.Be that the reliable high-speed pulse output of current realization all need adopt high speed photo coupling to isolate the mode that adds the output of high speed transistor on hardware circuit, thereby the cost of small PLC can be risen to some extent.
In addition, the high-speed pulse output function of at present a lot of small PLCs is integrated in the host CPU, perhaps adopt special-purpose motion chip, can take the more resource of host CPU like this and influence scan period of whole PLC, thereby its pulse output frequency is very limited, all has a lot of problems aspect track running precision and the multichannel output coordinating.So in this small PLC circuit, adopted microprocessor ARM to add the circuit design of programmable logic controller (PLC) FPGA, realize data operations processing and real-time control management such as motion planning, servocontrol filtering by ARM, fpga logic Programmable Logic Controller and other related devices are formed servocontrol and position feedback hardware interface, make aspect such as multipath high-speed pulse output running precision be greatly improved.Be the complexity that this scheme has also increased circuit, improved cost.
China Patent No. is that ZL200920077605.5 discloses a kind of high-speed pulse output, dependent instruction PWM and PTO have been introduced, but these functions all realize by software in host CPU, be in operation and take the resource of master chip always, and be subjected to the restriction of timer internal number and software, make and can not realize nearly 6 the road or more independent high-speed pulse output, operation stability also relative mistake is a little.
Summary of the invention
Technical problem to be solved in the utility model provides a kind of Programmable Logic Controller with multipath high-speed pulse output function, has independently high-speed pulse output of multichannel, improves the frequency and the stability of high-speed pulse output.
The utility model is to solve the problems of the technologies described above the technical scheme that adopts to provide a kind of Programmable Logic Controller with multipath high-speed pulse output function, comprise master chip and PLC lead-out terminal, wherein, described master chip links to each other with the high-speed pulse pio chip by parallel interface, optocoupler input diode current-limiting resistance R1 is passed through in each road output of described high-speed pulse pio chip successively, optocoupler U1, phase inverter U2, field effect transistor Q1 links to each other with the PLC lead-out terminal; The 3 end ground connection of described optocoupler U1, output inversion signal after optocoupler U1 isolates connects phase inverter U2 again after capacitor C 1 decoupling, connect triode TR1 before the field effect transistor Q1, be connected with resistance R 3 before the triode TR1 and resistance R 4 plays the dividing potential drop effect, thus the switch of control triode.
The above-mentioned Programmable Logic Controller with multipath high-speed pulse output function, wherein, described high-speed pulse pio chip is programmable logic device (PLD) FPGA, has 6 tunnel output signals.
The above-mentioned Programmable Logic Controller with multipath high-speed pulse output function, wherein, described field effect transistor Q1 is the P-channel enhancement type field effect transistor.
The utility model contrast prior art has following beneficial effect: the Programmable Logic Controller with multipath high-speed pulse output function that the utility model provides, the high-speed pulse number goes out part to be adopted and the host CPU separate design, only take the interrupt resources of host CPU, do not influence the scan period of whole PLC, improved output frequency and precision, the high-speed pulse output frequency reaches as high as 100KHz; Multipath high-speed pulse output can accomplish that each road is independent fully unaffected, can be used as common output port when not needing as high speed output.
Description of drawings
Fig. 1 is the Programmable Logic Controller structural representation that the utlity model has the multipath high-speed pulse output function;
Fig. 2 is the utility model high-speed pulse output circuit schematic diagram;
Fig. 3 searches for each situation synoptic diagram for the utility model DOG.
Among Fig. 1:
1 master chip, 2 high-speed pulse pio chips, 3 PLC lead-out terminals
Embodiment
The utility model will be further described below in conjunction with drawings and Examples.
Fig. 1 is the Programmable Logic Controller structural representation that the utlity model has the multipath high-speed pulse output function.
See also Fig. 1, the Programmable Logic Controller with multipath high-speed pulse output function that the utility model provides comprises master chip 1 and PLC lead-out terminal 3, wherein, described master chip 1 links to each other with high-speed pulse pio chip 2 by parallel interface, each road output of described high-speed pulse pio chip 2 is through optocoupler input diode current-limiting resistance R1, optocoupler U1, phase inverter U2, field effect transistor Q1 links to each other with the PLC lead-out terminal;
The 3 end ground connection of described optocoupler U1, output inversion signal after optocoupler U1 isolates connects phase inverter U2 again after capacitor C 1 decoupling, connect triode TR1 before the field effect transistor Q1, be connected with resistance R 3 before the triode TR1 and resistance R 4 plays the dividing potential drop effect, thus the switch of control triode.
Described master chip 1 links to each other with high-speed pulse pio chip 2 by parallel interface, and parallel interface comprises data line DATA, address wire ADDR, control line CS, RD, WR, DIR, INT.Described high-speed pulse pio chip is programmable logic device (PLD) FPGA, has 6 tunnel output signal DRV0~DRV5.
Fig. 2 is the utility model high-speed pulse output circuit schematic diagram.
See also Fig. 1, optocoupler U1 adopts high speed photo coupling TLP114A; Phase inverter U2 adopts NL17SZ04; P-channel enhancement type field effect transistor Q1 model is IRFU9024N.Resistance R 1 is an optocoupler input diode current-limiting resistance, the 3 end ground connection of U1, and what export after light-coupled isolation is inversion signal, so connecting the U2 phase inverter behind capacitor decoupling.During the circuit operate as normal, the high-speed pulse signal of master chip output enters the high-speed pulse output circuit by A point, and when A level point when being high, the B point is low, exports high level through phase inverter C point.In order to trigger field effect transistor work, increased triode TR1, R3 and R4 play the effect of dividing potential drop, thereby realize the on-off action of triode, be the C point when high, the triode conducting, 2,3 ends are equal to connection, D point conducting field effect transistor after R5 and R6 dividing potential drop then, E point are equal to be connected with the COM0+ end exports high level.Because the design feature of circuit makes that circuit can the very high pulse signal of transmission frequency.In a word, the A high-speed pulse waveform of ordering can be reflected to the E point faithfully.
Fig. 3 searches for each situation synoptic diagram for the utility model DOG.
See also Fig. 3, for by the output of hard-wired high precision 16 road high-speed pulse, mechanical origin recurrence (DSZR-band DOG search, ZRN-no DOG search), single speed location relevant operating instructions such as (DRVI-relative address position, DRVA-specific address positions) have mainly been designed according to the current application demand.
DOG searches for introduction: design has just changes spacing, reverse when spacing, the original point return of DOG function of search has been used in execution, this moment is because of the starting position difference of original point return, original point return action also have nothing in common with each other (will return direction among Fig. 3 and be made as the minimizing direction, ruuning situation is opposite when being set to increase direction)
Concrete DOG search situation is as follows:
1) starting position before by DOG in: after bringing into operation, earlier accelerate to top speed from substrate velocity, after block reaches the DOG signal transducer (it then is top speed with current that the top speed that does not accelerate to setting is just run into) creep speed reduces speed now, (near point signal) continues to creep after block goes out the DOG signal transducer, up to receiving that first zero signal of motor stops, this point is initial point
2) starting position is in DOG
3) starting position is near point signal OFF (behind DOG)
When 4) limit switch of original point return direction (just changeing spacing or reversing spacing) is for ON
Though the utility model discloses as above with preferred embodiment; right its is not in order to limit the utility model; any those skilled in the art; in not breaking away from spirit and scope of the present utility model; when doing a little modification and perfect, therefore protection domain of the present utility model is worked as with being as the criterion that claims were defined.

Claims (3)

1.一种具有多路高速脉冲输出功能的可编程控制器,包括主芯片(1)和PLC输出端子(3),其特征在于,所述主芯片(1)通过并行接口和高速脉冲输出芯片(2)相连,所述高速脉冲输出芯片(2)的每一路输出依次经过光耦输入二极管限流电阻R1,光耦U1,反相器U2,场效应管Q1和PLC输出端子相连;1. A programmable controller with multi-channel high-speed pulse output function, including a main chip (1) and a PLC output terminal (3), characterized in that the main chip (1) outputs the chip through a parallel interface and a high-speed pulse (2) connected, each output of the high-speed pulse output chip (2) is sequentially connected to the PLC output terminal through the optocoupler input diode current-limiting resistor R1, the optocoupler U1, the inverter U2, and the field effect transistor Q1; 所述光耦U1的3端接地,经光耦U1隔离后输出反相信号,再经电容C1去耦后连接反相器U2,场效应管Q1前连接三极管TR1,三极管TR1前连接有电阻R3和电阻R4起分压作用,从而控制三极管的开关。The 3-terminal of the optocoupler U1 is grounded, after being isolated by the optocoupler U1, it outputs an inverse signal, and after being decoupled by the capacitor C1, it is connected to the inverter U2, and the front of the field effect transistor Q1 is connected to the triode TR1, and the front of the triode TR1 is connected to a resistor R3 And the resistor R4 acts as a voltage divider to control the switch of the triode. 2.如权利要求1所述的具有多路高速脉冲输出功能的可编程控制器,其特征在于,所述高速脉冲输出芯片(2)为可编程逻辑器件FPGA,具有6路输出信号。2. The programmable controller with multi-channel high-speed pulse output function according to claim 1, characterized in that, the high-speed pulse output chip (2) is a programmable logic device FPGA with 6 output signals. 3.如权利要求1所述的具有多路高速脉冲输出功能的可编程控制器,其特征在于,所述场效应管Q1为P沟道增强型场效应管。3. The programmable controller with multi-channel high-speed pulse output function as claimed in claim 1, wherein the field effect transistor Q1 is a P-channel enhancement type field effect transistor.
CN2010205877619U 2010-11-02 2010-11-02 Programmable controller with multipath high-speed pulse output function Expired - Lifetime CN201859336U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010205877619U CN201859336U (en) 2010-11-02 2010-11-02 Programmable controller with multipath high-speed pulse output function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010205877619U CN201859336U (en) 2010-11-02 2010-11-02 Programmable controller with multipath high-speed pulse output function

Publications (1)

Publication Number Publication Date
CN201859336U true CN201859336U (en) 2011-06-08

Family

ID=44105140

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010205877619U Expired - Lifetime CN201859336U (en) 2010-11-02 2010-11-02 Programmable controller with multipath high-speed pulse output function

Country Status (1)

Country Link
CN (1) CN201859336U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104238447B (en) * 2014-09-19 2017-04-05 上海电器科学研究院 A kind of method for realizing Biaxial synchronous control

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104238447B (en) * 2014-09-19 2017-04-05 上海电器科学研究院 A kind of method for realizing Biaxial synchronous control

Similar Documents

Publication Publication Date Title
CN201174041Y (en) Full-digital general AC servo positioning control driver
CN100563117C (en) A power line chopping communication transceiver circuit
CN103425106A (en) Linux-based Ethercat maser/slave station control system and method
CN201259629Y (en) Configurable I/O module for multiple bus interface
CN102289420B (en) Simple single-bus interface conversion circuit and data acquisition system adopting same
CN201859336U (en) Programmable controller with multipath high-speed pulse output function
CN203092570U (en) Measurement and control circuit of robot teleoperation hand controller with seven-degree of freedom force feedback
CN104518716A (en) A small DC motor closed-loop control system and its control method
CN204117139U (en) The directional control circuit of a kind of RS485
CN201311575Y (en) Programmable controller with multi-channel PWM and PTO output
CN101751115B (en) A Method to Solve the Data Transmission Matching between DSP and Low-speed Output Devices
CN203502767U (en) A reconfigurable touch-type integrated universal industrial controller
CN111665762A (en) Gate-controlled driving communication cascade circuit and communication cascade method
CN201322867Y (en) Distributed joint control circuit of anthropomorphic robot
CN202230335U (en) Embedded interface device of servo controller
CN103064477A (en) Method for designing server motherboard
US7057414B2 (en) Avoiding oscillation in self-synchronous bi-directional communication system
CN105227041A (en) The control method of motor driver and motor driven systems
CN109445367A (en) A kind of universal input output circuit of servomotor controller
CN109379262A (en) A kind of the double-redundancy CAN bus communication card and method of PCIe interface
CN105281620B (en) A kind of stepping motor control circuit
CN104238412A (en) Optoelectronic isolation type SPI-like channel based on DSP driving
CN209566129U (en) A robot multi-action coordination controller
CN103294637B (en) Magnetic isolation data input and output module based on ARM adaptive direction control
CN201184970Y (en) Embedded board for acquiring data of watercraft engine compartment

Legal Events

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

Granted publication date: 20110608

CX01 Expiry of patent term