Dispensing device system based on single-chip microcomputer control

By using a single chip computer to control the air pump module and solenoid valve in the dispenser system, the number of solenoid valves is reduced, the system stability and portability are improved, and the problems of complex structure and maintenance difficulty in the existing dispenser system are solved, achieving high efficiency and low Cost dispensing operation.

CN119302851APending Publication Date: 2025-01-14SHIJIAZHUANG RUIXIANG ELECTRONIC TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411567201.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-05
Publication Date
2025-01-14

AI Technical Summary

Technical Problem

In the existing dispenser system, there are many solenoid valves, complex structure, low stability, high mechanical delay, high manufacturing cost, and difficult maintenance and maintenance.

Method used

The dispenser system based on microcontroller control is adopted, and the air pump module and solenoid valve are directly controlled through the microcontroller, reducing the number of solenoid valves, using high-efficiency modular power modules, simplifying the structure, and integrating self-test functions.

Benefits of technology

Reduces system complexity and mechanical delays, improves stability and portability, reduces energy costs and equipment volume, and simplifies maintenance and repair processes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119302851A_ABST
    Figure CN119302851A_ABST
Patent Text Reader

Abstract

The invention discloses a dispensing device system based on single-chip microcomputer control, and relates to the field of medical equipment. According to the system, a power supply module supplies power to the whole system by converting an external power supply, a single-chip microcomputer control panel receives an external instruction through key control, starts up to enter a self-cleaning mode, enters a standby mode after cleaning is finished, presses down a forward key, starts a brushless motor, starts a forward electromagnetic valve and pneumatically moves forwards; a retreat key is pressed down, a brushless motor is started, a retreat electromagnetic valve is started, and pneumatic operation is backward; the motor mode is switched by pressing the inching key, and the motor mode can only be pneumatically forward by pressing the forward key, and the motor mode is pneumatically forward by a specified distance. Single-chip microcomputer control is used for replacing valve terminal control, control complexity is reduced, system stability is improved, the system structure is simpler, upgrading and maintenance are convenient, cost is reduced, and mechanical delay is reduced; and the power supply module and the single chip microcomputer control module which are high in integration level and modularized are used, so that the equipment is more portable.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of medicine dispensers, and in particular to a medicine dispenser system based on single chip microcomputer control. Background Art

[0002] At present, in the process of dispensing medicine, medical staff generally use a medicine dispenser (syringe) to suck the liquid medicine, and inject the sucked liquid medicine into a medicine bag or a powder medicine bottle to mix the liquid medicine or dissolve the powder medicine. Especially during the peak period of dispensing medicine, medical staff frequently work and the labor intensity is high. In order to reduce the labor intensity, a medicine dispenser is used to complete it. It is mainly connected to the solenoid valve through a valve island, and the solenoid valve is switched to realize the pumping of the liquid medicine by the medicine dissolver.

[0003] Chinese patent CN112032362B discloses a valve island base for a medicine dispensing device, which uses three channels and at least three solenoid valves to realize the pumping of medicine liquid by the medicine dissolving device.

[0004] Chinese patent CN113530809A discloses a control method for a pneumatic control system of a dispenser, in which the solenoid valves are connected to each other and to different quick-connect connectors, filter silencers, etc. These components are installed on a manifold body, and the manifold body is provided with first, second, third, and fourth channels and multiple mounting holes and through holes to form different interfaces for connecting the components.

[0005] However, the number of solenoid valves controlled by valve islands or manifolds in the prior art is still large, the structure is highly complex, the stability of the overall system is low, and the mechanical delay is high. The overall equipment is large in size and the manufacturing cost is high. Once a failure occurs, it is difficult to inspect and maintain. Summary of the invention

[0006] The technical problem to be solved by the present invention is how to provide a dispensing device control system with a more reasonable structure, reduced number of solenoid valves and lower cost.

[0007] In order to solve the above technical problems, the technical solution adopted by the present invention is: A dispenser system based on single-chip microcomputer control, comprising a power module, a single-chip microcomputer control module, an air pump module, a solenoid valve, an air filter element, and an air tool; the power module is externally connected to 220V alternating current, and the output end is connected to one end of a power switch button; the power switch button is respectively connected to an input end of a single-chip microcomputer control board and the positive pole of an LED; the ground end of the power module is respectively connected to the ground end of the single-chip microcomputer control board and the negative pole of the LED; the single-chip microcomputer control board is externally connected to three buttons: forward, backward, and mode; the motor speed control knob is integrated in the single-chip microcomputer control board; the output end of the single-chip microcomputer control board is connected to the air pump module; the output end of the single-chip microcomputer control board is connected to the ventilation solenoid valve; the air outlet of the air pump module is connected to the air filter element and the air path of the air tool through the solenoid valve; the air inlet of the air pump module is connected to the air filter element and the air path of the air tool through another solenoid valve.

[0008] The single chip control module comprises: a power supply unit, a burning unit, a speed regulating unit, a control unit and a driving unit.

[0009] The power supply unit includes: pin 1 of CN2 is connected to U3; the other end of U3 is connected to voltage zener diodes D1 and D2 respectively; the other ends of D1 and D2 are connected to the positive electrodes of capacitors C1 and C2 and the IN interface of U2 respectively, and are connected to capacitors C7, the positive electrodes of capacitors C6, pin 1 of CN1 and pin 5 of CN1 as the VCC output end; the other end of C6 is grounded; the other end of C7 is grounded; the other end of C1 is grounded; the other end of C2 is grounded; the GND pin of U2 is grounded; the OUT pin of U2 is connected to resistor R9 and one section of capacitor C3 respectively, and serves as the output end of the 5V power supply; the other end of R9 is connected to the positive electrode of LED1; the negative electrode of LED1 is grounded; the other end of C3 is grounded; the output end of the 5V power supply is connected to the VDD pin of U1 in parallel with capacitor C4; the other end of C4 is grounded.

[0010] The programming unit includes: pin 1 of H1 is connected to the 5V power output of the power supply unit; pin 2 of H1 is connected to pin P1.6 of U1; pin 3 of H1 is connected to pin P0.2 of U1; pin 4 of H1 is connected to P2.0 of U1; and pin 5 of H1 is grounded.

[0011] The speed regulating unit includes: two sliding ends of the speed regulating potentiometer R14 are connected to one end of R2; the input end of R14 is connected to the 5V voltage output of the power supply unit, and the output end is grounded; the other end of R2 is respectively connected to the capacitor C5 and the P1.7 pin of U1; the other end of C5 is grounded.

[0012] The control unit includes: the forward button is connected to the 6th pin of CN2; the backward button is connected to the 5th pin of CN2; the mode button is connected to the 4th pin of CN2; the other ends of the three buttons are connected to the 3rd pin of CN2; the 6th pin of CN2 is respectively connected to the resistor R5 and the resistor R8; the 5th pin of CN2 is respectively connected to the resistor R4 and the resistor R7; the 4th pin of CN2 is respectively connected to the resistor R3 and the resistor R6; the other end of R8 is connected to the 5V output of the power supply unit; the other end of R7 is connected to the 5V output of the power supply unit; the other end of R6 is connected to the 5V output of the power supply unit; the other end of R5 is respectively connected to the bidirectional electrostatic discharge protection diode D5 and the P1.1 pin of U1; the other end of R4 is respectively connected to the bidirectional electrostatic discharge protection diode D4 and the P1.0 pin of U1; the other end of R3 is respectively connected to the bidirectional electrostatic discharge protection diode D3 and the P0.0 pin of U1; the other ends of D3, D4 and D5 are grounded.

[0013] The 6 pins of the driving unit CN1 are respectively connected to the collector of the transistor Q3 and the negative electrode of the diode D6, and the positive electrode of the D6 is respectively connected to the emitter of Q3 and the resistor R13; the other end of the R13 is grounded; the base of Q3 is connected to the resistor R12; the other end of the R12 is respectively connected to the capacitor C8 and the P1.5 pin of U1; the other end of the C8 is grounded; the 1 and 5 pins of the CN1 are connected to the power supply unit; the 2 pin of the CN1 is grounded; the 3 pin of the CN1 is connected to the resistor R10; the other end of the R10 is connected to the collector of the transistor Q2; the emitter of Q2 is grounded, and the base is connected to the resistor R11; the other end of the R11 is connected to the P1.4 pin of U1; the 1, 2, and 3 pins of CN1 are connected to the brushless motor; the 5 and 6 pins of CN1 are connected to the solenoid valve.

[0014] Preferably, the power module is a mp-h48s12-ft model power module.

[0015] The air pump module is composed of a brushless motor and an air pump.

[0016] The air filter element is a breathing filter element of the SFE model.

[0017] The beneficial effects of adopting the above technical solution are: the power module uses the MP-H48S12-FT model power module, and the power conversion efficiency is 88%. By improving the battery efficiency, the energy cost can be reduced. This model of power module has high integration and can effectively reduce the size of the equipment; the output end of the single-chip control board is connected to the air pump module, and the output end of the single-chip control board is connected to the ventilation solenoid valve. The air pump module and the solenoid valve are directly controlled by the single-chip computer, and the number of solenoid valves is reduced to 2, which reduces the mechanical delay of the equipment, reduces the complexity of the system, and reduces the size of the equipment; the single-chip control system has a self-test function, which is easy to repair when a fault occurs.

[0018] The present invention uses single-chip microcomputer control to replace valve island control. Compared with the multi-solenoid valve control of the valve island, the system complexity is reduced, the corresponding system stability is higher, the system structure is simpler, and it is easy to maintain and repair; the use of domestic single-chip microcomputer control boards reduces costs; the number of solenoid valves is reduced, the mechanical delay is lower, and the control is more precise; the use of highly integrated and modular power modules and single-chip microcomputer control modules effectively reduces the size and weight of the equipment, making it more portable; the power module has a high conversion rate for power, and the energy cost is reduced; and due to the programmable characteristics of the single-chip microcomputer system, certain adaptive changes can be made according to needs. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0020] Figure 1 It is the principle diagram of the medicine dispensing device system based on single chip microcomputer control proposed by the present invention; Figure 2 It is a working flow chart of the medicine dispensing device system based on single chip microcomputer control proposed by the present invention; Figure 3 It is the gas circuit diagram of the medicine dispensing device system based on single chip microcomputer control proposed by the present invention; Figure 4 The present invention provides a circuit schematic diagram of a single-chip microcomputer control module; Figure 5 It is a partial enlarged view of part B, involving the circuit schematic diagram of the burning unit and speed regulating unit of the single-chip control module; Figure 6 It is a partial enlarged view of part C, involving the circuit schematic diagram of the control unit and power supply unit of the single-chip control module; Figure 7 It is a partial enlarged view of part A, which involves the circuit schematic diagram of the drive unit of the single-chip control module. DETAILED DESCRIPTION

[0021] In order to make the technical solutions and advantages of the present invention clearer, the present invention is further described below.

[0022] The embodiment of the present invention discloses a medicine dispensing system based on single chip microcomputer control. like Figure 1-2 The power module converts 220V AC into 12V DC, and controls whether the single-chip control board is powered on through the power switch button. When the switch button is pressed, the single-chip control board is powered on, the LED indicator lights up, and the system self-cleans for 5 seconds. The single-chip control board controls the motor to move pneumatically forward to self-clean the gas in the closed environment of the gas tool to ensure that all the gas is processed by the air filter element, and then enters the standby mode and waits for instructions; at this time, press the forward button, the single-chip controller receives the instruction, and the output end is connected to the brushless motor and the ventilation solenoid valve to control the movement of the air pump, and the output The solenoid valve at the air port is opened, the solenoid valve at the air inlet is closed, and the pneumatic movement moves forward; at this time, the back button is pressed, the microcontroller controller receives the command, and the output end is connected to the brushless motor and the ventilation solenoid valve to control the movement of the air pump, the solenoid valve at the air inlet is opened, the solenoid valve at the air outlet is closed, and the pneumatic movement moves backward; press the mode button to switch the motor mode and enter the micro-motion mode. In this mode, only the pneumatic movement moves forward. Press the forward button to move the pneumatic movement forward a specified distance; the speed knob adjusts the rotation speed of the motor, which can change the pneumatic speed; after the current command is completed, it returns to the standby state. The micro-motion mode can be used to easily complete the exhaust operation after extracting the liquid medicine in actual use, and the speed knob can adapt to the complex situations in actual operation.

[0023] The mp-h48s12-ft power module is selected as the system power supply to convert the external 220V AC power into 12V DC power. The mp-h48s12-ft power module has many advantages, such as a wide operating temperature range, which can be applied to -25℃ to +60℃; high power conversion efficiency, 88% conversion efficiency, reduced electricity costs, and energy saving; high modularity, effectively reducing the size of the equipment and making it more portable. ; Control the power supply of the microcontroller control board through the power control button, such as Figure 6 The single-chip microcomputer control panel receives power input and button commands through the wiring terminal of CN2. The buttons are connected to pins 3, 4, 5, and 6 of CN2. Pin 3 of CN2 is grounded. Pins 4, 5, and 6 of CN2 are connected to resistors R3, R4, and R5 respectively. Resistors R3, R4, and R5 are connected to pins P0.0, P1.0, and P1.1 of the single-chip microcomputer. The 5V voltage is connected to one end of resistors R3, R4, and R5 respectively through protective resistors. By opening and closing the buttons, the level of the pins is controlled, so that the single-chip microcomputer receives the corresponding instructions.

[0024] like Figure 6, CN2's 1 pin is connected to an external 12V power input, and the fuse U3 is connected internally. The voltage is then stabilized by two parallel voltage regulator diodes. The output 12V voltage is used as the input of CN11 and 5 pins, and then filtered by two capacitors C1 and C2 in parallel and input to the IN terminal of 78M05. After passing through 78M05, a 5V stable power supply is output and filtered by capacitor C3 in parallel, and resistor R9 and light-emitting diode LED1 are connected in parallel to indicate the working status of the power supply unit. The power supply unit uses a 78M05 three-terminal voltage regulator integrated circuit to provide a stable power supply for the controller inside the board to prevent malfunctions caused by external voltage fluctuations. The setting of the LED light can easily check the working status of the control board, which is convenient for maintenance and repair.

[0025] like Figure 5 Pin 1 of the burning unit H1 is connected to a 5V power supply, pin 5 is grounded, pin 2 is connected to pin P1.6 of the microcontroller U1, pin 3 is connected to pin P0.2 of U1, and pin 4 is connected to pin P2.0. This unit can be used to burn the microcontroller program and make changes to the microcontroller system. The control system can be adaptively modified according to different needs, which is also convenient for later upgrades.

[0026] like Figure 5 The speed control unit is controlled by an external speed knob to control the speed potentiometer to send instructions to the single-chip microcomputer. The input end of the speed potentiometer is connected to a 5V power supply, the output end is grounded, and the two sliding ends are connected to one end of R2. A capacitor C5 filter is connected in parallel and connected to the P1.7 pin of U1. By rotating the speed knob, the output voltage of the speed potentiometer at R2 is changed, thereby changing the level of the P1.7 pin to send instructions to the single-chip microcomputer. The speed control button is integrated on the single-chip microcomputer control board, which can effectively reduce the size of the device. In actual use, it can be adaptively adjusted according to different personal habits and different external environments, and can better adapt to complex external environments.

[0027] like Figure 7The 1, 2, and 3 pins of CN1 are connected to the brushless motor; the 5 and 6 pins of CN1 are connected to the solenoid valve, 1 provides power input for the brushless motor, 2 is grounded, and 3 controls the motor speed; 5 and 6 provide power input for the solenoid valve. The VCC output of the power supply unit is connected to the 5 pin of CN1 to provide power input for the brushless motor; the VCC output is connected to the 1 pin of CN1 after being filtered by two capacitors in parallel to provide continuous power to the motor. The P1.5 pin of the microcontroller controller is connected to the resistor R12 after being filtered by capacitors in parallel, and the other end of R12 is connected to the base of the transistor Q3, and the collector of Q3 is connected to the 6 pin of CN1. The output voltage of the P1.5 pin of the microcontroller controls the collector output of the transistor Q3 to achieve the purpose of controlling the solenoid valve. The P1.4 pin of the microcontroller processor is connected to the base of the transistor Q2 through the resistor R11, the emitter of Q2 is grounded, and the collector is connected to the 3 pin of CN1. The speed of the motor is controlled by the same principle. By directly controlling the motor and solenoid valve through the single-chip microcomputer, the number of solenoid valves can be reduced, the complexity of the system can be reduced, the stability of the system can be effectively improved, and mechanical delays can be reduced. Due to the high integration of the single-chip microcomputer, the weight of the equipment can be effectively reduced, and the size of the equipment can be reduced. In actual use, it can be more portable and adapt to more complex situations.

[0028] like Figure 3 The brushless motor and air pump together form the air pump module. The air outlet and air inlet of the air pump are connected to the air filter and the air tool through the solenoid valve. The air filter uses a breathing filter of the SFE model. The self-cleaning mode at startup is used to purify the gas in the air path and the air tool to ensure that the cleanliness inside the equipment meets medical standards.

Claims

1. A medicine dispensing system based on single chip microcomputer control, characterized in that: It includes a power module, a single-chip computer control module, an air pump module, a solenoid valve, an air filter element, and an air tool; the power module is externally connected to 220V AC power, and the output end is connected to one end of the power switch button; the power switch button is respectively connected to an input end of the single-chip computer control board and the positive pole of the LED; the ground end of the power module is respectively connected to the ground end of the single-chip computer control board and the negative pole of the LED; the single-chip computer control board is externally connected to three buttons: forward, backward, and mode; the motor speed control knob is integrated in the single-chip computer control board; the output end of the single-chip computer control board is connected to the air pump module; the output end of the single-chip computer control board is connected to the ventilation solenoid valve; the air outlet of the air pump module is connected to the air filter element and the air path of the air tool through the solenoid valve; the air inlet of the air pump module is connected to the air filter element and the air path of the air tool through another solenoid valve.

2. A single chip controlled medicine dispensing system according to claim 1, characterized in that: The single chip control module comprises: a power supply unit, a burning unit, a speed regulating unit, a control unit and a driving unit.

3. A single chip controlled medicine dispensing system according to claim 2, characterized in that: The power supply unit includes: pin 1 of CN2 is connected to U3; the other end of U3 is connected to voltage zener diodes D1 and D2 respectively; the other ends of D1 and D2 are connected to the positive electrodes of capacitors C1 and C2 and the IN interface of U2 respectively, and are connected to capacitors C7, the positive electrodes of capacitors C6, pin 1 of CN1 and pin 5 of CN1 as the VCC output end; the other end of C6 is grounded; the other end of C7 is grounded; the other end of C1 is grounded; the other end of C2 is grounded; the GND pin of U2 is grounded; the OUT pin of U2 is connected to resistor R9 and one section of capacitor C3 respectively, and serves as the output end of the 5V power supply; the other end of R9 is connected to the positive electrode of LED1; the negative electrode of LED1 is grounded; the other end of C3 is grounded; the output end of the 5V power supply is connected to the VDD pin of U1 in parallel with capacitor C4; the other end of C4 is grounded.

4. A single chip controlled medicine dispensing system according to claim 2, characterized in that: The programming unit includes: pin 1 of H1 is connected to the 5V power output of the power supply unit; pin 2 of H1 is connected to pin P1.6 of U1; pin 3 of H1 is connected to pin P0.2 of U1; pin 4 of H1 is connected to pin P2.0 of U1; and pin 5 of H1 is grounded.

5. A single chip microcomputer controlled medicine dispensing system according to claim 2, characterized in that: The speed regulating unit includes: two sliding ends of the speed regulating potentiometer R14 are connected to one end of R2; the input end of R14 is connected to the 5V voltage output of the power supply unit, and the output end is grounded; the other end of R2 is respectively connected to the capacitor C5 and the P1.7 pin of U1; the other end of C5 is grounded.

6. A single chip microcomputer controlled medicine dispensing system according to claim 2, characterized in that: The control unit includes: the forward button is connected to the 6th pin of CN2; the backward button is connected to the 5th pin of CN2; the mode button is connected to the 4th pin of CN2; the other ends of the three buttons are connected to the 3rd pin of CN2; the 6th pin of CN2 is respectively connected to the resistor R5 and the resistor R8; the 5th pin of CN2 is respectively connected to the resistor R4 and the resistor R7; the 4th pin of CN2 is respectively connected to the resistor R3 and the resistor R6; the other end of R8 is connected to the 5V output of the power supply unit; the other end of R7 is connected to the 5V output of the power supply unit; the other end of R6 is connected to the 5V output of the power supply unit; the other end of R5 is respectively connected to the bidirectional electrostatic discharge protection diode D5 and the P1.1 pin of U1; the other end of R4 is respectively connected to the bidirectional electrostatic discharge protection diode D4 and the P1.0 pin of U1; the other end of R3 is respectively connected to the bidirectional electrostatic discharge protection diode D3 and the P0.0 pin of U1; the other ends of D3, D4 and D5 are grounded.

7. A single chip microcomputer controlled medicine dispensing system according to claim 2, characterized in that: The driving unit includes: 6 pins of CN1 are respectively connected to the collector of transistor Q3 and the negative electrode of diode D6, the positive electrode of D6 is respectively connected to the emitter of Q3 and resistor R13; the other end of R13 is grounded; the base of Q3 is connected to resistor R12; the other end of R12 is respectively connected to capacitor C8 and P1.5 pin of U1; the other end of C8 is grounded; pins 1 and 5 of CN1 are connected to the power supply unit; pin 2 of CN1 is grounded; pin 3 of CN1 is connected to resistor R10; the other end of R10 is connected to the collector of transistor Q2; the emitter of Q2 is grounded, and the base is connected to resistor R11; the other end of R11 is connected to P1.4 pin of U1; pins 1, 2, and 3 of CN1 are connected to the brushless motor; pins 5 and 6 of CN1 are connected to the solenoid valve.

8. A single chip microcomputer controlled medicine dispensing system according to claim 1, characterized in that: The power module is a mp-h48s12-ft model power module.

9. A single chip microcomputer controlled medicine dispensing system according to claim 1, characterized in that: The air pump module consists of a brushless motor and an air pump.

10. A single chip microcomputer controlled medicine dispensing system according to claim 1, characterized in that: The air filter element is a breathing filter element.

Citation Information

Patent Citations

  • A valve island base

    CN112032362B

  • Control method of pneumatic control system of dispensing device

    CN113530809A