CN102122141B - Embedded general-purpose controller - Google Patents

Embedded general-purpose controller Download PDF

Info

Publication number
CN102122141B
CN102122141B CN201110057653A CN201110057653A CN102122141B CN 102122141 B CN102122141 B CN 102122141B CN 201110057653 A CN201110057653 A CN 201110057653A CN 201110057653 A CN201110057653 A CN 201110057653A CN 102122141 B CN102122141 B CN 102122141B
Authority
CN
China
Prior art keywords
circuit
road
input
circuits
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 - Fee Related
Application number
CN201110057653A
Other languages
Chinese (zh)
Other versions
CN102122141A (en
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.)
University of Jinan
Original Assignee
University of Jinan
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 University of Jinan filed Critical University of Jinan
Priority to CN201110057653A priority Critical patent/CN102122141B/en
Publication of CN102122141A publication Critical patent/CN102122141A/en
Application granted granted Critical
Publication of CN102122141B publication Critical patent/CN102122141B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Programmable Controllers (AREA)

Abstract

The invention relates to an embedded general-purpose controller, which comprises a singlechip, a power supply circuit, a direct current-direct current (DC-DC) conversion circuit, a data storage circuit, a communication circuit, an 8-path analog/digital (A/D) input circuit, a 2-path pulse input circuit, a 2-path interrupt input circuit, a 24-path digital quantity input circuit, an anti-vibration circuit, an input photoelectric isolation circuit, an output photoelectric isolation circuit, an 8-path digital/analog (D/A) output circuit, a 6-path pulse width modulation (PWM) output circuit, a 24-path digital quantity output circuit, a coding circuit and an alarm circuit. In the controller, an STMicroelectronics (STM)8S singlechip is used for core control; the controller has high operation speed, high anti-jamming capability and a simple control circuit; the anti-vibration circuit and the coding circuit are added on input circuits and output circuits of switching quantity respectively to prevent resetting or jamming from causing misoperation; and a high-capacity ferroelectric memory is used for improving the storage capacity and increasing the storage speed. The embedded general-purpose controller has the characteristics of low cost, high accuracy, high stability and low power consumption, and can replace a programmable controller.

Description

A kind of universal embedded controller
Technical field
The present invention relates to a kind of controller, specifically a kind of universal embedded controller that can replace Programmable Logic Controller.
Background technology
Along with going deep into of modernization, Programmable Logic Controller (PLC) is used increasingly extensive in commercial production.PLC has many good qualities, and is simple like program design, reliability is high, utilization property strong, combination is flexible, easy to maintenance, adapt to industrial rugged surroundings etc., but its use cost is very high.Because the cost of control engineering is very high, has to sometimes abandon using PLC and use alternate manner instead.
Summary of the invention
For overcoming the deficiency that above-mentioned prior art exists, technical matters to be solved by this invention is to provide a kind of universal embedded controller, and its control circuit is simple, cost is low, applying flexible.
The present invention solves the technical scheme that its technical matters takes: a kind of universal embedded controller; It is characterized in that, comprise that single-chip microcomputer, power circuit, DC-DC change-over circuit, data storage circuitry, communicating circuit, 8 road A/D input circuits, 2 road pulse input circuits, 2 tunnel interrupt input circuit, 24 road digital quantity input circuits, preventing jittering circuit, input photoelectric isolating circuit, output photoelectric isolating circuit, 8 road D/A output circuits, 6 road PWM output circuits, 24 road digital quantity output circuits and coding circuit; Said single-chip microcomputer is connected with DC-DC change-over circuit, data storage circuitry, communicating circuit, input photoelectric isolating circuit and output photoelectric isolating circuit respectively; Said input photoelectric isolating circuit interrupts input circuit with 8 road A/D input circuits, 2 road pulse input circuits, 2 tunnel respectively and is connected with preventing jittering circuit, and said 24 road digital quantity input circuits are connected with preventing jittering circuit; Said output photoelectric isolating circuit is connected with coding circuit with 8 road D/A output circuits, 6 road PWM output circuits respectively, and said 24 road digital quantity output circuits are connected with coding circuit; Said power circuit is respectively to each circuit supply.
Said data storage circuitry is a kind of ferroelectric memory.
Said communicating circuit adopts the RS485 communication port, and one is main communicating circuit, and another is from communicating circuit.
Said 8 road A/D input circuits are electric current and/or voltage input circuit.
Said 8 road D/A output circuits are electric current and/or voltage follower circuit.
Said 24 road digital quantity output circuits are I/O circuit and/or relay circuit.
Further, also comprise warning circuit, said warning circuit is connected with primary controller.
The invention has the beneficial effects as follows that the universal embedded controller of this kind has adopted single-chip microcomputer as the control core, travelling speed is fast, and antijamming capability is strong; Control circuit is simple; The input and output circuit of switching value has increased preventing jittering circuit and coding circuit respectively, has prevented owing to resetting or disturbing and cause the maloperation action; Adopt jumbo ferroelectric reservoir, had the power down memory function, increased storage capacity, accelerated storage speed.If the equipment of domestic big-and-middle-sized production finalizes the design almost, and output is more, just need not buy expensive Programmable Logic Controller, can satisfy the demand according to the embedded control system that the needs design one of actual control system is overlapped, and can save many costs like this.The present invention has that cost is low, precision is high, good stability and characteristics low in energy consumption.
Description of drawings
Fig. 1 is a theory diagram of the present invention.
Embodiment
Below in conjunction with accompanying drawing the present invention is further specified:
As shown in Figure 1; A kind of universal embedded controller comprises that single-chip microcomputer 1, power circuit 2, DC-DC change-over circuit 3, data storage circuitry 4, communicating circuit 5,8 road A/ D input circuits 6,2 road pulse input circuits 7,2 tunnel interrupt input circuit 8,24 road digital quantity input circuits 9, preventing jittering circuit 10, input photoelectric isolating circuit 11, output photoelectric isolating circuit 12,8 road D/ A output circuits 13,6 road PWM output circuits 14,24 road digital quantity output circuits 15, coding circuit 16 and warning circuit 17; Said single-chip microcomputer 1 is connected with warning circuit 17 with DC-DC change-over circuit 3, data storage circuitry 4, communicating circuit 5, input photoelectric isolating circuit 11, output photoelectric isolating circuit 12 respectively; Said input photoelectric isolating circuit 11 interrupts input circuit 8 with 8 road A/D input circuits, 6,2 road pulse input circuits 7,2 tunnel respectively and is connected with preventing jittering circuit 10, and said 24 road digital quantity input circuits 9 are connected with preventing jittering circuit 10; Said output photoelectric isolating circuit 12 is connected with coding circuit 16 with 8 road D/A output circuits, 13,6 road PWM output circuits 14 respectively, and said 24 road digital quantity output circuits 15 are connected with coding circuit 16; Said power circuit 2 is respectively to each circuit supply.
Wherein, said single-chip microcomputer 1 adopts STM8S technical grade single-chip microcomputer as the control core of the universal embedded controller of this kind, and travelling speed is fast, and antijamming capability is strong.
Said power circuit 2 for 85V-265V exchange input ,+12V ,-24V ,+Switching Power Supply of 24V direct current output, give to each circuit respectively.
3 pairs of Switching Power Supplies of said DC-DC change-over circuit 2 are carried out step-down and purification, for single-chip microcomputer 1 provides+the 5V WV.
Said data storage circuitry 4 adopts has the ferroelectric memory that fast, the low in energy consumption and frequent of writing speed rewrites characteristics, has the power down memory function.
Said communicating circuit 5 adopts the RS485 communication port, and one is main communicating circuit, and another is from communicating circuit, supports the Modbus communications protocol.
Said 8 road A/D input circuits 6 are for being 2 road current input circuits and 6 road voltage input circuits.
Said 2 road pulse input circuits 7 are voltage or current pulse signal.
Said 2 the tunnel interrupt input circuit 8, can realize the interrupt mode input of external unit.
Said 24 road digital quantity input circuits 9 connect external detection equipment for input voltage range is the switch input of 15-48V.
Jitter elimination is carried out in 10 pairs 24 road digital quantities of said preventing jittering circuit input 9, prevents to reset or disturbs and cause maloperation.
Signal Spacing is imported, exported to said input photoelectric isolating circuit 11 to connected circuit respectively with output photoelectric isolating circuit 12, in order to disturb processing, keeps the integrality of data and protect interconnect equipment.
Said 8 road D/A output circuits 13 are 2 road current output circuits and 6 road voltage follower circuits.
Said 6 road PWM output circuits 14 are in order to control the mimic channel that connects.
Said 24 road digital quantity output circuits 15 are 8 road I/O circuit and No. 16 relay circuits.
16 pairs 24 road digital quantities of said coding circuit output 15 is encoded, and prevents to reset or disturbs and cause maloperation.
The software of the universal embedded controller of this kind all adopts modular design, and each function is all made function, presses funcall, and programming is simple, and can all functions be concentrated on a wiring board, does not have connector, increases reliability, reduces cost.The present invention can increase and decrease its circuit according to field demand, through various matched combined, just produces multiple function and new effect, can satisfy application need, has reduced cost again.

Claims (7)

1. universal embedded controller; It is characterized in that, comprise that single-chip microcomputer (1), power circuit (2), DC-DC change-over circuit (3), data storage circuitry (4), communicating circuit (5), 8 road A/D input circuits (6), 2 road pulse input circuits (7), 2 tunnel interrupt input circuit (8), 24 road digital quantity input circuits (9), preventing jittering circuit (10), input photoelectric isolating circuit (11), output photoelectric isolating circuit (12), 8 road D/A output circuits (13), 6 road PWM output circuits (14), 24 road digital quantity output circuits (15) and coding circuit (16); Said single-chip microcomputer (1) is connected with DC-DC change-over circuit (3), data storage circuitry (4), communicating circuit (5), input photoelectric isolating circuit (11) and output photoelectric isolating circuit (12) respectively; Said input photoelectric isolating circuit (11) interrupts input circuit (8) with 8 road A/D input circuits (6), 2 road pulse input circuits (7), 2 tunnel respectively and is connected with preventing jittering circuit (10), and said 24 road digital quantity input circuits (9) are connected with preventing jittering circuit (10); Said output photoelectric isolating circuit (12) is connected with coding circuit (16) with 8 road D/A output circuits (13), 6 road PWM output circuits (14) respectively, and said 24 road digital quantity output circuits (15) are connected with coding circuit (16); Said power circuit (2) is respectively to each circuit supply.
2. a kind of universal embedded controller according to claim 1 is characterized in that said data storage circuitry (4) is a kind of ferroelectric memory.
3. a kind of universal embedded controller according to claim 1 is characterized in that, said communicating circuit (5) adopts the RS485 communication port, and one is main communicating circuit, and another is from communicating circuit.
4. a kind of universal embedded controller according to claim 1 is characterized in that, said 8 road A/D input circuits (6) are electric current and/or voltage input circuit.
5. a kind of universal embedded controller according to claim 1 is characterized in that, said 8 road D/A output circuits (13) are electric current and/or voltage follower circuit.
6. a kind of universal embedded controller according to claim 1 is characterized in that said 24 road digital quantity output circuits (15) are I/O circuit and/or relay circuit.
7. according to each described a kind of universal embedded controller of claim 1 to 6, it is characterized in that also comprise warning circuit (17), said warning circuit (17) is connected with primary controller (1).
CN201110057653A 2011-03-10 2011-03-10 Embedded general-purpose controller Expired - Fee Related CN102122141B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110057653A CN102122141B (en) 2011-03-10 2011-03-10 Embedded general-purpose controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110057653A CN102122141B (en) 2011-03-10 2011-03-10 Embedded general-purpose controller

Publications (2)

Publication Number Publication Date
CN102122141A CN102122141A (en) 2011-07-13
CN102122141B true CN102122141B (en) 2012-08-29

Family

ID=44250712

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110057653A Expired - Fee Related CN102122141B (en) 2011-03-10 2011-03-10 Embedded general-purpose controller

Country Status (1)

Country Link
CN (1) CN102122141B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102621916A (en) * 2012-04-06 2012-08-01 南京理工大学常熟研究院有限公司 Controller applied to curtain pressing and buckling
CN102854900B (en) * 2012-08-31 2014-11-26 济南大学 Gas mixing controller of semiconductor device
CN103324120A (en) * 2013-06-07 2013-09-25 昆山市力格自动化设备有限公司 Control board
CN103439907B (en) * 2013-09-04 2016-04-27 济南大学 Multi signal collection test the speed and reversal protection control device and reversion decision method
CN103995487B (en) * 2014-05-22 2016-08-17 上海交通大学 There is the modular integrated multi-functional execution device of power down self-recovering function
CN104978515A (en) * 2015-06-12 2015-10-14 郑州华信学院 Computer intelligent hole-locking device

Also Published As

Publication number Publication date
CN102122141A (en) 2011-07-13

Similar Documents

Publication Publication Date Title
CN102122141B (en) Embedded general-purpose controller
CN101847893B (en) Network control type universal change-over switch with CCLink communication
CN201867799U (en) Analog quantity output module
CN203054511U (en) Intelligent household comprehensive controller based on programmable micro-control chip
CN201945844U (en) Embedded universal controller
CN204031028U (en) A kind of daughter circuit board for conversion of interface signals of electronic commutation motor
CN202797862U (en) Novel intelligent controller trip circuit
CN201616012U (en) Main controller device used for high-voltage frequency converter modular design
CN101833291A (en) Main controller device for modularized design of high-voltage frequency converter
CN202904270U (en) Dual-network-port communication module applied in feeder line terminal FTU
CN204304165U (en) Usb adapter
CN204517786U (en) Digital output unit and digital output card
CN206281501U (en) A kind of transmitter
CN204408027U (en) A kind of Intelligent power distribution system
CN201600574U (en) Vehicular logic control unit for realizing interchange of inserts
CN202918273U (en) Analog quantity digitization isolation device
CN204362100U (en) A kind of electric power protocol conversion device based on industrial computer
CN204229207U (en) For the dual bus control system of aluminium alloy wheel hub hydraulic forging press
CN203981855U (en) A kind of Intelligent battery data logging device
CN201845230U (en) Field bus control device and industrial procedure control system
CN105259843A (en) Outlet logic circuit of reactive power compensation type intelligent control device
CN202903875U (en) Electronic electric energy meter
CN202332301U (en) Passive long-distance single wire transmission read-write memory
CN215833794U (en) Ethernet controlled 8-way switching value output circuit
CN203204607U (en) Data transmission and conversion interface unit

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120829

Termination date: 20140310