A manipulator control system and control method for piano teaching
By using cameras and audio acquisition modules in the piano teaching system to monitor the playing process of the manipulator in real time, and through the micro-motor drive control system, the problem of inaccurate rhythm of the manipulator in piano playing is solved, and the accuracy of the piano performance is achieved. and stability improvements.
Patent Information
- Application Number
- CN202410970143.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-19
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2044-07-19
AI Technical Summary
The existing robot teaching system has the problem of inaccurate rhythm when playing piano, which affects the training effect of beginners.
A robot control system is designed that includes the main body of the piano equipment, the first manipulator, the second manipulator, the controller body and the control system. Image and audio information are collected in real time through the camera and audio acquisition module, and the analysis module performs comparison and generates analysis signals. , the early warning module provides instant feedback and controls the movement of the manipulator through a micro motor driving the screw to ensure accurate rhythm.
It realizes real-time monitoring and feedback of the robot playing process, improves the detection and correction of rhythm accuracy and musicality, and ensures the stability and correctness of piano playing.
Smart Images

Figure CN118493428B
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of manipulator teaching, in particular to a manipulator control system and a control method applied to piano teaching. Background Art
[0002] With the development of robot technology, robots have become an important tool to assist piano playing teaching. Piano playing is a professional hand movement skill. For beginners, it requires a lot of practice and correct guidance. The invention patent with patent publication number CN110060544B discloses a piano playing demonstration system. The invention demonstration system has the advantages of high standardization and low teaching threshold. It can not only drive the human hand to play according to the standard program through the manipulator to achieve hand-to-hand teaching, but also drive the manipulator to play by human hand, and use the manipulator movement information to compare with the standard program information to correct the fingering error. It can also play by itself according to the score, so that learners can verify the feasibility and artistry of creating the surface by observing the mechanical fingering and two playing melodies. This patent application collects the motion information of the bionic manipulator joints, and then compares the joint information with the control information through the comparison module to obtain the playing error, but there is still an inaccurate rhythm when playing the piano based on the motion information of the bionic manipulator joints.
[0003] Therefore, it is of great significance to develop a manipulator control system that can improve the rhythm accuracy of piano playing training for piano beginners. Summary of the invention
[0004] To solve the above problems, the present invention provides the following technical solutions:
[0005] The present invention provides a manipulator control system for piano teaching, comprising a piano device body, a first manipulator, a second manipulator, a controller body for controlling the movement of the first manipulator and the second manipulator, and a control system;
[0006] A moving frame is fixedly connected to the front of the piano device body, two screw rods are rotatably connected in series to the inner wall of the moving frame, the outer surface of each screw rod is threadedly connected to a moving block, the outer surface of the end of each screw rod is fixedly connected to a bearing, and the outer surface of each bearing is fixedly connected to the inner wall of the moving frame, and the controller body is arranged between the first manipulator and the second manipulator, and is fixedly installed on the top surface of the moving frame;
[0007] The outer surface of one of the moving blocks is fixedly connected to the first manipulator, the outer surface of the other moving block is fixedly connected to the second manipulator, and each of the lead screws is connected to a micro motor drive;
[0008] Furthermore, two sets of protective pads are fixedly connected to the bottom surface of the piano device body, and a connecting plate is fixedly connected to the outer surface of each micro-motor, and the side surfaces of the two connecting plates close to each other are fixedly connected to the two side surfaces of the moving frame;
[0009] The control system includes an analysis module, an image acquisition module and an audio acquisition module.
[0010] Furthermore, two groups of protective pads are fixedly connected to the bottom surface of the piano device body, a connecting plate is fixedly connected to the outer surface of each micro motor, and the side surfaces of the two connecting plates close to each other are fixedly connected to the two side surfaces of the movable frame.
[0011] Furthermore, a warning light, a camera, a display screen and an audio collector are respectively fixedly connected to the piano device body. The cameras are symmetrically arranged with the display screen as the center. The outer surface of each camera is fixedly connected to a fixing ring and is fixedly connected to the front side of the piano device body through the fixing ring.
[0012] Furthermore, the analysis module includes an image analysis unit and an audio analysis unit, the image acquisition module is used to collect image information of the first manipulator and the second manipulator hitting the piano device body through a camera, and the audio acquisition module is used to collect audio information of the first manipulator and the second manipulator hitting the piano device body through an audio collector;
[0013] The control system includes a device main body module, a control module, an early warning module and a display module, and the analysis module is electrically connected to the early warning module;
[0014] The analysis module is used to analyze the image information collected by the image acquisition module and the audio information collected by the audio acquisition module and generate an analysis signal. The analysis module sends the analysis signal to the early warning module, and the early warning module issues an early warning prompt through an early warning light according to the analysis signal.
[0015] The display module is used to display in real time through a display screen the process of the first manipulator and the second manipulator striking the surface of the piano device body to play the music score.
[0016] Furthermore, a conversion unit is provided in the main body module of the device, and the conversion unit is used to convert the music score into a control signal;
[0017] The controller body is electrically connected to the conversion unit, and the controller body is used to receive the control signal sent by the conversion unit and drive the lead screw to rotate through the micro motor, thereby driving the movement of the first manipulator and the second manipulator, so as to achieve the use of the first manipulator and the second manipulator to tap the surface of the piano device body to play the music score;
[0018] The first manipulator and the second manipulator are both provided with sensors and music keyboard interfaces, and the sensors and music keyboard interfaces are used to simulate real hand movements and tactile feedback. The first manipulator and the second manipulator are both provided with multiple retractable rotating joints, and the retractable rotating joints are used to simulate finger movements. The first manipulator and the second manipulator are both provided with touch-key units at the ends, and the touch-key units are used to simulate finger touch-key actions.
[0019] Furthermore, the specific analysis process of the control module includes:
[0020] The control module is used to receive a control signal sent by the conversion unit, and the control signal is used to control the speed, frequency, direction and number of rotations of the micro motor. The control module controls the knocking and movement of the first manipulator and the second manipulator through the micro motor according to the control signal.
[0021] Furthermore, the image analysis unit is electrically connected to the image acquisition module, and the audio analysis unit is electrically connected to the audio acquisition module;
[0022] The specific analysis process of the analysis module includes:
[0023] The image analysis unit is used to receive the image information sent by the image acquisition module, and compare the image information with the preset image information. The audio analysis unit is used to receive the audio information sent by the audio acquisition module, and compare the audio information with the preset audio information. If the audio information is different from the preset audio information and the image information is different from the preset image information, it is determined that there is a playing error when the first manipulator and the second manipulator strike the piano device body, and an early warning signal is generated. The early warning module receives the early warning signal, emits a warning sound and flashes a red light.
[0024] Furthermore, the image analysis unit obtains the first path information and the first playing time interval of the first manipulator, the second path information and the second playing time interval of the second manipulator, and the real-time distance between the first manipulator and the second manipulator according to the image information sent by the image acquisition module, and obtains the first playing action rhythm value of the first manipulator according to the first path information and the first playing time interval, the image analysis unit obtains the second playing action rhythm value of the second manipulator according to the second path information and the second playing time interval, and obtains the rhythm coordination value according to the first playing action rhythm value and the second playing action rhythm value.
[0025] Furthermore, the image analysis unit compares the rhythm coordination value with a preset coordination value. If the rhythm coordination value is different from the preset coordination value, it is determined that the first manipulator and the second manipulator played incorrectly when striking the piano device body. If the rhythm coordination value is the same as the preset coordination value, the image analysis unit compares the real-time spacing with the preset spacing. If the real-time spacing is the same as the preset spacing, it is determined that the first manipulator and the second manipulator played correctly when striking the piano device body. If the real-time spacing is different from the preset spacing, it is determined that the first manipulator and the second manipulator played incorrectly when striking the piano device body.
[0026] The present invention also provides a control method based on the above-mentioned manipulator control system applied to piano teaching, comprising the following steps:
[0027] Step 1: First, input the music score to be input into the controller body, and convert the music score into a control signal according to the conversion unit;
[0028] Step 2: The controller body receives the control signal sent by the conversion unit and drives the lead screw to rotate through the micro motor, thereby driving the first manipulator and the second manipulator to move, so as to use the first manipulator and the second manipulator to strike the surface of the piano device body to play the music score;
[0029] Step 3: Use the camera to monitor and provide feedback on the music score being played, use the display screen to display it in real time, and use the warning light to warn of any errors that occur.
[0030] Compared with the prior art, the present invention has the following beneficial effects:
[0031] 1. In the present invention, the display screen displays the operation of the manipulator to play the piano in real time, which can intuitively show the audience the playing process of the first manipulator and the second manipulator, helping to understand and practice piano playing techniques and sense of rhythm. The image acquisition module and the audio acquisition module can accurately record the movements and audio information of the first manipulator and the second manipulator on the piano device body. The analysis module can detect possible errors or abnormal conditions in the playing process of the first manipulator and the second manipulator by analyzing the image and audio information.
[0032] 2. In the present invention, the music score is converted into a control signal by the conversion unit, and received and executed by the controller body, so as to ensure that the first manipulator and the second manipulator can accurately simulate the striking action of a human hand on the piano keyboard;
[0033] 3. In the present invention, the image information and audio information can be received and analyzed in real time by the image analysis unit and the audio analysis unit. By comparing them with the preset image information and audio information respectively, the possible errors or inconsistencies between the first manipulator and the second manipulator in the playing process can be detected, and not only the actual playing process of the manipulator can be displayed, but also the warning sound and flashing red light emitted by the early warning module can provide instant feedback;
[0034] 4. In the present invention, the image analysis unit can automatically detect whether the rhythm of the first manipulator and the second manipulator during the playing process is correct by comparing the actual rhythm coordination value with the preset coordination value. This precise rhythm control ensures the rhythm and musicality of the playing. The image analysis unit can not only detect the accuracy of the rhythm, but also determine whether the playing of the manipulator on the piano is as expected based on the comparison between the actual real-time spacing and the preset spacing. This real-time feedback can help correct errors in the playing in time and ensure the stability and correctness of the playing. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to facilitate understanding by those skilled in the art, the present invention is further described below in conjunction with the accompanying drawings;
[0036] Figure 1 It is a schematic diagram of the overall structure of a manipulator control system applied to piano teaching of the present invention;
[0037] Figure 2 It is a structural schematic diagram of a controller body of a manipulator control system used for piano teaching in the present invention;
[0038] Figure 3 It is a structural schematic diagram of a mobile frame in a manipulator control system used for piano teaching in the present invention;
[0039] Figure 4 It is a structural schematic diagram of a control system in a manipulator control system used for piano teaching in the present invention;
[0040] Figure 5 The figure is a schematic diagram of the structure of an analysis module in a manipulator control system used for piano teaching in the present invention.
[0041] Figure numerals: 1. Piano device body; 2. First manipulator; 3. Micro motor; 4. Controller body; 5. Second manipulator; 6. Connecting plate; 7. Protective pad; 8. Camera; 9. Display screen; 10. Warning light; 11. Fixed ring; 12. Bearing; 13. Screw rod; 14. Moving block; 15. Moving frame. DETAILED DESCRIPTION
[0042] like Figure 1-Figure 5As shown, a manipulator control system used for piano teaching comprises a piano device body 1, a first manipulator 2, a second manipulator 5, a controller body 4 for controlling the movement of the first manipulator 2 and the second manipulator 5, and a control system, wherein a moving frame 15 is fixedly connected to the front of the piano device body 1, and two screw rods 13 are rotatably connected in series to the inner wall of the moving frame 15, and a moving block 14 is threadedly connected to the outer surface of each screw rod 13, and a bearing 12 is fixedly connected to the outer surface of the end of each screw rod 13, and the outer surface of each bearing 12 is fixedly connected to the inner wall of the moving frame 15, and the controller body 4 is arranged between the first manipulator 2 and the second manipulator 5, and is fixedly installed on the top surface of the moving frame 15;
[0043] The outer surface of one of the moving blocks 14 is fixedly connected to the first manipulator 2, and the outer surface of the other moving block 14 is fixedly connected to the second manipulator 5. Each of the screw rods 13 is driven and connected to the micro motor 3, and the outer surface of each of the screw rods 13 is fixedly connected to the micro motor 3. The piano device body 1 is fixedly connected to a warning light 10, a camera 8, a display screen 9 and an audio collector.
[0044] Furthermore, two groups of protective pads 7 are fixedly connected to the bottom surface of the piano device body 1, and a connecting plate 6 is fixedly connected to the outer surface of each of the micro motors 3. The side surfaces of the two connecting plates 6 that are close to each other are fixedly connected to the two side surfaces of the movable frame 15. Through the setting of the connecting plates 6, the micro motor 3 can be fixed to avoid the problem of shaking of the micro motor 3 during use.
[0045] Furthermore, the outer surface of each camera 8 is fixedly connected to a fixing ring 11 and is fixedly connected to the front of the piano device body 1 through the fixing ring 11. The outer surface of the screw rod 13 is fixedly connected to a bearing 12. The outer surface of each bearing 12 is fixedly connected to the inner wall of the movable frame 15. The setting of the fixing ring 11 can reinforce the camera 8 to avoid the problem of the camera 8 falling during use. The setting of the bearing 12 can increase the stability of the rotation of the screw rod 13.
[0046] Furthermore, the control system includes an equipment main body module, a control module, an image acquisition module, an audio acquisition module, an analysis module, an early warning module and a display module. The analysis module includes an image analysis unit and an audio analysis unit, and is electrically connected to the early warning module. The image acquisition module is used to collect image information of the first manipulator 2 and the second manipulator 5 striking the piano equipment main body 1 through a camera 8. The audio acquisition module is used to collect audio information of the first manipulator 2 and the second manipulator 5 striking the piano equipment main body 1 through an audio collector. The analysis module is used to analyze the image information collected by the image acquisition module and the audio information collected by the audio acquisition module and generate an analysis signal. The analysis module sends the analysis signal to the early warning module. The early warning module issues an early warning prompt based on the analysis signal through the early warning light 10. The display module is used to display the process of the first manipulator 2 and the second manipulator 5 striking the surface of the piano equipment main body 1 to play the music score in real time through the display screen 9. In the present invention, the display screen 9 is used to display the operation of the manipulator to play the piano in real time, so that the playing process of the first manipulator 2 and the second manipulator 5 can be intuitively displayed to the audience, helping to understand and practice the piano playing technique and sense of rhythm. The image acquisition module and the audio acquisition module can accurately record the actions and audio information of the first manipulator 2 and the second manipulator 5 on the piano device body 1. These information are very important for analyzing whether the execution of the first manipulator 2 and the second manipulator 5 is accurate and whether the rhythm is reasonable. The analysis module can detect the errors or abnormal conditions that may exist in the playing process of the first manipulator 2 and the second manipulator 5 by analyzing the image and audio information. For example, when the position offset, rhythm mismatch or abnormal action are detected, the early warning module can send out an early warning signal in time, prompt the operator through the early warning light, and help correct the problem. The whole system has a high degree of automation, can realize the precise operation of the first manipulator 2 and the second manipulator 5 on the piano, reduce the possibility of human intervention and misoperation, and improve the accuracy and reliability of the operation. Since the system can collect and analyze data in real time, it can immediately understand the playing situation of the first manipulator 2 and the second manipulator 5, and adjust the actions or rhythms of the first manipulator 2 and the second manipulator 5 in time to achieve a better performance effect.
[0047] Furthermore, a conversion unit is provided in the device main body module, and the conversion unit is used to convert the music score into a control signal. The controller main body 4 is electrically connected to the conversion unit. The controller main body 4 is used to receive the control signal sent by the conversion unit and drive the screw rod 13 to rotate through the micro motor 3, thereby driving the movement of the first manipulator 2 and the second manipulator 5, so as to realize the use of the first manipulator 2 and the second manipulator 5 to tap the surface of the piano device main body 1 to play the music score. The first manipulator 2 and the second manipulator 5 are both provided with sensors and music keyboard interfaces, and the sensors and music keyboard interfaces are used to simulate real hand movements and tactile feedback. The first manipulator 2 and the second manipulator 5 are both provided with multiple retractable rotating joints, and the retractable rotating joints are used to simulate finger movements. The ends of the first manipulator 2 and the second manipulator 5 are both provided with touch-key units, and the touch-key units are used to simulate finger touch-key actions. In the present invention, the music score is converted into a control signal by a conversion unit, and is received and executed by the controller body, ensuring that the first manipulator 2 and the second manipulator 5 can accurately simulate the striking action of a human hand on a piano keyboard. This precise control enables the performance to meet the rhythm and speed requirements of the music score. The built-in sensors and music keyboard interface of the first manipulator 2 and the second manipulator 5 can monitor the movement and key-touching action of the first manipulator 2 and the second manipulator 5 in real time. These data can be used to feed back to the control system, so that the system can adjust the movement of the manipulator to maintain the correct rhythm and strength, while simulating the movement and tactile feedback of real hands, thereby improving the realism and expressiveness of the performance. Since the first manipulator 2 and the second manipulator 5 are provided with a plurality of retractable rotating joints and key-touching units, the movement and key-touching action of fingers can be simulated. This design not only improves the stability and reliability of the manipulator, but also ensures the accuracy and consistency of each performance action.
[0048] Further, the specific analysis process of the control module includes: the control module is used to receive the control signal sent by the conversion unit, the control signal is used to control the speed, frequency, direction and number of rotations of the micro motor 3, and the control module controls the tapping and movement of the first manipulator 2 and the second manipulator 5 through the micro motor 3 according to the control signal. In the present invention, the control module can accurately control the rotation speed, frequency, direction and number of times of the micro motor according to the control signal sent by the conversion unit. This precise control ensures that the tapping action of the first manipulator 2 and the second manipulator 5 on the piano keyboard meets the requirements of the score and maintains accurate rhythm and strength. The flexibility of the control module enables the system to adapt to the performance requirements of different repertoires. According to different control signals, the tapping speed and strength of the manipulator can be adjusted to achieve the performance of music passages from gentle melodies to fierce music passages. Through automatic control, the system can maintain a stable performance effect and reduce errors and inconsistencies in human operations. The actions of the first manipulator 2 and the second manipulator 5 are accurately driven by motors and are not affected by human factors, ensuring the stability and reliability of the performance.
[0049] Furthermore, the image analysis unit is electrically connected to the image acquisition module, and the audio analysis unit is electrically connected to the audio acquisition module. The specific analysis process of the analysis module includes: the image analysis unit is used to receive the image information sent by the image acquisition module, and compare the image information with the preset image information; the audio analysis unit is used to receive the audio information sent by the audio acquisition module, and compare the audio information with the preset audio information; if the audio information is different from the preset audio information and the image information is different from the preset image information, it is determined that there is a playing error when the first manipulator 2 and the second manipulator 5 strike the piano device body 1, and an early warning signal is generated. The early warning module receives the early warning signal, emits a warning sound and flashes a red light.
[0050] Further, the image analysis unit obtains the first path information and the first playing time interval of the first manipulator 2, the second path information and the second playing time interval of the second manipulator 5, and the real-time distance between the first manipulator 2 and the second manipulator 5 according to the image information sent by the image acquisition module, and obtains the first playing action rhythm value of the first manipulator 2 according to the first path information and the first playing time interval, the image analysis unit obtains the second playing action rhythm value of the second manipulator 5 according to the second path information and the second playing time interval, and obtains the rhythm coordination value according to the first playing action rhythm value and the second playing action rhythm value. In the present invention, the image analysis unit and the audio analysis unit can receive and analyze the image information and the audio information in real time, and by comparing with the preset image information and audio information respectively, it can detect the possible errors or inconsistencies in the playing process of the first manipulator 2 and the second manipulator 5. For example, if it is detected that the audio information does not match the preset audio information, or the image information shows an incorrect action, the system will determine that there is a playing error and generate a warning signal. By analyzing the image and audio information, it can evaluate whether the playing actions of the first manipulator 2 and the second manipulator 5 meet the requirements of the music. This precise monitoring can help the system identify and correct possible performance deviations to ensure that the performance quality reaches the expected level. It can not only display the actual playing process of the manipulator, but also provide instant feedback through the warning sound and flashing red light emitted by the early warning module. The playing skills can be adjusted according to these feedbacks, the performance can be improved, and the practice process can be accelerated. The analysis module enables the system to automatically detect and adjust the playing behavior of the first manipulator 2 and the second manipulator 5, avoiding errors and inconsistencies that may occur in human operation, which improves the stability and reliability of the performance.
[0051] The calculation formula for obtaining the first playing action rhythm value of the first manipulator 2 according to the first path information and the first playing time interval by the image analysis unit is:
[0052] ,
[0053] in, Indicates the rhythm value of the first playing action. Indicates First path information, Indicates The first playing time interval of the first path information, Indicates First path information, represents the number of first path information, wherein the first path information corresponds to the first playing time interval, and similarly, the image analysis unit obtains the calculation formula of the second playing action rhythm value of the second manipulator 5 according to the second path information and the second playing time interval as follows:
[0054] ,
[0055] in, Indicates the rhythm value of the second playing action. Indicates Second path information, Indicates The second playing time interval of the second path information, Indicates Second path information, Represents the quantity of second path information, wherein the second path information corresponds to the second playing time interval. The above formula can accurately calculate the rhythm value of each playing action of the first manipulator 2 by obtaining the first path information and the first playing time interval. By obtaining the second path information and the second playing time interval, the rhythm value of each playing action of the second manipulator 5 can be accurately calculated. This quantification capability enables the system to accurately evaluate the movement speed and rhythm control of the first manipulator 2 and the second manipulator 5 during the performance, and provide data support for improving the accuracy and expressiveness of the performance. The image analysis unit can process the path information and time interval data in real time, thereby instantly generating the playing action rhythm value. This real-time feedback can help adjust the playing rhythm of the first manipulator 2 and the second manipulator 5, promptly correct possible performance deviations or errors, and improve the stability and accuracy of the playing. By analyzing the first playing action rhythm value, the system can automatically adjust the performance parameters of the manipulator, such as speed and rhythm, to enhance the overall performance stability and effect.
[0056] The calculation formula for obtaining the rhythm coordination value by the image analysis unit according to the first playing action rhythm value and the second playing action rhythm value is:
[0057] ,
[0058] in, Indicates the rhythm coordination value, Indicates the rhythm value of the first playing action. Indicates the rhythm value of the second playing action. The weight coefficient representing the rhythm value of the first playing action, Represents the weight coefficient of the rhythm value of the second playing action. In the above formula, by calculating the rhythm coordination value, the system can quantitatively evaluate the rhythm stability of the first manipulator 2 and the second manipulator 5 during continuous playing, which is helpful to identify and correct possible rhythm inconsistencies or instabilities, and improve the overall performance quality and consistency. The system can analyze the changing trends of the rhythm value of the first playing action and the rhythm value of the second playing action in real time, and thus provide timely feedback to the operator or the system control module. This immediate feedback can help adjust the playing speed and rhythm of the first manipulator 2 and the second manipulator 5 to ensure that each playing action can be performed as expected. Through the calculation of the rhythm coordination value, the system can more accurately determine whether the first manipulator 2 and the second manipulator 5 maintain appropriate rhythm and action consistency during the performance.
[0059] Furthermore, the image analysis unit compares the rhythm coordination value with a preset coordination value. If the rhythm coordination value is different from the preset coordination value, it is determined that the first manipulator 2 and the second manipulator 5 played incorrectly when striking the piano device body 1. If the rhythm coordination value is the same as the preset coordination value, the image analysis unit compares the real-time spacing with the preset spacing. If the real-time spacing is the same as the preset spacing, it is determined that the first manipulator 2 and the second manipulator 5 played correctly when striking the piano device body 1. If the real-time spacing is different from the preset spacing, it is determined that the first manipulator 2 and the second manipulator 5 played incorrectly when striking the piano device body 1. The image analysis unit in the present invention can automatically detect whether the rhythm of the first manipulator 2 and the second manipulator 5 during the playing process is correct by comparing the actual rhythm coordination value with the preset coordination value. This precise rhythm control ensures the rhythmic sense and musicality of the playing. The image analysis unit can not only detect the accuracy of the rhythm, but also judge whether the playing of the manipulator on the piano is as expected based on the comparison between the actual real-time spacing and the preset spacing. This real-time feedback can help correct errors in the playing in time and ensure the stability and correctness of the playing. Since the system can automatically detect and judge the correctness of the playing, minor errors or inconsistencies in the performance process can be corrected in time. This automated adjustment greatly improves the stability and reliability of the performance of the first manipulator 2 and the second manipulator 5.
[0060] The present invention also provides a control method for the manipulator control system as described above for piano teaching, comprising the following steps:
[0061] Step 1: First, the music score to be recorded is recorded into the controller body 4, and the music score is converted into a control signal according to the conversion unit;
[0062] Step 2: The controller body 4 receives the control signal sent by the conversion unit and drives the screw rod 13 to rotate through the micro motor 3, thereby driving the first manipulator 2 and the second manipulator 5 to move, so as to use the first manipulator 2 and the second manipulator 5 to strike the surface of the piano device body 1 to play the music score;
[0063] Step three: monitor and provide feedback through the camera 8 as the first manipulator 2 and the second manipulator 5 of the piano device body 1 tap the surface of the piano device body 1 to play the music score, and use the display screen 9 for real-time display, and use the warning light 10 to warn of any errors that occur.
[0064] The preferred embodiments of the present invention disclosed above are only used to help explain the present invention. The preferred embodiments do not describe all the details in detail, nor do they limit the present invention to only specific implementation methods.
Claims
1. A manipulator control system used in piano teaching, It is characterized in that The manipulator control system used for piano teaching comprises a piano device body (1), a first manipulator (2), a second manipulator (5), a controller body (4) for controlling the movement of the first manipulator (2) and the second manipulator (5), and a control system; A moving frame (15) is fixedly connected to the front of the piano device body (1), two screw rods (13) are rotatably connected in series to the inner wall of the moving frame (15), the outer surface of each screw rod (13) is threadedly connected to a moving block (14), the outer surface of the end of each screw rod (13) is fixedly connected to a bearing (12), and the outer surface of each bearing (12) is fixedly connected to the inner wall of the moving frame (15), and the controller body (4) is arranged between the first manipulator (2) and the second manipulator (5), and is fixedly installed on the top surface of the moving frame (15); The outer surface of one of the moving blocks (14) is fixedly connected to the first manipulator (2), the outer surface of another moving block (14) is fixedly connected to the second manipulator (5), and each of the lead screws (13) is drive-connected to a micro motor (3); The control system includes an analysis module, an image acquisition module and an audio acquisition module; The analysis module comprises an image analysis unit and an audio analysis unit, the image acquisition module being used to acquire image information of the first manipulator (2) and the second manipulator (5) striking the piano device body (1) through a camera (8), and the audio acquisition module being used to acquire audio information of the first manipulator (2) and the second manipulator (5) striking the piano device body (1) through an audio collector; The control system further comprises a device main body module, a control module, an early warning module and a display module, and the analysis module is electrically connected to the early warning module; The analysis module is used to analyze the image information collected by the image acquisition module and the audio information collected by the audio acquisition module and generate an analysis signal, the analysis module sends the analysis signal to the warning module, and the warning module issues a warning prompt through a warning light (10) according to the analysis signal; The display module is used to display in real time through a display screen (9) the process of the first manipulator (2) and the second manipulator (5) striking the surface of the piano device body (1) to play the music score; The image analysis unit is electrically connected to the image acquisition module, and the audio analysis unit is electrically connected to the audio acquisition module; The specific analysis process of the analysis module includes: The image analysis unit is used to receive the image information sent by the image acquisition module, and compare the image information with the preset image information. The audio analysis unit is used to receive the audio information sent by the audio acquisition module, and compare the audio information with the preset audio information. If the audio information is different from the preset audio information and the image information is different from the preset image information, it is determined that the first manipulator (2) and the second manipulator (5) have played the piano device body (1) incorrectly, and an early warning signal is generated. The early warning module receives the early warning signal, emits a warning sound, and flashes a red light. The image analysis unit obtains first path information and a first playing time interval of the first manipulator (2), second path information and a second playing time interval of the second manipulator (5), and a real-time spacing between the first manipulator (2) and the second manipulator (5) based on the image information sent by the image acquisition module, and obtains a first playing action rhythm value of the first manipulator (2) based on the first path information and the first playing time interval, the image analysis unit obtains a second playing action rhythm value of the second manipulator (5) based on the second path information and the second playing time interval, and obtains a rhythm coordination value based on the first playing action rhythm value and the second playing action rhythm value; The calculation formula for obtaining the first playing action rhythm value of the first manipulator (2) according to the first path information and the first playing time interval by the image analysis unit is: ,in, Indicates the rhythm value of the first playing action. Indicates First path information, Indicates The first playing time interval of the first path information, Indicates First path information, represents the amount of first path information, wherein the first path information corresponds to a first playing time interval, and the image analysis unit obtains a calculation formula for a second playing action rhythm value of the second manipulator (5) according to the second path information and the second playing time interval: ,in, Indicates the rhythm value of the second playing action. Indicates Second path information, Indicates The second playing time interval of the second path information, Indicates Second path information, Indicates the number of second path information, wherein the second path information corresponds to the second playing time interval; The image analysis unit compares the rhythm coordination value with a preset coordination value. If the rhythm coordination value is different from the preset coordination value, it is determined that the first manipulator (2) and the second manipulator (5) played incorrectly when striking the piano device body (1). If the rhythm coordination value is the same as the preset coordination value, the image analysis unit compares the real-time spacing with the preset spacing. If the real-time spacing is the same as the preset spacing, it is determined that the first manipulator (2) and the second manipulator (5) played correctly when striking the piano device body (1); if the real-time spacing is different from the preset spacing, it is determined that the first manipulator (2) and the second manipulator (5) played incorrectly when striking the piano device body (1).
2. A manipulator control system for piano teaching according to claim 1, It is characterized in that Two groups of protective pads (7) are fixedly connected to the bottom surface of the piano device body (1), and a connecting plate (6) is fixedly connected to the outer surface of each micro motor (3), and the side surfaces of the two connecting plates (6) that are close to each other are fixedly connected to the two side surfaces of the moving frame (15).
3. A manipulator control system for piano teaching according to claim 2, It is characterized in that The piano device body (1) is respectively fixedly connected with a warning light (10), a camera (8), a display screen (9) and an audio collector. The cameras (8) are symmetrically arranged with the display screen (9) as the center. The outer surface of each camera (8) is fixedly connected with a fixing ring (11) and is fixedly connected to the front surface of the piano device body (1) through the fixing ring (11).
4. A manipulator control system for piano teaching according to claim 3, It is characterized in that A conversion unit is provided in the main body module of the device, and the conversion unit is used to convert the music score into a control signal; The controller body (4) is electrically connected to the conversion unit, and is used to receive a control signal sent by the conversion unit and drive the lead screw (13) to rotate through the micro motor (3), thereby driving the first manipulator (2) and the second manipulator (5) to move, so as to achieve the performance of music scores by tapping the surface of the piano device body (1) using the first manipulator (2) and the second manipulator (5); The first manipulator (2) and the second manipulator (5) are both provided with sensors and music keyboard interfaces, the sensors and music keyboard interfaces are used to simulate real hand movements and tactile feedback, the first manipulator (2) and the second manipulator (5) are both provided with a plurality of retractable rotating joints, the retractable rotating joints are used to simulate finger movements, and the ends of the first manipulator (2) and the second manipulator (5) are both provided with touch-key units, the touch-key units are used to simulate finger touch-key movements.
5. A manipulator control system for piano teaching according to claim 4, It is characterized in that The specific analysis process of the control module includes: The control module is used to receive a control signal sent by the conversion unit, the control signal is used to control the speed, frequency, direction and number of rotations of the micro motor (3), and the control module controls the knocking and movement of the first manipulator (2) and the second manipulator (5) through the micro motor (3) according to the control signal.
6. A control method for a manipulator control system used in piano teaching according to any one of claims 1 to 5, It is characterized in that The steps include: Step 1: first, input the music score to be input into the controller body (4), and convert the music score into a control signal according to the conversion unit; Step 2: The controller body (4) receives the control signal sent by the conversion unit and drives the lead screw (13) to rotate through the micro motor (3), thereby driving the first manipulator (2) and the second manipulator (5) to move, so as to achieve the performance of music scores by tapping the surface of the piano device body (1) using the first manipulator (2) and the second manipulator (5); Step 3: The percussion music score is monitored and fed back through the camera (8), and displayed in real time using the display screen (9), and an early warning light (10) is used to warn of any errors that occur.
