Controller hardware architecture and control method
By designing the controller hardware architecture, including the control board and the driver board, and adopting the PID control method, the problems of unreasonable function allocation and structural confusion in the existing controller design are solved, and a more efficient and reliable controller design is achieved, reducing costs.
Patent Information
- Application Number
- CN202510180347.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-19
- Publication Date
- 2025-03-21
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing controller design has problems such as unreasonable function allocation, chaotic structure, excessive design size and weight, increased data transmission volume, and reduced reliability.
Design a controller hardware architecture, including a control board and a driver board, which consists of a main control chip, CAN network, power supply circuit, sampling circuit and rotary conversion circuit. The main control chip adopts a digital signal processor and a field programmable gate array as the core processor, and combines the PID control method to achieve stable control and rapid response of the system.
The internal structure of the controller is optimized, the design size and weight are reduced, the data processing efficiency and system reliability are improved, the hardware is cost-effective, and the hardware is relatively simple.
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of controllers, and in particular to a controller hardware architecture and a control method. Background Art
[0002] Existing controllers are designed according to the function realization, generally including control board, driver board, acquisition board, etc. In order to realize the brake control function, a large amount of data exchange is required. For example, the acquisition board collects data and then transmits it to the control board for calculation, and then transmits the signal to the driver board for driving output. If the function distribution on the board is unreasonable, it will lead to confusion in the internal structure of the controller, increase the design size and weight of the controller; increase the amount of data transmission, and reduce reliability. In addition, the current controller still has the problem of incomplete redundancy design and incomplete functions. Summary of the invention
[0003] The technical problem to be solved by the present invention is to overcome the above technical defects.
[0004] In order to solve the above problems, the technical solution of the present invention is: a controller hardware architecture, including a control board, a drive board and an external power supply: The control board includes a main control chip, a CAN network, a power supply circuit, a sampling circuit and a resolver circuit; The main control chip uses a digital signal processor and a field programmable gate array as the core processor, which is responsible for executing control algorithms and data processing; The CAN network includes a controller and an external device, and the controller and the external device constitute a communication device; The power supply circuit converts the above external power supply into the voltage and current required by the internal circuit of the controller, thereby ensuring the normal operation of each circuit; The sampling circuit collects state information of the controlled object, including basic information of temperature, current and voltage, and converts the information into digital signals for processing by the main control chip; The resolver circuit is used to decode the signal of the rotary encoder to obtain the rotation angle and speed information of the controlled object; The driving board includes a high voltage sampling circuit and a driving circuit: The high-voltage sampling circuit includes a plurality of high-voltage sampling resistors and an isolation amplifier, and is used to collect high-voltage signals of bus current voltage and three-phase current; The driving circuit drives the power device to work after the driving signal output by the main control chip is enhanced in load capacity through the isolation chip.
[0005] A control method for a controller hardware architecture, the control method adopts PID control and includes the following control steps: Step 1: PID control controls the controlled object through three links: proportional P, integral I and differential D, to achieve stable control and rapid response of the system; Step 2: Proportional control P adjusts the output of the controller according to the size of the current error. When the error is large, the output signal is also large, thereby speeding up the response speed of the controlled object. Integral control I adjusts the controller output according to the amount of error accumulated over time. It can eliminate the steady-state error of the system and ensure that the system eventually stabilizes near the set value. Differential control D adjusts the controller output according to the rate of error change and predicts the future state change trend of the system, thereby reducing overshoot and improving system stability.
[0006] The advantages of the present invention compared with the prior art are: The present invention is provided with a control board and a driving board, and the control board includes a main control chip, a CAN network, a power supply circuit, a sampling circuit and a resolver circuit. The main control chip on the control board is used, and the digital signal processor and the field programmable gate array in the main control chip are used as the core processor, which is responsible for executing the control algorithm and data processing, and the PID control method is combined to realize control, thereby achieving the advantages of high cost-effectiveness, relatively simple hardware implementation and low cost. DETAILED DESCRIPTION
[0007] In order to make the contents of the present invention more clearly understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below in combination with the embodiments of the present invention.
[0008] A controller hardware architecture and control method, including a control board, a drive board and an external power supply, wherein the control board includes a main control chip, a CAN network, a power supply circuit, a sampling circuit and a resolver circuit; The main control chip uses a digital signal processor and a field programmable gate array as the core processor, which is responsible for executing control algorithms and data processing; for example, in vehicle-mounted motor controllers, commonly used main control chips include Infineon's Aurix series, NXP's MPC5XX series, and Renesas' RH850 series.
[0009] The CAN network includes a controller and an external device, and the controller and the external device constitute a communication device; commonly used CAN transceiver chips include JTA1145, JTA1043, etc. The power supply circuit converts the above-mentioned external power supply into the voltage and current required by the internal circuit of the controller, thereby ensuring the normal operation of each circuit; The sampling circuit collects the state information of the controlled object, including basic information such as temperature, current, voltage, etc., and converts this information into digital signals for processing by the main control chip; the resolver circuit is used to decode the signal of the rotary encoder to obtain the rotation angle and speed information of the controlled object; The driver board includes a high-voltage sampling circuit and a driving circuit: the high-voltage sampling circuit includes multiple high-voltage sampling resistors and isolation amplifiers, which are used to collect high-voltage signals such as bus current voltage and three-phase current; the driving circuit drives the power device to work after the driving signal output by the main control chip is enhanced with the load capacity through the isolation chip. The main isolation methods include magnetic isolation, capacitive isolation and photoelectric isolation.
[0010] The present invention and its implementation methods are described above, and such description is not restrictive. In short, if a person skilled in the art is inspired by it and, without departing from the purpose of the invention, designs structures and embodiments similar to the technical solution without creativity, they should all fall within the protection scope of the present invention.
Claims
1. A controller hardware architecture, characterized in that: Including control board, driver board and external power supply: The control board includes a main control chip, a CAN network, a power supply circuit, a sampling circuit and a resolver circuit; The main control chip uses a digital signal processor and a field programmable gate array as the core processor, which is responsible for executing control algorithms and data processing; The CAN network includes a controller and an external device, and the controller and the external device constitute a communication device; The power supply circuit converts the above external power supply into the voltage and current required by the internal circuit of the controller, thereby ensuring the normal operation of each circuit; The sampling circuit collects state information of the controlled object, including basic information of temperature, current and voltage, and converts the information into digital signals for processing by the main control chip; The resolver circuit is used to decode the signal of the rotary encoder to obtain the rotation angle and speed information of the controlled object; The driving board includes a high voltage sampling circuit and a driving circuit: The high-voltage sampling circuit includes a plurality of high-voltage sampling resistors and an isolation amplifier, and is used to collect high-voltage signals of bus current voltage and three-phase current; The driving circuit drives the power device to work after the driving signal output by the main control chip is enhanced in load capacity through the isolation chip.
2. A control method based on a controller hardware architecture according to claim 1, characterized in that: The control method adopts PID control and includes the following control steps: Step 1: PID control controls the controlled object through three links: proportional P, integral I and differential D, to achieve stable control and rapid response of the system; Step 2: Proportional control P adjusts the output of the controller according to the size of the current error. When the error is large, the output signal is also large, thereby speeding up the response speed of the controlled object. Integral control I adjusts the controller output according to the amount of error accumulated over time. It can eliminate the steady-state error of the system and ensure that the system eventually stabilizes near the set value. Differential control D adjusts the controller output according to the rate of error change and predicts the future state change trend of the system, thereby reducing overshoot and improving system stability.
Citation Information
Patent Citations
Double-core high-speed four-wheel mini mouse controller
CN105137978A
Restructuring collaborative robot joint integrated drive control system, method and application
CN111070208A
Servo controller and redundancy management method thereof
CN115833701A
Automatic control system and method of rock in-situ physical property measurement loading device at high temperature and high pressure
CN119002381A
Digital closed-loop scanning control system of scanning probe microscope
CN1912573A