WO2022105291A1 - Construction machinery motion attitude control method and apparatus, device, and storage medium - Google Patents

Construction machinery motion attitude control method and apparatus, device, and storage medium Download PDF

Info

Publication number
WO2022105291A1
WO2022105291A1 PCT/CN2021/109043 CN2021109043W WO2022105291A1 WO 2022105291 A1 WO2022105291 A1 WO 2022105291A1 CN 2021109043 W CN2021109043 W CN 2021109043W WO 2022105291 A1 WO2022105291 A1 WO 2022105291A1
Authority
WO
WIPO (PCT)
Prior art keywords
motor
moving part
target moving
parameters
actual
Prior art date
Application number
PCT/CN2021/109043
Other languages
French (fr)
Chinese (zh)
Inventor
易琅琳
Original Assignee
四川鼎鸿智电装备科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 四川鼎鸿智电装备科技有限公司 filed Critical 四川鼎鸿智电装备科技有限公司
Publication of WO2022105291A1 publication Critical patent/WO2022105291A1/en

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D13/00Control of linear speed; Control of angular speed; Control of acceleration or deceleration, e.g. of a prime mover
    • G05D13/62Control of linear speed; Control of angular speed; Control of acceleration or deceleration, e.g. of a prime mover characterised by the use of electric means, e.g. use of a tachometric dynamo, use of a transducer converting an electric value into a displacement
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Definitions

  • the present application relates to the technical field of construction machinery, and in particular to a method, device, equipment and storage medium for controlling the motion and attitude of construction machinery.
  • Construction machinery is an important part of the equipment industry, and is the necessary mechanical equipment for earthwork construction projects, road construction and maintenance, mobile lifting and loading and unloading operations and comprehensive mechanized construction projects required for various construction projects.
  • the movement of the moving parts of traditional construction machinery is mainly controlled by the driver.
  • the longitudinal control is realized by driving the axles or wheels through the gearbox, and the steering of the wheels is realized through the linkage of the steering wheel and the steering oil pump, that is, the lateral control, through the hydraulic pressure.
  • the system realizes the telescopic lift control of the working arm.
  • the present application provides a method, device, device and storage medium for controlling the motion and attitude of construction machinery, aiming to solve the problem in the prior art that each moving part of traditional construction machinery relies on the driver to control, and the control accuracy controlled by the driver cannot reach At present, the problem of intelligent or unmanned requirements for precise control has realized the precise control of the moving parts of construction machinery.
  • the present application provides a method for controlling motion and attitude of construction machinery, which is applied to a controller of a target moving part, where the controller of the target moving part is located in a motion attitude control system of construction machinery, and the method includes:
  • the movement posture of the target moving part is corrected according to the comparison result.
  • controlling the motor corresponding to the target moving part to work according to the preset motion parameters of the target moving part includes:
  • the ideal working parameters of the motor corresponding to the target moving part are obtained by conversion
  • the motor is controlled to work according to the ideal working parameters of the motor.
  • analyzing the feedback signal of the encoder to obtain the actual motion parameters of the target moving part including:
  • the actual motion parameters of the target moving part are obtained by conversion.
  • the target moving part is a traveling mechanism
  • the motor corresponding to the target moving part is the first motor
  • the encoder of the motor is the first encoder
  • the feedback signal of the encoder is analyzed to obtain the result.
  • the actual working parameters of the motor; according to the actual working parameters of the motor, the actual motion parameters of the target moving part are obtained by conversion, including:
  • the actual motion parameters of the traveling mechanism are obtained by converting the actual working parameters of the first motor with the physical parameters of the traveling mechanism.
  • the actual motion parameters of the traveling mechanism include longitudinal displacement, traveling mechanism speed and traveling mechanism acceleration. .
  • the target moving part is a steering mechanism
  • the motor corresponding to the target moving part is a second motor
  • the encoder of the motor is a second encoder
  • the feedback signal of the encoder is analyzed to obtain the result.
  • the actual working parameters of the motor; according to the actual working parameters of the motor, the actual motion parameters of the target moving part are obtained by conversion, including:
  • the actual working parameters of the second motor are converted with the physical parameters of the steering mechanism to obtain the actual motion parameters of the steering mechanism.
  • the actual motion parameters of the steering mechanism include the steering angle, the angular velocity of the steering mechanism, and the steering mechanism angle. acceleration.
  • the target moving part is a loading mechanism
  • the motor corresponding to the target moving part is a third motor
  • the encoder of the motor is a third encoder
  • the feedback signal of the encoder is analyzed to obtain the result.
  • the actual working parameters of the motor; according to the actual working parameters of the motor, the actual motion parameters of the target moving part are obtained by conversion, including:
  • the actual working parameters of the third motor are converted with the parameters of the deceleration mechanism of the loading mechanism to obtain the actual motion parameters of the loading mechanism.
  • the actual motion parameters of the loading mechanism include the direction of movement of the loading mechanism and the movement speed of the loading mechanism and the current position of the loading mechanism.
  • the target moving part is a lifting mechanism
  • the motor corresponding to the target moving part is the fourth motor
  • the encoder of the motor is the fourth encoder
  • the feedback signal of the encoder is analyzed to obtain.
  • the actual working parameters of the motor; according to the actual working parameters of the motor, the actual motion parameters of the target moving part are obtained by conversion, including:
  • the actual working parameters of the fourth motor are converted with the parameters of the deceleration mechanism of the lifting mechanism to obtain the actual motion parameters of the lifting mechanism.
  • the actual motion parameters of the lifting mechanism include the moving direction of the lifting mechanism, Lifting mechanism movement speed and current position of lifting mechanism.
  • the construction machinery motion attitude control system further includes a vehicle controller that is connected in communication with the target moving part controller, the vehicle controller is connected with a navigation and positioning system, and the method further includes:
  • the vehicle controller Send the actual motion parameters of the target moving parts to the vehicle controller, and the vehicle controller is used to compare the actual motion parameters with the measurement parameters of the navigation and positioning system to realize the positioning of the construction machinery and idling state detection.
  • the application also provides a motion attitude control device for a construction machine, comprising:
  • the first receiving module is used for receiving preset motion parameters of the target moving part transmitted through the field bus;
  • control module configured to control the motor corresponding to the target moving part to work according to the preset motion parameters of the target moving part
  • a second receiving module configured to receive the feedback signal of the encoder of the motor
  • an analysis module for analyzing the feedback signal of the encoder to obtain the actual motion parameters of the target moving part
  • a comparison module configured to compare the actual motion parameter of the target moving part with the preset motion parameter of the target moving part to obtain a comparison result
  • a correction module configured to correct the motion posture of the target moving part according to the comparison result.
  • control module is specifically used for:
  • the ideal working parameters of the motor corresponding to the target moving part are obtained by conversion
  • the motor is controlled to work according to the ideal working parameters of the motor.
  • parsing module is specifically used for:
  • the actual motion parameters of the target moving part are obtained by conversion.
  • the device further includes a sending module, and the sending module is specifically configured to:
  • the vehicle controller Send the actual motion parameters of the target moving parts to the vehicle controller, and the vehicle controller is used to compare the actual motion parameters with the measurement parameters of the navigation and positioning system to realize the positioning of the construction machinery and idling state detection.
  • the present application also provides a device, the device comprising:
  • processors one or more processors
  • One or more application programs wherein the one or more application programs are stored in the memory and configured to be executed by the processor to implement the method of any one of the first aspects.
  • the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and the computer program is loaded by a processor to execute the method described in any one of the first aspect steps in .
  • the present application adopts a wire-controlled control method, and uses the field bus to transmit control data to control the operation of the motor corresponding to the target moving part, and the target moving part is controlled by the encoder of the motor corresponding to the target moving part.
  • the real-time feedback monitoring of the motion parameters of the machine is carried out in order to correct the motion posture of the target moving parts in real time, realize unmanned control, and greatly improve the control accuracy of the moving parts of construction machinery.
  • FIG. 1 is a schematic diagram of a scene of a construction machinery motion attitude control system provided by an embodiment of the present application.
  • FIG. 2 is a schematic flowchart of an embodiment of a method for controlling motion and attitude of a construction machine provided in an embodiment of the present application.
  • FIG. 3 is a schematic flowchart of an embodiment of step 202 in the embodiment of the present application.
  • FIG. 4 is a schematic flowchart of an embodiment of step 204 in the embodiment of the present application.
  • FIG. 5 is a schematic flowchart of an embodiment of step 401 and step 402 in this embodiment of the present application.
  • FIG. 6 is a schematic flowchart of another embodiment of step 401 and step 402 in the embodiment of the present application.
  • FIG. 7 is a schematic diagram of equivalent calculation of actual motion parameters of steering wheels in the embodiment of the present application.
  • FIG. 8 is a schematic flowchart of another embodiment of step 401 and step 402 in the embodiment of the present application.
  • FIG. 9 is a schematic flowchart of another embodiment of step 401 and step 402 in the embodiment of the present application.
  • FIG. 10 is a schematic diagram of another scene of the construction machinery motion attitude control system provided by the embodiment of the present application.
  • FIG. 11 is a schematic structural diagram of an embodiment of the apparatus for controlling motion and attitude of a construction machine provided in the embodiment of the present application.
  • FIG. 12 is a schematic structural diagram of an embodiment of the device provided in the embodiment of the present application.
  • first and second are only used for descriptive purposes, and should not be construed as indicating or implying relative importance or implying the number of indicated technical features. Thus, features defined as “first”, “second” may expressly or implicitly include one or more of said features. In the description of the present application, “plurality” means two or more, unless otherwise expressly and specifically defined.
  • FB Field Bus
  • FB is an industrial data bus, which is the underlying data communication network in the field of automation.
  • the information transmission between these field control devices and advanced control systems has a series of advantages such as simplicity, reliability, economy and practicality.
  • Commonly used field bus types are program bus network (Process Field Bus, Profibus), Ethernet control automation technology system (Ether Control Automation Technology, EtherCAT), control network (Control Net, Controlnet), serial communication RS485/RS232 bus, control Control Area Network (CAN) bus, etc.
  • INS Inertial Navigation System
  • INS is an autonomous navigation system that does not rely on external information and does not radiate energy to the outside. Its working environment includes not only the air, the ground, but also underwater.
  • the basic working principle of INS is based on Newton's laws of mechanics. By measuring the acceleration of the carrier in the inertial reference system, integrating it with time, and transforming it into the navigation coordinate system, the speed in the navigation coordinate system can be obtained. , yaw angle and position.
  • the inertial navigation system belongs to the reckoning navigation method, that is, the position of the next point is calculated from the position of a known point according to the heading angle and speed of the moving body measured continuously, so the current position of the moving body can be continuously measured. It is a navigation parameter calculation system with gyroscope and accelerometer as sensitive devices. The system establishes a navigation coordinate system according to the output of the gyroscope, and calculates the speed and position of the moving body in the navigation coordinate system according to the output of the accelerometer.
  • the gyroscope in the inertial navigation system is used to form a navigation coordinate system, so that the measurement axis of the accelerometer is stabilized in the coordinate system, and the heading and attitude angle are given;
  • the velocity can be obtained by one integration, and the displacement can be obtained by integrating the velocity once over time.
  • VCU Vehicle Control Unit
  • VCU Vehicle Control Unit
  • VCU collects motor and battery status, collects accelerator pedal signals, controls Actuator signals, actuators and sensor signals are used to comprehensively analyze the driver's intention to make corresponding judgments, and then monitor the actions of the lower-level component controllers, which are responsible for the normal driving of the car, the feedback of braking energy, the engine and power of the vehicle.
  • Battery energy management, network management, fault diagnosis and processing, vehicle status monitoring, etc. so as to ensure the normal and stable operation of the vehicle in a state of better power, higher economy and reliability.
  • the embodiments of the present application provide a method, device, device, and storage medium for controlling the motion and attitude of a construction machine, which will be described in detail below.
  • FIG. 1 is a schematic diagram of a scene of a construction machinery motion attitude control system provided by an embodiment of the application.
  • the construction machinery motion attitude control system may include: a remote controller 100, a vehicle controller 200, and a target moving part
  • the controller 300, the motor 400 corresponding to the target moving part, and the encoder (Motor Encoder, ME) 500 corresponding to the motor 400 of the target moving part, the target moving part controller 300 is integrated with a construction machinery motion attitude control device.
  • data transmission is performed between the remote controller 100 , the vehicle controller 200 and the target moving part controller 300 through the field bus.
  • the motor 400 corresponding to the target moving part and the encoder 500 corresponding to the motor 400 of the target moving part The communication connection can be made through the communication data line. It should be noted that there may be multiple target moving part controllers 300 in this embodiment of the present application, and each target moving part controller 300 corresponds to one moving part of the construction machinery, so the specific number of target moving part controllers 300 is based on actual The application scenario is selected, which is not limited here.
  • the remote controller 100 may be a general-purpose computer device or a special-purpose computer device.
  • the remote controller 100 may be a desktop computer, a portable computer, a network server, a PDA (Personal Digital Assistant, PDA), a mobile phone, a tablet computer, a communication device, an embedded device, etc. This embodiment does not limit the remote control type of device 100.
  • data transmission is performed between the vehicle controller 200 and the remote controller 100 through the field bus, and the operator sets the preset motion parameters of the target moving part on the remote controller 100, and the remote controller 100 receives the
  • the preset motion parameters are preset, and the preset motion parameters are transmitted to the vehicle controller 200 through the field bus.
  • the vehicle controller 200 in this embodiment can also be a general-purpose computer device or a dedicated computer device.
  • the vehicle controller 200 may be a desktop computer, a portable computer, a network server, a handheld computer, a mobile phone, a tablet computer, a communication device, an embedded device, etc. This embodiment does not limit the type of the vehicle controller 200 .
  • the target moving part controller 300 is mainly used to receive the preset motion parameters of the target moving part transmitted through the field bus; according to the preset motion parameters of the target moving part, control the corresponding The motor 400 works; the feedback signal of the encoder 500 of the motor 400 is received; the feedback signal of the encoder 500 is analyzed to obtain the actual motion parameters of the target moving part; The preset motion parameters of the target moving part are compared to obtain a comparison result; the motion posture of the target moving part is corrected according to the comparison result.
  • the target moving part controller 300 may be a dedicated computer device.
  • the target moving part controller 300 may be an embedded device, a dedicated integrated device, etc. This embodiment does not limit the target moving part controller 300 types.
  • the motor 400 corresponding to the target moving part may be one of the types of motors commonly used at present, such as a servo motor, a stepping motor, etc.; the encoder 500 corresponding to the motor 400 of the target moving part may be commonly used at present One of the types of encoders, such as an absolute encoder, an incremental encoder, a resolver, etc. This embodiment does not limit the types of the motor 400 and the encoder 500 .
  • FIG. 1 is only an application scenario of the solution of the present application, and does not constitute a limitation on the application scenario of the solution of the present application. More target moving part controllers 300, motors 400 and encoders 500 are shown. For example, only one target moving part controller 300 is shown in FIG. 1. It is understood that the construction machinery motion attitude control system may also include one or A plurality of other target moving part controllers communicatively connected to the vehicle controller 200 are not specifically limited here.
  • FIG. 1 the schematic diagram of the scene of the construction machinery motion attitude control system shown in FIG. 1 is only an example, and the construction machinery motion attitude control system and the scene described in the embodiments of the present application are for the purpose of more clearly explaining the technology of the embodiments of the present application.
  • the solution does not constitute a limitation on the technical solutions provided by the embodiments of the present application.
  • Those of ordinary skill in the art know that with the evolution of the motion attitude control system of construction machinery and the emergence of new business scenarios, the technical solutions provided by the embodiments of the present application are suitable for Similar technical issues apply.
  • an embodiment of the present application provides a method for controlling the motion and attitude of a construction machine.
  • the execution body of the method for controlling the motion and attitude of the construction machine is a device for controlling the motion and attitude of the construction machine.
  • the target moving part controller 300 is located in a construction machinery movement attitude control system, and the construction machinery movement attitude control method includes: receiving preset movement parameters of the target moving part transmitted through a field bus; according to the preset movement parameters of the target moving part , control the motor 400 corresponding to the target moving part to work; receive the feedback signal of the encoder 500 of the motor 400; analyze the feedback signal of the encoder 500 to obtain the actual motion parameters of the target moving part; The actual motion parameter of the target moving part is compared with the preset motion parameter of the target moving part to obtain a comparison result; the motion posture of the target moving part is corrected according to the comparison result.
  • FIG. 2 it is a schematic flowchart of an embodiment of the method for controlling the motion and attitude of a construction machine in the embodiment of the present application.
  • the method for controlling the motion and attitude of the construction machine includes:
  • the operator sets the preset motion parameters of the target moving part on the remote controller 100, the remote controller 100 receives the preset motion parameters, and transmits the preset motion parameters to communicate with it through the field bus
  • the whole vehicle controller 200 receives the preset motion parameter, analyzes it, judges the type of the moving part corresponding to the preset motion parameter, and then transmits the preset motion parameter to the corresponding Target moving part controller 300 .
  • the field bus in the embodiment of the present application adopts a controller area network (Control Area Network, CAN) bus. It should be noted that other types of field bus are also applicable to the present application, which is not specifically limited here.
  • the preset motion parameters of the target moving part include the moving direction, motion speed, displacement, etc. of the target moving part.
  • the method of receiving the preset motion parameters of the target moving part may be passive reception, That is, when the vehicle controller 200 sends data to the target moving part controller 300, it can be received, or it can be acquired actively at a certain time interval. Access to obtain the preset motion parameters of the target moving part. When the preset motion parameters change, it will re-acquire and replace the current parameters. If the preset motion parameters have not changed, the current parameters will remain unchanged, and the preset motion parameters will be obtained.
  • the specific method is not limited here.
  • one moving part of the construction machinery corresponds to one moving part controller
  • one moving part controller corresponds to one motor
  • each motor is equipped with a corresponding encoder. Therefore, the moving part, the moving part controller
  • the target moving part controller 300 receives the preset motion parameters of the target moving part, it analyzes it, and controls the motor 400 corresponding to the target moving part to work according to the analysis result.
  • the analysis result may be the application of the motor 400 Number of turns, speed, acceleration, etc.
  • the encoder 500 of the motor 400 starts to monitor the working state of the motor in real time, and feeds the monitored working state parameters to the target moving part controller 300, where the working state parameters can be the actual working state of the motor 400.
  • the controller 300 of the target moving part analyzes the feedback signal, and calculates the actual motion of the target moving part through relevant calculation and conversion.
  • the parameter, the actual motion parameter here may include the actual motion direction, actual motion speed, actual motion acceleration, etc. of the target moving component.
  • the target moving part controller 300 compares the actual motion parameter estimated by the feedback signal from the encoder 500 and the preset motion parameter from the vehicle controller 200 to obtain the comparison result,
  • the comparison result reflects the difference between the actual motion of the target moving part and the preset target.
  • the target moving part controller 300 determines that one or some working parameters of the motor 400 corresponding to the target moving part need to be adjusted according to the comparison result obtained in step 205, and then corrects its current working parameters so that the target moving part needs to be adjusted.
  • the movement of the target is consistent with the preset, and the correction of the movement posture of the target moving part is completed.
  • the wire control method is adopted, and the field bus is used to transmit control data to control the operation of the motor 400 corresponding to the target moving part, and the target moving part is controlled by the encoder 500 of the motor 400 corresponding to the target moving part.
  • the real-time feedback monitoring of the motion parameters of the machine is carried out in order to correct the motion posture of the target moving parts in real time, realize unmanned control, and greatly improve the control accuracy of the moving parts of construction machinery.
  • the step 202 of controlling the motor 400 corresponding to the target moving part to work according to the preset motion parameters of the target moving part may further include:
  • the bearing of the motor 400 corresponding to the target moving part is sleeved with a drive reduction gear, and the target moving part is connected with a driven reduction gear adapted to the drive reduction gear.
  • the sleeve is connected The driving reduction gear on its bearing will rotate with the bearing, and the driving reduction gear will drive the driven reduction gear to rotate, thereby driving the target moving part to move. Therefore, the preset motion parameters of the target moving part, such as the preset movement direction , preset motion speed, preset motion acceleration, etc., need to be converted with the parameters of the driving reduction gear and the driven reduction gear to obtain the ideal working parameters of the motor 400, such as the ideal rotation direction, ideal rotation number, ideal rotation speed Wait.
  • the target moving part controller 300 sends a control command to the motor 400 according to the ideal working parameters obtained in step 301, and controls the motor 400 to work through the control command.
  • the feedback signal of the encoder 500 of the motor 400 is analyzed to obtain the actual motion parameters of the target moving part, which may further include:
  • the feedback signal of the encoder 500 can reflect the actual working parameters of the motor, such as the actual number of turns, the actual rotation direction, the actual rotational speed, and the like.
  • the bearing of the motor 400 corresponding to the target moving part in this embodiment is sleeved with an active reduction gear, and the target moving part is connected with a driven reduction gear adapted to the active reduction gear.
  • the driving reduction gear sleeved on the bearing will rotate together with the bearing, and the driving reduction gear will drive the driven reduction gear to rotate, thereby driving the target moving part to move. Therefore, the actual working parameters of the motor 400, such as the actual rotation
  • the actual motion parameters of the target moving parts such as the actual motion direction, actual motion speed, and actual motion acceleration, can only be obtained after conversion with the parameters of the driving reduction gear and the driven reduction gear. Wait.
  • the target moving part is a traveling mechanism
  • the motor 400 corresponding to the target moving part is a first motor
  • an encoder 500 of the motor 400 is a first encoder , by analyzing the feedback signal of the encoder 500 to obtain the actual working parameters of the motor 400; according to the actual working parameters of the motor 400, converting to obtain the actual motion parameters of the target moving part, which may further include:
  • the running mechanism of a construction machine is four wheels of the construction machine.
  • each wheel is equipped with a corresponding motor and an encoder.
  • the feedback signal of the first encoder is: the output of the first encoder A-phase, B-phase and Z-phase three pulse signals, A-phase pulse signal and B-phase pulse signal have a phase difference of 90°, Z-phase pulse signal is single-turn pulse output.
  • the actual speed of the first motor is obtained by capturing the values of the A-phase pulse signal and the B-phase pulse signal within a certain time t; The actual rotation direction; the Z-phase pulse signal is accumulated within a certain time t to obtain the actual number of turns of the first motor.
  • V 1 n 1 / ⁇ 1 ;
  • aa 1
  • V 11 and V 12 are the wheel speeds before 0.5s and after 0.5s respectively;
  • the actual motion parameters of the wheel such as the wheel longitudinal displacement S 1 , the wheel speed V 1 and the wheel acceleration aa 1 , are obtained from the above formula, so as to obtain the actual motion parameters of the running gear, such as the longitudinal displacement of the running gear, the running gear speed and the running gear acceleration.
  • the construction vehicle has an abnormal state such as slippage or idling through the actual motion parameters of the running mechanism. Specifically, when the construction vehicle is in a normal driving state, the speeds of the four wheels are approximately equal. If the speed of the wheel is much higher than the speed of the other three wheels, it can be judged that the wheel is idling or slipping.
  • the target moving part is a steering mechanism
  • the motor 400 corresponding to the target moving part is a second motor
  • the encoder 500 of the motor 400 is a second encoder , by analyzing the feedback signal of the encoder 500 to obtain the actual working parameters of the motor 400; according to the actual working parameters of the motor 400, obtaining the actual motion parameters of the target moving part, which may further include:
  • both front wheels of the construction machine have a steering function.
  • both front wheels have a steering function, so both front wheels are steering wheels, which constitutes this embodiment.
  • each steering wheel is equipped with a corresponding motor and an encoder, and the steering wheel is connected with the steering screw of the steering electric cylinder.
  • the feedback signal of the second encoder is: the second encoder outputs A phase, B-phase and Z-phase three pulse signals, A-phase pulse signal and B-phase pulse signal have a phase difference of 90°, Z-phase pulse signal is a single-turn pulse output.
  • AC is the steering screw of the steering electric cylinder.
  • the steering screw is retractable, and point O is the hinge point.
  • point O is the hinge point.
  • the steering screw moves from the AC position to the AB position.
  • 7(b) is equivalent to Fig. 7(a).
  • cosine theorem of trigonometric functions it can be obtained:
  • the steering angle is c
  • t, ⁇ ( ⁇ 1- ⁇ 2)/t, where, c1, c2, ⁇ 1, and ⁇ 2 are the steering angle after the time precision t, the steering angle before the time precision t, the steered wheel angular velocity after the time precision t, and the steered wheel angular velocity before the time precision t.
  • the actual motion parameters of the steering wheel such as the steering angle c, the steering wheel angular velocity ⁇ and the steering wheel angular acceleration ⁇ , are obtained from the above formula, so as to obtain the actual motion parameters of the steering mechanism, such as the steering angle, the steering mechanism angular velocity and the steering mechanism angular acceleration.
  • the target moving part is a loading mechanism
  • the motor 400 corresponding to the target moving part is a third motor
  • the encoder 500 of the motor 400 is a third encoder , by analyzing the feedback signal of the encoder 500 to obtain the actual working parameters of the motor 400; according to the actual working parameters of the motor 400, obtaining the actual motion parameters of the target moving part, which may further include:
  • the loading mechanism of the construction machinery can be a hopper.
  • the hopper of the construction machinery is equipped with one or two turning motors, that is, the third motor.
  • the feedback signal of the third encoder is: the third encoding
  • the device outputs three pulse signals of A-phase, B-phase and Z-phase.
  • the phase difference between the A-phase pulse signal and the B-phase pulse signal is 90°, and the Z-phase pulse signal is a single-turn pulse output.
  • the actual speed of the third motor is obtained by capturing the values of the A-phase pulse signal and the B-phase pulse signal within a certain time t;
  • the actual rotation direction; the Z-phase pulse signal is accumulated within a certain time t to obtain the actual number of turns of the third motor.
  • the deceleration mechanism of the loading mechanism includes a loading deceleration gear
  • the actual working parameters of the third motor are converted with the parameters of the loading deceleration gear
  • the method for obtaining the actual motion parameters of the loading mechanism is the same as step 502
  • All are decelerated by the reduction gear, which is linearly reduced according to the reduction ratio.
  • the third reduction ratio is ⁇ 2
  • the speed of the hopper V 2
  • the hopper acceleration is aa 2
  • the actual speed of the third motor is n 2
  • the actual number of revolutions of the third motor is z 2
  • the hopper acceleration aa 2 is updated every 0.5s, then:
  • V 2 n 2 / ⁇ 2 ;
  • aa 2
  • V 21 and V 22 are the hopper speeds before and after 0.5s respectively;
  • the current position of the loading mechanism can be calculated and calculated according to the number of pulses sent by the third encoder from the zero position to the current position. For example, the number of pulses sent by the third motor for one revolution is 100, and the number of pulses sent from the zero position to the current position is 40, the current position of the rotor of the third motor is 0.4z 2 , and the current position of the loading mechanism is 0.4z 2 .
  • the actual working parameters of the hopper are obtained from the above formula, for example, the movement direction of the hopper is upward or downward, the movement speed of the hopper V 2 , the acceleration of the hopper movement aa 2 and the current position of the hopper, that is, the actual movement parameters of the loading mechanism, such as the movement of the loading mechanism Direction, speed of movement of the loading mechanism and current position of the loading mechanism.
  • the target moving part is a lifting mechanism
  • the motor 400 corresponding to the target moving part is a fourth motor
  • the encoder 500 of the motor 400 is a fourth code
  • the encoder parses the feedback signal of the encoder 500 to obtain the actual working parameters of the motor 400; according to the actual working parameters of the motor 400, obtains the actual motion parameters of the target moving part, which may further include:
  • the lifting mechanism of the construction machinery can be a working arm.
  • the working arm of the construction machinery is equipped with one or two lifting motors, namely the fourth motor.
  • the feedback signal of the fourth encoder is :
  • the fourth encoder outputs three pulse signals of A-phase, B-phase and Z-phase.
  • the phase difference between the A-phase pulse signal and the B-phase pulse signal is 90°
  • the Z-phase pulse signal is a single-turn pulse output.
  • the actual speed of the fourth motor is obtained by capturing the values of the A-phase pulse signal and the B-phase pulse signal within a certain time t;
  • the actual rotation direction; the Z-phase pulse signal is accumulated within a certain time t to obtain the actual number of turns of the fourth motor.
  • the reduction mechanism of the lifting mechanism includes a lifting reduction gear
  • the actual working parameters of the fourth motor are converted with the parameters of the lifting reduction gear
  • the method for obtaining the actual motion parameters of the working arm is the same as the Step 502 is the same, both are decelerated by the reduction gear and linearly reduced according to the reduction ratio.
  • the fourth reduction ratio is ⁇ 3
  • the fourth driving reduction gear: the fourth driven reduction gear 1: ⁇ 3
  • the speed of the working arm is V 3
  • the acceleration of the working arm is aa 3
  • the actual speed of the fourth motor is n 3
  • the actual number of revolutions of the fourth motor is z 3
  • the wheel acceleration aa 3 is updated every 0.5s, then :
  • V 3 n 3 / ⁇ 3 ;
  • aa 3
  • V 31 and V 32 are the working arm speeds before 0.5s and after 0.5s, respectively;
  • the current position of the lifting mechanism can be calculated, and it can be calculated according to the number of pulses sent by the fourth encoder from the zero position to the current position, for example, the number of pulses sent by the fourth motor for one revolution is 100, and the number of pulses sent from the zero position to the current position is 30, the current position of the rotor of the fourth motor is 0.3z 3 , and the current position of the lifting mechanism is 0.3z 3 .
  • the actual working parameters of the working arm are obtained from the above formulas, such as whether the working arm movement direction is rising or falling, the working arm movement speed V 3 , the working arm movement acceleration aa 3 and the current position of the working arm, that is, the actual movement parameters of the lifting mechanism are obtained, Such as the moving direction of the lifting mechanism, the moving speed of the lifting mechanism and the current position of the lifting mechanism.
  • FIG. 10 a schematic diagram of another scene of the construction machinery motion attitude control system provided by the embodiment of the application, the vehicle controller 200 in the construction machinery motion attitude control system is communicatively connected with the navigation and positioning system 600 , and the method Can also include:
  • the vehicle controller 200 Send the actual motion parameters of the target moving parts to the vehicle controller 200, and the vehicle controller 200 is used to compare the actual motion parameters with the measurement parameters of the navigation and positioning system 600 to achieve Positioning and idling state detection of construction machinery.
  • the navigation and positioning system 600 may be an inertial navigation system, which includes a positioning receiver and an antenna, the positioning receiver includes a positioning system receiving and processing board and an inertial measurement unit, and the inertial measurement unit may be a six-axis gyroscope .
  • the navigation and positioning system 600 can also be connected with an automatic driving controller, which can be communicated with the vehicle controller 200 and the remote controller 100 respectively.
  • the navigation and positioning system 600 can obtain the vehicle speed and acceleration of the engineering vehicle through the inertial measurement unit. , displacement, and the body posture under the three-dimensional coordinate system with the body of the engineering vehicle as the origin.
  • the vehicle controller 200 receives the actual motion parameters of the target moving parts transmitted by the target moving parts controller 300, and corroborates the actual motion parameters with the measurement parameters from the navigation and positioning system 600, which can further improve the positioning accuracy of the engineering vehicle. .
  • the actual position of the construction vehicle can be estimated through the monitoring data of the six-axis gyroscope of the navigation and positioning system 600 .
  • the actual motion parameters of the traveling mechanism obtained by the above calculation such as the speed of the traveling mechanism, with the speed of the construction vehicle obtained by the navigation and positioning system, it is also possible to detect whether the construction machinery is idling.
  • an embodiment of the present application further provides a device for controlling the motion attitude of the construction machinery, wherein the motion attitude of the construction machinery is The control device is applied to the target moving part controller 300, and the target moving part controller 300 is located in the construction machinery movement attitude control system.
  • the construction machinery movement attitude control device 1100 includes:
  • the first receiving module 1101 is used for receiving preset motion parameters of the target moving part transmitted through the field bus;
  • control module 1102 configured to control the motor 400 corresponding to the target moving part to work according to the preset motion parameters of the target moving part;
  • the second receiving module 1103 is configured to receive the feedback signal of the encoder 500 of the motor 400;
  • the analysis module 1104 is used to analyze the feedback signal of the encoder 500 to obtain the actual motion parameters of the target moving part;
  • a comparison module 1105 configured to compare the actual motion parameter of the target moving part with the preset motion parameter of the target moving part to obtain a comparison result
  • a correction module 1106, configured to correct the motion posture of the target moving part according to the comparison result.
  • control module 1102 adopts the wire-controlled control mode, uses the field bus to transmit control data to control the operation of the motor 400 corresponding to the target moving part, and the second receiving module 1103 receives the feedback from the target encoder 500 in real time.
  • the analysis module 1104 analyzes the feedback signal in real time, and monitors the motion parameters of the target moving parts, so as to correct the motion posture of the target moving parts in real time, realize unmanned control, and greatly improve the control of the moving parts of construction machinery. precision.
  • control module 1102 is specifically configured to:
  • the ideal working parameters of the motor 400 corresponding to the target moving part are obtained;
  • the corresponding motor 400 of the target moving part is controlled to work according to the ideal working parameters of the motor 400 .
  • the parsing module is specifically used for:
  • the actual motion parameters of the target moving part are obtained.
  • the construction machinery motion attitude control device 1100 further includes a sending module 1107, and the sending module 1107 is specifically used for:
  • the vehicle controller 200 Send the actual motion parameters of the target moving parts to the vehicle controller 200, and the vehicle controller 200 is used to compare the actual motion parameters with the measurement parameters of the navigation and positioning system 600 to achieve Positioning and idling state detection of construction machinery.
  • the embodiments of the present application further provide a device that integrates any of the construction machinery motion attitude control devices provided by the embodiments of the present application, and the device includes:
  • processors one or more processors
  • One or more application programs wherein the one or more application programs are stored in the memory and configured to be executed by the processor as described in any one of the foregoing embodiments of the construction machinery motion attitude control method embodiment The steps in the motion attitude control method of construction machinery.
  • the embodiments of the present application further provide a device that integrates any of the construction machinery motion attitude control devices provided by the embodiments of the present application.
  • FIG. 12 shows a schematic structural diagram of a device involved in an embodiment of the present application, specifically:
  • the device may include a processor 1201 of one or more processing cores, a memory 1202 of one or more computer-readable storage media, a power supply 1203 and an input unit 1204 and other components.
  • a processor 1201 of one or more processing cores may include a processor 1201 of one or more processing cores, a memory 1202 of one or more computer-readable storage media, a power supply 1203 and an input unit 1204 and other components.
  • FIG. 12 does not constitute a limitation to the device, and may include more or less components than the one shown, or combine some components, or arrange different components. in:
  • the processor 1201 is the control center of the device, using various interfaces and lines to connect various parts of the entire device, by running or executing the software programs and/or modules stored in the memory 1202, and calling the data stored in the memory 1202, Execute various functions of the device and process data to monitor the device as a whole.
  • the processor 1201 may include one or more processing cores; the processor 1201 may be a central processing unit (Central Processing Unit, CPU), or other general-purpose processors, digital signal processors (Digital Signal Processor, DSP) ), Application Specific Integrated Circuit (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • CPU Central Processing Unit
  • DSP Digital Signal Processor
  • ASIC Application Specific Integrated Circuit
  • FPGA Field-Programmable Gate Array
  • the general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc.
  • the processor 1201 can integrate an application processor and a modulation and demodulation processor, wherein the application processor mainly processes the operating system, User interface and applications, etc., the modem processor mainly handles wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 1201.
  • the memory 1202 can be used to store software programs and modules, and the processor 1201 executes various functional applications and data processing by running the software programs and modules stored in the memory 1202 .
  • the memory 1202 may mainly include a stored program area and a stored data area, wherein the stored program area may store an operating system, an application program required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of the server, etc.
  • memory 1202 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, memory 1202 may also include a memory controller to provide processor 1201 access to memory 1202 .
  • the device also includes a power supply 1203 for supplying power to various components.
  • the power supply 1203 can be logically connected to the processor 1201 through a power management system, so as to manage charging, discharging, and power consumption management functions through the power management system.
  • the power source 1203 may also include one or more DC or AC power sources, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, and any other components.
  • the device may also include an input unit 1204 that may be used to receive input numerical or character information and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and functional control.
  • an input unit 1204 may be used to receive input numerical or character information and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and functional control.
  • the server may also include a display unit and the like, which will not be described herein again.
  • the processor 1201 in the device loads the executable files corresponding to the processes of one or more application programs into the memory 1202 according to the following instructions, and the processor 1201 executes them and stores them in the memory 1202, so as to realize various functions, as follows:
  • the movement posture of the target moving part is corrected according to the comparison result.
  • an embodiment of the present application provides a computer-readable storage medium, and the storage medium may include: a read-only memory (ROM, Read Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, etc. .
  • a computer program is stored thereon, and the computer program is loaded by the processor to execute the steps in any of the construction machinery motion attitude control methods provided in the embodiments of the present application.
  • the computer program being loaded by the processor may perform the following steps:
  • the movement posture of the target moving part is corrected according to the comparison result.
  • the above units or structures can be implemented as independent entities, or can be arbitrarily combined to be implemented as the same or several entities.
  • the specific implementation of the above units or structures can refer to the previous embodiments. Repeat.

Abstract

A construction machinery motion attitude control method and apparatus, a device, and a storage medium, the method comprising: receiving preset motion parameters of a target moving part transmitted by means of a field bus (201); on the basis of the preset motion parameters, controlling the operation of a motor corresponding to the target moving part (202); receiving a feedback signal of an encoder of the motor (203); parsing the feedback signal to obtain actual motion parameters of the target moving part (204); comparing the actual motion parameters of the target moving part with the preset motion parameters to obtain a comparison result (205); and, on the basis of the comparison result, correcting the motion attitude of the target moving part (206).

Description

工程机械运动姿态控制方法、装置、设备和存储介质Construction machinery motion attitude control method, device, equipment and storage medium
本申请要求于2020年11月17日提交中国专利局、申请号为202011286183.X、发明名称为“工程机械运动姿态控制方法、装置、设备和存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed on November 17, 2020 with the application number 202011286183.X and the title of the invention is "Construction Machinery Movement Attitude Control Method, Device, Equipment and Storage Medium", all of which are The contents are incorporated herein by reference.
技术领域technical field
本申请涉及工程机械技术领域,具体涉及一种工程机械运动姿态控制方法、装置、设备和存储介质。The present application relates to the technical field of construction machinery, and in particular to a method, device, equipment and storage medium for controlling the motion and attitude of construction machinery.
背景技术Background technique
工程机械是装备工业的重要组成部分,是土石方施工工程、路面建设与养护、流动式起重装卸作业和各种建筑工程所需的综合性机械化施工工程所必需的机械装备。Construction machinery is an important part of the equipment industry, and is the necessary mechanical equipment for earthwork construction projects, road construction and maintenance, mobile lifting and loading and unloading operations and comprehensive mechanized construction projects required for various construction projects.
传统工程机械的运动部件的运动主要是通过驾驶员来进行控制的,通过变速箱驱动车轴或车轮来实现纵向控制,通过方向盘与转向油泵等机构联动来实现车轮的转向,即横向控制,通过液压系统来实现工作臂的伸缩举升控制。The movement of the moving parts of traditional construction machinery is mainly controlled by the driver. The longitudinal control is realized by driving the axles or wheels through the gearbox, and the steering of the wheels is realized through the linkage of the steering wheel and the steering oil pump, that is, the lateral control, through the hydraulic pressure. The system realizes the telescopic lift control of the working arm.
但是,随着无人化作业以及智能控制的需求越来越大,传统工程机械各运动部件依赖于驾驶员来控制,以及通过驾驶员控制的控制精度均已达不到目前智能化或无人化对于精准控制的要求。However, with the increasing demand for unmanned operation and intelligent control, the moving parts of traditional construction machinery rely on the driver to control, and the control accuracy controlled by the driver has not reached the current level of intelligent or unmanned control. requirements for precise control.
技术问题technical problem
本申请提供一种工程机械运动姿态控制方法、装置、设备和存储介质,旨在解决现有技术中传统工程机械各运动部件依赖于驾驶员来控制,并且通过驾驶员控制的控制精度达不到目前智能化或无人化对于精准控制的要求的问题,实现了对工程机械运动部件的精准控制。The present application provides a method, device, device and storage medium for controlling the motion and attitude of construction machinery, aiming to solve the problem in the prior art that each moving part of traditional construction machinery relies on the driver to control, and the control accuracy controlled by the driver cannot reach At present, the problem of intelligent or unmanned requirements for precise control has realized the precise control of the moving parts of construction machinery.
技术解决方案technical solutions
第一方面,本申请提供一种工程机械运动姿态控制方法,应用于目标运动部件控制器,所述目标运动部件控制器位于工程机械运动姿态控制系统,所述方法包括:In a first aspect, the present application provides a method for controlling motion and attitude of construction machinery, which is applied to a controller of a target moving part, where the controller of the target moving part is located in a motion attitude control system of construction machinery, and the method includes:
接收通过现场总线传输的目标运动部件的预设运动参数;Receive the preset motion parameters of the target moving part transmitted through the field bus;
根据所述目标运动部件的预设运动参数,控制所述目标运动部件对应的电机工作;Control the motor corresponding to the target moving part to work according to the preset motion parameters of the target moving part;
接收所述电机的编码器的反馈信号;receiving a feedback signal from the encoder of the motor;
解析所述编码器的反馈信号,得到所述目标运动部件的实际运动参数;Analyzing the feedback signal of the encoder to obtain the actual motion parameters of the target moving part;
将所述目标运动部件的实际运动参数与所述目标运动部件的预设运动参数进行比较,得到比较结果;comparing the actual motion parameter of the target moving part with the preset motion parameter of the target moving part to obtain a comparison result;
根据所述比较结果对所述目标运动部件的运动姿态进行修正。The movement posture of the target moving part is corrected according to the comparison result.
进一步的,所述根据所述目标运动部件的预设运动参数,控制所述目标运动部件对应的电机工作,包括:Further, controlling the motor corresponding to the target moving part to work according to the preset motion parameters of the target moving part includes:
根据所述目标运动部件的预设运动参数,换算得到所述目标运动部件对应的电机的理想工作参数;According to the preset motion parameters of the target moving part, the ideal working parameters of the motor corresponding to the target moving part are obtained by conversion;
根据所述电机的理想工作参数,控制所述电机工作。The motor is controlled to work according to the ideal working parameters of the motor.
进一步的,所述解析所述编码器的反馈信号,得到所述目标运动部件的实际运动参数,包括:Further, analyzing the feedback signal of the encoder to obtain the actual motion parameters of the target moving part, including:
解析所述编码器的反馈信号,得到所述电机的实际工作参数;Analyze the feedback signal of the encoder to obtain the actual working parameters of the motor;
根据所述电机的实际工作参数,换算得到所述目标运动部件的实际运动参数。According to the actual working parameters of the motor, the actual motion parameters of the target moving part are obtained by conversion.
进一步的,所述目标运动部件为行驶机构,所述目标运动部件对应的电机为第一电机,所述电机的编码器为第一编码器,所述解析所述编码器的反馈信号,得到所述电机的实际工作参数;根据所述电机的实际工作参数,换算得到所述目标运动部件的实际运动参数,包括:Further, the target moving part is a traveling mechanism, the motor corresponding to the target moving part is the first motor, the encoder of the motor is the first encoder, and the feedback signal of the encoder is analyzed to obtain the result. The actual working parameters of the motor; according to the actual working parameters of the motor, the actual motion parameters of the target moving part are obtained by conversion, including:
解析所述第一编码器的反馈信号,得到所述第一电机的实际工作参数;Analyzing the feedback signal of the first encoder to obtain the actual working parameters of the first motor;
利用所述第一电机的实际工作参数与所述行驶机构的物理参数进行换算,得到所述行驶机构的实际运动参数,所述行驶机构的实际运动参数包括纵向位移、行驶机构速度和行驶机构加速度。The actual motion parameters of the traveling mechanism are obtained by converting the actual working parameters of the first motor with the physical parameters of the traveling mechanism. The actual motion parameters of the traveling mechanism include longitudinal displacement, traveling mechanism speed and traveling mechanism acceleration. .
进一步的,所述目标运动部件为转向机构,所述目标运动部件对应的电机为第二电机,所述电机的编码器为第二编码器,所述解析所述编码器的反馈信号,得到所述电机的实际工作参数;根据所述电机的实际工作参数,换算得到所述目标运动部件的实际运动参数,包括:Further, the target moving part is a steering mechanism, the motor corresponding to the target moving part is a second motor, the encoder of the motor is a second encoder, and the feedback signal of the encoder is analyzed to obtain the result. The actual working parameters of the motor; according to the actual working parameters of the motor, the actual motion parameters of the target moving part are obtained by conversion, including:
解析所述第二编码器的反馈信号,得到所述第二电机的实际工作参数;Analyzing the feedback signal of the second encoder to obtain the actual working parameters of the second motor;
利用所述第二电机的实际工作参数与所述转向机构的物理参数进行换算,得到所述转向机构的实际运动参数,所述转向机构的实际运动参数包括转向角度、转向机构角速度和转向机构角加速度。The actual working parameters of the second motor are converted with the physical parameters of the steering mechanism to obtain the actual motion parameters of the steering mechanism. The actual motion parameters of the steering mechanism include the steering angle, the angular velocity of the steering mechanism, and the steering mechanism angle. acceleration.
进一步的,所述目标运动部件为装载机构,所述目标运动部件对应的电机为第三电机,所述电机的编码器为第三编码器,所述解析所述编码器的反馈信号,得到所述电机的实际工作参数;根据所述电机的实际工作参数,换算得到所述目标运动部件的实际运动参数,包括:Further, the target moving part is a loading mechanism, the motor corresponding to the target moving part is a third motor, the encoder of the motor is a third encoder, and the feedback signal of the encoder is analyzed to obtain the result. The actual working parameters of the motor; according to the actual working parameters of the motor, the actual motion parameters of the target moving part are obtained by conversion, including:
解析所述第三编码器的反馈信号,得到所述第三电机的实际工作参数;Analyzing the feedback signal of the third encoder to obtain the actual working parameters of the third motor;
利用所述第三电机的实际工作参数与所述装载机构的减速机构参数进行换算,得到所述装载机构的实际运动参数,所述装载机构的实际运动参数包括装载机构运动方向、装载机构运动速度和装载机构当前位置。The actual working parameters of the third motor are converted with the parameters of the deceleration mechanism of the loading mechanism to obtain the actual motion parameters of the loading mechanism. The actual motion parameters of the loading mechanism include the direction of movement of the loading mechanism and the movement speed of the loading mechanism and the current position of the loading mechanism.
进一步的,所述目标运动部件为举升机构,所述目标运动部件对应的电机为第四电机,所述电机的编码器为第四编码器,所述解析所述编码器的反馈信号,得到所述电机的实际工作参数;根据所述电机的实际工作参数,换算得到所述目标运动部件的实际运动参数,包括:Further, the target moving part is a lifting mechanism, the motor corresponding to the target moving part is the fourth motor, the encoder of the motor is the fourth encoder, and the feedback signal of the encoder is analyzed to obtain. The actual working parameters of the motor; according to the actual working parameters of the motor, the actual motion parameters of the target moving part are obtained by conversion, including:
解析所述第四编码器的反馈信号,得到所述第四电机的实际工作参数;Analyze the feedback signal of the fourth encoder to obtain the actual working parameters of the fourth motor;
利用所述第四电机的实际工作参数与所述举升机构的减速机构参数进行换算,得到所述举升机构的实际运动参数,所述举升机构的实际运动参数包括举升机构运动方向、举升机构运动速度和举升机构当前位置。The actual working parameters of the fourth motor are converted with the parameters of the deceleration mechanism of the lifting mechanism to obtain the actual motion parameters of the lifting mechanism. The actual motion parameters of the lifting mechanism include the moving direction of the lifting mechanism, Lifting mechanism movement speed and current position of lifting mechanism.
进一步的,所述工程机械运动姿态控制系统还包括与所述目标运动部件控制器通信连接的整车控制器,所述整车控制器连接有导航定位系统,所述方法还包括:Further, the construction machinery motion attitude control system further includes a vehicle controller that is connected in communication with the target moving part controller, the vehicle controller is connected with a navigation and positioning system, and the method further includes:
发送所述目标运动部件的实际运动参数至所述整车控制器,所述整车控制器用于将所述实际运动参数与所述导航定位系统的测量参数进行比对,以实现工程机械的定位以及空转状态检测。Send the actual motion parameters of the target moving parts to the vehicle controller, and the vehicle controller is used to compare the actual motion parameters with the measurement parameters of the navigation and positioning system to realize the positioning of the construction machinery and idling state detection.
第二方面,本申请还提供一种工程机械运动姿态控制装置,包括:In a second aspect, the application also provides a motion attitude control device for a construction machine, comprising:
第一接收模块,用于接收通过现场总线传输的目标运动部件的预设运动参数;The first receiving module is used for receiving preset motion parameters of the target moving part transmitted through the field bus;
控制模块,用于根据所述目标运动部件的预设运动参数,控制所述目标运动部件对应的电机工作;a control module, configured to control the motor corresponding to the target moving part to work according to the preset motion parameters of the target moving part;
第二接收模块,用于接收所述电机的编码器的反馈信号;a second receiving module, configured to receive the feedback signal of the encoder of the motor;
解析模块,用于解析所述编码器的反馈信号,得到所述目标运动部件的实际运动参数;an analysis module for analyzing the feedback signal of the encoder to obtain the actual motion parameters of the target moving part;
比较模块,用于将所述目标运动部件的实际运动参数与所述目标运动部件的预设运动参数进行比较,得到比较结果;a comparison module, configured to compare the actual motion parameter of the target moving part with the preset motion parameter of the target moving part to obtain a comparison result;
修正模块,用于根据所述比较结果对所述目标运动部件的运动姿态进行修正。A correction module, configured to correct the motion posture of the target moving part according to the comparison result.
进一步的,所述控制模块具体用于:Further, the control module is specifically used for:
根据所述目标运动部件的预设运动参数,换算得到所述目标运动部件对应的电机的理想工作参数;According to the preset motion parameters of the target moving part, the ideal working parameters of the motor corresponding to the target moving part are obtained by conversion;
根据所述电机的理想工作参数,控制所述电机工作。The motor is controlled to work according to the ideal working parameters of the motor.
进一步的,所述解析模块具体用于:Further, the parsing module is specifically used for:
解析所述编码器的反馈信号,得到所述电机的实际工作参数;Analyze the feedback signal of the encoder to obtain the actual working parameters of the motor;
根据所述电机的实际工作参数,换算得到所述目标运动部件的实际运动参数。According to the actual working parameters of the motor, the actual motion parameters of the target moving part are obtained by conversion.
进一步的,所述装置还包括发送模块,所述发送模块具体用于:Further, the device further includes a sending module, and the sending module is specifically configured to:
发送所述目标运动部件的实际运动参数至所述整车控制器,所述整车控制器用于将所述实际运动参数与所述导航定位系统的测量参数进行比对,以实现工程机械的定位以及空转状态检测。Send the actual motion parameters of the target moving parts to the vehicle controller, and the vehicle controller is used to compare the actual motion parameters with the measurement parameters of the navigation and positioning system to realize the positioning of the construction machinery and idling state detection.
第三方面,本申请还提供一种设备,所述设备包括:In a third aspect, the present application also provides a device, the device comprising:
一个或多个处理器;one or more processors;
存储器;以及memory; and
一个或多个应用程序,其中所述一个或多个应用程序被存储于所述存储器中,并配置为由所述处理器执行以实现第一方面中任一项所述的方法。One or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the processor to implement the method of any one of the first aspects.
第四方面,本申请还提供一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器进行加载,以执行第一方面任一项所述的方法中的步骤。In a fourth aspect, the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and the computer program is loaded by a processor to execute the method described in any one of the first aspect steps in .
有益效果beneficial effect
相较于现有技术,本申请采用线控控制方式,利用现场总线来传输控制数据进而对目标运动部件对应的电机的运行进行控制,并且通过目标运动部件对应的电机的编码器对目标运动部件的运动参数实时进行反馈监测,以便对目标运动部件的运动姿态进行实时修正,实现了无人控制,大大提高了对于工程机械运动部件的控制精度。Compared with the prior art, the present application adopts a wire-controlled control method, and uses the field bus to transmit control data to control the operation of the motor corresponding to the target moving part, and the target moving part is controlled by the encoder of the motor corresponding to the target moving part. The real-time feedback monitoring of the motion parameters of the machine is carried out in order to correct the motion posture of the target moving parts in real time, realize unmanned control, and greatly improve the control accuracy of the moving parts of construction machinery.
附图说明Description of drawings
图1是本申请实施例提供的工程机械运动姿态控制系统的一个场景示意图。FIG. 1 is a schematic diagram of a scene of a construction machinery motion attitude control system provided by an embodiment of the present application.
图2是本申请实施例中提供的工程机械运动姿态控制方法的一个实施例流程示意图。FIG. 2 is a schematic flowchart of an embodiment of a method for controlling motion and attitude of a construction machine provided in an embodiment of the present application.
图3是本申请实施例中步骤202的一个实施例流程示意图。FIG. 3 is a schematic flowchart of an embodiment of step 202 in the embodiment of the present application.
图4是本申请实施例中步骤204的一个实施例流程示意图。FIG. 4 is a schematic flowchart of an embodiment of step 204 in the embodiment of the present application.
图5是本申请实施例中步骤401和步骤402的一个实施例流程示意图。FIG. 5 is a schematic flowchart of an embodiment of step 401 and step 402 in this embodiment of the present application.
图6是本申请实施例中步骤401和步骤402的又一个实施例流程示意图。FIG. 6 is a schematic flowchart of another embodiment of step 401 and step 402 in the embodiment of the present application.
图7是本申请实施例中转向车轮实际运动参数等效计算示意图。FIG. 7 is a schematic diagram of equivalent calculation of actual motion parameters of steering wheels in the embodiment of the present application.
图8是本申请实施例中步骤401和步骤402的又一个实施例流程示意图。FIG. 8 is a schematic flowchart of another embodiment of step 401 and step 402 in the embodiment of the present application.
图9是本申请实施例中步骤401和步骤402的又一个实施例流程示意图。FIG. 9 is a schematic flowchart of another embodiment of step 401 and step 402 in the embodiment of the present application.
图10是本申请实施例提供的工程机械运动姿态控制系统的又一个场景示意图。FIG. 10 is a schematic diagram of another scene of the construction machinery motion attitude control system provided by the embodiment of the present application.
图11是本申请实施例中提供的工程机械运动姿态控制装置的一个实施例结构示意图。FIG. 11 is a schematic structural diagram of an embodiment of the apparatus for controlling motion and attitude of a construction machine provided in the embodiment of the present application.
图12是本申请实施例中提供的设备的一个实施例结构示意图。FIG. 12 is a schematic structural diagram of an embodiment of the device provided in the embodiment of the present application.
本发明的实施方式Embodiments of the present invention
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work fall within the protection scope of the present application.
在本申请的描述中,需要理解的是,术语“中心”、“纵向”、“横向”、“长度”、“宽度”、“厚度”、“上”、“下”、“前”、“后”、“左”、“右”、“竖直”、“水平”、“顶”、“底”、“内”、“外”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本申请和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本申请的限制。此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个所述特征。在本申请的描述中,“多个”的含义是两个或两个以上,除非另有明确具体的限定。In the description of this application, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", " The orientation or positional relationship indicated by "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", etc. is based on the orientation shown in the drawings Or the positional relationship is only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the indicated device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be construed as a limitation on the present application. In addition, the terms "first" and "second" are only used for descriptive purposes, and should not be construed as indicating or implying relative importance or implying the number of indicated technical features. Thus, features defined as "first", "second" may expressly or implicitly include one or more of said features. In the description of the present application, "plurality" means two or more, unless otherwise expressly and specifically defined.
在本申请中,“示例性”一词用来表示“用作例子、例证或说明”。本申请中被描述为“示例性”的任何实施例不一定被解释为比其它实施例更优选或更具优势。为了使本领域任何技术人员能够实现和使用本申请,给出了以下描述。在以下描述中,为了解释的目的而列出了细节。应当明白的是,本领域普通技术人员可以认识到,在不使用这些特定细节的情况下也可以实现本申请。在其它实例中,不会对公知的结构和过程进行详细阐述,以避免不必要的细节使本申请的描述变得晦涩。因此,本申请并非旨在限于所示的实施例,而是与符合本申请所公开的原理和特征的最广范围相一致。In this application, the word "exemplary" is used to mean "serving as an example, illustration, or illustration." Any embodiment described in this application as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments. The following description is presented to enable any person skilled in the art to make and use the present application. In the following description, details are set forth for the purpose of explanation. It is to be understood that one of ordinary skill in the art can realize that the present application may be practiced without the use of these specific details. In other instances, well-known structures and procedures have not been described in detail so as not to obscure the description of the present application with unnecessary detail. Therefore, this application is not intended to be limited to the embodiments shown but is to be accorded the widest scope consistent with the principles and features disclosed herein.
下面首先对本申请实施例中涉及到的一些基本概念进行介绍:The following first introduces some basic concepts involved in the embodiments of the present application:
现场总线(Field Bus,FB):FB是一种工业数据总线,是自动化领域中底层数据通信网络,它主要解决工业现场的智能化仪器仪表、控制器、执行机构等现场设备间的数字通信以及这些现场控制设备和高级控制系统之间的信息传递问题,具有简单、可靠、经济实用等一系列优点。常用的现场总线类型有程序总线网络(Process Field Bus,Profibus)、以太网控制自动化技术系统(Ether Control Automation Technology,EtherCAT)、控制网(Control Net,Controlnet)、串行通信RS485/RS232总线、控制器局域网络(Control Area Network,CAN)总线等。Field Bus (FB): FB is an industrial data bus, which is the underlying data communication network in the field of automation. The information transmission between these field control devices and advanced control systems has a series of advantages such as simplicity, reliability, economy and practicality. Commonly used field bus types are program bus network (Process Field Bus, Profibus), Ethernet control automation technology system (Ether Control Automation Technology, EtherCAT), control network (Control Net, Controlnet), serial communication RS485/RS232 bus, control Control Area Network (CAN) bus, etc.
惯性导航系统(Inertial Navigation System,INS):INS是一种不依赖于外部信息、也不向外部辐射能量的自主式导航系统,其工作环境不仅包括空中、地面,还可以在水下。INS的基本工作原理是以牛顿力学定律为基础,通过测量载体在惯性参考系的加速度,将它对时间进行积分,且把它变换到导航坐标 系中,就能够得到在导航坐标系中的速度、偏航角和位置等信息。Inertial Navigation System (INS): INS is an autonomous navigation system that does not rely on external information and does not radiate energy to the outside. Its working environment includes not only the air, the ground, but also underwater. The basic working principle of INS is based on Newton's laws of mechanics. By measuring the acceleration of the carrier in the inertial reference system, integrating it with time, and transforming it into the navigation coordinate system, the speed in the navigation coordinate system can be obtained. , yaw angle and position.
惯性导航系统属于推算导航方式,即从一已知点的位置根据连续测得的运动体航向角和速度推算出其下一点的位置,因而可连续测出运动体的当前位置。其是以陀螺和加速度计为敏感器件的导航参数解算系统,该系统根据陀螺的输出建立导航坐标系,根据加速度计的输出解算出运动体在导航坐标系中的速度和位置。惯性导航系统中的陀螺仪用来形成一个导航坐标系,使加速度计的测量轴稳定在该坐标系中,并给出航向和姿态角;加速度计用来测量运动体的加速度,经过对时间的一次积分得到速度,速度再经过对时间的一次积分即可得到位移。The inertial navigation system belongs to the reckoning navigation method, that is, the position of the next point is calculated from the position of a known point according to the heading angle and speed of the moving body measured continuously, so the current position of the moving body can be continuously measured. It is a navigation parameter calculation system with gyroscope and accelerometer as sensitive devices. The system establishes a navigation coordinate system according to the output of the gyroscope, and calculates the speed and position of the moving body in the navigation coordinate system according to the output of the accelerometer. The gyroscope in the inertial navigation system is used to form a navigation coordinate system, so that the measurement axis of the accelerometer is stabilized in the coordinate system, and the heading and attitude angle are given; The velocity can be obtained by one integration, and the displacement can be obtained by integrating the velocity once over time.
整车控制器(Vehicle Control Unit,VCU):VCU目前常用于新能源汽车中,作为新能源汽车的中央控制单元,是整个控制系统的核心,VCU采集电机及电池状态,采集加速踏板信号、制动踏板信号、执行器及传感器信号,根据驾驶员的意图综合分析做出相应判定后,监控下层的各部件控制器的动作,它负责汽车的正常行驶、制动能量回馈、整车发动机及动力电池的能量管理、网络管理、故障诊断及处理、车辆状态监控等,从而保证整车在较好的动力性、较高经济性及可靠性状态下正常稳定地工作。Vehicle Control Unit (VCU): VCU is currently commonly used in new energy vehicles. As the central control unit of new energy vehicles, it is the core of the entire control system. VCU collects motor and battery status, collects accelerator pedal signals, controls Actuator signals, actuators and sensor signals are used to comprehensively analyze the driver's intention to make corresponding judgments, and then monitor the actions of the lower-level component controllers, which are responsible for the normal driving of the car, the feedback of braking energy, the engine and power of the vehicle. Battery energy management, network management, fault diagnosis and processing, vehicle status monitoring, etc., so as to ensure the normal and stable operation of the vehicle in a state of better power, higher economy and reliability.
本申请实施例提供一种工程机械运动姿态控制方法、装置、设备和存储介质,以下分别进行详细说明。The embodiments of the present application provide a method, device, device, and storage medium for controlling the motion and attitude of a construction machine, which will be described in detail below.
请参阅图1,图1为本申请实施例所提供的工程机械运动姿态控制系统的一个场景示意图,该工程机械运动姿态控制系统可以包括:远程控制器100、整车控制器200、目标运动部件控制器300、目标运动部件的对应电机400以及目标运动部件的对应电机400的编码器(Motor Encoder,ME)500,目标运动部件控制器300中集成有工程机械运动姿态控制装置。请参考图1,远程控制器100、整车控制器200和目标运动部件控制器300之间通过现场总线进行数据传输,目标运动部件的对应电机400以及目标运动部件的对应电机400的编码器500之间可以通过通信数据线进行通信连接。需要说明的是,本申请实施例的目标运动部件控制器300可以是多个,每一个目标运动部件控制器300对应于工程机械的一个运动部件,因此目标运动部件控制器300的具体数量根据实际应用场景进行选择,具体此处不做限定。Please refer to FIG. 1. FIG. 1 is a schematic diagram of a scene of a construction machinery motion attitude control system provided by an embodiment of the application. The construction machinery motion attitude control system may include: a remote controller 100, a vehicle controller 200, and a target moving part The controller 300, the motor 400 corresponding to the target moving part, and the encoder (Motor Encoder, ME) 500 corresponding to the motor 400 of the target moving part, the target moving part controller 300 is integrated with a construction machinery motion attitude control device. Referring to FIG. 1 , data transmission is performed between the remote controller 100 , the vehicle controller 200 and the target moving part controller 300 through the field bus. The motor 400 corresponding to the target moving part and the encoder 500 corresponding to the motor 400 of the target moving part The communication connection can be made through the communication data line. It should be noted that there may be multiple target moving part controllers 300 in this embodiment of the present application, and each target moving part controller 300 corresponds to one moving part of the construction machinery, so the specific number of target moving part controllers 300 is based on actual The application scenario is selected, which is not limited here.
本申请实施例中,远程控制器100可以是一个通用计算机设备或者是一个专用计算机设备。在具体实现中远程控制器100可以是台式机、便携式电脑、网络服务器、掌上电脑(Personal Digital Assistant,PDA)、移动手机、平板电脑、通信设备、嵌入式设备等,本实施例不限定远程控制器100的类型。In this embodiment of the present application, the remote controller 100 may be a general-purpose computer device or a special-purpose computer device. In a specific implementation, the remote controller 100 may be a desktop computer, a portable computer, a network server, a PDA (Personal Digital Assistant, PDA), a mobile phone, a tablet computer, a communication device, an embedded device, etc. This embodiment does not limit the remote control type of device 100.
本申请实施例中,整车控制器200与远程控制器100之间通过现场总线进行数据传输,操作人员通过在远程控制器100上设置目标运动部件的预设运动参数,远程控制器100接收该预设运动参数,并通过现场总线将该预设运动参数传输到整车控制器200。本实施例中的整车控制器200同样可以是一个通用计算机设备或者是一个专用计算机设备。在具体实现中整车控制器200可以是台式机、便携式电脑、网络服务器、掌上电脑、移动手机、平板电脑、通信设备、嵌入式设备等,本实施例不限定整车控制器200的类型。In the embodiment of the present application, data transmission is performed between the vehicle controller 200 and the remote controller 100 through the field bus, and the operator sets the preset motion parameters of the target moving part on the remote controller 100, and the remote controller 100 receives the The preset motion parameters are preset, and the preset motion parameters are transmitted to the vehicle controller 200 through the field bus. The vehicle controller 200 in this embodiment can also be a general-purpose computer device or a dedicated computer device. In a specific implementation, the vehicle controller 200 may be a desktop computer, a portable computer, a network server, a handheld computer, a mobile phone, a tablet computer, a communication device, an embedded device, etc. This embodiment does not limit the type of the vehicle controller 200 .
本申请实施例中,目标运动部件控制器300主要用于接收通过现场总线传输的目标运动部件的预设运动参数;根据所述目标运动部件的预设运动参数,控制所述目标运动部件对应的电机400工作;接收所述电机400的编码器500的反馈信号;解析所述编码器500的反馈信号,得到所述目标运动部件的实际运动参数;将所述目标运动部件的实际运动参数与所述目标运动部件的预设运动参数进行比较,得到比较结果;根据所述比较结果对所述目标运动部件的运动姿态进行修正。In the embodiment of the present application, the target moving part controller 300 is mainly used to receive the preset motion parameters of the target moving part transmitted through the field bus; according to the preset motion parameters of the target moving part, control the corresponding The motor 400 works; the feedback signal of the encoder 500 of the motor 400 is received; the feedback signal of the encoder 500 is analyzed to obtain the actual motion parameters of the target moving part; The preset motion parameters of the target moving part are compared to obtain a comparison result; the motion posture of the target moving part is corrected according to the comparison result.
本申请实施例中,目标运动部件控制器300可以是一个专用计算机设备,在具体实现中目标运动部件控制器300可以是嵌入式设备、专用集成设备等,本实施例不限定目标运动部件控制器300的类型。In this embodiment of the present application, the target moving part controller 300 may be a dedicated computer device. In a specific implementation, the target moving part controller 300 may be an embedded device, a dedicated integrated device, etc. This embodiment does not limit the target moving part controller 300 types.
本申请实施例中,目标运动部件的对应电机400可以是目前常用的电机种类中的一种,例如,伺服电机、步进电机等;目标运动部件的对应电机400的编码器500可以是目前常用的编码器种类中的一种,例如,绝对值编码器、增量编码器、旋转变压器等,本实施例不限定电机400以及编码器500的类型。In the embodiment of the present application, the motor 400 corresponding to the target moving part may be one of the types of motors commonly used at present, such as a servo motor, a stepping motor, etc.; the encoder 500 corresponding to the motor 400 of the target moving part may be commonly used at present One of the types of encoders, such as an absolute encoder, an incremental encoder, a resolver, etc. This embodiment does not limit the types of the motor 400 and the encoder 500 .
本领域技术人员可以理解,图1中示出的应用环境,仅仅是本申请方案的一种应用场景,并不构成对本申请方案应用场景的限定,其他的应用环境还可以包括比图1中所示更多的目标运动部件控制器300、电机400以及编码器500,例如图1中仅示出1个目标运动部件控制器300,可以理解的,该工程机械运动 姿态控制系统还可以包括一个或多个与整车控制器200通信连接的其他目标运动部件控制器,具体此处不做限定。Those skilled in the art can understand that the application environment shown in FIG. 1 is only an application scenario of the solution of the present application, and does not constitute a limitation on the application scenario of the solution of the present application. More target moving part controllers 300, motors 400 and encoders 500 are shown. For example, only one target moving part controller 300 is shown in FIG. 1. It is understood that the construction machinery motion attitude control system may also include one or A plurality of other target moving part controllers communicatively connected to the vehicle controller 200 are not specifically limited here.
需要说明的是,图1所示的工程机械运动姿态控制系统的场景示意图仅仅是一个示例,本申请实施例描述的工程机械运动姿态控制系统以及场景是为了更加清楚的说明本申请实施例的技术方案,并不构成对于本申请实施例提供的技术方案的限定,本领域普通技术人员可知,随着工程机械运动姿态控制系统的演变和新业务场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。It should be noted that the schematic diagram of the scene of the construction machinery motion attitude control system shown in FIG. 1 is only an example, and the construction machinery motion attitude control system and the scene described in the embodiments of the present application are for the purpose of more clearly explaining the technology of the embodiments of the present application. The solution does not constitute a limitation on the technical solutions provided by the embodiments of the present application. Those of ordinary skill in the art know that with the evolution of the motion attitude control system of construction machinery and the emergence of new business scenarios, the technical solutions provided by the embodiments of the present application are suitable for Similar technical issues apply.
首先,本申请实施例提供一种工程机械运动姿态控制方法,该工程机械运动姿态控制方法的执行主体为工程机械运动姿态控制装置,该工程机械运动姿态控制装置应用于目标运动部件控制器300,该目标运动部件控制器300位于工程机械运动姿态控制系统,该工程机械运动姿态控制方法包括:接收通过现场总线传输的目标运动部件的预设运动参数;根据所述目标运动部件的预设运动参数,控制所述目标运动部件对应的电机400工作;接收所述电机400的编码器500的反馈信号;解析所述编码器500的反馈信号,得到所述目标运动部件的实际运动参数;将所述目标运动部件的实际运动参数与所述目标运动部件的预设运动参数进行比较,得到比较结果;根据所述比较结果对所述目标运动部件的运动姿态进行修正。First, an embodiment of the present application provides a method for controlling the motion and attitude of a construction machine. The execution body of the method for controlling the motion and attitude of the construction machine is a device for controlling the motion and attitude of the construction machine. The target moving part controller 300 is located in a construction machinery movement attitude control system, and the construction machinery movement attitude control method includes: receiving preset movement parameters of the target moving part transmitted through a field bus; according to the preset movement parameters of the target moving part , control the motor 400 corresponding to the target moving part to work; receive the feedback signal of the encoder 500 of the motor 400; analyze the feedback signal of the encoder 500 to obtain the actual motion parameters of the target moving part; The actual motion parameter of the target moving part is compared with the preset motion parameter of the target moving part to obtain a comparison result; the motion posture of the target moving part is corrected according to the comparison result.
如图2所示,为本申请实施例中工程机械运动姿态控制方法的一个实施例流程示意图,该工程机械运动姿态控制方法包括:As shown in FIG. 2 , it is a schematic flowchart of an embodiment of the method for controlling the motion and attitude of a construction machine in the embodiment of the present application. The method for controlling the motion and attitude of the construction machine includes:
201、接收通过现场总线传输的目标运动部件的预设运动参数。201. Receive preset motion parameters of the target motion component transmitted through the field bus.
本实施例中,操作人员通过在远程控制器100上设置目标运动部件的预设运动参数,远程控制器100接收到该预设运动参数,并通过现场总线将该预设运动参数传输到与其通信的整车控制器200,整车控制器200接收到该预设运动参数,对其进行分析,判断该预设运动参数所对应的运动部件的类型,然后将该预设运动参数传输到相应的目标运动部件控制器300。本申请实施例中的现场总线采用控制器局域网络(Control Area Network,CAN)总线,需要说明的是,其他类型的现场总线同样适用于本申请,具体此处不做限定。In this embodiment, the operator sets the preset motion parameters of the target moving part on the remote controller 100, the remote controller 100 receives the preset motion parameters, and transmits the preset motion parameters to communicate with it through the field bus The whole vehicle controller 200, the whole vehicle controller 200 receives the preset motion parameter, analyzes it, judges the type of the moving part corresponding to the preset motion parameter, and then transmits the preset motion parameter to the corresponding Target moving part controller 300 . The field bus in the embodiment of the present application adopts a controller area network (Control Area Network, CAN) bus. It should be noted that other types of field bus are also applicable to the present application, which is not specifically limited here.
在一个具体实施方式中,目标运动部件的预设运动参数包括目标运动部件 的运动方向、运动速度、位移等,需要说明的是,接收目标运动部件的预设运动参数的方式可以是被动接收,即当整车控制器200向目标运动部件控制器300发送数据时接收,也可以是按照一定的时间间隔主动获取,比如设置每隔30分钟目标运动部件控制器300主动向整车控制器200发起访问,获取目标运动部件的预设运动参数,当预设运动参数有变化时,便重新进行获取替换当前参数,若预设运动参数没有变化,则保持当前参数不变,预设运动参数的获取方式具体此处不做限定。In a specific embodiment, the preset motion parameters of the target moving part include the moving direction, motion speed, displacement, etc. of the target moving part. It should be noted that the method of receiving the preset motion parameters of the target moving part may be passive reception, That is, when the vehicle controller 200 sends data to the target moving part controller 300, it can be received, or it can be acquired actively at a certain time interval. Access to obtain the preset motion parameters of the target moving part. When the preset motion parameters change, it will re-acquire and replace the current parameters. If the preset motion parameters have not changed, the current parameters will remain unchanged, and the preset motion parameters will be obtained. The specific method is not limited here.
202、根据所述目标运动部件的预设运动参数,控制所述目标运动部件对应的电机400工作。202. Control the motor 400 corresponding to the target moving part to work according to the preset motion parameters of the target moving part.
本实施例中,工程机械的一个运动部件对应于一个运动部件控制器,一个运动部件控制器对应于一个电机,每一个电机都配备有一个对应的编码器,因此,运动部件、运动部件控制器、运动部件的对应电机以及运动部件的对应电机的编码器存在一一对应的关系。当目标运动部件控制器300接收到目标运动部件的预设运动参数后,对其进行分析,根据分析结果控制该目标运动部件对应的电机400工作,本实施例中分析结果可以是电机400的应转圈数、转速、加速度等。In this embodiment, one moving part of the construction machinery corresponds to one moving part controller, one moving part controller corresponds to one motor, and each motor is equipped with a corresponding encoder. Therefore, the moving part, the moving part controller There is a one-to-one correspondence between the motors corresponding to the moving parts and the encoders corresponding to the motors of the moving parts. After the target moving part controller 300 receives the preset motion parameters of the target moving part, it analyzes it, and controls the motor 400 corresponding to the target moving part to work according to the analysis result. In this embodiment, the analysis result may be the application of the motor 400 Number of turns, speed, acceleration, etc.
203、接收所述电机400的编码器500的反馈信号。203 . Receive a feedback signal from the encoder 500 of the motor 400 .
由于本申请实施例中,工程机械的运动部件、运动部件控制器、运动部件的对应电机以及运动部件的对应电机的编码器存在一一对应的关系,因此,当目标运动部件的对应电机400开始工作之后,电机400的编码器500便开始实时对该电机的工作状态进行监测,并将监测到的工作状态参数反馈到目标运动部件控制器300,此处的工作状态参数可以是电机400的实际所转圈数、实际转速、实际转动加速度等。Since in the embodiment of the present application, there is a one-to-one correspondence between the moving parts of the construction machinery, the moving part controllers, the motors corresponding to the moving parts, and the encoders corresponding to the motors of the moving parts, therefore, when the motor 400 corresponding to the target moving parts starts After working, the encoder 500 of the motor 400 starts to monitor the working state of the motor in real time, and feeds the monitored working state parameters to the target moving part controller 300, where the working state parameters can be the actual working state of the motor 400. The number of turns, actual rotational speed, actual rotational acceleration, etc.
204、解析所述编码器500的反馈信号,得到所述目标运动部件的实际运动参数。204. Analyze the feedback signal of the encoder 500 to obtain the actual motion parameter of the target moving part.
本实施例中,目标运动部件控制器300接收到目标运动部件的对应电机400的编码器500的反馈信号后,对该反馈信号进行解析,通过相关的运算换算,计算得到目标运动部件的实际运动参数,此处的实际运动参数,可以包括目标运动部件的实际运动方向、实际运动速度、实际运动加速度等。In this embodiment, after receiving the feedback signal of the encoder 500 of the corresponding motor 400 of the target moving part, the controller 300 of the target moving part analyzes the feedback signal, and calculates the actual motion of the target moving part through relevant calculation and conversion. The parameter, the actual motion parameter here, may include the actual motion direction, actual motion speed, actual motion acceleration, etc. of the target moving component.
205、将所述目标运动部件的实际运动参数与所述目标运动部件的预设运动参数进行比较,得到比较结果。205. Compare the actual motion parameter of the target moving part with the preset motion parameter of the target moving part to obtain a comparison result.
本申请实施例中,目标运动部件控制器300对其所接收到的来自编码器500的反馈信号所推算的实际运动参数与来自整车控制器200的预设运动参数进行比较,得到比较结果,该比较结果反映目标运动部件的实际运动与预设目标之间的差异。In the embodiment of the present application, the target moving part controller 300 compares the actual motion parameter estimated by the feedback signal from the encoder 500 and the preset motion parameter from the vehicle controller 200 to obtain the comparison result, The comparison result reflects the difference between the actual motion of the target moving part and the preset target.
206、根据所述比较结果对所述目标运动部件的运动姿态进行修正。206. Correct the motion posture of the target moving part according to the comparison result.
本申请实施例中,目标运动部件控制器300根据步骤205得到的比较结果,判断需要对目标运动部件对应的电机400的一个或一些工作参数进行调整,然后修正其当前工作参数,使得目标运动部件的运动与预设相符,完成对目标运动部件的运动姿态的修正。In this embodiment of the present application, the target moving part controller 300 determines that one or some working parameters of the motor 400 corresponding to the target moving part need to be adjusted according to the comparison result obtained in step 205, and then corrects its current working parameters so that the target moving part needs to be adjusted. The movement of the target is consistent with the preset, and the correction of the movement posture of the target moving part is completed.
本申请实施例中,采用线控控制方式,利用现场总线来传输控制数据进而对目标运动部件对应的电机400的运行进行控制,并且通过目标运动部件对应的电机400的编码器500对目标运动部件的运动参数实时进行反馈监测,以便对目标运动部件的运动姿态进行实时修正,实现了无人控制,大大提高了对于工程机械运动部件的控制精度。In the embodiment of the present application, the wire control method is adopted, and the field bus is used to transmit control data to control the operation of the motor 400 corresponding to the target moving part, and the target moving part is controlled by the encoder 500 of the motor 400 corresponding to the target moving part. The real-time feedback monitoring of the motion parameters of the machine is carried out in order to correct the motion posture of the target moving parts in real time, realize unmanned control, and greatly improve the control accuracy of the moving parts of construction machinery.
如图3所示,在本申请一些实施例中,所述步骤202中所述根据所述目标运动部件的预设运动参数,控制所述目标运动部件对应的电机400工作,可以进一步包括:As shown in FIG. 3 , in some embodiments of the present application, the step 202 of controlling the motor 400 corresponding to the target moving part to work according to the preset motion parameters of the target moving part may further include:
301、根据所述目标运动部件的预设运动参数,换算得到所述目标运动部件对应的电机400的理想工作参数。301. According to preset motion parameters of the target moving part, convert to obtain ideal working parameters of the motor 400 corresponding to the target moving part.
在一个具体实施方式中,目标运动部件对应的电机400的轴承上套接有主动减速齿轮,目标运动部件连接有与该主动减速齿轮适配的从动减速齿轮,当电机400转动时,套接在其轴承上的主动减速齿轮会随轴承一起转动,该主动减速齿轮便会带动从动减速齿轮转动,进而带动目标运动部件运动,因此,目标运动部件的预设运动参数,例如预设运动方向、预设运动速度、预设运动加速度等,需要经过与主动减速齿轮及从动减速齿轮的参数换算后,才能得到电机400的理想工作参数,比如理想转动方向、理想转动圈数、理想转动速度等。In a specific embodiment, the bearing of the motor 400 corresponding to the target moving part is sleeved with a drive reduction gear, and the target moving part is connected with a driven reduction gear adapted to the drive reduction gear. When the motor 400 rotates, the sleeve is connected The driving reduction gear on its bearing will rotate with the bearing, and the driving reduction gear will drive the driven reduction gear to rotate, thereby driving the target moving part to move. Therefore, the preset motion parameters of the target moving part, such as the preset movement direction , preset motion speed, preset motion acceleration, etc., need to be converted with the parameters of the driving reduction gear and the driven reduction gear to obtain the ideal working parameters of the motor 400, such as the ideal rotation direction, ideal rotation number, ideal rotation speed Wait.
302、根据所述电机400的理想工作参数,控制所述电机400工作。302 . Control the motor 400 to work according to the ideal working parameters of the motor 400 .
本实施例中,目标运动部件控制器300根据步骤301中得到的理想工作参数向电机400发送控制指令,通过该控制指令控制电机400工作。In this embodiment, the target moving part controller 300 sends a control command to the motor 400 according to the ideal working parameters obtained in step 301, and controls the motor 400 to work through the control command.
如图4所示,在本申请一些实施例中,所述步骤204中所述解析所述电机400的编码器500的反馈信号,得到所述目标运动部件的实际运动参数,可以进一步包括:As shown in FIG. 4 , in some embodiments of the present application, in the step 204, the feedback signal of the encoder 500 of the motor 400 is analyzed to obtain the actual motion parameters of the target moving part, which may further include:
401、解析所述电机400的编码器500的反馈信号,得到所述电机400的实际工作参数。401 . Analyze the feedback signal of the encoder 500 of the motor 400 to obtain the actual working parameters of the motor 400 .
在一个具体实施方式中,编码器500的反馈信号能够反映该电机的实际工作参数,例如实际所转圈数、实际旋转方向、实际转速等。In a specific embodiment, the feedback signal of the encoder 500 can reflect the actual working parameters of the motor, such as the actual number of turns, the actual rotation direction, the actual rotational speed, and the like.
402、根据所述电机400的实际工作参数,得到所述目标运动部件的实际运动参数。402. Obtain the actual motion parameters of the target moving part according to the actual working parameters of the motor 400.
与步骤301中情况相同,本实施例的目标运动部件对应的电机400的轴承上套接有主动减速齿轮,目标运动部件连接有与该主动减速齿轮适配的从动减速齿轮,当电机400转动时,套接在其轴承上的主动减速齿轮会随轴承一起转动,该主动减速齿轮便会带动从动减速齿轮转动,进而带动目标运动部件运动,因此,电机400的实际工作参数,例如实际转动方向、实际转动速度、实际转动圈数等,需要经过与主动减速齿轮及从动减速齿轮的参数换算后,才能得到目标运动部件的实际运动参数,比如实际运动方向、实际运动速度、实际运动加速度等。The same as the situation in step 301, the bearing of the motor 400 corresponding to the target moving part in this embodiment is sleeved with an active reduction gear, and the target moving part is connected with a driven reduction gear adapted to the active reduction gear. When the motor 400 rotates At the time of rotation, the driving reduction gear sleeved on the bearing will rotate together with the bearing, and the driving reduction gear will drive the driven reduction gear to rotate, thereby driving the target moving part to move. Therefore, the actual working parameters of the motor 400, such as the actual rotation The actual motion parameters of the target moving parts, such as the actual motion direction, actual motion speed, and actual motion acceleration, can only be obtained after conversion with the parameters of the driving reduction gear and the driven reduction gear. Wait.
如图5所示,在本申请一些实施例中,所述目标运动部件为行驶机构,所述目标运动部件对应的电机400为第一电机,所述电机400的编码器500为第一编码器,所述解析所述编码器500的反馈信号,得到所述电机400的实际工作参数;根据所述电机400的实际工作参数,换算得到所述目标运动部件的实际运动参数,进一步可以包括:As shown in FIG. 5 , in some embodiments of the present application, the target moving part is a traveling mechanism, the motor 400 corresponding to the target moving part is a first motor, and an encoder 500 of the motor 400 is a first encoder , by analyzing the feedback signal of the encoder 500 to obtain the actual working parameters of the motor 400; according to the actual working parameters of the motor 400, converting to obtain the actual motion parameters of the target moving part, which may further include:
501、解析所述第一编码器的反馈信号,得到所述第一电机的实际工作参数。501. Analyze the feedback signal of the first encoder to obtain actual working parameters of the first motor.
通常情况下,工程机械的行驶机构是工程机械的4个车轮,本申请实施例为每一个车轮都配备有对应的电机以及编码器,假设第一编码器的反馈信号为:第一编码器输出A相、B相和Z相三个脉冲信号,A相脉冲信号与B相脉冲 信号的相位相差90°,Z相脉冲信号为单圈脉冲输出。通过在一定时间t内捕获A相脉冲信号与B相脉冲信号的值,得到第一电机的实际转速;在一定时间t内比较A相脉冲信号与B相脉冲信号的相位,得到第一电机的实际旋转方向;在一定时间t内累积Z相脉冲信号,得到第一电机实际所转圈数。Usually, the running mechanism of a construction machine is four wheels of the construction machine. In the embodiment of the present application, each wheel is equipped with a corresponding motor and an encoder. It is assumed that the feedback signal of the first encoder is: the output of the first encoder A-phase, B-phase and Z-phase three pulse signals, A-phase pulse signal and B-phase pulse signal have a phase difference of 90°, Z-phase pulse signal is single-turn pulse output. The actual speed of the first motor is obtained by capturing the values of the A-phase pulse signal and the B-phase pulse signal within a certain time t; The actual rotation direction; the Z-phase pulse signal is accumulated within a certain time t to obtain the actual number of turns of the first motor.
502、利用所述第一电机的实际工作参数与所述行驶机构的物理参数进行换算,得到所述行驶机构的实际运动参数,所述行驶机构的实际运动参数包括纵向位移、行驶机构速度和行驶机构加速度。502. Convert the actual working parameters of the first motor and the physical parameters of the traveling mechanism to obtain the actual motion parameters of the traveling mechanism, where the actual motion parameters of the traveling mechanism include longitudinal displacement, traveling mechanism speed, and traveling mechanism. mechanism acceleration.
本申请实施例中,行驶机构的物理参数即是工程机械的车轮的物理参数,假设车轮半径为R,第一减速比为η 1,第一主动减速齿轮:第一从动减速齿轮=1:η 1,车轮纵向位移为S 1,车轮速度为V 1,车轮加速度为aa 1,第一电机的实际转速为n 1,第一电机实际所转圈数为z 1,每0.5s更新车轮加速度aa 1,则: In the embodiment of the present application, the physical parameters of the running mechanism are the physical parameters of the wheels of the construction machinery, assuming that the wheel radius is R, the first reduction ratio is η 1 , the first driving reduction gear: the first driven reduction gear=1: η 1 , the longitudinal displacement of the wheel is S 1 , the wheel speed is V 1 , the wheel acceleration is aa 1 , the actual rotational speed of the first motor is n 1 , the actual number of revolutions of the first motor is z 1 , and the wheel acceleration aa is updated every 0.5s 1 , then:
S 1=2πR×z 11S 1 =2πR×z 11 ;
V 1=n 11V 1 =n 11 ;
aa 1=|V 11-V 12|/0.5S 1aa 1 =|V 11 -V 12 |/0.5S 1 ;
其中,V 11与V 12分别为0.5s前和0.5s后的车轮速度; Among them, V 11 and V 12 are the wheel speeds before 0.5s and after 0.5s respectively;
由上述公式得到车轮的实际运动参数,例如车轮纵向位移S 1、车轮速度V 1及车轮加速度aa 1,从而得到行驶机构的实际运动参数,如行驶机构纵向位移、行驶机构速度和行驶机构加速度。 The actual motion parameters of the wheel, such as the wheel longitudinal displacement S 1 , the wheel speed V 1 and the wheel acceleration aa 1 , are obtained from the above formula, so as to obtain the actual motion parameters of the running gear, such as the longitudinal displacement of the running gear, the running gear speed and the running gear acceleration.
本申请实施例中,可以通过行驶机构的实际运动参数判断工程车辆是否出现打滑或空转等异常状态,具体为:工程车辆在正常行驶状态下时,4个车轮的速度大致相等,若出现其中一个车轮的速度远大于其他三个车轮的速度,则可判断当前该车轮出现空转或打滑现象。In the embodiment of the present application, it is possible to judge whether the construction vehicle has an abnormal state such as slippage or idling through the actual motion parameters of the running mechanism. Specifically, when the construction vehicle is in a normal driving state, the speeds of the four wheels are approximately equal. If the speed of the wheel is much higher than the speed of the other three wheels, it can be judged that the wheel is idling or slipping.
如图6所示,在本申请一些实施例中,所述目标运动部件为转向机构,所述目标运动部件对应的电机400为第二电机,所述电机400的编码器500为第二编码器,所述解析所述编码器500的反馈信号,得到所述电机400的实际工作参数;根据所述电机400的实际工作参数,得到所述目标运动部件的实际运动参数,进一步可以包括:As shown in FIG. 6 , in some embodiments of the present application, the target moving part is a steering mechanism, the motor 400 corresponding to the target moving part is a second motor, and the encoder 500 of the motor 400 is a second encoder , by analyzing the feedback signal of the encoder 500 to obtain the actual working parameters of the motor 400; according to the actual working parameters of the motor 400, obtaining the actual motion parameters of the target moving part, which may further include:
601、解析所述第二编码器的反馈信号,得到所述第二电机的实际工作参数。601. Analyze the feedback signal of the second encoder to obtain actual working parameters of the second motor.
在一个具体实施方式中,工程机械的前轮中的一个或两个具有转向功能,本申请实施例设定两个前轮均具有转向功能,因此两个前轮均为转向车轮,构成本实施例的转向机构,为每一个转向车轮都配备有对应的电机以及编码器,转向车轮连接有转向电动缸的转向丝杠,假设第二编码器的反馈信号为:第二编码器输出A相、B相和Z相三个脉冲信号,A相脉冲信号与B相脉冲信号的相位相差90°,Z相脉冲信号为单圈脉冲输出。通过在一定时间t内累积Z相脉冲信号,得到第二电机实际所转圈数,根据第二电机实际所转圈数计算得到转向丝杠位移。In a specific implementation, one or both of the front wheels of the construction machine have a steering function. In the embodiment of the present application, it is assumed that both front wheels have a steering function, so both front wheels are steering wheels, which constitutes this embodiment. In the steering mechanism of the example, each steering wheel is equipped with a corresponding motor and an encoder, and the steering wheel is connected with the steering screw of the steering electric cylinder. Assume that the feedback signal of the second encoder is: the second encoder outputs A phase, B-phase and Z-phase three pulse signals, A-phase pulse signal and B-phase pulse signal have a phase difference of 90°, Z-phase pulse signal is a single-turn pulse output. By accumulating the Z-phase pulse signal within a certain time t, the actual number of turns of the second motor is obtained, and the displacement of the steering screw is calculated according to the actual number of turns of the second motor.
602、利用所述第二电机的实际工作参数与所述转向机构的物理参数进行换算,得到所述转向机构的实际运动参数,所述转向机构的实际运动参数包括转向角度、转向机构角速度和转向机构角加速度。602. Convert the actual working parameters of the second motor and the physical parameters of the steering mechanism to obtain the actual motion parameters of the steering mechanism, where the actual motion parameters of the steering mechanism include steering angle, steering mechanism angular velocity and steering Mechanism angular acceleration.
参照图7,AC为转向电动缸的转向丝杠,该转向丝杠可伸缩,O点为铰接点,由图7(b)可得出,转向丝杠由AC位置运动到AB位置,将图7(b)等效为图7(a),根据转向结构可知AC、AO、BO、CO,而AB=AC±转向丝杠位移,根据三角函数余弦定理可得:Referring to Figure 7, AC is the steering screw of the steering electric cylinder. The steering screw is retractable, and point O is the hinge point. It can be seen from Figure 7(b) that the steering screw moves from the AC position to the AB position. 7(b) is equivalent to Fig. 7(a). According to the steering structure, AC, AO, BO, CO can be known, and AB=AC ± steering screw displacement. According to the cosine theorem of trigonometric functions, it can be obtained:
Figure PCTCN2021109043-appb-000001
Figure PCTCN2021109043-appb-000001
Figure PCTCN2021109043-appb-000002
Figure PCTCN2021109043-appb-000002
c=a-bc=a-b
其中,转向角度为c,在时间精度t内,计算转向车轮角速度α和转向车轮角加速度β,具体为:α=(c1-c2)|t,β=(α1-α2)/t,其中,c1、c2、α1、α2分别为时间精度t后的转向角度、时间精度t前的转向角度、时间精度t后的转向车轮角速度和时间精度t前的转向车轮角速度。Among them, the steering angle is c, and within the time precision t, the steering wheel angular velocity α and the steering wheel angular acceleration β are calculated, specifically: α=(c1-c2)|t, β=(α1-α2)/t, where, c1, c2, α1, and α2 are the steering angle after the time precision t, the steering angle before the time precision t, the steered wheel angular velocity after the time precision t, and the steered wheel angular velocity before the time precision t.
由上述公式即得到转向车轮的实际运动参数,例如转向角度c、转向车轮角速度α和转向车轮角加速度β,从而得到转向机构的实际运动参数,如转向角度、转向机构角速度和转向机构角加速度。The actual motion parameters of the steering wheel, such as the steering angle c, the steering wheel angular velocity α and the steering wheel angular acceleration β, are obtained from the above formula, so as to obtain the actual motion parameters of the steering mechanism, such as the steering angle, the steering mechanism angular velocity and the steering mechanism angular acceleration.
如图8所示,在本申请一些实施例中,所述目标运动部件为装载机构,所述目标运动部件对应的电机400为第三电机,所述电机400的编码器500为第三 编码器,所述解析所述编码器500的反馈信号,得到所述电机400的实际工作参数;根据所述电机400的实际工作参数,得到所述目标运动部件的实际运动参数,进一步可以包括:As shown in FIG. 8 , in some embodiments of the present application, the target moving part is a loading mechanism, the motor 400 corresponding to the target moving part is a third motor, and the encoder 500 of the motor 400 is a third encoder , by analyzing the feedback signal of the encoder 500 to obtain the actual working parameters of the motor 400; according to the actual working parameters of the motor 400, obtaining the actual motion parameters of the target moving part, which may further include:
801、解析所述第三编码器的反馈信号,得到所述第三电机的实际工作参数。801. Analyze the feedback signal of the third encoder to obtain actual working parameters of the third motor.
在一个具体实施方式中,工程机械的装载机构可以是料斗,一般情况下工程机械的料斗配备有一个或两个翻转电机,即第三电机,假设第三编码器的反馈信号为:第三编码器输出A相、B相和Z相三个脉冲信号,A相脉冲信号与B相脉冲信号的相位相差90°,Z相脉冲信号为单圈脉冲输出。通过在一定时间t内捕获A相脉冲信号与B相脉冲信号的值,得到第三电机的实际转速;在一定时间t内比较A相脉冲信号与B相脉冲信号的相位,得到第三电机的实际旋转方向;在一定时间t内累积Z相脉冲信号,得到第三电机实际所转圈数。In a specific embodiment, the loading mechanism of the construction machinery can be a hopper. Generally, the hopper of the construction machinery is equipped with one or two turning motors, that is, the third motor. It is assumed that the feedback signal of the third encoder is: the third encoding The device outputs three pulse signals of A-phase, B-phase and Z-phase. The phase difference between the A-phase pulse signal and the B-phase pulse signal is 90°, and the Z-phase pulse signal is a single-turn pulse output. The actual speed of the third motor is obtained by capturing the values of the A-phase pulse signal and the B-phase pulse signal within a certain time t; The actual rotation direction; the Z-phase pulse signal is accumulated within a certain time t to obtain the actual number of turns of the third motor.
802、利用所述第三电机的实际工作参数与所述装载机构的减速机构参数进行换算,得到所述装载机构的实际运动参数,所述装载机构的实际运动参数包括装载机构运动方向、装载机构运动速度和装载机构当前位置。802. Convert the actual working parameters of the third motor with the parameters of the deceleration mechanism of the loading mechanism to obtain the actual motion parameters of the loading mechanism, where the actual motion parameters of the loading mechanism include the direction of movement of the loading mechanism, the loading mechanism Movement speed and current position of the loading mechanism.
本申请实施例中,装载机构的减速机构包括有装载减速齿轮,第三电机的实际工作参数与所述装载减速齿轮参数进行换算,得到所述装载机构的实际运动参数的方法与步骤502相同,均是通过减速齿轮减速,按照减速比线性缩小,假设料斗垂直位移为S 2,第三减速比为η 2,第三主动减速齿轮:第三从动减速齿轮=1:η 2,料斗速度为V 2,料斗加速度为aa 2,第三电机的实际转速为n 2,第三电机实际所转圈数为z 2,每0.5s更新料斗加速度aa 2,则: In the embodiment of the present application, the deceleration mechanism of the loading mechanism includes a loading deceleration gear, the actual working parameters of the third motor are converted with the parameters of the loading deceleration gear, and the method for obtaining the actual motion parameters of the loading mechanism is the same as step 502, All are decelerated by the reduction gear, which is linearly reduced according to the reduction ratio. Assuming that the vertical displacement of the hopper is S 2 , the third reduction ratio is η 2 , the third driving reduction gear: The third driven reduction gear = 1: η 2 , and the speed of the hopper is V 2 , the hopper acceleration is aa 2 , the actual speed of the third motor is n 2 , the actual number of revolutions of the third motor is z 2 , and the hopper acceleration aa 2 is updated every 0.5s, then:
V 2=n 22V 2 =n 22 ;
aa 2=|V 21-V 22|/0.5S 2aa 2 =|V 21 -V 22 |/0.5S 2 ;
其中,V 21与V 22分别为0.5s前和0.5s后的料斗速度; Among them, V 21 and V 22 are the hopper speeds before and after 0.5s respectively;
根据第三电机的转子当前位置,可以计算得到装载机构当前位置,根据第三编码器从零位到当前位置所发出的脉冲数来计算,例如,第三电机转动一圈所发出的脉冲数为100,而其从零位转到当前位置所发出的脉冲数为40,则第三电机的转子当前位置为0.4z 2,则装载机构当前位置为0.4z 2According to the current position of the rotor of the third motor, the current position of the loading mechanism can be calculated and calculated according to the number of pulses sent by the third encoder from the zero position to the current position. For example, the number of pulses sent by the third motor for one revolution is 100, and the number of pulses sent from the zero position to the current position is 40, the current position of the rotor of the third motor is 0.4z 2 , and the current position of the loading mechanism is 0.4z 2 .
由上述公式得到料斗的实际工作参数,例如料斗运动方向为上翻或下翻、 料斗运动速度V 2、料斗运动加速度aa 2以及料斗当前位置,即得到装载机构的实际运动参数,如装载机构运动方向、装载机构运动速度和装载机构当前位置。 The actual working parameters of the hopper are obtained from the above formula, for example, the movement direction of the hopper is upward or downward, the movement speed of the hopper V 2 , the acceleration of the hopper movement aa 2 and the current position of the hopper, that is, the actual movement parameters of the loading mechanism, such as the movement of the loading mechanism Direction, speed of movement of the loading mechanism and current position of the loading mechanism.
如图9所示,在本申请一些实施例中,所述目标运动部件为举升机构,所述目标运动部件对应的电机400为第四电机,所述电机400的编码器500为第四编码器,所述解析所述编码器500的反馈信号,得到所述电机400的实际工作参数;根据所述电机400的实际工作参数,得到所述目标运动部件的实际运动参数,进一步可以包括:As shown in FIG. 9 , in some embodiments of the present application, the target moving part is a lifting mechanism, the motor 400 corresponding to the target moving part is a fourth motor, and the encoder 500 of the motor 400 is a fourth code The encoder parses the feedback signal of the encoder 500 to obtain the actual working parameters of the motor 400; according to the actual working parameters of the motor 400, obtains the actual motion parameters of the target moving part, which may further include:
901、解析所述第四编码器的反馈信号,得到所述第四电机的实际工作参数。901. Analyze the feedback signal of the fourth encoder to obtain actual working parameters of the fourth motor.
在一个具体实施方式中,工程机械的举升机构可以是工作臂,一般情况下工程机械的工作臂配备有一个或两个举升电机,即第四电机,假设第四编码器的反馈信号为:第四编码器输出A相、B相和Z相三个脉冲信号,A相脉冲信号与B相脉冲信号的相位相差90°,Z相脉冲信号为单圈脉冲输出。通过在一定时间t内捕获A相脉冲信号与B相脉冲信号的值,得到第四电机的实际转速;在一定时间t内比较A相脉冲信号与B相脉冲信号的相位,得到第四电机的实际旋转方向;在一定时间t内累积Z相脉冲信号,得到第四电机实际所转圈数。In a specific embodiment, the lifting mechanism of the construction machinery can be a working arm. Generally, the working arm of the construction machinery is equipped with one or two lifting motors, namely the fourth motor. It is assumed that the feedback signal of the fourth encoder is : The fourth encoder outputs three pulse signals of A-phase, B-phase and Z-phase. The phase difference between the A-phase pulse signal and the B-phase pulse signal is 90°, and the Z-phase pulse signal is a single-turn pulse output. The actual speed of the fourth motor is obtained by capturing the values of the A-phase pulse signal and the B-phase pulse signal within a certain time t; The actual rotation direction; the Z-phase pulse signal is accumulated within a certain time t to obtain the actual number of turns of the fourth motor.
902、利用所述第四电机的实际工作参数与所述举升机构的减速机构参数进行换算,得到所述举升机构的实际运动参数,所述举升机构的实际运动参数包括举升机构运动方向、举升机构运动速度和举升机构当前位置。902. Convert the actual working parameters of the fourth motor with the parameters of the deceleration mechanism of the lifting mechanism to obtain the actual motion parameters of the lifting mechanism, where the actual motion parameters of the lifting mechanism include the motion of the lifting mechanism Direction, lift speed and lift current position.
本申请实施例中,举升机构的减速机构包括有举升减速齿轮,第四电机的实际工作参数与所述举升减速齿轮参数进行换算,得到所述工作臂的实际运动参数的方法同样与步骤502相同,均是通过减速齿轮减速,按照减速比线性缩小,同样的,假设工作臂垂直位移为S 3,第四减速比为η 3,第四主动减速齿轮:第四从动减速齿轮=1:η 3,工作臂速度为V 3,工作臂加速度为aa 3,第四电机的实际转速为n 3,第四电机实际所转圈数为z 3,每0.5s更新车轮加速度aa 3,则: In the embodiment of the present application, the reduction mechanism of the lifting mechanism includes a lifting reduction gear, the actual working parameters of the fourth motor are converted with the parameters of the lifting reduction gear, and the method for obtaining the actual motion parameters of the working arm is the same as the Step 502 is the same, both are decelerated by the reduction gear and linearly reduced according to the reduction ratio. Similarly, assuming that the vertical displacement of the working arm is S 3 , the fourth reduction ratio is η 3 , the fourth driving reduction gear: the fourth driven reduction gear= 1: η 3 , the speed of the working arm is V 3 , the acceleration of the working arm is aa 3 , the actual speed of the fourth motor is n 3 , the actual number of revolutions of the fourth motor is z 3 , and the wheel acceleration aa 3 is updated every 0.5s, then :
V 3=n 33V 3 =n 33 ;
aa 3=|V 31-V 32|/0.5S 3aa 3 =|V 31 -V 32 |/0.5S 3 ;
其中,V 31与V 32分别为0.5s前和0.5s后的工作臂速度; Among them, V 31 and V 32 are the working arm speeds before 0.5s and after 0.5s, respectively;
根据第四电机的转子当前位置,可以计算得到举升机构当前位置,根据第 四编码器从零位到当前位置所发出的脉冲数来计算,例如,第四电机转动一圈所发出的脉冲数为100,而其从零位转到当前位置所发出的脉冲数为30,则第四电机的转子当前位置为0.3z 3,则举升机构当前位置为0.3z 3According to the current position of the rotor of the fourth motor, the current position of the lifting mechanism can be calculated, and it can be calculated according to the number of pulses sent by the fourth encoder from the zero position to the current position, for example, the number of pulses sent by the fourth motor for one revolution is 100, and the number of pulses sent from the zero position to the current position is 30, the current position of the rotor of the fourth motor is 0.3z 3 , and the current position of the lifting mechanism is 0.3z 3 .
由上述公式得到工作臂的实际工作参数,例如工作臂运动方向为上升或下降、工作臂运动速度V 3、工作臂运动加速度aa 3以及工作臂当前位置,即得到举升机构的实际运动参数,如举升机构运动方向、举升机构运动速度和举升机构当前位置。 The actual working parameters of the working arm are obtained from the above formulas, such as whether the working arm movement direction is rising or falling, the working arm movement speed V 3 , the working arm movement acceleration aa 3 and the current position of the working arm, that is, the actual movement parameters of the lifting mechanism are obtained, Such as the moving direction of the lifting mechanism, the moving speed of the lifting mechanism and the current position of the lifting mechanism.
如图10所示,为本申请实施例提供的工程机械运动姿态控制系统的又一个场景示意图,该工程机械运动姿态控制系统中的整车控制器200通信连接有导航定位系统600,所述方法还可以包括:As shown in FIG. 10 , a schematic diagram of another scene of the construction machinery motion attitude control system provided by the embodiment of the application, the vehicle controller 200 in the construction machinery motion attitude control system is communicatively connected with the navigation and positioning system 600 , and the method Can also include:
发送所述目标运动部件的实际运动参数至所述整车控制器200,所述整车控制器200用于将所述实际运动参数与所述导航定位系统600的测量参数进行比对,以实现工程机械的定位以及空转状态检测。Send the actual motion parameters of the target moving parts to the vehicle controller 200, and the vehicle controller 200 is used to compare the actual motion parameters with the measurement parameters of the navigation and positioning system 600 to achieve Positioning and idling state detection of construction machinery.
本申请实施例中,导航定位系统600可以是惯性导航系统,其包括定位接收机和天线,该定位接收机包括定位系统接收处理板卡以及惯性测量单元,该惯性测量单元可以是六轴陀螺仪。导航定位系统600还可以连接有自动驾驶控制器,该自动驾驶控制器可以分别与整车控制器200以及远程控制器100通信连接,导航定位系统600通过惯性测量单元可以得到工程车辆的车速、加速度、位移以及以工程车辆车身为原点的三维坐标系下的车身姿态等信息。整车控制器200接收目标运动部件控制器300传输的目标运动部件的实际运动参数,并将该实际运动参数与来自导航定位系统600的测量参数进行相互映证,可以进一步提高工程车辆的定位精度。特别是在山洞或桥下,失去GPS/GNSS/北斗信号时,通过导航定位系统600的六轴陀螺仪的监测数据,可以预估工程车辆的实际位置。同时,根据上述计算得到的行驶机构实际运动参数比如行驶机构速度与导航定位系统得到的工程车辆的车速进行对比,同样可以检测工程机械是否存在空转。In this embodiment of the present application, the navigation and positioning system 600 may be an inertial navigation system, which includes a positioning receiver and an antenna, the positioning receiver includes a positioning system receiving and processing board and an inertial measurement unit, and the inertial measurement unit may be a six-axis gyroscope . The navigation and positioning system 600 can also be connected with an automatic driving controller, which can be communicated with the vehicle controller 200 and the remote controller 100 respectively. The navigation and positioning system 600 can obtain the vehicle speed and acceleration of the engineering vehicle through the inertial measurement unit. , displacement, and the body posture under the three-dimensional coordinate system with the body of the engineering vehicle as the origin. The vehicle controller 200 receives the actual motion parameters of the target moving parts transmitted by the target moving parts controller 300, and corroborates the actual motion parameters with the measurement parameters from the navigation and positioning system 600, which can further improve the positioning accuracy of the engineering vehicle. . Especially in caves or under bridges, when GPS/GNSS/Beidou signals are lost, the actual position of the construction vehicle can be estimated through the monitoring data of the six-axis gyroscope of the navigation and positioning system 600 . At the same time, by comparing the actual motion parameters of the traveling mechanism obtained by the above calculation, such as the speed of the traveling mechanism, with the speed of the construction vehicle obtained by the navigation and positioning system, it is also possible to detect whether the construction machinery is idling.
为了更好实施本申请实施例中的工程机械运动姿态控制方法,在工程机械运动姿态控制方法基础之上,本申请实施例中还提供一种工程机械运动姿态控制装置,所述工程机械运动姿态控制装置应用于目标运动部件控制器300,所 述目标运动部件控制器300位于工程机械运动姿态控制系统,如图11所示,所述工程机械运动姿态控制装置1100包括:In order to better implement the method for controlling the motion attitude of the construction machinery in the embodiments of the present application, on the basis of the method for controlling the motion attitude of the construction machinery, an embodiment of the present application further provides a device for controlling the motion attitude of the construction machinery, wherein the motion attitude of the construction machinery is The control device is applied to the target moving part controller 300, and the target moving part controller 300 is located in the construction machinery movement attitude control system. As shown in FIG. 11 , the construction machinery movement attitude control device 1100 includes:
第一接收模块1101,用于接收通过现场总线传输的目标运动部件的预设运动参数;The first receiving module 1101 is used for receiving preset motion parameters of the target moving part transmitted through the field bus;
控制模块1102,用于根据所述目标运动部件的预设运动参数,控制所述目标运动部件对应的电机400工作;a control module 1102, configured to control the motor 400 corresponding to the target moving part to work according to the preset motion parameters of the target moving part;
第二接收模块1103,用于接收所述电机400的编码器500的反馈信号;The second receiving module 1103 is configured to receive the feedback signal of the encoder 500 of the motor 400;
解析模块1104,用于解析所述编码器500的反馈信号,得到所述目标运动部件的实际运动参数;The analysis module 1104 is used to analyze the feedback signal of the encoder 500 to obtain the actual motion parameters of the target moving part;
比较模块1105,用于将所述目标运动部件的实际运动参数与所述目标运动部件的预设运动参数进行比较,得到比较结果;a comparison module 1105, configured to compare the actual motion parameter of the target moving part with the preset motion parameter of the target moving part to obtain a comparison result;
修正模块1106,用于根据所述比较结果对所述目标运动部件的运动姿态进行修正。A correction module 1106, configured to correct the motion posture of the target moving part according to the comparison result.
本申请实施例中,控制模块1102采用线控控制方式,利用现场总线来传输控制数据进而对目标运动部件对应的电机400的运行进行控制,并且第二接收模块1103实时接收目编码器500的反馈信号,解析模块1104对反馈信号实时进行解析,对目标运动部件的运动参数进行监测,以便对目标运动部件的运动姿态进行实时修正,实现了无人控制,大大提高了对于工程机械运动部件的控制精度.In the embodiment of the present application, the control module 1102 adopts the wire-controlled control mode, uses the field bus to transmit control data to control the operation of the motor 400 corresponding to the target moving part, and the second receiving module 1103 receives the feedback from the target encoder 500 in real time. Signal, the analysis module 1104 analyzes the feedback signal in real time, and monitors the motion parameters of the target moving parts, so as to correct the motion posture of the target moving parts in real time, realize unmanned control, and greatly improve the control of the moving parts of construction machinery. precision.
在本申请一些实施例中,所述控制模块1102具体用于:In some embodiments of the present application, the control module 1102 is specifically configured to:
根据所述目标运动部件的预设运动参数,得到所述目标运动部件对应的电机400的理想工作参数;According to the preset motion parameters of the target moving part, the ideal working parameters of the motor 400 corresponding to the target moving part are obtained;
根据所述电机400的理想工作参数控制所述目标运动部件的对应电机400工作。The corresponding motor 400 of the target moving part is controlled to work according to the ideal working parameters of the motor 400 .
在本申请一些实施例中,所述解析模块具体用于:In some embodiments of the present application, the parsing module is specifically used for:
解析所述编码器500的反馈信号,得到所述电机400的实际工作参数;Analyze the feedback signal of the encoder 500 to obtain the actual working parameters of the motor 400;
根据所述电机400的实际工作参数,得到所述目标运动部件的实际运动参数。According to the actual working parameters of the motor 400, the actual motion parameters of the target moving part are obtained.
在本申请一些实施例中,所述工程机械运动姿态控制装置1100还包括发送 模块1107,所述发送模块1107具体用于:In some embodiments of the present application, the construction machinery motion attitude control device 1100 further includes a sending module 1107, and the sending module 1107 is specifically used for:
发送所述目标运动部件的实际运动参数至所述整车控制器200,所述整车控制器200用于将所述实际运动参数与所述导航定位系统600的测量参数进行比对,以实现工程机械的定位以及空转状态检测。Send the actual motion parameters of the target moving parts to the vehicle controller 200, and the vehicle controller 200 is used to compare the actual motion parameters with the measurement parameters of the navigation and positioning system 600 to achieve Positioning and idling state detection of construction machinery.
本申请实施例还提供一种设备,其集成了本申请实施例所提供的任一种工程机械运动姿态控制装置,所述设备包括:The embodiments of the present application further provide a device that integrates any of the construction machinery motion attitude control devices provided by the embodiments of the present application, and the device includes:
一个或多个处理器;one or more processors;
存储器;以及memory; and
一个或多个应用程序,其中所述一个或多个应用程序被存储于所述存储器中,并配置为由所述处理器执行上述工程机械运动姿态控制方法实施例中任一实施例中所述的工程机械运动姿态控制方法中的步骤。One or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the processor as described in any one of the foregoing embodiments of the construction machinery motion attitude control method embodiment The steps in the motion attitude control method of construction machinery.
本申请实施例还提供一种设备,其集成了本申请实施例所提供的任一种工程机械运动姿态控制装置。如图12所示,其示出了本申请实施例所涉及的设备的结构示意图,具体来讲:The embodiments of the present application further provide a device that integrates any of the construction machinery motion attitude control devices provided by the embodiments of the present application. As shown in FIG. 12 , it shows a schematic structural diagram of a device involved in an embodiment of the present application, specifically:
该设备可以包括一个或者一个以上处理核心的处理器1201、一个或一个以上计算机可读存储介质的存储器1202、电源1203和输入单元1204等部件。本领域技术人员可以理解,图12中示出的设备结构并不构成对设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。其中:The device may include a processor 1201 of one or more processing cores, a memory 1202 of one or more computer-readable storage media, a power supply 1203 and an input unit 1204 and other components. Those skilled in the art can understand that the device structure shown in FIG. 12 does not constitute a limitation to the device, and may include more or less components than the one shown, or combine some components, or arrange different components. in:
处理器1201是该设备的控制中心,利用各种接口和线路连接整个设备的各个部分,通过运行或执行存储在存储器1202内的软件程序和/或模块,以及调用存储在存储器1202内的数据,执行设备的各种功能和处理数据,从而对设备进行整体监控。可选的,处理器1201可包括一个或多个处理核心;处理器1201可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等,优选的,处理器1201可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1201 中。The processor 1201 is the control center of the device, using various interfaces and lines to connect various parts of the entire device, by running or executing the software programs and/or modules stored in the memory 1202, and calling the data stored in the memory 1202, Execute various functions of the device and process data to monitor the device as a whole. Optionally, the processor 1201 may include one or more processing cores; the processor 1201 may be a central processing unit (Central Processing Unit, CPU), or other general-purpose processors, digital signal processors (Digital Signal Processor, DSP) ), Application Specific Integrated Circuit (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. Preferably, the processor 1201 can integrate an application processor and a modulation and demodulation processor, wherein the application processor mainly processes the operating system, User interface and applications, etc., the modem processor mainly handles wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 1201.
存储器1202可用于存储软件程序以及模块,处理器1201通过运行存储在存储器1202的软件程序以及模块,从而执行各种功能应用以及数据处理。存储器1202可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据服务器的使用所创建的数据等。此外,存储器1202可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。相应地,存储器1202还可以包括存储器控制器,以提供处理器1201对存储器1202的访问。The memory 1202 can be used to store software programs and modules, and the processor 1201 executes various functional applications and data processing by running the software programs and modules stored in the memory 1202 . The memory 1202 may mainly include a stored program area and a stored data area, wherein the stored program area may store an operating system, an application program required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of the server, etc. Additionally, memory 1202 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, memory 1202 may also include a memory controller to provide processor 1201 access to memory 1202 .
设备还包括给各个部件供电的电源1203,优选的,电源1203可以通过电源管理系统与处理器1201逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。电源1203还可以包括一个或一个以上的直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。The device also includes a power supply 1203 for supplying power to various components. Preferably, the power supply 1203 can be logically connected to the processor 1201 through a power management system, so as to manage charging, discharging, and power consumption management functions through the power management system. The power source 1203 may also include one or more DC or AC power sources, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, and any other components.
该设备还可包括输入单元1204,该输入单元1204可用于接收输入的数字或字符信息,以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。The device may also include an input unit 1204 that may be used to receive input numerical or character information and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and functional control.
尽管未示出,服务器还可以包括显示单元等,在此不再赘述。具体在本实施例中,设备中的处理器1201会按照如下的指令,将一个或一个以上的应用程序的进程对应的可执行文件加载到存储器1202中,并由处理器1201来运行存储在存储器1202中的应用程序,从而实现各种功能,如下:Although not shown, the server may also include a display unit and the like, which will not be described herein again. Specifically, in this embodiment, the processor 1201 in the device loads the executable files corresponding to the processes of one or more application programs into the memory 1202 according to the following instructions, and the processor 1201 executes them and stores them in the memory 1202, so as to realize various functions, as follows:
接收通过现场总线传输的目标运动部件的预设运动参数;Receive the preset motion parameters of the target moving part transmitted through the field bus;
根据所述目标运动部件的预设运动参数,控制所述目标运动部件对应的电机400工作;controlling the motor 400 corresponding to the target moving part to work according to the preset motion parameters of the target moving part;
接收所述电机400的编码器500的反馈信号;receiving a feedback signal from the encoder 500 of the motor 400;
解析所述编码器500的反馈信号,得到所述目标运动部件的实际运动参数;Analyzing the feedback signal of the encoder 500 to obtain the actual motion parameters of the target moving part;
将所述目标运动部件的实际运动参数与所述目标运动部件的预设运动参数进行比较,得到比较结果;comparing the actual motion parameter of the target moving part with the preset motion parameter of the target moving part to obtain a comparison result;
根据所述比较结果对所述目标运动部件的运动姿态进行修正。The movement posture of the target moving part is corrected according to the comparison result.
本领域普通技术人员可以理解,上述实施例的各种方法中的全部或部分步骤可以通过指令来完成,或通过指令控制相关的硬件来完成,该指令可以存储于一计算机可读存储介质中,并由处理器进行加载和执行。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above-mentioned embodiments can be completed by instructions, or by instructions that control relevant hardware, and the instructions can be stored in a computer-readable storage medium, and loaded and executed by the processor.
为此,本申请实施例提供一种计算机可读存储介质,该存储介质可以包括:只读存储器(ROM,Read Only Memory)、随机存取记忆体(RAM,Random Access Memory)、磁盘或光盘等。其上存储有计算机程序,所述计算机程序被处理器进行加载,以执行本申请实施例所提供的任一种工程机械运动姿态控制方法中的步骤。例如,所述计算机程序被处理器进行加载可以执行如下步骤:To this end, an embodiment of the present application provides a computer-readable storage medium, and the storage medium may include: a read-only memory (ROM, Read Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, etc. . A computer program is stored thereon, and the computer program is loaded by the processor to execute the steps in any of the construction machinery motion attitude control methods provided in the embodiments of the present application. For example, the computer program being loaded by the processor may perform the following steps:
接收通过现场总线传输的目标运动部件的预设运动参数;Receive the preset motion parameters of the target moving part transmitted through the field bus;
根据所述目标运动部件的预设运动参数,控制所述目标运动部件对应的电机400工作;controlling the motor 400 corresponding to the target moving part to work according to the preset motion parameters of the target moving part;
接收所述电机400的编码器500的反馈信号;receiving a feedback signal from the encoder 500 of the motor 400;
解析所述编码器500的反馈信号,得到所述目标运动部件的实际运动参数;Analyzing the feedback signal of the encoder 500 to obtain the actual motion parameters of the target moving part;
将所述目标运动部件的实际运动参数与所述目标运动部件的预设运动参数进行比较,得到比较结果;comparing the actual motion parameter of the target moving part with the preset motion parameter of the target moving part to obtain a comparison result;
根据所述比较结果对所述目标运动部件的运动姿态进行修正。The movement posture of the target moving part is corrected according to the comparison result.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见上文针对其他实施例的详细描述,此处不再赘述。In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference may be made to the above detailed description of other embodiments, and details are not repeated here.
具体实施时,以上各个单元或结构可以作为独立的实体来实现,也可以进行任意组合,作为同一或若干个实体来实现,以上各个单元或结构的具体实施可参见前面的实施例,在此不再赘述。During specific implementation, the above units or structures can be implemented as independent entities, or can be arbitrarily combined to be implemented as the same or several entities. The specific implementation of the above units or structures can refer to the previous embodiments. Repeat.
以上对本申请实施例所提供的一种工程机械运动姿态控制方法、装置、设备和存储介质进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。A method, device, device, and storage medium for controlling the motion and attitude of a construction machine provided by the embodiments of the present application have been described above in detail. The principles and implementations of the present application are described with specific examples in this article. The description is only used to help understand the method of the present application and its core idea; meanwhile, for those skilled in the art, according to the idea of the present application, there will be changes in the specific embodiment and the scope of application. In summary, The contents of this specification should not be construed as limiting the application.
可以理解的是,对本领域普通技术人员来说,可以根据本申请的技术方案及其发明构思加以等同替换或改变,而所有这些改变或替换都应属于本申请所 附的权利要求的保护范围。It can be understood that for those of ordinary skill in the art, equivalent replacements or changes can be made according to the technical solutions of the present application and the inventive concept thereof, and all these changes or replacements should belong to the protection scope of the appended claims of the present application.

Claims (11)

  1. 一种工程机械运动姿态控制方法,其中,应用于目标运动部件控制器,所述目标运动部件控制器位于工程机械运动姿态控制系统,所述方法包括:A construction machinery motion attitude control method, wherein, applied to a target moving part controller, the target moving part controller is located in a construction machinery motion attitude control system, and the method comprises:
    接收通过现场总线传输的目标运动部件的预设运动参数;Receive the preset motion parameters of the target moving part transmitted through the field bus;
    根据所述目标运动部件的预设运动参数,控制所述目标运动部件对应的电机工作;Control the motor corresponding to the target moving part to work according to the preset motion parameters of the target moving part;
    接收所述电机的编码器的反馈信号;receiving a feedback signal from the encoder of the motor;
    解析所述编码器的反馈信号,得到所述目标运动部件的实际运动参数;Analyzing the feedback signal of the encoder to obtain the actual motion parameters of the target moving part;
    将所述目标运动部件的实际运动参数与所述目标运动部件的预设运动参数进行比较,得到比较结果;comparing the actual motion parameter of the target moving part with the preset motion parameter of the target moving part to obtain a comparison result;
    根据所述比较结果对所述目标运动部件的运动姿态进行修正。The movement posture of the target moving part is corrected according to the comparison result.
  2. 根据权利要求1所述的方法,其中,所述根据所述目标运动部件的预设运动参数,控制所述目标运动部件对应的电机工作,包括:The method according to claim 1, wherein the controlling the motor corresponding to the target moving part to work according to the preset motion parameters of the target moving part comprises:
    根据所述目标运动部件的预设运动参数,换算得到所述目标运动部件对应的电机的理想工作参数;According to the preset motion parameters of the target moving part, the ideal working parameters of the motor corresponding to the target moving part are obtained by conversion;
    根据所述电机的理想工作参数,控制所述电机工作。The motor is controlled to work according to the ideal working parameters of the motor.
  3. 根据权利要求1所述的方法,其中,所述解析所述编码器的反馈信号,得到所述目标运动部件的实际运动参数,包括:The method according to claim 1, wherein the analyzing the feedback signal of the encoder to obtain the actual motion parameter of the target moving part, comprising:
    解析所述编码器的反馈信号,得到所述电机的实际工作参数;Analyze the feedback signal of the encoder to obtain the actual working parameters of the motor;
    根据所述电机的实际工作参数,换算得到所述目标运动部件的实际运动参数。According to the actual working parameters of the motor, the actual motion parameters of the target moving part are obtained by conversion.
  4. 根据权利要求3所述的方法,其中,所述目标运动部件为行驶机构,所述目标运动部件对应的电机为第一电机,所述电机的编码器为第一编码器,所述解析所述编码器的反馈信号,得到所述电机的实际工作参数;根据所述电机的实际工作参数,换算得到所述目标运动部件的实际运动参数,包括:The method according to claim 3, wherein the target moving part is a traveling mechanism, a motor corresponding to the target moving part is a first motor, an encoder of the motor is a first encoder, and the parsing of the The feedback signal of the encoder is used to obtain the actual working parameters of the motor; according to the actual working parameters of the motor, the actual motion parameters of the target moving part are converted and obtained, including:
    解析所述第一编码器的反馈信号,得到所述第一电机的实际工作参数;Analyzing the feedback signal of the first encoder to obtain the actual working parameters of the first motor;
    利用所述第一电机的实际工作参数与所述行驶机构的物理参数进行换算,得到所述行驶机构的实际运动参数,所述行驶机构的实际运动参数包括纵向位移、行驶机构速度和行驶机构加速度。The actual motion parameters of the traveling mechanism are obtained by converting the actual working parameters of the first motor with the physical parameters of the traveling mechanism. The actual motion parameters of the traveling mechanism include longitudinal displacement, traveling mechanism speed and traveling mechanism acceleration. .
  5. 根据权利要求3所述的方法,其中,所述目标运动部件为转向机构,所述目标运动部件对应的电机为第二电机,所述电机的编码器为第二编码器,所述解析所述编码器的反馈信号,得到所述电机的实际工作参数;根据所述电机的实际工作参数,换算得到所述目标运动部件的实际运动参数,包括:The method according to claim 3, wherein the target moving part is a steering mechanism, a motor corresponding to the target moving part is a second motor, an encoder of the motor is a second encoder, and the parsing of the The feedback signal of the encoder is used to obtain the actual working parameters of the motor; according to the actual working parameters of the motor, the actual motion parameters of the target moving part are converted and obtained, including:
    解析所述第二编码器的反馈信号,得到所述第二电机的实际工作参数;Analyzing the feedback signal of the second encoder to obtain the actual working parameters of the second motor;
    利用所述第二电机的实际工作参数与所述转向机构的物理参数进行换算,得到所述转向机构的实际运动参数,所述转向机构的实际运动参数包括转向角度、转向机构角速度和转向机构角加速度。The actual working parameters of the second motor are converted with the physical parameters of the steering mechanism to obtain the actual motion parameters of the steering mechanism. The actual motion parameters of the steering mechanism include the steering angle, the angular velocity of the steering mechanism, and the steering mechanism angle. acceleration.
  6. 根据权利要求3所述的方法,其中,所述目标运动部件为装载机构,所述目标运动部件对应的电机为第三电机,所述电机的编码器为第三编码器,所述解析所述编码器的反馈信号,得到所述电机的实际工作参数;根据所述电机的实际工作参数,换算得到所述目标运动部件的实际运动参数,包括:The method according to claim 3, wherein the target moving part is a loading mechanism, a motor corresponding to the target moving part is a third motor, an encoder of the motor is a third encoder, and the analyzing the The feedback signal of the encoder is used to obtain the actual working parameters of the motor; according to the actual working parameters of the motor, the actual motion parameters of the target moving part are converted and obtained, including:
    解析所述第三编码器的反馈信号,得到所述第三电机的实际工作参数;Analyzing the feedback signal of the third encoder to obtain the actual working parameters of the third motor;
    利用所述第三电机的实际工作参数与所述装载机构的减速机构参数进行换算,得到所述装载机构的实际运动参数,所述装载机构的实际运动参数包括装载机构运动方向、装载机构运动速度和装载机构当前位置。The actual working parameters of the third motor are converted with the parameters of the deceleration mechanism of the loading mechanism to obtain the actual motion parameters of the loading mechanism. The actual motion parameters of the loading mechanism include the direction of movement of the loading mechanism and the movement speed of the loading mechanism and the current position of the loading mechanism.
  7. 根据权利要求3所述的方法,其中,所述目标运动部件为举升机构,所述目标运动部件对应的电机为第四电机,所述电机的编码器为第四编码器,所述解析编码器的反馈信号,得到所述电机的实际工作参数;根据所述电机的实际工作参数,换算得到所述目标运动部件的实际运动参数,包括:The method according to claim 3, wherein the target moving part is a lifting mechanism, the motor corresponding to the target moving part is a fourth motor, an encoder of the motor is a fourth encoder, and the parsing code According to the feedback signal of the motor, the actual working parameters of the motor are obtained; according to the actual working parameters of the motor, the actual motion parameters of the target moving part are obtained by conversion, including:
    解析所述第四编码器的反馈信号,得到所述第四电机的实际工作参数;Analyze the feedback signal of the fourth encoder to obtain the actual working parameters of the fourth motor;
    利用所述第四电机的实际工作参数与所述举升机构的减速机构参数进行换算,得到所述举升机构的实际运动参数,所述举升机构的实际运动参数包括举升机构运动方向、举升机构运动速度和举升机构当前位置。The actual working parameters of the fourth motor are converted with the parameters of the deceleration mechanism of the lifting mechanism to obtain the actual motion parameters of the lifting mechanism. The actual motion parameters of the lifting mechanism include the moving direction of the lifting mechanism, Lifting mechanism movement speed and current position of lifting mechanism.
  8. 根据权利要求1所述的方法,其中,所述工程机械运动姿态控制系统还包括与所述目标运动部件控制器通信连接的整车控制器,所述整车控制器连接有导航定位系统,所述方法还包括:The method according to claim 1, wherein the construction machinery motion attitude control system further comprises a vehicle controller connected in communication with the target moving part controller, the vehicle controller is connected with a navigation and positioning system, and the The method also includes:
    发送所述目标运动部件的实际运动参数至所述整车控制器,所述整车控制器用于将所述实际运动参数与所述导航定位系统的测量参数进行比对,以实现 工程机械的定位以及空转状态检测。Send the actual motion parameters of the target moving parts to the vehicle controller, and the vehicle controller is used to compare the actual motion parameters with the measurement parameters of the navigation and positioning system to realize the positioning of the construction machinery and idling state detection.
  9. 一种工程机械运动姿态控制装置,其中,包括:A motion attitude control device for construction machinery, comprising:
    第一接收模块,用于接收通过现场总线传输的目标运动部件的预设运动参数;The first receiving module is used for receiving preset motion parameters of the target moving part transmitted through the field bus;
    控制模块,用于根据所述目标运动部件的预设运动参数,控制所述目标运动部件对应的电机工作;a control module, configured to control the motor corresponding to the target moving part to work according to the preset motion parameters of the target moving part;
    第二接收模块,用于接收所述电机的编码器的反馈信号;a second receiving module, configured to receive the feedback signal of the encoder of the motor;
    解析模块,用于解析所述编码器的反馈信号,得到所述目标运动部件的实际运动参数;an analysis module for analyzing the feedback signal of the encoder to obtain the actual motion parameters of the target moving part;
    比较模块,用于将所述目标运动部件的实际运动参数与所述目标运动部件的预设运动参数进行比较,得到比较结果;a comparison module, configured to compare the actual motion parameter of the target moving part with the preset motion parameter of the target moving part to obtain a comparison result;
    修正模块,用于根据所述比较结果对所述目标运动部件的运动姿态进行修正。A correction module, configured to correct the motion posture of the target moving part according to the comparison result.
  10. 一种工程机械运动姿态控制设备,其中,包括:A construction machinery motion attitude control device, comprising:
    一个或多个处理器;one or more processors;
    存储器;以及memory; and
    一个或多个应用程序,其中所述一个或多个应用程序被存储于所述存储器中,并配置为由所述处理器执行以实现权利要求1至8中任一项所述的工程机械运动姿态控制方法。One or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the processor to implement the construction machinery motion of any one of claims 1 to 8 Attitude control method.
  11. 一种计算机可读存储介质,其中,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器进行加载,以执行权利要求1至8任一项所述的工程机械运动姿态控制方法中的步骤。A computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and the computer program is loaded by a processor to execute the motion posture of a construction machine according to any one of claims 1 to 8 Steps in the control method.
PCT/CN2021/109043 2020-11-17 2021-07-28 Construction machinery motion attitude control method and apparatus, device, and storage medium WO2022105291A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011286183.XA CN112327955A (en) 2020-11-17 2020-11-17 Method, device and equipment for controlling motion attitude of engineering machinery and storage medium
CN202011286183.X 2020-11-17

Publications (1)

Publication Number Publication Date
WO2022105291A1 true WO2022105291A1 (en) 2022-05-27

Family

ID=74321721

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/109043 WO2022105291A1 (en) 2020-11-17 2021-07-28 Construction machinery motion attitude control method and apparatus, device, and storage medium

Country Status (2)

Country Link
CN (1) CN112327955A (en)
WO (1) WO2022105291A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112327955A (en) * 2020-11-17 2021-02-05 四川鼎鸿智电装备科技有限公司 Method, device and equipment for controlling motion attitude of engineering machinery and storage medium
CN113452121B (en) * 2021-07-14 2023-10-27 三一重机有限公司 Charging control method and device for electric engineering machinery and electric engineering machinery
CN113835773A (en) * 2021-08-10 2021-12-24 深兰科技(上海)有限公司 Parameter configuration method and device of motion module, electronic equipment and storage medium
CN113759990B (en) * 2021-08-24 2022-07-29 达影医疗(中山)有限公司 Control method of mammary machine and mammary machine
CN114098716B (en) * 2021-11-15 2023-11-21 北京航空航天大学 Method and device for acquiring motion gesture

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2166735C1 (en) * 2000-03-21 2001-05-10 Смирнов Борис Михайлович Device for remote determination of coordinates and attitude of object (versions)
CN106155105A (en) * 2015-04-08 2016-11-23 优利科技有限公司 Control device and the clouds terrace system of The Cloud Terrace
CN107132847A (en) * 2017-06-22 2017-09-05 福州大学 A kind of AGV embedded control systems navigated based on tape and control method
CN108132619A (en) * 2016-11-30 2018-06-08 比亚迪股份有限公司 Signal processing method, device and engineering truck
CN109605370A (en) * 2018-12-13 2019-04-12 珠海格力智能装备有限公司 Control method and device, the control system of robot of robot
CN210573381U (en) * 2019-07-26 2020-05-19 上海快仓智能科技有限公司 Automatic guiding vehicle
CN112269362A (en) * 2020-11-17 2021-01-26 四川鼎鸿智电装备科技有限公司 Method, device, equipment and storage medium for controlling working device of engineering vehicle
CN112327955A (en) * 2020-11-17 2021-02-05 四川鼎鸿智电装备科技有限公司 Method, device and equipment for controlling motion attitude of engineering machinery and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102900121B (en) * 2012-09-29 2015-10-14 张国军 A kind of hydraulic pump control for engineering machinery and method
CN103148057B (en) * 2013-02-27 2015-07-29 中联重科股份有限公司 A kind of method, apparatus and system that multi-joint hydraulic press mechanical arm is controlled
CN110221610A (en) * 2019-06-10 2019-09-10 吉林大学 The intelligent operation system and operational method of unmanned engineering machinery
CN110465942A (en) * 2019-07-26 2019-11-19 深圳前海达闼云端智能科技有限公司 Pose compensation method, device, storage medium and electronic equipment
CN111516694A (en) * 2020-05-07 2020-08-11 江苏盛海智能科技有限公司 Gear shifting control method and terminal

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2166735C1 (en) * 2000-03-21 2001-05-10 Смирнов Борис Михайлович Device for remote determination of coordinates and attitude of object (versions)
CN106155105A (en) * 2015-04-08 2016-11-23 优利科技有限公司 Control device and the clouds terrace system of The Cloud Terrace
CN108132619A (en) * 2016-11-30 2018-06-08 比亚迪股份有限公司 Signal processing method, device and engineering truck
CN107132847A (en) * 2017-06-22 2017-09-05 福州大学 A kind of AGV embedded control systems navigated based on tape and control method
CN109605370A (en) * 2018-12-13 2019-04-12 珠海格力智能装备有限公司 Control method and device, the control system of robot of robot
CN210573381U (en) * 2019-07-26 2020-05-19 上海快仓智能科技有限公司 Automatic guiding vehicle
CN112269362A (en) * 2020-11-17 2021-01-26 四川鼎鸿智电装备科技有限公司 Method, device, equipment and storage medium for controlling working device of engineering vehicle
CN112327955A (en) * 2020-11-17 2021-02-05 四川鼎鸿智电装备科技有限公司 Method, device and equipment for controlling motion attitude of engineering machinery and storage medium

Also Published As

Publication number Publication date
CN112327955A (en) 2021-02-05

Similar Documents

Publication Publication Date Title
WO2022105291A1 (en) Construction machinery motion attitude control method and apparatus, device, and storage medium
US11090805B2 (en) Robot
CN112269362A (en) Method, device, equipment and storage medium for controlling working device of engineering vehicle
CN105007012A (en) On-vehicle turntable control system and control method thereof
CN104914864A (en) Mobile device, mobile device control system and control method
CN104656684A (en) Method for controlling tri-axis stabilization tripod head with brushless motors by using single IMU sensors
CN202229764U (en) Triaxial rotary table with dynamic stabilizing function
CN105607653A (en) Holder control method and system
CN102778895B (en) Method for accurate positioning control system under overweight environment
US20200133285A1 (en) Chassis structure for robot and robot with the same
CN104876127A (en) Device and method for monitoring running position and posture of big and small bridge and door type cranes
CN102914307A (en) Three-axis turntable with dynamic stabilization function
US20240003721A1 (en) Magnetic encoder calibration
CN102997887A (en) Method and device for multi-dimensional detection of angle sensor
CN102608912B (en) Accurate control method for driving system of active half-strapdown inertia measurement device
CN204997688U (en) Moving device
CN102176139B (en) Multi-shaft synchronous operation control system
CN113970310B (en) Robot chassis wheelbase calibration method and system
CN114593728A (en) Robot positioning system based on multi-sensor fusion
CN202522924U (en) Spherical robot automation control system
Ma et al. Plantbot: A new ROS-based robot platform for fast building and developing
Savnani et al. Modelling, Design and Control of a Four wheel Holonomic Drive
Li et al. BMP: A self-balancing mobile platform
CN112857393B (en) Plane positioning and mileage metering method of Mecanum wheel platform
CN114488782B (en) Turntable double-position ring control method and system based on harmonic speed reducing mechanism

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21893443

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21893443

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 21893443

Country of ref document: EP

Kind code of ref document: A1