A kind of circuit that is used to control a plurality of micromachine rotatings
Technical field:
The utility model relates to a kind of circuit of controlling the micromachine rotating, and this circuit can be used for controlling a hundreds of micromachine rotating, and this circuit is particularly useful for the motor-driven that box is taken care of in bank's receipt cabinet or supermarket automatically.
Background technology:
Box is taken care of in bank's receipt cabinet or supermarket automatically at present, all needs to use a large amount of keeping boxes, and is independent mutually between each keeping box, in order to open or close the keeping box, need use a large amount of micromachines, and control motor positive and inverse circuit and protective circuit relative complex.For the switch motor electric power polarity, the components and parts required precision height of selection, delay requirement is accurate, otherwise causes positive and negative polarity power supply instantaneous short circuit easily, and circuit reliability is poor, not easy care.
Summary of the invention:
But the purpose of this utility model is to provide the circuit of a kind of convenience, reliable, a plurality of micromachine rotatings of the low centralized control of cost.This circuit is particularly suitable for smart electronics receipt cabinet receipt box motor-driven.
The purpose of this utility model is achieved in that described a kind of circuit that is used to control a plurality of micromachine rotatings, comprises governor circuit and drive circuit, and its design feature is that governor circuit comprises single-chip microcomputer and motor positive and inverse power supply control chip; Drive circuit comprises decoding control circuit and motor-drive circuit; Single-chip microcomputer is connected with motor positive and inverse control chip, decoding control circuit respectively; Decoding control circuit is connected with motor-drive circuit; The motor positive and inverse power supply control chip is connected with motor respectively with motor-drive circuit.
The purpose of this utility model also can be achieved through the following technical solutions, described a kind of circuit that is used to control a plurality of micromachine rotatings, and its characteristics are that described single-chip microcomputer employing model is the single-chip microcomputer of STC89C51 or STC89C52.Described a kind of circuit that is used to control a plurality of micromachine rotatings, its characteristics are the motor positive and inverse power supply control chip of YT2933 for the motor positive and inverse power supply control chip adopts model.Described a kind of circuit that is used to control a plurality of micromachine rotatings, its characteristics are that described decoding control circuit is exported a plurality of control signals and connected a plurality of motor-drive circuits respectively, and each motor-drive circuit connects motor; Each motor is connected with the motor positive and inverse power supply control chip; The motor positive and inverse power supply control chip is connected on the outside corresponding function pin of single-chip microcomputer.
Advantage of the present utility model: circuit of the present utility model can expand to up to a hundred with originally being used to control the motor-drive circuit of a keeping box, and so whole drive circuit cost reduces greatly, helps product promotion.Owing to adopt special-purpose motor positive and inverse power supply control chip, the motor positive and inverse electric power polarity changes to be finished by chip simultaneously, and integrated drive chips has motor counter-rotating counter electromotive force defencive function simultaneously.As seen, by the enforcement of this circuit, cost reduces, and economic benefit is obvious.Circuit reliability is strong, has better anti-jamming capability and protection motor characteristic.The utility model overall cost is low, and the circuit controllability is good, and is stable, guarantees to work between many motors and does not disturb mutually, can expand the positive and negative rotation circuit control of utilization to hundreds and thousands of micromachines.Circuit is simple, and is easy to maintenance, helps promoting.
Description of drawings:
Fig. 1 is a connection schematic block diagram of the present utility model.
Fig. 2 is a governor circuit theory diagram of the present utility model.
Fig. 3 is a drive circuit schematic diagram of the present utility model.
Embodiment:
Below in conjunction with drawings and Examples the utility model is elaborated:
As Fig. 1, Fig. 2 and shown in Figure 3, described a kind of circuit that is used to control a plurality of micromachine rotatings comprises governor circuit and drive circuit, and governor circuit comprises single-chip microcomputer, motor positive and inverse power supply control chip and bus driver and coding chip; Drive circuit comprises decoding control circuit and motor-drive circuit; Single-chip microcomputer is connected with motor positive and inverse control chip, decoding control circuit respectively; Decoding control circuit is connected with motor-drive circuit; The motor positive and inverse power supply control chip is connected with motor respectively with motor-drive circuit; Motor can have 1 to N, by actual required next fixed.
Described single-chip microcomputer model can adopt STC89C51 or STC89C52; Described motor positive and inverse power supply control chip can have multiple model selective, and its drive voltage range is suitable at 3-16V, and it is best more than 1A to continue output current, and preferred model is the motor positive and inverse power supply control chip of YT2933; Coding chip can adopt 138 encoded control chip 74HC138; Bus driver US0 is the chip of 74HC245 to the US6 available model; Single-chip microcomputer is connected with the motor positive and inverse power supply control chip by bus driver.
Described decoding control circuit comprises decoder, and decoder can adopt 138 encoded control chip 74HC138; It is the motor switch Control Driver of the chip of 74HC244 that motor-drive circuit can adopt model.
The control signal of described single-chip microcomputer is exported a plurality of control signals through decoding control circuit and is controlled motor-drive circuit respectively, thereby controls a plurality of micromachines, and micromachine can be 1 to N; The motor positive and inverse power supply control chip is by two I/O mouth controls of single-chip microcomputer, and then the control motor positive and inverse.By external peripheral motor-drive circuit and decoding control circuit, can expand the rotating of up to a hundred motors of control.
Fig. 2 is a schematic block circuit diagram of the present utility model, single-chip microcomputer can adopt STC89C51 or STC89C52, low 4 of the P2 mouth of single-chip microcomputer meets bus driver US0 US6 (available model is the chip of 74HC245), and high 3 of the P2 mouth of single-chip microcomputer connects 138 encoded control chips (can adopt model is the chip of 74HC138) and meets bus driver US1 (model is the chip of 74HC245) again; High 2 of the P1 mouth of single-chip microcomputer meets bus driver US6 (model can be the chip of 74HC245) and connects motor positive and inverse power supply special integrated circuit (model can be the chip of YT2933) again, the rotating of control motor.
Fig. 3 is the drive circuit schematic diagram, comprise Signal plug, decoder and motor switch Control Driver, described Signal plug (adopting bus input JJ1) connects decoder (adopting 138 encoded control chip 74HC138), and decoder output is received respectively from motor switch Control Driver U
3(model is the chip of 74HC244) is to motor switch Control Driver U
NEnable the selecting side; Motor switch Control Driver U
3To motor switch Control Driver U
NReceive the base stage of the triode of each control motor separately, finally receive micromachine, two micromachines of a motor switch Control Driver may command; The motor switch Control Driver U of total number
NControl N micromachine.