CN106444473A - Multi-path control circuit system for vending machines - Google Patents

Multi-path control circuit system for vending machines Download PDF

Info

Publication number
CN106444473A
CN106444473A CN201610668571.1A CN201610668571A CN106444473A CN 106444473 A CN106444473 A CN 106444473A CN 201610668571 A CN201610668571 A CN 201610668571A CN 106444473 A CN106444473 A CN 106444473A
Authority
CN
China
Prior art keywords
circuit
chip microcomputer
vending machine
optocoupler
automatic vending
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.)
Pending
Application number
CN201610668571.1A
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.)
Zhongshan Micro Electrical Technology Co Ltd
Original Assignee
Zhongshan Micro Electrical 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 Zhongshan Micro Electrical Technology Co Ltd filed Critical Zhongshan Micro Electrical Technology Co Ltd
Priority to CN201610668571.1A priority Critical patent/CN106444473A/en
Publication of CN106444473A publication Critical patent/CN106444473A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/21Pc I-O input output
    • G05B2219/21016I-O has own power supply

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Control Of Vending Devices And Auxiliary Devices For Vending Devices (AREA)

Abstract

The invention discloses a multi-path control circuit system for vending machines. The multi-path control circuit system is characterized in that the multi-path control circuit system includes a single-chip microcomputer, a first optocoupler control circuit, a second optocoupler control circuit, an output expansion module and a plurality of motors; the first optocoupler control circuit comprises a plurality of optocoupler elements and p-channel field tubes; the second optocoupler control circuit comprises a plurality of optocoupler elements and n-channel field tubes; each path of control signal output from the single-chip microcomputer is isolated by the first optocoupler control circuit and the second optocoupler control circuit, and then is subjected to pin expansion through the output expansion module, and the processed control signal output is connected with and drives more than one motor.

Description

A kind of multi-channel control Circuits System of automatic vending machine
Technical field
The present invention relates to a kind of electric machines control technology, it is particularly applied to the multi-motor control system of automatic vending machine.
Background technology
The large-scale terminal such as automatic vending machine often forms electric control mechanism by multiple motor combination and forms.For example exceed Terminal of 100 motor compositions etc., existing scheme generally requires to become hierarchical structure just can complete to unify by multiple processor groups Control it is difficult to just realize carrying out centralized Control to all motor arrays by a single-chip microcomputer.
Content of the invention
The main object of the present invention is the multi-channel control Circuits System providing a kind of automatic vending machine, and it overcomes prior art Deficiency, provide one kind just can carry out central controlled scheme to up to a hundred motors only by a single-chip microcomputer, and provide one Plant the multi-channel control scheme of the simple automatic vending machine of structure.
For achieving the above object, automatic vending machine proposed by the present invention multi-channel control Circuits System it is characterised in that:Bag Include single-chip microcomputer, the first optocoupler control circuit, the second optocoupler control circuit, output expansion module and some motors;First optocoupler control Circuit processed includes some optic coupling elements and p-channel field pipe;The some optic coupling elements of second optocoupler control circuit and n-channel field pipe;Come Export after the first optocoupler control circuit or the second optocoupler control circuit are isolated from every road control signal of single-chip microcomputer, through defeated Go out and connect after expansion module carries out pin extension and drive more than one motor.
Preferably, also include controlling feedback module, for gathering the position of automatic vending machine internal mechanism, temperature, electricity Stream, one of voltage or more than one parameter simultaneously feed back to single-chip microcomputer;Single-chip microcomputer changes according to the feedback of feedback module processed Control signal output to motor-end.
Preferably, described control feedback module includes sample circuit, temperature measurement circuit and feedback circuit, sampling electricity Road, temperature measurement circuit and feedback circuit are connected with the input pin of single-chip microcomputer respectively.
Preferably, also include supply module, power for single-chip microcomputer and with single-chip simulation circuit part.
Preferably, described supply module includes the first supply module, for 24V voltage is sequentially passed through anti-reversed guarantor Shield, overload protection, input to the input pin of power conversion chip after filter circuit filtering;Output via power conversion chip Export stable 5V voltage after pin filter circuit, be that described single-chip microcomputer is powered.
Preferably, also include the second supply module, for powering to single-chip simulation circuit part.
Preferably, also include serial communication apart from intensifier circuit, in order to by the serial communication voltage increase of 5V to improve Serial communication distance.
Preferably, also include crystal oscillator reset circuit to be used for producing clock frequency necessary to single-chip microcomputer and realize reset work( Energy.
Brief description
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing Have technology description in required use accompanying drawing be briefly described it should be apparent that, drawings in the following description be only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, acceptable Structure according to these accompanying drawings obtains other accompanying drawings;
Fig. 1 is the structured flowchart of system;
Fig. 2 is single-chip microcomputer wiring schematic diagram;
Fig. 3 is the first optocoupler control circuit structural representation;
Fig. 4 is the second optocoupler control circuit structural representation;
Fig. 5 is output expansion module structural representation;
Fig. 6 is the electrical block diagram of the first supply module;
Fig. 7 is the electrical block diagram of the second supply module;
Fig. 8 is crystal oscillator reset circuit structural representation;
Fig. 9 is the local circuit structural representation controlling feedback module;
Figure 10 is feedback circuit structural representation;
Figure 11 is temperature measurement circuit structural representation;
Figure 12 is serial communication apart from intensifier circuit structural representation;
The realization of the object of the invention, functional characteristics and advantage will be described further in conjunction with the embodiments referring to the drawings.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation description is it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.Base Embodiment in the present invention, those of ordinary skill in the art obtained under the premise of not making creative work all its His embodiment, broadly falls into the scope of protection of the invention.
It is to be appreciated that the directional instruction of institute in the embodiment of the present invention(Such as up, down, left, right, before and after ...)Only use In explanation in a certain particular pose(As shown in drawings)Under relative position relation between each part, motion conditions etc., if should When particular pose changes, then directionality instruction also correspondingly changes therewith.
In addition, in the present invention only to be related to technical problem solution structure, composition proposal be described when, for Known necessary structure, part and annexation, although below do not describe, be not equal to and do not exist in technical scheme, more Insufficient disclosure reason should not become.
A kind of multi-channel control Circuits System of automatic vending machine, for unifying to the multiple motors on automatic vending machine Control.With reference to Fig. 1, in certain embodiments, the multi-channel control Circuits System of automatic vending machine include single-chip microcomputer, supply module, If crystal oscillator reset circuit, control feedback module, the first optocoupler control circuit, the second optocoupler control circuit, output expansion module and Dry motor.Wherein, supply module includes the first supply module and the second supply module, is respectively used to as single-chip microcomputer and and single-chip microcomputer Artificial circuit part is powered.Crystal oscillator reset circuit is used for producing clock frequency necessary to single-chip microcomputer and realizes reset function.Control Feedback module processed is used for one of input position, temperature, electric current, voltage sampling or more than one parameter feedback, in order to reality Existing Automated condtrol.First optocoupler control circuit and the second optocoupler control circuit are used for by optic coupling element, will be from single-chip microcomputer Input isolate with to the output of motor, the circuit of single-chip microcomputer is protected simultaneously.Module is expanded in output, for by the One optocoupler control circuit output pin is extended, to connect and to control more motors, meeting automatic vending machine or similar relating to And the demand for control to multiple electric operators.In certain embodiments, the multi-channel control Circuits System of automatic vending machine is also There is serial communication apart from intensifier circuit, to solve the problems, such as serial communication such as RS232 serial communication apart from short, meet large-scale from The wiring connection requirement of dynamic vending machine.
With reference to Fig. 2, in one embodiment, single-chip microcomputer adopts Atmega16A-AU, the PC0-PC7 of single-chip microcomputer, PA4-PA7 Pin connects respectively and controls the first optocoupler control circuit, and PB0-PB7, PD4-PD7 pin connects respectively and controls the second optocoupler Control circuit.And PD0-PD2 pin connects serial communication respectively apart from intensifier circuit, to realize RS232 serial communication.PA0- PA3 is used for connecting control feedback module, and position, temperature, electric current, voltage parameter are acquired and feed back input.Single-chip microcomputer 5th pin connects the first supply module, to obtain the power supply of single-chip microcomputer itself job demand.The AREF pin of single-chip microcomputer is used for Connect the second supply module to power for single-chip simulation circuit part.
With reference to Fig. 3, the first optocoupler control circuit is combined by multiple optic coupling elements and p-channel field pipe, in some enforcements In example, optic coupling element and p-channel field pipe have 12 respectively.Wherein, the PC0-PC7 of single-chip microcomputer, PA4-PA7 pin connects respectively With control U5-U16 optic coupling element.Optic coupling element can select 817C model, and p-channel field pipe can be chosen as 9958P model.Light One-to-one connection is managed in coupling element and p-channel field.U5-U16 connects respectively and controls U35-U40 p-channel field to manage(Note U35-U40, Each is respectively provided with 2 p-channel field pipes).Optic coupling element is connected with p-channel field my humble opinion the resistance of a 10K(As R27-R38)With Current limliting simultaneously obtains the power supply required for the management and control system of p-channel field.The output of p-channel field pipe connects output expansion module, and then exports And control motor.
With reference to Fig. 4, the second optocoupler control circuit is combined by multiple optic coupling elements and n-channel field pipe, in some enforcements In example, optic coupling element and n-channel field pipe have 12 respectively.Wherein, the PB0-PB7 of single-chip microcomputer, PD4-PD7 pin connects respectively With control U17-U28 optic coupling element.Optic coupling element can select 817C model, and n-channel field pipe can be chosen as 9945N model. One-to-one connection is managed in optic coupling element and n-channel field.U17-U28 connects respectively and controls U29-U34 n-channel field to manage(Note U29- U34, each is respectively provided with 2 n-channel field pipes).Optic coupling element is connected with n-channel field my humble opinion the resistance of a 10K(As R27- R38)With current limliting and obtain the power supply required for the management and control system of n-channel field.The output of n-channel field pipe connects output expansion module, enters And export and control motor.
With reference to Fig. 5, the output of the first optocoupler control circuit and the second optocoupler control circuit connects output expanded mode respectively Block.Connect more motors through output expansion module.Wherein, wiring as shown in FIG., in certain embodiment, exports expanded mode Block is made up of some pin expandable elements, and the first optocoupler control circuit exports corresponding one with every road of the second optocoupler control circuit Pin expandable element.Wherein, 12 road p-channel field pipe outputs of the first optocoupler control circuit and 12 tunnels of the second optocoupler control circuit The pipe output of n-channel field forms motor connection terminal array, can connect and control up to 144 motors.Real with a single-chip microcomputer The centralized Control of existing 144 motors, to meet a large amount of Electronic control actuator demands of automatic vending machine, reduces whole system Cost, also improves the unified cooperation performance of automatic vending machine each unit simultaneously.
With reference to Fig. 6, for the circuit structure scheme of certain embodiment first supply module.U0 is Power convert IC, and it adopts It is to prevent reversed protection that L78M05,24V voltage sequentially passes through D0 M7, after F0 insures for 2A overload protection, circuit filter after filtering Input after ripple to the input pin of L78M05.24V voltage is after Power convert IC conversion by connection and Power convert IC output Export stable 5V voltage after the filter circuit of pin, be that single-chip microcomputer is powered.In addition, in order to improve filter effect, the ground connection of U0 End connection is filtered further by the filter circuit that electric capacity C26 and C27 is constituted.So, can not only provide for single-chip microcomputer and meet the requirements Power voltage supply, more improve voltage stability, and then improve whole control system reliability.
With reference to Fig. 7, for the circuit structure scheme of the second supply module of certain embodiment.C11 and C12 is simultaneously unified into electric capacity pair, Then C11 and C12 be unified into electric capacity to rear, two electric capacity between series inductance L1 constitute filter circuit, the power supply of 5V passes through Power to single-chip simulation circuit part after this filter circuit and electric capacity C1.
With reference to Fig. 8, for the crystal oscillator reset circuit organization plan of certain embodiment.Two electric capacity C10 and C9 form crystal oscillator with crystal oscillator Loop;The power supply of 5V accesses single-chip microcomputer after the reset circuit of resistance and diodes in parallel;The resistance composition sampling of four 1R Circuit, reset circuit is connected in earth terminal with crystal oscillator loop and sample circuit jointly by electric capacity C8.
With reference to Fig. 9, for the local circuit structure of the control feedback module of certain embodiment, for being filtered to sampling voltage Amplify, also high current sampling.Corresponding pin is connected with single-chip microcomputer.
With reference to Figure 10, for the feedback circuit structure of certain embodiment, U4 is optic coupling element, and PA3I receives position signalling High level, the PA3 of single-chip microcomputer just receives high level.
With reference to Figure 11, for the temperature measurement circuit structure of certain embodiment, for being monitored to the local temperature of automatic vending machine.
With reference to Figure 12, for certain embodiment serial communication apart from intensifier circuit structure, by the 5V that will power to single-chip microcomputer Voltage is lifted.To solve the problems, such as that serial communication such as RS232 serial communication, apart from short, meets the cloth of large-scale automatic vending machine Line connection requirement.
These are only the preferred embodiments of the present invention, not thereby limit the present invention the scope of the claims, every in the present invention Inventive concept under, the equivalent structure transformation made using description of the invention and accompanying drawing content, or directly/be indirectly used in it He is included in the scope of patent protection of the present invention technical field of correlation.

Claims (8)

1. a kind of automatic vending machine multi-channel control Circuits System it is characterised in that:Control electricity including single-chip microcomputer, the first optocoupler Road, the second optocoupler control circuit, output expansion module and some motors;First optocoupler control circuit include some optic coupling elements and P-channel field is managed;The some optic coupling elements of second optocoupler control circuit and n-channel field pipe;Defeated from every road control signal of single-chip microcomputer Go out after the first optocoupler control circuit or the second optocoupler control circuit are isolated, after output expansion module carries out pin extension Connect and drive more than one motor.
2. the multi-channel control Circuits System of automatic vending machine as claimed in claim 1 is it is characterised in that also include controlling feedback Module, for gathering one of the position of automatic vending machine internal mechanism, temperature, electric current, voltage or more than one parameter And feed back to single-chip microcomputer;Single-chip microcomputer exports to the control signal of motor-end according to the feedback change of feedback module processed.
3. the multi-channel control Circuits System of automatic vending machine as claimed in claim 2 is it is characterised in that described control is fed back Module includes sample circuit, temperature measurement circuit and feedback circuit, sample circuit, temperature measurement circuit and feedback circuit respectively with The input pin of single-chip microcomputer connects.
4. the multi-channel control Circuits System of described automatic vending machine as arbitrary in claims 1 to 3 is it is characterised in that also include Supply module, powers for single-chip microcomputer and with single-chip simulation circuit part.
5. the multi-channel control Circuits System of automatic vending machine as claimed in claim 4 is it is characterised in that described supply module Including the first supply module, for 24V voltage is sequentially passed through anti-reversed protection, overload protection, input after filter circuit filtering Input pin to power conversion chip;Electric via exporting stable 5V after the output pin filter circuit of power conversion chip Pressure, is that described single-chip microcomputer is powered.
6. the multi-channel control Circuits System of automatic vending machine as claimed in claim 5 is it is characterised in that also include the second power supply Module, for powering to single-chip simulation circuit part.
7. the multi-channel control Circuits System of automatic vending machine as claimed in claim 1 is it is characterised in that also include serial communication Apart from intensifier circuit, in order to by the serial communication voltage increase of 5V to improve serial communication distance.
8. the multi-channel control Circuits System of automatic vending machine as claimed in claim 1 resets it is characterised in that also including crystal oscillator Circuit is used for producing clock frequency necessary to single-chip microcomputer and realizes reset function.
CN201610668571.1A 2016-08-16 2016-08-16 Multi-path control circuit system for vending machines Pending CN106444473A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610668571.1A CN106444473A (en) 2016-08-16 2016-08-16 Multi-path control circuit system for vending machines

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610668571.1A CN106444473A (en) 2016-08-16 2016-08-16 Multi-path control circuit system for vending machines

Publications (1)

Publication Number Publication Date
CN106444473A true CN106444473A (en) 2017-02-22

Family

ID=58182914

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610668571.1A Pending CN106444473A (en) 2016-08-16 2016-08-16 Multi-path control circuit system for vending machines

Country Status (1)

Country Link
CN (1) CN106444473A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2610420Y (en) * 2003-03-19 2004-04-07 深圳市雄震科技有限公司 Control device of vending machine
CN201498044U (en) * 2009-07-31 2010-06-02 罗明炬 Hardware fault detection device for delivery mechanism of vending machine
CN102029612A (en) * 2011-01-25 2011-04-27 南京工业大学 Manipulator controller
TW201216210A (en) * 2010-10-13 2012-04-16 Intelligrid Technologies Co Ltd Control circuit for automatic vending machine
CN202205270U (en) * 2011-09-18 2012-04-25 陈太明 Control circuit of vending machine
CN202328623U (en) * 2011-11-09 2012-07-11 海信(山东)空调有限公司 Air deflector operating speed control circuit for air-conditioner and air-conditioner
CN202394297U (en) * 2011-11-17 2012-08-22 浙江师范大学 Vending machine based on Internet of things
CN103580567A (en) * 2012-08-06 2014-02-12 苏州工业园区凯艺精密科技有限公司 Driving control circuit of stepping motor
CN205353663U (en) * 2015-12-28 2016-06-29 广州奇芯机器人技术有限公司 Extensible multichannel IO interface board
CN205942343U (en) * 2016-08-16 2017-02-08 中山微宇电器科技有限公司 Automatic multichannel control circuit system of vending machine

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2610420Y (en) * 2003-03-19 2004-04-07 深圳市雄震科技有限公司 Control device of vending machine
CN201498044U (en) * 2009-07-31 2010-06-02 罗明炬 Hardware fault detection device for delivery mechanism of vending machine
TW201216210A (en) * 2010-10-13 2012-04-16 Intelligrid Technologies Co Ltd Control circuit for automatic vending machine
CN102029612A (en) * 2011-01-25 2011-04-27 南京工业大学 Manipulator controller
CN202205270U (en) * 2011-09-18 2012-04-25 陈太明 Control circuit of vending machine
CN202328623U (en) * 2011-11-09 2012-07-11 海信(山东)空调有限公司 Air deflector operating speed control circuit for air-conditioner and air-conditioner
CN202394297U (en) * 2011-11-17 2012-08-22 浙江师范大学 Vending machine based on Internet of things
CN103580567A (en) * 2012-08-06 2014-02-12 苏州工业园区凯艺精密科技有限公司 Driving control circuit of stepping motor
CN205353663U (en) * 2015-12-28 2016-06-29 广州奇芯机器人技术有限公司 Extensible multichannel IO interface board
CN205942343U (en) * 2016-08-16 2017-02-08 中山微宇电器科技有限公司 Automatic multichannel control circuit system of vending machine

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
张晨亮 等: "电子元件自动售货机设计实现", 电子测量技术, vol. 37, no. 11, pages 4 - 7 *
柳赛虎 等: "手机自动售货机的嵌入式系统设计", 单片机与嵌入式系统应用, no. 2, pages 56 - 59 *
陈萌 等: "自动售货机主控制器及执行机构的设计与实现", 东南大学学报, vol. 37, no. 1, pages 24 - 28 *

Similar Documents

Publication Publication Date Title
CN102916640B (en) A kind of diesel locomotive phase-control excitation control device and method thereof
CN206975817U (en) A kind of data acquisition node based on LoRa technologies
CN205942343U (en) Automatic multichannel control circuit system of vending machine
CN105305494A (en) Intelligent power supply system for photovoltaic air conditioner and power supply method
CN104052152A (en) Intelligent power supply and distribution unit
CN107393266A (en) A kind of photovoltaic plant wireless remote data Transmission system
CN102937667A (en) Wireless, intelligent and controllable metering equipment used for socket
CN103583319A (en) Novel control system of solar pumping irrigation station and implementation method thereof
CN107027125B (en) Wireless management system and equipment for outdoor scene
CN106444473A (en) Multi-path control circuit system for vending machines
CN206961303U (en) A kind of photovoltaic plant wireless remote data Transmission system
CN106487165A (en) Current sensor of motor controller current coefficient calibration system
CN205992867U (en) A kind of six axle Serve Motor Control Circuits System
CN206991535U (en) Novel intelligent meter reading collecting transmitter
CN102122845A (en) Network switching distribution automation measurement and control device
CN103079056B (en) Utilize the visible dialogue system of Zigbee controlled in wireless
CN105357018B (en) It is a kind of can digital management solar powered POE interchanger
CN205745571U (en) Electromagnetism valve control system based on two-wire system
CN104299429A (en) Annunciator based on SPI bus control
CN106936216A (en) A kind of panorama monitors analysis process system on-line
CN203968153U (en) A kind of tractor generalized information management device
CN210113890U (en) Multimode wireless sensor concentrator and agricultural irrigation system
CN203732934U (en) Solar energy irrigation station control device
CN209386412U (en) GPRS heat exchange station control system based on FlexRay bus mode
CN107070975A (en) Intelligent carriage control system and its control method based on visible light communication

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170222