[go: up one dir, main page]

CN109672369A - A kind of matrix drive device suitable for automatic vending machine cargo path motor - Google Patents

A kind of matrix drive device suitable for automatic vending machine cargo path motor Download PDF

Info

Publication number
CN109672369A
CN109672369A CN201910088028.8A CN201910088028A CN109672369A CN 109672369 A CN109672369 A CN 109672369A CN 201910088028 A CN201910088028 A CN 201910088028A CN 109672369 A CN109672369 A CN 109672369A
Authority
CN
China
Prior art keywords
motor
module
chip
main control
current
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.)
Granted
Application number
CN201910088028.8A
Other languages
Chinese (zh)
Other versions
CN109672369B (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.)
Inspur Financial Information Technology Co Ltd
Original Assignee
Inspur Financial Information 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 Inspur Financial Information Technology Co Ltd filed Critical Inspur Financial Information Technology Co Ltd
Priority to CN201910088028.8A priority Critical patent/CN109672369B/en
Publication of CN109672369A publication Critical patent/CN109672369A/en
Application granted granted Critical
Publication of CN109672369B publication Critical patent/CN109672369B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P5/00Arrangements specially adapted for regulating or controlling the speed or torque of two or more electric motors
    • H02P5/68Arrangements specially adapted for regulating or controlling the speed or torque of two or more electric motors controlling two or more DC dynamo-electric motors

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Control Of Electric Motors In General (AREA)
  • Control Of Direct Current Motors (AREA)
  • Control Of Vending Devices And Auxiliary Devices For Vending Devices (AREA)

Abstract

The invention discloses a kind of matrix drive devices suitable for automatic vending machine cargo path motor, including current detection module, motor anode control circuit module, electrode negative control circuit module, main control chip, power module and communication module;Power module, communication module, current detection module, motor anode control circuit module, electrode negative control circuit module are connect with main control chip respectively;Current detection module uses current detecting chip, current detecting chip is divided by series resistance realizes that current detecting is converted into voltage detecting, main control chip obtains specific voltage value by AD sampling, and main control chip processing voltage value obtains motor operating current, and then judges the operating status of motor;Main control chip handles the instruction that host computer is sent, and is instructed according to host computer, controls motor, and monitor the operating status of motor, reports instruction performance to host computer.By the above-mentioned means, the present invention can be safe and stable, inexpensive realization cargo path motor matrix driving.

Description

A kind of matrix drive device suitable for automatic vending machine cargo path motor
Technical field
The present invention relates to automatic vending machine fields, more particularly to a kind of matrix suitable for automatic vending machine cargo path motor Driving device.
Background technique
Automatic vending machine is a kind of completely new retailing form, and the micro supermarket for the 24 HOUR ACCESS that is otherwise known as, it is not It is limited by time, place, manpower can be saved, facilitate transaction.Mass production, a large amount of consumption and consumption mode and sales environment Variation, the type of merchandize that automatic vending machine can be sold is more and more.Therewith, the cargo path of the confidential control of automatic vending is increasingly More, the driving of cargo path motor requires also higher and higher.The matrix driving of how safe and stable, inexpensive realization cargo path motor It is technical problems to be solved in industry.Overcurrent protection, micro process in the specific design for relating generally to driving switch, motor operation The selection etc. of device.
Currently, cargo path motor mainstream driving method is matrix driving, as shown in Fig. 1 cargo path electrical machine matrix driving structure figure, Including X item transverse direction conducting wire, Y item longitudinal direction conducting wire, X*Y motor, X+Y driving switch, microprocessor and power supply;Each motor The two poles of the earth be connected respectively on X item transverse direction conducting wire and Y item longitudinal direction conducting wire;One end of every longitudinal conducting wire is separately connected a driving It is connect after switch with power supply anode;One end of every lateral conducting wire is connected to ground after being separately connected a driving switch;It is micro- Processor and driving switch signal interaction, realize the closure and opening of driving switch, only when the driving in X and Y two lines is opened Pass is closed at, and motor could work normally.
In order to preferably realize the matrix driving of cargo path motor, a kind of existing driving circuit, including single-chip microcontroller, sampling resistor Group, comparator, dip-switch package, communication chip, photoelectrical coupler, NMOS tube, PMOS tube, motor etc., particular circuit configurations figure As shown in Figure 2;H1 ... H10 connection motor anode, L1 ... L10 connection electrode negative;Single-chip microcontroller is used for Message Processing, motor driven Control;Sampling resistor group, the sampling resistor group include more than one sampling resistor, each sampling resistor respectively with corresponding motor It is connected, for sending the signal for indicating the motor present operating voltage to comparator;Comparator, the comparator respectively with single-chip microcontroller It is connected with sampling resistor group, for sending the signal for indicating that the operating current of specified motor is excessive to single-chip microcontroller;Dip-switch package, The dip-switch package includes more than one toggle switch, and dip-switch package is connected with single-chip microcontroller, according to the opening and closing shape of each switch State sets the address of the driving plate of corresponding motor;Communication chip, the communication chip respectively with single-chip microcontroller and external equipment phase Even, for the communication between single-chip microcontroller and external equipment.Single-chip microcontroller connects the negative of each motor by photoelectrical coupler with NMOS tube Pole connects the anode of each motor by photoelectrical coupler with PMOS tube;Only when the metal-oxide-semiconductor of the anode of motor and cathode is all connected When, motor is just started to work.
The above circuit is used for automatic vending machine, first is that automation function can not be fully achieved, is realized and is driven with dip-switch package The selection of movable plate, is unfavorable for Automatic control of single chip microcomputer;Second is that with metal-oxide-semiconductor, comparator, sampling resistor group, optocoupler electrical combination It is excessively cumbersome, it is unfavorable for reducing cost.
Summary of the invention
The invention mainly solves the technical problem of providing a kind of matrix drivings suitable for automatic vending machine cargo path motor Device optimizes the control circuit of motor positive and negative anodes, realizes that single-chip microcontroller controls the full automation of cargo path motor;It optimizes Motor protection circuit reduces the quantity of sampling resistor, eliminates comparator, realizes overcurrent in motor operation with lower cost Safeguard function;The matrix driving of realization cargo path motor that can be safe and stable, inexpensive.
In order to solve the above technical problems, one technical scheme adopted by the invention is that: it provides a kind of suitable for automatic vending The matrix drive device of machine cargo path motor, comprising: current detection module, motor anode control circuit module, electrode negative control Circuit module, main control chip, power module and communication module;The power module, communication module, current detection module, motor Positive control circuit module, electrode negative control circuit module are connect with main control chip respectively;The current detection module uses Current detecting chip, current detecting chip is divided by series resistance realizes that current detecting is converted into voltage detecting, main control chip Specific voltage value is obtained by AD sampling, main control chip processing voltage value obtains motor operating current, and then judges the fortune of motor Row state;The motor anode control circuit module is controlled using motor drive ic, and each motor drive ic provides four Can independent control 1/2H bridge starter, for each channel output driver channel by being carried out in the configuration of 1/2H bridge The N channel power MOSFET of configuration is formed;The electrode negative control circuit module includes NPN type triode Q3, three pole of positive-negative-positive Pipe Q2 and NMOS transistor Q1;The instruction that the main control chip processing host computer is sent, instructs according to host computer, controls motor, And the operating status of motor is monitored, instruction performance is reported to host computer;The power module is that 5V turns 3.3V module, power supply Module provides power supply for main control chip, and power module provides reference voltage for current detecting chip, and power module is motor driven Chip provides high level.
Further, current divider resistance R1 is connected on the current detecting chip, current detecting chip is exported equipped with OUT End, the main control chip are equipped with AD sampling channel, and current detecting chip passes through AD sampling channel for data by OUT output end It is transferred to main control chip;The current detecting chip can be examined in -4V to the 80V wide common-mode voltage range independently of supply voltage The pressure drop on current divider resistance R1 is surveyed, and output voltage will not be made to generate biggish transition and restore ripple accordingly, detection knot Fruit passes to the AD sampling channel of main control chip, handles to obtain motor operating current through main control chip by OUT output end, into And judge the operating status of motor.
Further, the communication module is RS485 module, and RS485 module realizes the communication of main control chip and host computer.
The beneficial effects of the present invention are: realizing that single-chip microcontroller matrix drives present invention optimizes the control circuit of motor positive and negative anodes The independent of the dynamic each column of every a line automatically controls, without increasing additional driving plate selection circuit;Optimize motor protection electricity Road is carried out AD sampling by MCU, is only needed a sampling resistor using the combination of sampling resistor and current detecting chip.It reduces The quantity of sampling resistor, eliminates comparator, quantify current detecting result can more accurate, realizes electricity with lower cost The safeguard function of overcurrent in machine operation.
Detailed description of the invention
Fig. 1 is cargo path electrical machine matrix driving framework schematic diagram;
Fig. 2 is cargo path electrical machine matrix driving circuit structure schematic diagram in the prior art;
Fig. 3 is a kind of system architecture figure of the matrix drive device suitable for automatic vending machine cargo path motor of the present invention;
Fig. 4 is a kind of current detection module suitable for the matrix drive device of automatic vending machine cargo path motor of the present invention Structural schematic diagram;
Fig. 5 is a kind of control of the motor anode suitable for the matrix drive device of automatic vending machine cargo path motor electricity of the present invention The structural schematic diagram of road module;
Fig. 6 is a kind of control of the electrode negative suitable for the matrix drive device of automatic vending machine cargo path motor electricity of the present invention The structural schematic diagram of road module.
Specific embodiment
The preferred embodiments of the present invention will be described in detail with reference to the accompanying drawing, so that advantages and features of the invention energy It is easier to be readily appreciated by one skilled in the art, so as to make a clearer definition of the protection scope of the present invention.
Fig. 1 to Fig. 6 is please referred to, the embodiment of the present invention includes:
A kind of matrix drive device suitable for automatic vending machine cargo path motor, comprising: current detection module, motor anode Control circuit module, electrode negative control circuit module, main control chip, power module and communication module;The power module leads to Believe that module, current detection module, motor anode control circuit module, electrode negative control circuit module connect with main control chip respectively It connects;
The power module is that 5V turns 3.3V module, and power module provides power supply for main control chip, and power module is electric current Detection chip provides reference voltage, and power module provides high level for motor drive ic;
The communication module is RS485 module, realizes the communication of cargo path motor control panel and host computer;
The electric current when current detection module is mainly for detection of motor work, is divided by series resistance and realizes electric current Detection is converted into voltage detecting, and main control chip obtains specific voltage value by AD sampling;The current detection module uses electric current Detection chip, a sampling resistor and one piece of current detecting chip instead of the sampling resistor in each branch of the prior art and compare Device;As shown in Figure 4, when motor operation, detection chip can be in -4V to the 80V wide common-mode voltage range independently of supply voltage The pressure drop on current divider resistance R1 is detected, and output voltage will not be made to generate biggish transition and restore ripple accordingly, is detected As a result by OUT output end, the AD sampling channel of main control MCU is passed to, handles to obtain motor operating current through MCU, and then sentence The operating status of power machine;
The motor anode control circuit module is controlled using motor drive ic, and each motor drive ic can provide Four can independent control 1/2H bridge starter, for each channel output driver channel by the configuration of 1/2H bridge Configured N channel power MOSFET composition, motor drive ic support overcurrent protection, short-circuit protection, under-voltage locking and Overheat protector;As shown in Figure 5, motor anode control circuit module is mainly made of motor control chip, 24V power supply, MCU_ EN1 ... MCU_EN4 is motor control chip input control signal, and MCU_SignalH1 is that motor anode controls signal, motor H1 ... motor H4 is motor control chip output signal, four column control signals of homography driving, when MCU_EN signal is effective When, motor control chip is changed the output level of motor 1 ... motor 4, to control square by the control of MCU_SignalH1 signal The closure and disconnection of the 24V power supply of battle array starting respective column motor;
The electrode negative control circuit module is formed using triode and metal-oxide-semiconductor, controls company's make and break of electrode negative It opens;As shown in Figure 6, electrode negative control circuit module is mainly by Q3 (NPN), Q2 (PNP) triode and Q1 (NMOS) Guan Zucheng, 24V power supply, MCU_SignalL1 are that electrode negative controls signal, and 1 row of motor L1 homography driving controls signal, works as MCU_ When SignalL1 signal is effective, triode Q3 conducting, R4, R5 partial pressure leads Q2 base stage (B) voltage lower than emitter (E) voltage Q2 It is logical, since the partial pressure of R2, R1 act on, make grid (G) voltage 12V of NMOS tube, the source electrode (S) of NMOS tube is grounded, at this time NMOS transistor conduction, motor L1 ground connection, matrix driving correspond to the cathode ground connection of row motor;
The instruction that the main control chip processing host computer is sent, instructs according to host computer, controls motor, and monitor motor Operating status reports instruction performance to host computer.
The each column MCU of every a line of matrix driving of the present invention can be controlled separately, and motor driven is selected in the control of motor anode Chip, each chip provide 4 1/2H bridge starters, No. four motors can be driven, and keep circuit more succinct reliable;Electrode negative The logic control circuit formed using diode, triode, metal-oxide-semiconductor, controls the ground connection of motor;Current detection function is using sampling The combination of resistance and current detecting chip carries out AD sampling by MCU, quantify current detecting result can more accurate.It can pacify Entirely, stablize, the matrix driving of the realization cargo path motor of low cost.
The above description is only an embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (3)

1. a kind of matrix drive device suitable for automatic vending machine cargo path motor characterized by comprising current detecting mould Block, motor anode control circuit module, electrode negative control circuit module, main control chip, power module and communication module;It is described Power module, communication module, current detection module, motor anode control circuit module, electrode negative control circuit module difference It is connect with main control chip;The current detection module uses current detecting chip, and current detecting chip is divided by series resistance Realize that current detecting is converted into voltage detecting, main control chip obtains specific voltage value by AD sampling, and main control chip handles voltage Value obtains motor operating current, and then judges the operating status of motor;The motor anode control circuit module is driven using motor Dynamic chip controls, each motor drive ic provide four can independent control 1/2H bridge starter, for the defeated of each channel Driver channels are made of the N channel power MOSFET configured in a 1/2H bridge configuration out;The electrode negative control Circuit module processed includes NPN type triode Q3, PNP type triode Q2 and NMOS transistor Q1;The main control chip processing is upper The instruction that machine is sent, instructs according to host computer, controls motor, and monitor the operating status of motor, reports and instructed to host computer At situation;The power module is that 5V turns 3.3V module, and power module provides power supply for main control chip, and power module is electric current inspection It surveys chip and reference voltage is provided, power module provides high level for motor drive ic.
2. a kind of matrix drive device suitable for automatic vending machine cargo path motor according to claim 1, feature exist In: current divider resistance R1 is connected on the current detecting chip, current detecting chip is equipped with OUT output end, the master control core On piece is equipped with AD sampling channel, and current detecting chip transfers data to master control core by AD sampling channel by OUT output end Piece;The current detecting chip can detect current divider resistance in -4V to the 80V wide common-mode voltage range independently of supply voltage Pressure drop on R1, and output voltage will not be made to generate biggish transition and restore ripple accordingly, testing result is exported by OUT End, passes to the AD sampling channel of main control chip, handles to obtain motor operating current through main control chip, and then judge the fortune of motor Row state.
3. a kind of matrix drive device suitable for automatic vending machine cargo path motor according to claim 1, feature exist In: the communication module is RS485 module, and RS485 module realizes the communication of main control chip and host computer.
CN201910088028.8A 2019-01-29 2019-01-29 Matrix driving device suitable for goods channel motor of vending machine Active CN109672369B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910088028.8A CN109672369B (en) 2019-01-29 2019-01-29 Matrix driving device suitable for goods channel motor of vending machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910088028.8A CN109672369B (en) 2019-01-29 2019-01-29 Matrix driving device suitable for goods channel motor of vending machine

Publications (2)

Publication Number Publication Date
CN109672369A true CN109672369A (en) 2019-04-23
CN109672369B CN109672369B (en) 2021-08-17

Family

ID=66149960

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910088028.8A Active CN109672369B (en) 2019-01-29 2019-01-29 Matrix driving device suitable for goods channel motor of vending machine

Country Status (1)

Country Link
CN (1) CN109672369B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110619707A (en) * 2019-09-04 2019-12-27 浪潮金融信息技术有限公司 Be applied to automatic vending machine's combination spring goods way
CN110647069A (en) * 2019-09-04 2020-01-03 浪潮金融信息技术有限公司 Intelligent vending machine goods channel motor logic control scheme
CN115125662A (en) * 2022-08-02 2022-09-30 浙江恒强科技股份有限公司 A matrix drive needle selection method for glove machine

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19509572A1 (en) * 1995-03-16 1996-09-19 Linde Ag Driver circuit using compact MOSFET module
JPH0984389A (en) * 1995-09-19 1997-03-28 Shibaura Eng Works Co Ltd Motor driver
US6008597A (en) * 1996-11-01 1999-12-28 Maxtrol Corporation DC-motor driven vending machine having simplified controls
KR20100118178A (en) * 2009-04-28 2010-11-05 (주)모토닉 Mosfet driver of motor driver for a fuel pump
CN103888030A (en) * 2012-12-24 2014-06-25 鸿富锦精密工业(武汉)有限公司 Motor driving device and system
CN103904958A (en) * 2012-12-28 2014-07-02 鸿富锦精密工业(武汉)有限公司 Motor drive device
CN204731876U (en) * 2015-04-24 2015-10-28 东莞市潮德智能科技有限公司 The drive circuit of the lattice cabinet automatic vending machine
CN205318149U (en) * 2015-12-04 2016-06-15 惠州市诺坚五金制品有限公司 Vending machine shipment motor control means
EP3229365A1 (en) * 2016-04-05 2017-10-11 ALSTOM Transport Technologies Control device for controlling at least one dc-machine of a railway vehicle
CN207269207U (en) * 2017-09-30 2018-04-24 杭州汇冷科技有限公司 Distributed motor driven systems for automatic vending machine
CN207321143U (en) * 2017-09-30 2018-05-04 杭州汇冷科技有限公司 The driving of unidirectional matrix direct current generator and detection circuit for automatic vending machine
CN207691676U (en) * 2017-12-12 2018-08-03 深圳和而泰智能控制股份有限公司 A kind of Bootstrapping drive circuit, bootstrapping drive system and brshless DC motor
CN208000635U (en) * 2018-03-08 2018-10-23 河南智售宝智能科技有限公司 A kind of more cargo path control mechanisms for automatic vending machine and more cargo path structures

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19509572A1 (en) * 1995-03-16 1996-09-19 Linde Ag Driver circuit using compact MOSFET module
JPH0984389A (en) * 1995-09-19 1997-03-28 Shibaura Eng Works Co Ltd Motor driver
US6008597A (en) * 1996-11-01 1999-12-28 Maxtrol Corporation DC-motor driven vending machine having simplified controls
KR20100118178A (en) * 2009-04-28 2010-11-05 (주)모토닉 Mosfet driver of motor driver for a fuel pump
CN103888030A (en) * 2012-12-24 2014-06-25 鸿富锦精密工业(武汉)有限公司 Motor driving device and system
CN103904958A (en) * 2012-12-28 2014-07-02 鸿富锦精密工业(武汉)有限公司 Motor drive device
CN204731876U (en) * 2015-04-24 2015-10-28 东莞市潮德智能科技有限公司 The drive circuit of the lattice cabinet automatic vending machine
CN205318149U (en) * 2015-12-04 2016-06-15 惠州市诺坚五金制品有限公司 Vending machine shipment motor control means
EP3229365A1 (en) * 2016-04-05 2017-10-11 ALSTOM Transport Technologies Control device for controlling at least one dc-machine of a railway vehicle
CN207269207U (en) * 2017-09-30 2018-04-24 杭州汇冷科技有限公司 Distributed motor driven systems for automatic vending machine
CN207321143U (en) * 2017-09-30 2018-05-04 杭州汇冷科技有限公司 The driving of unidirectional matrix direct current generator and detection circuit for automatic vending machine
CN207691676U (en) * 2017-12-12 2018-08-03 深圳和而泰智能控制股份有限公司 A kind of Bootstrapping drive circuit, bootstrapping drive system and brshless DC motor
CN208000635U (en) * 2018-03-08 2018-10-23 河南智售宝智能科技有限公司 A kind of more cargo path control mechanisms for automatic vending machine and more cargo path structures

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110619707A (en) * 2019-09-04 2019-12-27 浪潮金融信息技术有限公司 Be applied to automatic vending machine's combination spring goods way
CN110647069A (en) * 2019-09-04 2020-01-03 浪潮金融信息技术有限公司 Intelligent vending machine goods channel motor logic control scheme
CN115125662A (en) * 2022-08-02 2022-09-30 浙江恒强科技股份有限公司 A matrix drive needle selection method for glove machine

Also Published As

Publication number Publication date
CN109672369B (en) 2021-08-17

Similar Documents

Publication Publication Date Title
CN205679749U (en) Power on/off observation circuit
CN109672369A (en) A kind of matrix drive device suitable for automatic vending machine cargo path motor
CN201571166U (en) Switch machine test system
CN204241597U (en) Portable cable fast detector
CN106841876B (en) A kind of monitoring method of relay protection outlet pressing plate
CN102316356A (en) Device and method for testing HDMI (high-definition multimedia interface) function of television (TV)
CN105222823A (en) A kind of checkout equipment of integrated form of automobile combination meter
CN100590446C (en) A Portable Sequential Event Signal Generator
CN106411416A (en) Power supply device, optical module power supply system and power supply control method
CN205540248U (en) Detection apparatus for vehicle control unit
CN209435056U (en) A kind of brushless electric machine control panel
CN208796098U (en) Detection circuit and its CC logic control chip
CN202443109U (en) Burn-in screen device for magnetic latching relay
CN103950392B (en) Mutual knowledge system between anti-tamper controller for electric vehicle and motor
CN201765524U (en) Electronic temperature controller of transformer
CN205826811U (en) A kind of aging testing system
CN206331090U (en) A kind of ten spindle motor no load test systems
CN109256865A (en) A kind of distribution network automated terminal with self-checking function
CN209372993U (en) A kind of Europe superscript charging pile test macro
CN203376631U (en) Spinning control system for spinning machine
CN207251170U (en) A kind of intelligent power control system and its power control circuit
CN208158906U (en) A kind of shared MIFI terminal structure of included charging cable
CN201682258U (en) Intrinsic safety type component
CN208127933U (en) Signal acquisition circuit and battery management system
CN105223404A (en) A kind of low-tension switch cabinet feeder line monitoring, measurement mechanism

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant