Man-machine interaction device
By designing a human-computer interaction device that integrates recognition, control and image processing modules, and using STM32 and ROS platforms, the problem of control accuracy and stability of the steering gear control system is solved, and the automatic identification and tracking of the black border of A4 paper is realized. , improving operating efficiency and control accuracy.
Patent Information
- Application Number
- CN202323375179.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-11
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2033-12-11
AI Technical Summary
The existing steering gear control system has limitations in control accuracy and stability, cannot realize automatic tracking of moving targets, and cannot effectively integrate SLAM functions and human-computer interaction.
A human-computer interaction device is designed, including an identification module, a control module, a two-dimensional pan/tilt, an image processing and tracking module, a laser component and a power supply module. It uses STM32 and ROS platforms, combined with OpenMV and Raspberry Pi, to realize A4 paper Recognition and automatic tracking of black borders, precise trajectory display and control through high-definition cameras and multi-color laser pointers.
It improves operating efficiency and achieves accurate movement and tracking of the two-dimensional pan/tilt. It integrates display, button and voice modules to achieve all-round control. It can automatically identify and track the black border of A4 paper, enhancing the control accuracy of the system. and stability.
Smart Images

Figure CN221726415U
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of artificial intelligence, and in particular to a human-computer interaction device. Background Art
[0002] With the rapid development of artificial intelligence, robotics is becoming a hot area that people are paying more and more attention to. Autonomous navigation in robotics is a key technology for robots to achieve intelligence and autonomy. In the process of robot navigation, SLAM technology is widely used. As one of the core technologies of robot navigation, SLAM can create a model of the environment through machine perception, calculation and decision-making, and use this model to complete the robot's autonomous positioning and navigation.
[0003] Most existing steering gear control systems use control methods based on traditional control principles, which have certain limitations in terms of control accuracy and stability. In addition, traditional control systems cannot achieve automatic tracking of moving targets. The STM32-based steering gear control system is a new control system that utilizes the high-performance processing capabilities and rich peripheral interfaces of STM32. In addition, the system is combined with the ROS (Robot Operating System) platform, and uses the functions and tools provided by ROS to achieve integration with human-computer interaction and SLAM (Simultaneous Localization and Mapping) functions. Through the ROS architecture, users can easily configure and debug the system. Utility Model Content
[0004] The purpose of the utility model is to overcome the shortcomings and deficiencies of the prior art and to provide a human-computer interaction device.
[0005] The technical solution adopted by the utility model is as follows: a human-computer interaction device includes an identification module, a control module, a two-dimensional pan-tilt, an image processing and tracking module, a laser component, and a power supply module, wherein the laser component is installed on the two-dimensional pan-tilt; the first port of the control module is connected to the identification module for identifying the black border of A4 paper; the second port of the control module is connected to the two-dimensional pan-tilt for controlling the movement and tracking of the two-dimensional pan-tilt; the first port of the image processing and tracking module is connected to the two-dimensional pan-tilt for analyzing the trajectory of the laser component and controlling the two-dimensional pan-tilt for tracking; the second port of the image processing and tracking module is connected to the image acquisition module for identifying the trajectory of the laser component and transmitting the information to the image processing and tracking module.
[0006] The utility model is further configured that the image processing and tracking module is a Raspberry Pi.
[0007] The utility model is further configured that the two-dimensional pan-tilt platform is composed of two torque servos.
[0008] The utility model is further configured that the identification module is Openmv, and the identified information is transmitted to the control module.
[0009] The utility model is further configured that the laser assembly includes at least two two-line universal laser pens with different colors.
[0010] The utility model is further configured such that the image acquisition module is a high-definition camera.
[0011] The utility model is further configured such that the control module is electrically connected to a display module, a button module and a voice module, the display module is an LCD display screen for displaying coordinate information, and the control module recognizes instructions issued by the button module and the voice module to control the driving of the two-dimensional pan-tilt head.
[0012] The utility model is further configured such that the power supply module includes a battery module and a voltage conversion module, the voltage conversion module is powered by the battery module, and the control module and the identification module are provided with matching voltages by the voltage conversion module.
[0013] The utility model is further configured such that the battery module is a 12V large-capacity battery pack.
[0014] The utility model is further configured to further include a charging module, and the charging module is connected to the image processing and tracking module.
[0015] The beneficial effects of the utility model are as follows: the human-computer interaction device can identify and track the black border of A4 paper through the recognition module and the image processing and tracking module, automatically complete the operation process, and improve the operation efficiency. The two-dimensional pan-tilt head can accurately move and track through the cooperation of the control module and the image processing and tracking module, so that the laser component can correctly display the trajectory. The control module of the utility model integrates the display module, the button module and the voice module, and realizes the all-round control of the two-dimensional pan-tilt head. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the embodiments of the utility model or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the utility model. For ordinary technicians in this field, without paying creative labor, other drawings obtained based on these drawings still belong to the scope of the utility model.
[0017] Figure 1 This is a schematic diagram of the overall connection scheme of the device of the utility model;
[0018] Figure 2This is a schematic diagram of the operation of the automatic tracking system of the utility model;
[0019] Figure 3 This is a diagram of the key and voice control mode conversion of the device of the utility model.
[0020] In the figure, 101 is a control module; 102 is a recognition module; 103 is a display module; 104 is a two-dimensional pan-tilt head; 1041 is a laser component; 105 is an image processing and tracking module; 106 is an image acquisition module; 107 is a voice module; 108 is a button module; and 109 is a charging module. DETAILED DESCRIPTION
[0021] In order to make the purpose, technical solutions and advantages of the utility model clearer, the utility model will be further described in detail below with reference to the accompanying drawings.
[0022] It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are for distinguishing two non-identical entities with the same name or non-identical parameters. It can be seen that "first" and "second" are only for the convenience of expression and should not be understood as limitations on the embodiments of the present invention. The subsequent embodiments will not explain this one by one.
[0023] The directions and positions mentioned in the present invention, such as "upper", "lower", "front", "back", "left", "right", "inside", "outside", "top", "bottom", "side", etc., are only for reference to the directions or positions of the drawings. Therefore, the directions and positions used are used to explain and understand the present invention, but not to limit the scope of protection of the present invention.
[0024] like Figures 1 to 3As shown, an embodiment of a human-computer interaction device of the utility model includes an identification module 102, a control module 101, a two-dimensional pan-tilt platform 104, an image processing and tracking module 105, a laser component 1041, and a power supply module. The laser component 1041 is installed on the two-dimensional pan-tilt platform 104. Prepare an A4 paper, and paste a black frame smaller than the A4 frame on the A4 paper. The first port of the control module 101 is connected to the identification module 102 for identifying the black frame of the A4 paper. The second port of the control module 101 is connected to the two-dimensional pan-tilt platform 104 for controlling the movement and tracking of the two-dimensional pan-tilt platform 104. The first port of the image processing and tracking module 105 is connected to the two-dimensional pan-tilt platform 104 for analyzing the trajectory of the laser component 1041 and controlling the two-dimensional pan-tilt platform 104 for tracking. The second port of the image processing and tracking module 105 is connected to the image acquisition module 106 for identifying the trajectory of the laser component 1041 and transmitting the information to the image processing and tracking module 105. The image processing and tracking module 105 is a Raspberry Pi. The two-dimensional pan-tilt platform 104 is composed of two 20KG torque servos, one servo controls horizontal rotation, and the other servo controls vertical rotation, which is used to drive the movement and tracking of the laser pen. The control module 101stm32f103c8t6 minimum system board is the recognition module 102 is Openmv, which is used to recognize the black border of A4 paper and transmit the coordinates of the black rectangular border to the STM32 chip. The laser component 1041 includes at least two two-line universal laser pens with different colors. The image acquisition module 106 is a high-definition camera. The control module 101 is electrically connected with a display module 103, a button module 108 and a voice module 107. The display module 103 is an LCD display screen for displaying coordinate information. The voice module 107 is a chip of the MX9035M series. The control module 101 recognizes the instructions issued by the button module 108 and the voice module 107 to control the drive of the two-dimensional pan-tilt platform 104. The power supply module includes a battery module and a voltage conversion module. The voltage conversion module is powered by the battery module. The control module 101 and the identification module 102 are provided with matching voltages by the voltage conversion module. The battery module is a 12V large-capacity battery pack. A charging module 109 is also included, and the charging module 109 is connected to the image processing and tracking module 105.
[0025] like Figure 2As shown, the Raspberry Pi first initializes the position of the PTZ where the green laser pen is located. Then the red and green red circles with the largest effective area are identified to avoid interference from other objects, and the position of the laser point is identified. Since the green laser pen is fixed on the PTZ together with the camera, the position of the green laser point relative to the camera's field of view is fixed. Set the coordinates of the green laser point as the coordinate origin, calculate the vertical coordinate y and horizontal coordinate x of the red laser point, and when the values of x and y are greater than 0, increase the duty cycle of the PWM wave, and move the PTZ to the upper right. The same is true for other situations. At the same time, integrate the difference between x, y and 0 to calculate the absolute value of the change in the PWM duty cycle. The larger the integral, the greater the change in the PWM duty cycle. When the arithmetic square root of the sum of the squares of the difference between x, y and 0 is less than 13 (according to actual measurements, when it is 13, the actual distance is about 3cm), use a PWM wave with a fixed duty cycle to trigger the buzzer of the Raspberry Pi to beep and the LED light to flash.
[0026] like Figure 3 As shown, the reset button is pressed or a reset command is issued, and the movement of the two-dimensional pan-tilt 104 is controlled by a PWM wave with a period of 20ms. The pan-tilt is placed in a fixed position in front of the screen, and the duty cycle of the PWM wave used to control the pan-tilt to point the red laser pen to the four vertices and the center position of the frame is converted into a coordinate value that is easy to read and write. The system executes the reset function, and the red and green light spots return to the center position of the A4 paper from any position; the Orbit 1 button is pressed or a mode 1 command is issued to trigger the corresponding function, so that the single-chip microcomputer controls the pan-tilt where the red laser pen is located to move at a uniform speed from the four vertex coordinates previously recorded in turn. The system executes this function, and the red light spot moves clockwise along the black border of A4 paper for one circle within 30 seconds; press the Orbit 2 button or issue the Mode 2 command. For the recognition of the A4 paper border, this system uses openmv for image processing, recognizes the black border, extracts the relative position of the black border to the other five points, extracts the four vertex positions of the black border, converts them into coordinate values corresponding to the PWM wave duty cycle, and transmits them to the main control board. The main control board calculates its path coordinate points and controls the pan / tilt where the red laser pen is located to move clockwise from the upper right vertex along the calculated path coordinate points on the border path. The system executes this function, and the red light spot moves clockwise along the borders of A4 paper for one circle within 30 seconds. When moving, the center of the light spot is no more than 2 cm away from the edge line; press the Trace button or issue a tracking command, and the system executes this function and starts the automatic tracking system. The green light spot automatically tracks the red light spot and emits continuous sound and light. The distance between the two light spots will not exceed 3cm. Press the pause button or issue a pause command, the system executes the pause function, and the red and green light spots are immediately braked without any movement.
[0027] The above disclosure is only a preferred embodiment of the present invention, and certainly cannot be used to limit the scope of rights of the present invention. Therefore, equivalent changes made according to the claims of the present invention are still within the scope covered by the present invention.
Claims
1. A human-computer interaction device, characterized in that: include: An identification module (102), a control module (101), a two-dimensional pan-tilt platform (104), an image processing and tracking module (105), a laser component (1041), and a power supply module, wherein the laser component (1041) is installed on the two-dimensional pan-tilt platform (104); The first port of the control module (101) is connected to the recognition module (102) and is used for recognizing the black border of A4 paper; The second port of the control module (101) is connected to the two-dimensional pan-tilt platform (104) and is used to control the movement and tracking of the two-dimensional pan-tilt platform (104); The first port of the image processing and tracking module (105) is connected to the two-dimensional pan-tilt platform (104) and is used to analyze the trajectory of the laser component (1041) and control the two-dimensional pan-tilt platform (104) to track; The second port of the image processing and tracking module (105) is connected to the image acquisition module (106) for identifying the trajectory of the laser component (1041) and transmitting the information to the image processing and tracking module (105).
2. A human-computer interaction device according to claim 1, characterized in that: The image processing and tracking module (105) is a Raspberry Pi.
3. A human-computer interaction device as claimed in claim 1, characterized in that: The two-dimensional pan-tilt platform (104) is composed of two torque steering gears.
4. A human-computer interaction device as claimed in claim 1, characterized in that: The identification module (102) is Openmv, which transmits the identified information to the control module (101).
5. A human-computer interaction device as claimed in claim 1, characterized in that: The laser assembly (1041) comprises at least two two-line universal laser pens with different colors.
6. A human-computer interaction device as claimed in claim 1, characterized in that: The image acquisition module (106) is a high-definition camera.
7. A human-computer interaction device as claimed in claim 1, characterized in that: The control module (101) is electrically connected to a display module (103), a key module (108) and a voice module (107); the display module (103) is an LCD display screen for displaying coordinate information; the control module (101) identifies instructions issued by the key module (108) and the voice module (107) to control the driving of the two-dimensional pan-tilt platform (104).
8. A human-computer interaction device as claimed in claim 1, characterized in that: The power supply module comprises a battery module and a voltage conversion module. The voltage conversion module is powered by the battery module. The control module (101) and the identification module (102) are provided with matching voltages by the voltage conversion module.
9. A human-computer interaction device as claimed in claim 8, characterized in that: The battery module is a 12V large-capacity battery pack.
10. The human-computer interaction device according to claim 1, characterized in that: It also includes a charging module (109), wherein the charging module (109) is connected to the image processing and tracking module (105).
