A kind of rapid medicine dispensing controls device
Technical field
The present invention relates to a kind of rapid medicine dispensing and control device.
Background technology
At present, the dispensing speed in pharmacy, dispensing efficiency are one of marks of work efficiency weighing a hospital.Traditional hospital's warehousing system mainly has common shelf to constitute, and the memory density of medicine is low, and the transmission of medicine is substantially manually to be made up a prescription by medical worker and send, the medicines such as this pattern dispensing speed is slow, patient's usually queuing, and the accident sending out wrong medicine also happens occasionally.Automatic dispensary can help hospital to improve accuracy and the speed of dispensing.
The control mode of the shelf in automatic dispensary is by PLC(Programmable Logic Controller) directly DM carry out action, power limited yet with PLC, increase along with medicine outlet quantity, the load of PLC gets more and more, when loading too many or during work of electromagnet exception, easily cause PLC instantaneous power excessive, control circuit is burnt, cause whole shelf control circuit to be damaged to lose efficacy, poor reliability.
Summary of the invention
In order to solve the problems referred to above, the invention provides a kind of rapid medicine dispensing and control device so that the driving force controlling device strengthens, improve stability and reliability, the service life of extension fixture of control system.
Concrete technical scheme is as follows:
A kind of rapid medicine dispensing that the embodiment of the present invention provides controls device, including interface unit, signal amplification unit and at least one electric magnet and the medicament discharge mechanism of correspondence, wherein
Described interface unit, connects PLC, receives PLC control signal and transmits to described signal amplification unit;
Described signal amplification unit, connects described interface unit and receives the PLC control signal of its transmission, outputing control signals to described electric magnet after conversion process;
Described signal amplification unit includes at least one first signal amplification circuit and at least one secondary signal amplifying circuit, described first signal amplification circuit is connected with described interface unit with the input of secondary signal amplifying circuit, the outfan of the first signal amplification circuit connects with the positive pole of described electric magnet, and the outfan of secondary signal amplifying circuit connects with the negative pole of described electric magnet;
Described electric magnet, connects and receives the control signal of described signal amplification unit;
Wherein, when described electric magnet is simultaneously received the control signal of described first signal amplification circuit and described secondary signal amplifying circuit, medicament discharge mechanism action described in described magnet control.
According to one of present invention preferred embodiment, described first signal amplification circuit includes field effect transistor (Q101), current-limiting resistance (R101) and biasing resistor (R102), PLC control signal is connected to the grid G of field effect transistor (Q101) through current-limiting resistance (R101), the grid G of field effect transistor (Q101) connects 24V power supply by biasing resistor (R102), the drain D of field effect transistor (Q101) connects 24V power supply, and source S connects the outfan of the first signal amplification circuit.
nullAccording to one of present invention preferred embodiment,Described secondary signal amplifying circuit includes audion (Q201)、Field effect transistor (Q202)、Current-limiting resistance (R201)、Biasing resistor (R202)、Pull down resistor (R204) and divider resistance (R203),PLC control signal is connected to base stage B of audion (Q201) through current-limiting resistance (R201),Base stage b of audion (Q201) connects 24V power supply by biasing resistor (R202),The colelctor electrode c of audion (Q201) connects the grid G of field effect transistor (Q202),The grid G of field effect transistor (Q202) is by pull down resistor (R204) over the ground,The emitter e of audion (Q201) connects 24V power supply by divider resistance (R203),The drain D ground connection of field effect transistor (Q202),Source S connects the outfan of secondary signal amplifying circuit.
According to one of present invention preferred embodiment, this device includes M × N number of electric magnet and corresponding M × N number of medicament discharge mechanism, and described electric magnet is arranged with the matrix form of M × N.
As can be seen from the above technical solutions, a kind of rapid medicine dispensing that the present invention provides controls device, uses amplifying circuit to control the mode of matrix so that the driving force controlling device strengthens, and improves stability and reliability, the service life of extension fixture of control system.
Accompanying drawing explanation
Fig. 1 is the theory diagram that the rapid medicine dispensing that the embodiment of the present invention provides controls device;
Fig. 2 is the circuit diagram of the first signal amplification circuit that the embodiment of the present invention provides;
Fig. 3 is the circuit diagram of the secondary signal amplifying circuit that the embodiment of the present invention provides;
Fig. 4 is the circuit diagram of the first interface unit that the embodiment of the present invention provides;
Fig. 5 is the circuit diagram of the second interface unit that the embodiment of the present invention provides;
Fig. 6 is the electric magnet matrix majorization structural representation that the embodiment of the present invention provides.
Detailed description of the invention
In order to make the object, technical solutions and advantages of the present invention clearer, describe the present invention with specific embodiment below in conjunction with the accompanying drawings.
Embodiment 1
Fig. 1 is the theory diagram that the rapid medicine dispensing that the present embodiment provides controls device, as it is shown in figure 1, this device includes the medicament discharge mechanism 104 of interface unit 101, signal amplification unit 102 and at least one electric magnet 103 and correspondence.
Interface unit 101, connects PLC, receives PLC control signal and transmits to signal amplification unit 102.
Signal amplification unit 102, connects interface unit 101 and receives the PLC control signal of its transmission, outputing control signals to electric magnet 103 after conversion process.
Electric magnet 103, is installed on medicament discharge mechanism 104, connects and receive the control signal of signal amplification unit 102, controls medicament discharge mechanism 104 action.
Signal amplification unit 102 includes at least one first signal amplification circuit and at least one secondary signal amplifying circuit.First signal amplification circuit is connected with interface unit 101 with the input of secondary signal amplifying circuit, and the outfan of the first signal amplification circuit connects with the positive pole of electric magnet 103, and the outfan of secondary signal amplifying circuit connects with the negative pole of electric magnet 103.
Fig. 2 is the circuit diagram of the first signal amplification circuit that the present embodiment provides, as shown in Figure 2, first signal amplification circuit includes field effect transistor Q101, current-limiting resistance R101 and biasing resistor R102, PLC control signal input1 is connected to the grid G of field effect transistor Q101 through current-limiting resistance R101, the grid G of field effect transistor Q101 connects 24V power supply by biasing resistor R102, the drain D of field effect transistor Q101 connects 24V power supply, and source S connects the outfan output1 of the first signal amplification circuit.Its operation principle is: when PLC control signal input1 has input, and field effect transistor Q101 turns on so that outfan output1 exports 24V signal, is connected to electric magnet positive pole;When PLC control signal input1 is without input, field effect transistor Q101 is not turned on so that outfan output1 no signal exports.
nullFig. 3 is the circuit diagram of the secondary signal amplifying circuit that the present embodiment provides,As shown in Figure 3,Secondary signal amplifying circuit includes audion Q201、Field effect transistor Q202、Current-limiting resistance R201、Biasing resistor R202、Pull down resistor R204 and divider resistance R203,PLC control signal input101 is connected to base stage B of audion Q201 through current-limiting resistance R201,Base stage b of audion Q201 connects 24V power supply by biasing resistor R202,The colelctor electrode c of audion Q201 connects the grid G of field effect transistor Q202,The grid G of field effect transistor Q202 is by pull down resistor R204 over the ground,The emitter e of audion Q201 connects 24V power supply by divider resistance R203,The drain D ground connection of field effect transistor Q202,Source S connects the outfan output101 of secondary signal amplifying circuit.Its operation principle is: when PLC control signal input101 has input, and audion Q201 turns on so that field effect transistor Q202 turns on, and outfan output101 exports earth signal, is connected to electric magnet negative pole;When PLC control signal input101 is without input, audion Q201 is not turned on so that field effect transistor Q202 is not turned on, and outfan output1 no signal exports.
The medicine outlet of automatic dispensary is matrix form M row N Column Layout, and the medicament discharge mechanism of each medicine outlet controls the granting of medicine.Medicament discharge mechanism is controlled by electric magnet, the corresponding electric magnet of each medicine outlet.N number of electric magnet of often going is fixed on same fixed cross beam, by the granting of magnet control medicine.When electric magnet receives the control signal of signal amplification unit, control medicine outlet and go out a box medicine.
In the present embodiment, signal amplification unit includes 32 the first signal amplification circuits and 24 secondary signal amplifying circuits, i.e. M=32, N=24.The numerical value of M and N can be set according to practical situation.Fig. 4 is the circuit diagram of the first interface unit that the present embodiment provides, as shown in Figure 4, first signal amplification circuit receives 32 input signal input1 ~ input32, it is provided that 32 output signal output1 ~ output32, and the amplifying circuit between its input and output is as shown in Figure 2.Fig. 5 is the circuit diagram of the second interface unit that the present embodiment provides, as shown in Figure 5, secondary signal amplifying circuit receives 24 input signal input101 ~ input124, it is provided that 24 output signal output101 ~ output124, and the amplifying circuit between its input and output is as shown in Figure 3.It is to say, the present invention can control 32 × 24 electric magnet, corresponding 768 medicine outlets.
Fig. 6 is the electric magnet matrix majorization structural representation that the present embodiment provides, and as shown in Figure 6, the outfan of the first signal amplification circuit is arranged in the longitudinal direction of matrix, connects with the positive pole of electric magnet;The outfan of secondary signal amplifying circuit is arranged in the horizontal of matrix, connects with the negative pole of electric magnet.
The control principle of medicament discharge mechanism is, when the both positive and negative polarity of electric magnet is all energized, work of electromagnet, medicine outlet is opened, and goes out a box medicine;When both positive and negative polarity wherein one end power-off of electric magnet, electric magnet does not works, and is returned to original state, and medicine outlet is closed.Thus, electric magnet in a matrix, when only row and column receives signal the most simultaneously, the just action of this electric magnet.As shown in Figure 6, when output1 exports 24V signal, and when output101 output is to earth signal, electric magnet D11 works, controlling the medicament discharge mechanism work of this position, medicine outlet is opened, and falls down a box medicine, can effectively and rapidly carry out dispensing.
The rapid medicine dispensing that the present invention provides controls device, is increased the driving force of control circuit by signal amplification circuit, it is to avoid the phenomenon burnt out occur, improves stability and the reliability of control system, the service life of extended control device.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all within the spirit and principles in the present invention, any modification, equivalent substitution and improvement etc. done, within should be included in the scope of protection of the invention.