Steering control method and device for industrial vehicle electric power steering system
Through the combination of MCU module and ADC module, pulse width modulation technology and interrupt mechanism are used to solve the problem of signal transmission and processing delay in the traditional EPS system, improve the steering response speed and accuracy of the electric steering assist system of industrial vehicles, and improve the feel. .
Patent Information
- Application Number
- CN202410997104.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-24
- Publication Date
- 2024-10-08
AI Technical Summary
Traditional electric power steering systems have limitations in terms of steering response speed, accuracy and real-time control capabilities. Especially on heavy industrial vehicles, signal transmission and processing delays lead to slow response to steering commands, and the early control algorithm cannot quickly adjust the power assist, resulting in poor hand feel. good.
Using a combination of MCU module and ADC module, the motor output is controlled through pulse width modulation technology, and the motor operating parameters are sampled within the complete sampling period. The interrupt mechanism is used to immediately process the data, adjust the motor torque value, and improve the real-time and real-time performance of signal processing. Timeliness.
It improves the timeliness and real-time of signal processing of the EPS system, enhances the sensitivity and accuracy of steering response, improves the feel, and is suitable for steering control under complex working conditions.
Smart Images

Figure CN118744759A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of electric power steering for industrial vehicles, and in particular to a steering control method and device for an electric power steering system for an industrial vehicle. Background Art
[0002] The traditional Electric Power Steering (EPS) system was originally designed to reduce the driver's steering force at low speeds and improve driving comfort. However, with the development of technology and the increasing demand for high-performance vehicles, some limitations of the traditional EPS system have gradually emerged, especially in terms of steering response speed, accuracy and real-time control capabilities. These problems are particularly prominent on heavy industrial vehicles.
[0003] There may be a delay in signal transmission and processing between sensors (such as torque sensors and vehicle speed sensors) and controllers in traditional EPS systems. This delay will affect the immediate response to steering commands and reduce steering sensitivity. In addition, early EPS systems used relatively simple control algorithms, such as PID (proportional-integral-differential) control. These algorithms may not be able to quickly and accurately adjust the power assist when faced with complex working conditions, resulting in poor steering feel or slow response. Summary of the invention
[0004] In order to improve the timeliness of signal transmission and processing in the EPS system, the present invention proposes a steering control method for an electric power steering system for an industrial vehicle, wherein the electric power steering system for an industrial vehicle comprises a motor, an MCU module and an ADC module;
[0005] The steering control method comprises:
[0006] Initializing program parameters of an electric power steering system for an industrial vehicle through the MCU module; the program parameters include: fundamental frequency and chopping mode of pulse width modulation, and sampling interrupt triggering conditions of an ADC module; the sampling interrupt triggering conditions include setting of a complete sampling cycle and setting of a sampling interrupt request initiation time; the sampling interrupt request initiation time is set to the end time of the complete sampling cycle; the complete sampling cycle is set based on the fundamental frequency of pulse width modulation;
[0007] When the MCU module controls the output of the motor through the pulse width modulation technology, the ADC module samples multiple motor operating parameter values in sequence within a complete sampling cycle, and initiates a sampling interrupt request to the interrupt controller of the MCU module after completing a complete sampling cycle;
[0008] After receiving the sampling interrupt request, the MCU module suspends the currently executing program and interrupts the sampling of the ADC module, and at the same time executes the ADC interrupt control program based on the motor operation parameter value obtained by sampling to adjust the motor torque value; the complete sampling cycle includes multiple PWM cycles; the motor operation parameter value corresponds to the PWM cycle one by one.
[0009] Furthermore, the motor operating parameter values specifically include: motor rotor position angle, motor torque value, motor phase current and bus current; the bus current is the current flowing on the DC bus connecting the power supply and the motor controller in the motor drive system.
[0010] Furthermore, the ADC module also includes a preset register bit for storing an ADC interrupt flag bit; after completing a complete sampling cycle, the ADC module is also used to set the ADC interrupt flag bit to 1, thereby triggering a sampling interrupt request.
[0011] Furthermore, the ADC interrupt control program includes:
[0012] S1: Clear the ADC interrupt flag bit;
[0013] S2: Determine whether the currently sampled motor torque value is within the preset standard range. If so, proceed to the next step; if not, execute the torque fault handling procedure and proceed to the next step;
[0014] S3: Calculate the average value of the bus current sampled for the last three times;
[0015] S4: Determine whether the average value of the bus current is greater than a preset threshold value. If so, turn off the driver switch tube; the driver switch tube is a power electronic switch that controls the motor phase current; if not, proceed to the next step;
[0016] S5: reading a driving direction flag indicating the rotation direction of the motor, and controlling the rotation of the motor according to the driving direction flag and the currently sampled motor torque value;
[0017] S6: End the interrupt sampling of the ADC module.
[0018] Furthermore, the step S5 specifically includes:
[0019] S511: Determine whether the driving direction flag is equal to 1, if so, proceed to the next step;
[0020] S512: Determine whether the currently sampled motor torque value is greater than the upper limit of the torque rated range. If so, obtain a first adjustment value based on the currently sampled motor torque value and the preset forward right power-assist ratio coefficient, and input the first adjustment value and the motor phase current obtained by the current sampling into the PI controller, control the motor current and speed through the PI controller, and jump to step S6.
[0021] Furthermore, the step S512 further includes:
[0022] Determine whether the currently sampled motor torque value is greater than the upper limit of the torque rating range, if not, proceed to the next step;
[0023] S513: Determine whether the currently sampled motor torque value is less than the lower limit of the torque rated range. If so, obtain a second adjustment value based on the currently sampled motor torque value and the preset forward left power-assistance ratio coefficient, and input the second adjustment value and the motor phase current obtained by the current sampling into the PI controller, control the motor current and speed through the PI controller, and jump to step S6; if not, clear the relevant program data and jump to step S6; the relevant program data includes: storage data of the sampling buffer area; the sampling buffer area is used to store the sampling data of the ADC module.
[0024] Furthermore, the step S511 further includes:
[0025] Determine whether the driving direction flag is equal to 1, if not, jump to step S514;
[0026] S514: Determine whether the driving direction flag is equal to 0. If not, jump to step S6. If yes, go to the next step.
[0027] S515: Determine whether the currently sampled motor torque value is greater than the upper limit of the torque rating range, if so, proceed to the next step;
[0028] S516: Obtain a third adjustment value according to the currently sampled motor torque value and the preset reverse right power-assist ratio coefficient, and input the third adjustment value and the currently sampled motor phase current into the PI controller, control the motor current and speed through the PI controller, and jump to step S6.
[0029] Furthermore, the step S515 further includes:
[0030] Determine whether the currently sampled motor torque value is greater than the upper limit of the torque rated range. If not, jump to step S517:
[0031] S517: Determine whether the currently sampled motor torque value is less than the lower limit of the torque rated range. If so, obtain a fourth adjustment value according to the currently sampled motor torque value and the preset reverse left power-assistance ratio coefficient, and input the fourth adjustment value and the currently sampled motor phase current into the PI controller, control the motor current and speed through the PI controller, and jump to step S6; if not, enter the next step;
[0032] S518: Clear related program data and jump to step S6.
[0033] The present invention proposes a steering control device for an electric power steering system for an industrial vehicle, wherein the electric power steering system for an industrial vehicle comprises a motor, an MCU module and an ADC module; the steering control device comprises:
[0034] An initialization module is used to initialize program parameters of an electric power steering system for industrial vehicles through the MCU module; the program parameters include: fundamental frequency and chopping mode of pulse width modulation, and sampling interrupt trigger conditions of the ADC module; the sampling interrupt trigger conditions include the setting of a complete sampling cycle and the setting of a sampling interrupt request initiation time; the initiation time of the sampling interrupt request is set to the end time of the complete sampling cycle; the complete sampling cycle is set based on the fundamental frequency of pulse width modulation;
[0035] The sampling module is used to sample multiple motor operating parameter values in sequence through the ADC module within a complete sampling cycle during the process of the MCU module controlling the output of the motor through the pulse width modulation technology, and initiate a sampling interrupt request to the interrupt controller of the MCU module after completing a complete sampling cycle;
[0036] After receiving the sampling interrupt request, the MCU module suspends the currently executing program and interrupts the sampling of the ADC module, and at the same time executes the ADC interrupt control program based on the motor operation parameter value obtained by sampling to adjust the motor torque value; the complete sampling cycle includes multiple PWM cycles; the motor operation parameter value corresponds to the PWM cycle one by one.
[0037] Furthermore, the motor operating parameter values specifically include: motor rotor position angle, motor torque value, motor phase current and bus current; the bus current is the current flowing on the DC bus connecting the power supply and the motor controller in the motor drive system.
[0038] Compared with the prior art, the present invention has at least the following beneficial effects:
[0039] The present invention initializes program parameters of an electric power steering system for an industrial vehicle through an MCU module; the program parameters include: a fundamental frequency and a chopping mode of pulse width modulation, and a sampling interrupt triggering condition of an ADC module; in the process of the MCU module controlling the output of a motor through a pulse width modulation technology, the ADC module sequentially samples multiple motor operating parameter values within a complete sampling cycle, and initiates a sampling interrupt request to an interrupt controller of the MCU module after completing a complete sampling cycle; after receiving the sampling interrupt request, the MCU module pauses the currently executing program, interrupts the sampling of the ADC module, and executes an ADC interrupt control program based on the motor operating parameter values obtained by sampling, so as to adjust the motor torque value; the interrupt mechanism adopted by the present invention allows the EPS system to immediately process data (execute the ADC interrupt control program based on the motor operating parameter values obtained by sampling) after the ADC module completes a complete sampling cycle, without waiting for CPU polling of the MCU module, thereby improving the real-time and timeliness of signal processing. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 This is the flowchart of the ADC interrupt control program. DETAILED DESCRIPTION
[0041] The following are specific embodiments of the present invention and the accompanying drawings to further describe the technical solution of the present invention, but the present invention is not limited to these embodiments.
[0042] Embodiment 1
[0043] In order to improve the timeliness of signal transmission and processing in the EPS system, the present invention proposes a steering control method for an electric power steering system for an industrial vehicle, wherein the electric power steering system for an industrial vehicle comprises a motor, an MCU module and an ADC module;
[0044] The steering control method comprises:
[0045] Initializing program parameters of an electric power steering system for an industrial vehicle through the MCU module; the program parameters include: fundamental frequency and chopping mode of pulse width modulation, and sampling interrupt triggering conditions of an ADC module; the sampling interrupt triggering conditions include setting of a complete sampling cycle and setting of a sampling interrupt request initiation time; the sampling interrupt request initiation time is set to the end time of the complete sampling cycle; the complete sampling cycle is set based on the fundamental frequency of pulse width modulation;
[0046] In this embodiment, when initializing the program parameters, it also includes: functionally initializing all IO ports of the industrial vehicle electric steering power system, and turning off all driver switch tubes to prevent malfunction of the switch tubes. In addition, in this embodiment, the pulse width modulation is configured as an upper tube chopping with a PWM fundamental frequency of 20K.
[0047] When the MCU module controls the output of the motor through the pulse width modulation technology, the ADC module samples multiple motor operating parameter values in sequence within a complete sampling cycle, and initiates a sampling interrupt request to the interrupt controller of the MCU module after completing a complete sampling cycle;
[0048] The motor operating parameter values specifically include: the position angle of the motor rotor, the motor torque value, the motor phase current and the bus current; the bus current is the current flowing on the DC bus connecting the power supply and the motor controller in the motor drive system.
[0049] In this embodiment, the position angle of the motor rotor includes: Angle 1 and Angle 2; Angle 1 and Angle 2 respectively represent the rotor position of the motor at a first preset time point and a second preset time point; the motor phase current includes motor A phase current and motor B phase current.
[0050] What needs to be explained is:
[0051] Motor torque value: represents the torque or torque generated by the motor. In motor control, torque is the core control target because it directly affects the load capacity and acceleration performance of the motor. Torque can be determined by indirect measurement (such as current and voltage) or directly using a torque sensor.
[0052] Motor phase current: For a multi-phase motor (such as a three-phase motor), the phase current refers to the current passing through each winding of the motor. The motor A phase current and the motor B phase current represent the current of phase A and phase B respectively.
[0053] Bus current: reflects the current consumption of the entire motor drive system. Bus current monitoring helps protect industrial vehicle electric steering systems from overcurrent damage.
[0054] According to the number of motor operating parameter values, in this embodiment, a complete sampling cycle includes 6 PWM cycles (PWM cycle 1, PWM cycle 2, ..., PWM cycle 6), and the sampling frequency is 20 / 6=3.3K based on the PWM fundamental frequency of 20K.
[0055] It should be noted that the ADC module samples multiple motor operating parameter values in sequence within a complete sampling period, specifically, for example, sampling the rotation angle 1 in PWM period 1, sampling the rotation angle 2 in PWM period 2, ..., sampling the bus current in PWM period 6. Therefore, an interrupt is generated after every six PWM periods in the present invention.
[0056] Specifically, in motor control applications, ADC sampling is usually synchronized with PWM signals to ensure that sampling is performed at a specific point in each PWM cycle, which helps to improve the resolution of the signal and the accuracy of motor control. In this embodiment, ADC sampling is performed once at the beginning (i.e., the rising edge) of each PWM cycle. Within a complete sampling cycle, i.e., in six consecutive PWM cycles, the ADC module will perform six samplings, each of which corresponds to different motor operating parameters. After collecting six independent samples, the ADC module will trigger an interrupt to inform the MCU module that there is new data to be processed, thereby improving the real-time and timeliness of signal processing.
[0057] In this embodiment, since the PWM fundamental frequency is 20kHz, the ADC module will complete six samplings within six PWM cycles, so the total sampling frequency is 3.3kHz. Since there are 20,000 PWM cycles per second, and a complete sampling and interruption is performed every six cycles, there are approximately 3,333 such sampling and interruptions per second.
[0058] The ADC module also includes a preset register bit for storing an ADC interrupt flag bit; after completing a complete sampling cycle, the ADC module is also used to set the ADC interrupt flag bit to 1, thereby triggering a sampling interrupt request.
[0059] After receiving the sampling interrupt request, the MCU module suspends the currently executing program (a pre-programmed preset program, such as a data recording program, an initialization program, etc.), interrupts the sampling of the ADC module, and executes the ADC interrupt control program based on the sampled motor operating parameter values to adjust the motor torque value; the complete sampling cycle includes multiple PWM cycles; the motor operating parameter values correspond one to one to the PWM cycle.
[0060] like Figure 1 As shown, the ADC interrupt control program includes:
[0061] S1: Clear the ADC interrupt flag bit;
[0062] S2: Determine whether the currently sampled motor torque value is within the preset standard range. If so, proceed to the next step; if not, execute the torque fault handling procedure and proceed to the next step;
[0063] It should be noted that the torque fault handling procedure includes:
[0064] Interrupt or reduce the motor drive signal to prevent the motor from continuing to operate under unsafe conditions;
[0065] Execute pre-programmed fault protection procedures, such as recording fault types and saving key data such as current, voltage and temperature values before the fault;
[0066] Audible and visual alarms notify operators or maintenance teams of faults.
[0067] S3: Calculate the average value of the bus current sampled for the last three times;
[0068] S4: Determine whether the average value of the bus current is greater than a preset threshold value. If so, turn off the driver switch tube; the driver switch tube is a power electronic switch that controls the motor phase current; if not, proceed to the next step;
[0069] S5: reading a driving direction flag indicating the rotation direction of the motor, and controlling the rotation of the motor according to the driving direction flag and the currently sampled motor torque value;
[0070] The S5 step specifically includes:
[0071] S511: Determine whether the driving direction flag is equal to 1, if so, proceed to the next step;
[0072] The step S511 further includes:
[0073] Determine whether the driving direction flag is equal to 1, if not, jump to step S514;
[0074] S512: Determine whether the currently sampled motor torque value is greater than the upper limit of the torque rated range. If so, obtain a first adjustment value based on the currently sampled motor torque value and the preset forward right power-assist ratio coefficient, and input the first adjustment value and the motor phase current obtained by the current sampling into the PI controller, control the motor current and speed through the PI controller, and jump to step S6.
[0075] The step S512 further includes:
[0076] Determine whether the currently sampled motor torque value is greater than the upper limit of the torque rating range, if not, proceed to the next step;
[0077] S513: Determine whether the currently sampled motor torque value is less than the lower limit of the torque rated range. If so, obtain a second adjustment value based on the currently sampled motor torque value and the preset forward left power-assistance ratio coefficient, and input the second adjustment value and the motor phase current obtained by the current sampling into the PI controller, control the motor current and speed through the PI controller, and jump to step S6; if not, clear the relevant program data and jump to step S6; the relevant program data includes: storage data of the sampling buffer area; the sampling buffer area is used to store the sampling data of the ADC module.
[0078] S514: Determine whether the driving direction flag is equal to 0. If not, jump to step S6. If yes, go to the next step.
[0079] S515: Determine whether the currently sampled motor torque value is greater than the upper limit of the torque rating range, if so, proceed to the next step;
[0080] The step S515 further includes:
[0081] Determine whether the currently sampled motor torque value is greater than the upper limit of the torque rated range. If not, jump to step S517:
[0082] S516: Obtain a third adjustment value according to the currently sampled motor torque value and the preset reverse right power-assist ratio coefficient, and input the third adjustment value and the currently sampled motor phase current into the PI controller, control the motor current and speed through the PI controller, and jump to step S6.
[0083] S517: Determine whether the currently sampled motor torque value is less than the lower limit of the torque rated range. If so, obtain a fourth adjustment value according to the currently sampled motor torque value and the preset reverse left power-assistance ratio coefficient, and input the fourth adjustment value and the currently sampled motor phase current into the PI controller, control the motor current and speed through the PI controller, and jump to step S6; if not, enter the next step;
[0084] S518: Clear related program data and jump to step S6.
[0085] It should be noted that, in this embodiment, the calculation formulas of the first adjustment value, the second adjustment value, the third adjustment value and the fourth adjustment value are: T=K((abs(Ti-511))-assit);
[0086] In the formula, T represents the actual motor torque value, i.e., the first adjustment value, the second adjustment value, the third adjustment value, or the fourth adjustment value; Ti represents the currently sampled motor torque value; abs() represents the absolute value function in C language; assit represents the preset resistance starting value; when T represents the first adjustment value, K represents the preset forward right power-assist ratio coefficient; when T represents the second adjustment value, K represents the preset forward left power-assist ratio coefficient; when T represents the third adjustment value, K represents the preset reverse right power-assist ratio coefficient; when T represents the fourth adjustment value, K represents the preset reverse left power-assist ratio coefficient; in this embodiment, the upper limit value of T is set to 383, which means that the maximum value of the motor phase current is 30A.
[0087] It should be noted that, in the present embodiment, when the motor torque value exceeds half of the full sampling value of the ADC module (the full sampling value of the 10-bit ADC module is 1023, and half of it is 511), the driving direction flag is equal to 0, indicating that the motor is rotating forward; when the motor torque value is less than half of the full sampling value of the ADC module, the driving direction flag is equal to 1, indicating that the motor is reversed; when the motor torque value is within the preset power assist starting value range, the driving direction flag is equal to 3, indicating that the motor is stopped.
[0088] S6: End the interrupt sampling of the ADC module.
[0089] The present invention initializes program parameters of an electric power steering system for an industrial vehicle through an MCU module; the program parameters include: a fundamental frequency and a chopping mode of pulse width modulation, and a sampling interrupt triggering condition of an ADC module; in the process of the MCU module controlling the output of a motor through a pulse width modulation technology, the ADC module sequentially samples multiple motor operating parameter values within a complete sampling cycle, and initiates a sampling interrupt request to an interrupt controller of the MCU module after completing a complete sampling cycle; after receiving the sampling interrupt request, the MCU module pauses the currently executing program, interrupts the sampling of the ADC module, and executes an ADC interrupt control program based on the motor operating parameter values obtained by sampling, so as to adjust the motor torque value; the interrupt mechanism adopted by the present invention allows the EPS system to immediately process data (execute the ADC interrupt control program based on the motor operating parameter values obtained by sampling) after the ADC module completes a complete sampling cycle, without waiting for CPU polling of the MCU module, thereby improving the real-time and timeliness of signal processing.
[0090] Embodiment 2
[0091] The present invention also proposes a steering control device for an electric power steering system for an industrial vehicle, wherein the electric power steering system for an industrial vehicle comprises a motor, an MCU module and an ADC module; the steering control device comprises:
[0092] An initialization module is used to initialize program parameters of an electric power steering system for industrial vehicles through the MCU module; the program parameters include: fundamental frequency and chopping mode of pulse width modulation, and sampling interrupt trigger conditions of the ADC module; the sampling interrupt trigger conditions include the setting of a complete sampling cycle and the setting of a sampling interrupt request initiation time; the initiation time of the sampling interrupt request is set to the end time of the complete sampling cycle; the complete sampling cycle is set based on the fundamental frequency of pulse width modulation;
[0093] The sampling module is used to sample multiple motor operating parameter values in sequence through the ADC module within a complete sampling cycle during the process of the MCU module controlling the output of the motor through the pulse width modulation technology, and initiate a sampling interrupt request to the interrupt controller of the MCU module after completing a complete sampling cycle;
[0094] The motor operating parameter values specifically include: the position angle of the motor rotor, the motor torque value, the motor phase current and the bus current; the bus current is the current flowing on the DC bus connecting the power supply and the motor controller in the motor drive system.
[0095] After receiving the sampling interrupt request, the MCU module suspends the currently executing program and interrupts the sampling of the ADC module, and at the same time executes the ADC interrupt control program based on the motor operation parameter value obtained by sampling to adjust the motor torque value; the complete sampling cycle includes multiple PWM cycles; the motor operation parameter value corresponds to the PWM cycle one by one.
[0096] It should be noted that all directional indications in the embodiments of the present invention (such as up, down, left, right, front, back, etc.) are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.
[0097] In addition, in the present invention, descriptions such as "first", "second", "one", etc. are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0098] In the present invention, unless otherwise clearly specified and limited, the terms "connection", "fixation", etc. should be understood in a broad sense. For example, "fixation" can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0099] In addition, the technical solutions between the various embodiments of the present invention can be combined with each other, but it must be based on the fact that ordinary technicians in the field can implement it. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by the present invention.
Claims
1. A steering control method for an electric power steering system of an industrial vehicle, It is characterized in that The industrial vehicle electric power steering system includes a motor, an MCU module and an ADC module; The steering control method comprises: Initializing program parameters of an electric power steering system for an industrial vehicle through the MCU module; the program parameters include: fundamental frequency and chopping mode of pulse width modulation, and sampling interrupt triggering conditions of an ADC module; the sampling interrupt triggering conditions include setting of a complete sampling cycle and setting of a sampling interrupt request initiation time; the initiation time of the sampling interrupt request is set to the end time of the complete sampling cycle; the complete sampling cycle is set based on the fundamental frequency of pulse width modulation; When the MCU module controls the output of the motor through the pulse width modulation technology, the ADC module samples multiple motor operating parameter values in sequence within a complete sampling cycle, and initiates a sampling interrupt request to the interrupt controller of the MCU module after completing a complete sampling cycle; After receiving the sampling interrupt request, the MCU module suspends the currently executing program and interrupts the sampling of the ADC module, and at the same time executes the ADC interrupt control program based on the motor operation parameter value obtained by sampling to adjust the motor torque value; the complete sampling cycle includes multiple PWM cycles; the motor operation parameter value corresponds to the PWM cycle one by one.
2. A steering control method for an electric power steering system for an industrial vehicle according to claim 1, It is characterized in that The motor operating parameter values specifically include: the position angle of the motor rotor, the motor torque value, the motor phase current and the bus current; the bus current is the current flowing on the DC bus connecting the power supply and the motor controller in the motor drive system.
3. A steering control method for an electric power steering system for an industrial vehicle according to claim 2, It is characterized in that The ADC module also includes a preset register bit for storing an ADC interrupt flag bit; after completing a complete sampling cycle, the ADC module is also used to set the ADC interrupt flag bit to 1, thereby triggering a sampling interrupt request.
4. A steering control method for an electric power steering system for an industrial vehicle according to claim 3, It is characterized in that The ADC interrupt control program includes: S1: Clear the ADC interrupt flag bit; S2: Determine whether the currently sampled motor torque value is within the preset standard range. If so, proceed to the next step; if not, execute the torque fault handling procedure and proceed to the next step; S3: Calculate the average value of the bus current sampled for the last three times; S4: Determine whether the average value of the bus current is greater than a preset threshold value. If so, turn off the driver switch tube; the driver switch tube is a power electronic switch that controls the motor phase current; if not, proceed to the next step; S5: reading a driving direction flag indicating the rotation direction of the motor, and controlling the rotation of the motor according to the driving direction flag and the currently sampled motor torque value; S6: End the interrupt sampling of the ADC module.
5. A steering control method for an electric power steering system for an industrial vehicle according to claim 4, It is characterized in that The S5 step specifically includes: S511: Determine whether the driving direction flag is equal to 1, if so, proceed to the next step; S512: Determine whether the currently sampled motor torque value is greater than the upper limit of the torque rated range. If so, obtain a first adjustment value based on the currently sampled motor torque value and the preset forward right power-assist ratio coefficient, and input the first adjustment value and the motor phase current obtained by the current sampling into the PI controller, control the motor current and speed through the PI controller, and jump to step S6.
6. A steering control method for an electric power steering system for an industrial vehicle according to claim 5, It is characterized in that The step S512 further includes: Determine whether the currently sampled motor torque value is greater than the upper limit of the torque rating range, if not, proceed to the next step; S513: Determine whether the currently sampled motor torque value is less than the lower limit of the torque rated range. If so, obtain a second adjustment value based on the currently sampled motor torque value and the preset forward left power-assistance ratio coefficient, and input the second adjustment value and the motor phase current obtained by the current sampling into the PI controller, control the motor current and speed through the PI controller, and jump to step S6; if not, clear the relevant program data and jump to step S6; the relevant program data includes: storage data of the sampling buffer area; the sampling buffer area is used to store the sampling data of the ADC module.
7. A steering control method for an electric power steering system for an industrial vehicle according to claim 6, It is characterized in that The step S511 further includes: Determine whether the driving direction flag is equal to 1, if not, jump to step S514; S514: Determine whether the driving direction flag is equal to 0. If not, jump to step S6. If yes, go to the next step. S515: Determine whether the currently sampled motor torque value is greater than the upper limit of the torque rating range, if so, proceed to the next step; S516: Obtain a third adjustment value according to the currently sampled motor torque value and the preset reverse right power-assist ratio coefficient, and input the third adjustment value and the currently sampled motor phase current into the PI controller, control the motor current and speed through the PI controller, and jump to step S6.
8. A steering control method for an electric power steering system for an industrial vehicle according to claim 7, It is characterized in that The step S515 further includes: Determine whether the currently sampled motor torque value is greater than the upper limit of the torque rated range. If not, jump to step S517: S517: Determine whether the currently sampled motor torque value is less than the lower limit of the torque rated range. If so, obtain a fourth adjustment value according to the currently sampled motor torque value and the preset reverse left power-assistance ratio coefficient, and input the fourth adjustment value and the currently sampled motor phase current into the PI controller, control the motor current and speed through the PI controller, and jump to step S6; if not, enter the next step; S518: Clear related program data and jump to step S6.
9. A steering control device for an electric power steering system of an industrial vehicle, It is characterized in that The industrial vehicle electric power steering system includes a motor, an MCU module and an ADC module; The steering control device comprises: An initialization module is used to initialize program parameters of an electric power steering system for industrial vehicles through the MCU module; the program parameters include: fundamental frequency and chopping mode of pulse width modulation, and sampling interrupt trigger conditions of the ADC module; the sampling interrupt trigger conditions include the setting of a complete sampling cycle and the setting of a sampling interrupt request initiation time; the initiation time of the sampling interrupt request is set to the end time of the complete sampling cycle; the complete sampling cycle is set based on the fundamental frequency of pulse width modulation; The sampling module is used to sample multiple motor operating parameter values in sequence through the ADC module within a complete sampling cycle during the process of the MCU module controlling the output of the motor through the pulse width modulation technology, and initiate a sampling interrupt request to the interrupt controller of the MCU module after completing a complete sampling cycle; After receiving the sampling interrupt request, the MCU module suspends the currently executing program and interrupts the sampling of the ADC module, and at the same time executes the ADC interrupt control program based on the motor operation parameter value obtained by sampling to adjust the motor torque value; the complete sampling cycle includes multiple PWM cycles; the motor operation parameter value corresponds to the PWM cycle one by one.
10. A steering control device for an electric power steering system of an industrial vehicle according to claim 9, It is characterized in that The motor operating parameter values specifically include: the position angle of the motor rotor, the motor torque value, the motor phase current and the bus current; the bus current is the current flowing on the DC bus connecting the power supply and the motor controller in the motor drive system.
