Chili picking machine based on STM32
By using STM32 microcontroller and Bluetooth communication module in the automated pepper picking system, combined with multi-degree-of-freedom robotic arm technology, the problems of high cost, complexity and low real-time performance of the existing system are solved, and an efficient, stable and Reliable picking and watering functions improve the overall performance and resource utilization efficiency of the system.
Patent Information
- Application Number
- CN202411016087.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-27
- Publication Date
- 2024-10-01
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing automated pepper picking system has problems such as high cost, high complexity, and low real-time performance. In particular, multi-machine collaboration systems and intelligent picking systems based on multi-sensor fusion have challenges in stability and reliability.
Using a pepper picking machine based on STM32, by simplifying the control system architecture and using Bluetooth communication module and multi-degree-of-freedom robotic arm technology, the system complexity and hardware cost are reduced, independent picking and watering functions are achieved, and the dependence on the central control system is reduced. .
A more efficient, stable and cost-controllable multi-machine pepper picking machine has been realized, which improves the real-time and robustness of the system, reduces the difficulty of maintenance and upgrades, and enhances hardware reliability and resource utilization.
Smart Images

Figure CN118716008A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of agricultural automation machinery and equipment, and in particular to a pepper picking machine based on STM32. Background Art
[0002] As an intelligent agricultural machinery, pepper picking machine is widely used to improve pepper picking efficiency, reduce manual labor intensity and increase crop yields.
[0003] There are many kinds of automatic pepper picking machines on the market. One is a multi-machine collaborative picking system. Multiple picking machines in this system are distributed in the planting area, and each picking machine is equipped with a mechanical arm and an image recognition system. Each picking machine is connected through a wireless communication network (such as Zigbee or Wi-Fi) to achieve data sharing and collaborative work. The central control system dynamically adjusts the working area and task allocation of each machine based on the data uploaded by each picking machine to optimize the overall picking efficiency. However, the existing multi-machine collaborative picking system usually relies on a complex central control system, which has high requirements for system stability and reliability and is costly. The communication and collaboration mechanism may have delay and reliability problems in complex environments, affecting the overall picking effect. Another type is an intelligent picking system based on multi-sensor fusion. The system uses a variety of sensors (such as infrared, ultrasonic, laser radar, etc.) for environmental perception and pepper position recognition. The control system fuses multi-sensor data to improve recognition accuracy and stability. Multi-machine collaboration is achieved through a local area network or a dedicated communication protocol to ensure low latency and high reliability. However, in the existing intelligent picking systems based on multi-sensor fusion, the integration of multi-sensor fusion solutions is low, the hardware cost is high, the hardware and software design is complex, and the system design, debugging, maintenance, and upgrade are difficult. Therefore, although the existing automated pepper picking systems have their own characteristics in terms of intelligence and collaboration capabilities, they also have problems such as high cost, high complexity, and low real-time performance. Summary of the invention
[0004] The object of the present invention is to provide a pepper picking machine based on STM32, which has simple software and hardware design, low implementation cost, simple control and high real-time performance.
[0005] In order to achieve the above-mentioned purpose, the technical solution adopted by the present invention is: a pepper picker based on STM32, comprising a frame, wheels, a motor drive device, a picking device, a watering device, a power supply module, a communication module and a central processing unit based on STM32; the wheels and the motor drive device are installed at the bottom of the frame, and the motor drive device is connected to the wheels to drive the wheels to rotate; the picking device comprises a mechanical arm mechanism, a scissor mechanism and a harvesting basket, the scissor mechanism is installed at the end of the mechanical arm mechanism, and the mechanical arm mechanism and the scissor mechanism are respectively driven by a motor; the watering device comprises a water tank, a water pump, a water supply pipe and a water spray pipe; the central processing unit is electrically connected to the drive motor, water pump and communication module of the motor drive device, the mechanical arm mechanism and the scissor mechanism respectively, and a control program module is embedded in the central processing unit to control the operation of the pepper picker according to the received control command; the power supply module supplies power to all electrical equipment of the pepper picker.
[0006] Furthermore, it includes four wheels and corresponding motor drive devices, four wheel connecting frames are fixedly connected around the bottom of the frame, a DC motor is provided on the motor drive device, the DC motors of the four motor drive devices are respectively installed on the corresponding wheel connecting frames, and the output ends of the DC motors extend outward and are fixedly connected to the corresponding wheel shafts to drive the wheels to rotate; the central processing unit is electrically connected to the control ends of the four DC motors respectively.
[0007] Furthermore, the robotic arm mechanism includes a base, a robotic arm mounting frame, a large arm, a small arm, an end effector, three gear transmission pairs, three stepper motors and multiple connecting rods. The base is fixedly mounted on the frame, the first stepper motor is fixedly mounted on the base, the first stepper motor drives the robotic arm mounting frame to rotate via the first gear transmission pair, the second stepper motor and the third stepper motor are respectively fixedly mounted on the robotic arm mounting frame, the second stepper motor drives the large arm to rotate via the second gear transmission pair, the third stepper motor drives the first connecting rod to rotate via the third gear transmission pair, the upper end of the large arm is rotatably connected to the middle part of the small arm, the front end of the first connecting rod is rotatably connected to the rear end of the second connecting rod, and the front end of the second connecting rod is rotatably connected to the rear end of the small arm. The front end of the forearm is rotatably connected to the end effector, the mechanical arm mounting frame is rotatably connected to the lower end of the third connecting rod, the upper end of the third connecting rod is rotatably connected to the first connecting end of the intermediate connecting member, the second connecting end of the intermediate connecting member is rotatably connected to the upper end of the large arm, the third connecting end of the intermediate connecting member is rotatably connected to the rear end of the fourth connecting rod, and the front end of the fourth connecting rod is rotatably connected to the end effector; the scissor mechanism is installed on the end effector, and the scissor mechanism includes a pair of scissors that can be opened and closed and a fourth stepper motor, and the fourth stepper motor drives the scissors to open and close through a transmission mechanism to cut the peppers; the harvesting basket is installed on the front part of the frame to receive the peppers cut by the scissors; the central processing unit is electrically connected to the control ends of the four stepper motors respectively.
[0008] Furthermore, the water tank of the watering device is installed on the frame, the water pump is arranged in the water tank, the water outlet of the water pump is connected to the water spray pipe through the water supply pipe; the central processing unit is electrically connected to the control end of the water pump.
[0009] Furthermore, the control program module includes a DC motor drive module for realizing initialization, speed control and direction control of four DC motors.
[0010] Furthermore, the control program module includes a robot arm stepper motor drive module and a scissors stepper motor drive module, which are respectively used to realize initialization, speed control and direction control of the stepper motors on the robot arm mechanism and the scissors mechanism.
[0011] Furthermore, the control program module includes a water pump control module for implementing operation control of the water pump.
[0012] Furthermore, it also includes a water level alarm module, which is arranged in the water tank.
[0013] Furthermore, the water level alarm module includes a float liquid level switch sensor, a relay and a buzzer. The float liquid level switch sensor is electrically connected to the relay, and the relay is electrically connected to the buzzer. The float liquid level switch sensor is arranged in the water tank. When the float liquid level switch sensor is triggered, the switch is turned on, the relay is energized, and the buzzer alarms to remind people to add water to the water tank.
[0014] Furthermore, the communication module is a Bluetooth module.
[0015] Compared with the prior art, the present invention has the following beneficial effects: The present invention provides a pepper picking machine based on STM32, which realizes a more efficient, stable and cost-controllable multi-machine cooperative pepper picking machine by optimizing hardware design, simplifying control system architecture and improving multi-machine collaboration capabilities.
[0016] Compared with the existing multi-machine collaborative picking system, the present invention has the following technical advantages: Simplified control system: Pepper picking is achieved through multi-degree-of-freedom robotic arm technology and controlled by Bluetooth communication module, which reduces system complexity and implementation cost while improving system stability and reliability.
[0017] Improve real-time performance and robustness: The simplified control and communication scheme provided by the present invention can reduce communication delays and improve system robustness, making the picking and watering functions more efficient and reliable.
[0018] Balanced utilization of resources: The movable pepper picking machine designed by the present invention can independently complete the picking and watering tasks without relying on a central control system, thereby being able to utilize resources more evenly and improve the efficiency of the overall system.
[0019] Compared with the existing intelligent picking system based on multi-sensor fusion, the present invention has the following technical advantages: Reduce sensor cost and complexity: The present invention adopts multi-degree-of-freedom robotic arms and small water pump technology. Compared with the existing multi-sensor system, the types and quantity of sensors are reduced, which reduces the hardware cost and system complexity.
[0020] Improve system integration: By adopting fewer sensors and a simple Bluetooth communication module, the present invention improves system integration, simplifies hardware and software design, and thus reduces the difficulty of maintenance and upgrading.
[0021] Enhanced hardware reliability: The pepper picker designed by the present invention has a stable structure, a reasonable center of gravity design, and uses fewer types of sensors, which makes the system more reliable in complex environments and reduces the maintenance cost and frequency caused by sensor failures. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 is a schematic structural diagram of a pepper picking machine according to an embodiment of the present invention; Figure 2 is a schematic diagram of the connection structure between the motor drive device and the wheel in an embodiment of the present invention; Figure 3 The structure of the mechanical arm mechanism in the embodiment of the present invention is shown in FIG. Figure 1 ; Figure 4 The structure of the mechanical arm mechanism in the embodiment of the present invention is shown in FIG. Figure 2 ; Figure 5 The structure of the mechanical arm mechanism in the embodiment of the present invention is shown in FIG. Figure 3 ; Figure 6 is a schematic structural diagram of a watering device in an embodiment of the present invention; Figure 7 It is the main program code in the embodiment of the present invention; Figure 8 is a DC motor control program code 1 in an embodiment of the present invention; Fig. 9 is a DC motor control program code 2 in an embodiment of the present invention; Fig.10 is the control program code of the stepping motor of the robot arm in the embodiment of the present invention; Fig.11 is the scissors stepping motor control program code in the embodiment of the present invention; Fig.12 is a Bluetooth module program code 1 in an embodiment of the present invention; Fig.13 This is the second Bluetooth module program code in the embodiment of the present invention. DETAILED DESCRIPTION
[0023] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.
[0024] It should be noted that the following detailed descriptions are exemplary and are intended to provide further explanation of the present application. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present application belongs.
[0025] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit the exemplary embodiments according to the present application. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprise" and / or "include" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.
[0026] like Figure 1 As shown, this embodiment provides a pepper picking machine based on STM32, including a frame 1, wheels 2, a motor drive device 3, a picking device, a watering device 4, a water level alarm module, a power module, a communication module and a central processing unit based on STM32; the wheels and the motor drive device are installed at the bottom of the frame, and the motor drive device is connected to the wheels to drive the wheels to rotate; the picking device includes a mechanical arm mechanism 5, a scissor mechanism 6 and a harvesting basket 7, the scissor mechanism 6 is installed at the end of the mechanical arm mechanism 5, and the mechanical arm mechanism 5 and the scissor mechanism 6 are respectively driven by a motor; the watering device 4 includes a water tank 401, a water pump 402, a water supply pipe 403 and a water spray pipe 404, and the water level alarm module is arranged in the water tank 401; the central processing unit is electrically connected to the drive motors, water pumps and communication modules of the motor drive device, the mechanical arm mechanism and the scissor mechanism, respectively, and a control program module is embedded in the central processing unit to control the operation of the pepper picking machine according to the received control command; the power module supplies power to all electrical equipment of the pepper picking machine.
[0027] In this embodiment, in order to save materials and reduce weight, the frame 1 is constructed of aluminum profiles as the overall frame, the upper bottom plate is made of light wood, and a small platform of 300mm*100mm is built at the rear for installing electrical hardware, including power modules, communication modules, and central processing units. The dimensions of the built frame main structure are 400mm*300mm*150mm. The wheels are solid rubber load-bearing wheels with a diameter of 125mm.
[0028] In this embodiment, the pepper picker includes four wheels 2 and corresponding motor drive devices 3. Figure 2 The connection structure between the motor drive device and the wheel in this embodiment is shown. Four wheel connecting frames 101 are fixedly connected around the bottom of the frame 1, and the motor drive device is provided with a DC motor 301. The DC motors 301 of the four motor drive devices are respectively installed on the corresponding wheel connecting frames 101, and the output ends of the DC motors 301 extend outward and are fixedly connected to the corresponding wheel 2 shafts to drive the wheels to rotate; the central processing unit is electrically connected to the control ends of the four DC motors respectively.
[0029] like Figure 3-5As shown, in this embodiment, the robotic arm mechanism 5 includes a base 501, a robotic arm mounting frame 502, a large arm 503, a small arm 504, an end effector 505, three gear transmission pairs 506-508, three stepper motors 509-511 and a plurality of connecting rods, the base 501 is fixedly mounted on the frame 1, the first stepper motor 509 is fixedly mounted on the base 501, the first stepper motor 509 drives the robotic arm mounting frame 502 to rotate via the first gear transmission pair 506, the second stepper motor 510 and the third stepper motor 511 are respectively fixedly mounted on the robotic arm mounting frame 502, the second stepper motor 510 drives the large arm 503 to rotate via the second gear transmission pair 507, and the third stepper motor 511 drives the large arm 503 to rotate via the third gear transmission pair 508. 8 drives the first connecting rod 512 to rotate, the upper end of the big arm 503 is rotatably connected to the middle of the small arm 504, the front end of the first connecting rod 512 is rotatably connected to the rear end of the second connecting rod 513, the front end of the second connecting rod 513 is rotatably connected to the rear end of the small arm 504, the front end of the small arm 504 is rotatably connected to the end effector 505, the mechanical arm mounting frame 502 is rotatably connected to the lower end of the third connecting rod 514, the upper end of the third connecting rod 514 is rotatably connected to the first connecting end of the intermediate connecting member 515, the second connecting end of the intermediate connecting member 515 is rotatably connected to the upper end of the big arm 503, the third connecting end of the intermediate connecting member 515 is rotatably connected to the rear end of the fourth connecting rod 516, and the front end of the fourth connecting rod 516 is rotatably connected to the end effector 505. The mechanical arm mechanism can realize flexible movement with three degrees of freedom, and the maximum height that can be picked is 60 cm. The scissor mechanism 6 is mounted on the end effector 505. The scissor mechanism 6 includes a scissors 601 that can be opened and closed and a fourth stepper motor 602. The fourth stepper motor 602 drives the scissors 601 to open and close through a transmission mechanism 603 to cut the peppers. The harvesting basket 7 is mounted on the front of the frame 1 to receive the peppers cut by the scissors. The central processing unit is electrically connected to the control ends of the four stepper motors respectively.
[0030] When working, the base 501 is rotated by gear transmission. The first stepper motor shaft of the base 501 controls the rotation of the small gear of the first gear transmission pair 506, the small gear meshes with the large gear, and the large arm 503 is fixed on the large gear, so that the robot arm can achieve 360° rotation. Here we cleverly use gear transmission to control the rotation of the base, abandon the original plan of directly installing the robot arm on the motor shaft, and achieve innovation. After the improvement, it can avoid the motor shaft directly bearing the weight of the robot arm, facilitate the fixation of the structure, make the base rotate more smoothly, and reduce the probability of wear, deformation and failure of the motor shaft.
[0031] In order to lower the center of gravity and reduce the risk of overturning, the present invention sets the two stepper motors 507 and 508 on the robot arm at the bottom of the upper arm 503, and then controls the movement of the entire arm through a series of connecting rods. The two stepper motors 507 and 508 use gear transmission 507 and 508 to control the rotation of the joint instead of directly fixing the joint to the motor shaft, which can make the joint rotation more stable, reduce the load and wear of the motor shaft, and extend the service life.
[0032] The device sets a stepper motor on the end effector and controls the opening and closing of the scissors through a simple transmission structure. After being cut, the peppers fall vertically into the basket, which is fixed in front of the trolley and directly below the scissors. The size of the basket is 100mm*100mm.
[0033] Since the vehicle body is heavy, the wheel drive motors are DC motors, which are less expensive, smoother, and easier to control at the same torque output. The robot arm joints use 42 stepper motors, which transmit power to the robot arm joint shafts through the transmission mechanism to control the rotation of the robot arm. Finally, the scissor mechanism on the end effector uses a small stepper motor, which is less expensive and can meet the shear force requirements.
[0034] like Figure 6 As shown, the water tank 401 of the watering device is installed on the frame 1, the water pump 402 is arranged in the water tank 401, and the water outlet of the water pump 402 is connected to the water spray pipe 404 through the water supply pipe 403. The central processing unit is electrically connected to the control end of the water pump. When working, water is added to the water tank in advance, and the water pump pumps up the water and transmits it to the water spray pipe through the water supply pipe. The water spray pipe sprays water in an atomization range of 0.5 meters to 1 meter, which can achieve watering of a larger area. On this basis, the device adds a water level alarm module, and the sensor will issue a reminder when the water level is too low. The watering device increases the function of the trolley and improves the economy.
[0035] In this embodiment, the water level alarm module includes a float liquid level switch sensor, a relay and a buzzer. The float liquid level switch sensor is electrically connected to the relay, and the relay is electrically connected to the buzzer. The float liquid level switch sensor is arranged in the water tank. When the float liquid level switch sensor is triggered, the switch is turned on, the relay receives a high level, the relay is energized, and the output is a high level. At this time, the voltage between the two pins of the buzzer is 5V, and the buzzer alarms to remind people to add water to the water tank.
[0036] In this embodiment, the power module uses two 12V rechargeable lithium batteries to provide power for the electrical components of the entire vehicle.
[0037] In this embodiment, the central processing unit adopts the STM32C8T6 minimum development board, which has low cost, strong performance, and strong developability of the open source platform, making it convenient to improve the device in the later stage.
[0038] In this embodiment, the control program module includes a main program module main.c, a handle module psc, a DC motor drive module motor.c, a robotic arm stepper motor drive module bujin.c, a scissors stepper motor drive module xbj.c and a water pump control module.
[0039] 1. Main program module In the main function, the PS2_Init function is called for initialization, the motor_init and dir_init functions are used to initialize the DC motor and direction, and the bujin_init and xbj_init functions are used to initialize the stepper motor that controls the robotic arm and the stepper motor that controls the scissors. The main program code is as follows Figure 7 shown.
[0040] 2. DC motor drive module The DC motor drive module mainly realizes the initialization, speed control and direction control of four DC motors. The DC motor control program code is as follows Figure 8-9 shown.
[0041] In the function "motor_init", the clocks of the PWM timer TIM2 and the GPIOA peripheral are first enabled, then the GPIOA pins are initialized as multiplexed push-pull output mode, and the pins are designated as output pins of channels 1, 2, 3, and 4 of TIM2. Next, the clock, counter mode, counter period, and pre-scaling coefficient of TIM2 are initialized by calling the corresponding functions. Finally, the PWM output modes of channels 1, 2, 3, and 4 of TIM2 are configured by initializing the members of the TIM_OCInitStructure structure, and TIM2 is enabled.
[0042] The function "motor_speed" is used to set the speed of the motor. The parameter Compare represents the set duty cycle. The duty cycle of channels 1 to 4 of TIM2 is set by calling the TIM_SetCompare1~4 function.
[0043] The function "dir_init" is used to initialize the direction control pins of the motor. First, the clocks of GPIOA and GPIOB are enabled, then pins 8, 9, 10, and 11 of GPIOA are initialized and specified as push-pull output mode, and finally the corresponding GPIO ports are enabled.
[0044] 3. Robotic arm stepper motor drive module The robot arm stepper motor drive module mainly realizes the initialization, speed control and direction control of the stepper motor on the robot arm mechanism. The robot arm stepper motor control program code is as follows Fig.10 As shown, it contains the initialization and control functions of the stepper motor.
[0045] In the initialization function, pins 5, 6, 7, 8, 9 and 12 are set to push-pull output mode and their levels are set to low. In the bujin1 function, the number of steps to be executed is calculated based on the input angle, and the movement of the stepper motor is controlled by a certain delay and the state flip of a specific pin. The bujin2 and bujin3 functions are similar, and they also control the state flip of the corresponding pins based on the input angle, thereby controlling the movement of the stepper motor.
[0046] 4. Scissor stepper motor drive module The scissors stepper motor driver module mainly realizes the initialization, speed control and direction control of the stepper motor on the scissors mechanism. The scissors stepper motor control program code is as follows Fig.11 As shown, it contains the initialization and forward and reverse control functions of the stepper motor. In the initialization function, pins 15, 11, 12, and 13 are set to push-pull output mode, and their levels are set to low. In the "xbjmotor" function, by setting the high and low levels of pins 15, 11, 12, and 13 respectively, the stepper motor is controlled to rotate clockwise with a certain delay. If pin 15 is set to a high level and the other pins are set to a low level, it means that the A phase of the stepper motor is powered on. After a delay of 5ms, a high level is input to pin 11, and a low level is input to the other pins, and the B phase of the stepper motor is powered on with a delay of 5ms. The power-on principle of phases C and D is the same, thus forming a positive phase power-on sequence of A→B→C→D→A. In the `xbjmotorback` function, by setting the high and low levels of specific pins, the stepper motor D→C→B→A→D phase is controlled to rotate counterclockwise with a certain delay.
[0047] In this embodiment, the communication module is a Bluetooth module. This device is controlled by mobile phone Bluetooth and uses the HC-05 Bluetooth module, which is a simple wireless communication device based on the Bluetooth protocol. The module is based on the BC417 single-chip Bluetooth IC, complies with the Bluetooth v0 standard, and supports UART and USB interfaces.
[0048] The Bluetooth module uses an interrupt handler to handle USART1 serial port receiving interrupts. The main function is to control certain operations based on the received data. The Bluetooth module program code is as follows Figure 12-13 As shown, it first checks whether the receive interrupt flag of the receive data register is set. If the receive interrupt occurs, the received data is obtained (res=USART_ReceiveData(USART1)).
[0049] Then, use the switch statement to perform different operations based on the received data. Each case corresponds to a different operation, and the corresponding function can be executed according to the value of the data. The following are the operations corresponding to each case: - case 0: Execute the DIRGO() function, which means the picker moves forward.
[0050] - case 1: Execute the DIRBACK() function, that is, the picker moves backward.
[0051] - case 2: Execute the DIRLEFT() function, which means the picker moves to the left.
[0052] - case 3: Execute the DIRRIGHT() function, that is, the picker moves to the right.
[0053] - case 4: Execute the motor_speed(0) function, and the wheels of the harvester stop moving.
[0054] - case 5: Set the duty cycle of channel 1 of TIM3 to 100 and pull pin 5 of GPIOB low - case 6: Set the duty cycle of channel 1 of TIM3 to 100 and pull pin 5 of GPIOB high - case 7: Set the duty cycle of channel 1 of TIM3 to 0 - case 8: Set the duty cycle of channel 2 of TIM3 to 100 and pull pin 6 of GPIOB low - case 9: Set the duty cycle of channel 2 of TIM3 to 100 and pull pin 6 of GPIOB high - case 10: Set the duty cycle of channel 2 of TIM3 to 0 - case 11: Set the duty cycle of channel 1 of TIM1 to 100 and pull GPIOB pin 7 low - case 12: Set the duty cycle of channel 1 of TIM1 to 100 and pull GPIOB pin 7 high - case 13: Set the duty cycle of channel 1 of TIM1 to 0 - case 14: Execute the xbjmotor() function to close the scissors.
[0055] - case 15: Execute the xbjmotorback() function to open the scissors.
[0056] - case 16: Pull all pins 15 of GPIOC and pins 11, 12, and 13 of GPIOB low to stop the movement of the robot arm.
[0057] Finally, use the USART_ClearITPendingBit function to clear the receive interrupt flag of USART1.
[0058] The pepper picking machine based on STM32 provided by the present invention realizes the flexible movement of the mechanical arm by controlling the motor on the mechanical arm during the picking work. When the end effector reaches the specified position, the motor is controlled to close the scissors, cut the target pepper, and drop it into the basket directly below it, completing the picking work. The watering device can realize simple watering and water level alarm functions. Compared with the prior art, the present invention has the following technical advantages: 1. Simplify the control system and improve system stability and reliability Advantages: Existing multi-machine cooperative systems usually rely on complex central control systems, but this application proposal greatly simplifies the control system by using a Bluetooth module to control the car. This simplification not only reduces the complexity of system design and implementation, but also improves the stability and reliability of the system.
[0059] Technical means: Use Bluetooth module to realize the control of the trolley, replace the complex central control system, and reduce the complexity of the system. Use four-degree-of-freedom robotic arm technology to realize the main function of pepper picking, simplifying the design and operation of the picking equipment.
[0060] 2. Reduce sensor cost and system complexity Advantages: Existing multi-sensor fusion solutions require a large number of high-cost sensors. This application proposal uses relatively fewer sensors, reducing hardware costs and system design complexity, thereby improving the maintainability and operability of the system.
[0061] Technical means: The four-degree-of-freedom robotic arm technology is used for precise picking, reducing the reliance on multiple sensors. The small water pump is used to achieve the watering function, avoiding the complex sensor system and reducing the hardware cost.
[0062] 3. Improve real-time performance and system robustness Advantages: In complex environments, the communication and collaboration mechanisms in existing solutions may have delay and reliability issues. This application proposal reduces communication delays and enhances the robustness and stability of the system through simplified control and communication schemes.
[0063] Technical means: Use Bluetooth module to control the car to ensure low latency and high reliability of communication. Design a reasonable mechanical arm structure and watering system to ensure the stable operation of the system in complex environments.
[0064] 4. Enhance system integration and simplify hardware and software design Advantages: The existing multi-sensor system has low integration and complex hardware and software design. This application proposal improves system integration and reduces the difficulty of maintenance and upgrading by using fewer types of sensors and simplified Bluetooth communication modules.
[0065] Technical means: Integrate a four-degree-of-freedom robotic arm and a small water pump to simplify hardware design and improve system integration. Use a Bluetooth communication module to simplify software design and data transmission, and achieve high system integration.
[0066] 5. Improve hardware reliability and reduce maintenance costs Advantages: Existing technologies may cause sensor failure in complex or harsh environments, affecting system performance. This application proposal adopts a structurally stable trolley design, reduces the number of sensor types, improves system reliability in complex environments, and reduces maintenance costs and frequency.
[0067] Technical means: Design a stable car structure with a reasonable center of gravity to ensure stability in complex environments. Reduce the types of sensors, reduce hardware failure rates, and improve system reliability.
[0068] 6. Improve resource utilization Advantages: The existing technology relies on a central control system, which easily leads to unbalanced resource utilization. The proposed trolley independently completes the picking and watering tasks, balances resource utilization, and improves overall system efficiency.
[0069] Technical means: Design an independent trolley system to realize the picking and watering functions, without relying on the central control system, and evenly utilize the resources of each device.
[0070] The above is only a preferred embodiment of the present invention, and does not limit the present invention in other forms. Any technician familiar with the profession may use the above disclosed technical content to change or modify it into an equivalent embodiment with equivalent changes. However, any simple modification, equivalent change and modification made to the above embodiment according to the technical essence of the present invention without departing from the technical solution of the present invention still belongs to the protection scope of the technical solution of the present invention.
Claims
1. A pepper picking machine based on STM32, characterized in that: It includes a frame, wheels, a motor drive device, a picking device, a watering device, a power module, a communication module and a central processing unit based on STM32; the wheels and the motor drive device are installed at the bottom of the frame, and the motor drive device is connected to the wheels to drive the wheels to rotate; The picking device includes a robotic arm mechanism, a scissor mechanism and a harvesting basket. The scissor mechanism is installed at the end of the robotic arm mechanism, and the robotic arm mechanism and the scissor mechanism are driven by motors respectively; the watering device includes a water tank, a water pump, a water supply pipe and a water spray pipe; the central processing unit is electrically connected to the motor drive device, the driving motor of the robotic arm mechanism and the scissor mechanism, the water pump and the communication module respectively, and a control program module is embedded in the central processing unit to control the operation of the pepper picker according to the received control command; the power supply module supplies power to all electrical equipment of the pepper picker.
2. The pepper picking machine based on STM32 according to claim 1 is characterized in that: It comprises four wheels and corresponding motor drive devices, wherein four wheel connecting frames are fixedly connected around the bottom of the frame, and a DC motor is arranged on the motor drive device. The DC motors of the four motor drive devices are respectively mounted on the corresponding wheel connecting frames, and the output ends of the DC motors extend outwards and are fixedly connected to the corresponding wheel shafts to drive the wheels to rotate; and the central processing unit is respectively electrically connected to the control ends of the four DC motors.
3. The pepper picking machine based on STM32 according to claim 1 is characterized in that: The robotic arm mechanism includes a base, a robotic arm mounting frame, a large arm, a small arm, an end effector, three gear transmission pairs, three stepper motors and multiple connecting rods. The base is fixedly mounted on the frame, the first stepper motor is fixedly mounted on the base, the first stepper motor drives the robotic arm mounting frame to rotate via the first gear transmission pair, the second stepper motor and the third stepper motor are respectively fixedly mounted on the robotic arm mounting frame, the second stepper motor drives the large arm to rotate via the second gear transmission pair, the third stepper motor drives the first connecting rod to rotate via the third gear transmission pair, the upper end of the large arm is rotatably connected to the middle part of the small arm, the front end of the first connecting rod is rotatably connected to the rear end of the second connecting rod, the front end of the second connecting rod is rotatably connected to the rear end of the small arm, and the small arm is rotatably connected to the front end of the first connecting rod. The front end of the arm is rotatably connected to the end effector, the mechanical arm mounting frame is rotatably connected to the lower end of the third connecting rod, the upper end of the third connecting rod is rotatably connected to the first connecting end of the intermediate connecting member, the second connecting end of the intermediate connecting member is rotatably connected to the upper end of the arm, the third connecting end of the intermediate connecting member is rotatably connected to the rear end of the fourth connecting rod, and the front end of the fourth connecting rod is rotatably connected to the end effector; the scissor mechanism is installed on the end effector, and the scissor mechanism includes openable and closable scissors and a fourth stepper motor, and the fourth stepper motor drives the scissors to open and close through a transmission mechanism to cut the peppers; the harvesting basket is installed on the front part of the frame to receive the peppers cut by the scissors; the central processing unit is electrically connected to the control ends of the four stepper motors respectively.
4. The pepper picking machine based on STM32 according to claim 1 is characterized in that: The water tank of the watering device is installed on the frame, the water pump is arranged in the water tank, the water outlet of the water pump is connected with the water spray pipe through the water supply pipe; the central processing unit is electrically connected with the control end of the water pump.
5. The pepper picking machine based on STM32 according to claim 2 is characterized in that: The control program module includes a DC motor drive module, which is used to realize initialization, speed control and direction control of four DC motors.
6. The pepper picking machine based on STM32 according to claim 3 is characterized in that: The control program module includes a mechanical arm stepper motor driving module and a scissors stepper motor driving module, which are respectively used to realize the initialization, speed control and direction control of the stepper motors on the mechanical arm mechanism and the scissors mechanism.
7. The pepper picking machine based on STM32 according to claim 4 is characterized in that: The control program module includes a water pump control module, which is used to realize the operation control of the water pump.
8. The pepper picking machine based on STM32 according to claim 1, characterized in that: It also includes a water level alarm module, which is arranged in the water tank.
9. The pepper picking machine based on STM32 according to claim 8, characterized in that: The water level alarm module includes a float liquid level switch sensor, a relay and a buzzer. The float liquid level switch sensor is electrically connected to the relay, and the relay is electrically connected to the buzzer. The float liquid level switch sensor is arranged in the water tank. When the float liquid level switch sensor is triggered, the switch is turned on, the relay is energized, and the buzzer alarms to remind people to add water to the water tank.
10. The pepper picking machine based on STM32 according to claim 1, characterized in that: The communication module is a Bluetooth module.
Citation Information
Patent Citations
Small static load balance belt driving mechanical arm
CN110340910A
Hot pepper picking manipulator based on visual identification and end executing mechanism thereof
CN116276976A
Wheel type pepper automatic picking robot
CN116472868A
Cucumber picking device based on image recognition
CN221010885U
Mechanical arm control method based on least squares method for use in robot experimental teaching
WO2020010876A1
Cited By
Hand-held small pepper electric picking and collecting device
CN223626431U
