A servo control system
By transplanting the encoder's subdivision function to the driver in the servo control system, the problem of communication delay between the absolute encoder and the driver is solved, the response speed and control accuracy of the servo system are improved, and the circuit structure and volume of the encoder are simplified. , achieving improvements in functionality and performance.
Patent Information
- Application Number
- CN201910678960.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-07-25
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2039-07-25
AI Technical Summary
There is a time delay in the position transmission between the existing absolute encoder and the driver, which limits the response speed and control accuracy of the servo system. At the same time, the complexity and volume requirements of the processing circuit of the absolute encoder restrict the improvement of functions and performance.
Through the integrated design of the encoder and the driver, the subdivision function of the encoder is transplanted into the driver, which simplifies the circuit structure, shortens the communication delay time, improves the response speed and control accuracy, and reduces the size and cost of the absolute encoder.
It effectively shortens the communication delay time between the absolute encoder and the driver, improves the response speed and control accuracy of the servo system, and simplifies the circuit structure and volume of the encoder, reducing costs and improving functions and performance.
Smart Images

Figure CN110531650B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of signal processing, and in particular to a servo control system. Background Art
[0002] The existing absolute encoder and driver position transmission is achieved through their respective communication modules to achieve information exchange. Taking asynchronous communication as an example, it takes at least 31us from the driver requesting encoder position information to completing position reception. Due to the time delay of position information, the response speed and control accuracy of the servo system are restricted.
[0003] Moreover, the current processing circuit of the absolute encoder is relatively complex, including multiple signal processing modules such as photoelectric signal conversion, sine and cosine signal conditioning, signal comparison, analog-to-digital sampling and microprocessor; however, actual application scenarios have strict requirements on the size of the encoder, which limits the selectivity of the encoder processing circuit chip and restricts the improvement of the encoder's function and performance.
[0004] Therefore, it is necessary to provide a servo control system to solve the deficiencies of the prior art. Summary of the invention
[0005] In order to solve the problems in the prior art, the present invention provides a servo control system. Through the integrated design of the encoder and the driver, the communication delay time between the absolute encoder and the driver can be effectively shortened, and the response speed and control accuracy of the servo system can be improved; at the same time, the volume, cost and complexity of the processing circuit of the absolute encoder can be effectively reduced, and the function and performance of the absolute encoder can be improved.
[0006] The present invention provides a servo control system, comprising: an absolute encoder and a driver connected to each other, wherein the absolute encoder comprises a sine-cosine signal module and an absolute signal module; the driver comprises a square wave signal conversion module, an analog-to-digital conversion module, a subdivision module, a counting module and a position output module;
[0007] The sine-cosine signal module sends the sine-cosine signals of the absolute encoder to the square wave signal conversion module and the analog-to-digital conversion module of the driver;
[0008] The square wave signal conversion module converts the sine and cosine signals into square wave signals, and sends the square wave signals to the counting module;
[0009] The analog-to-digital conversion module converts the sine and cosine signals into digital signals, and sends the digital signals to the subdivision module;
[0010] The subdivision module performs position subdivision on the digital signal to obtain subdivided positions, and sends the subdivided positions to the position output module;
[0011] The absolute signal module sends the absolute signal of the absolute encoder to the counting module of the driver;
[0012] The counting module adjusts the position of the absolute signal according to the square wave signal to obtain an absolute position, and sends the absolute position to the position output module;
[0013] The position output module combines the subdivided position and the absolute position to obtain encoder position information.
[0014] Further, the counting module adjusts the position of the absolute signal according to the square wave signal to obtain the absolute position, including:
[0015] The counting module calculates the initial counting value according to the absolute signal and the square wave signal;
[0016] The counting module increases or decreases the initial counting value according to the square wave signal to obtain the absolute position.
[0017] Furthermore, the driver further comprises: a sine and cosine signal conditioning module,
[0018] The sine-cosine conditioning module is used to amplify the received sine-cosine signals and send them to the square wave signal conversion module and the analog-to-digital conversion module.
[0019] Furthermore, the sine and cosine signal conditioning module includes: an operational amplifier.
[0020] Furthermore, the sine-cosine signal module is connected to the sine-cosine signal conditioning module in a differential output manner.
[0021] Furthermore, the absolute signal module communicates with the counting module via a communication module.
[0022] Furthermore, the communication interface of the communication module includes: an RS485 interface and / or an SPI interface and / or a BISS interface.
[0023] Furthermore, the driver further comprises: a deviation detection and correction module,
[0024] The deviation detection and correction module is used to detect and correct the digital signal output by the analog-to-digital conversion module, and send the corrected signal to the subdivision module.
[0025] Furthermore, the communication module is used to transmit the absolute position signal decoded by the absolute encoder to the counting module.
[0026] The technical solution of the present invention has the following advantages compared with the closest prior art:
[0027] The technical solution provided by the present invention comprises an absolute encoder and a driver connected to each other, wherein the absolute encoder comprises a sine-cosine signal module and an absolute signal module; the driver comprises a square wave signal conversion module, an analog-to-digital conversion module, a subdivision module, a counting module and a position output module; the absolute encoder and the driver communicate with each other through their respective modules. The technical solution provided by the present invention not only simplifies the circuit structure and reduces the volume of the encoder by transplanting the subdivision function of the encoder into the driver, but also improves the response speed and control accuracy of the servo system. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 Schematic diagram of the structure of the servo control system in an embodiment of the present invention. DETAILED DESCRIPTION
[0029] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0030] The present invention provides a servo control system, such as Figure 1 As shown, it includes: an absolute encoder and a driver connected to each other.
[0031] Specifically, the absolute encoder includes: a sine-cosine module and an absolute signal module.
[0032] The driver includes: a square wave signal conversion module, a digital-to-analog conversion module, a subdivision module, a counting module and a position output module.
[0033] Among them, the sine-cosine module sends the sine-cosine signals of the absolute encoder to the square wave signal conversion module and the digital-to-analog conversion module of the driver; the square wave signal conversion module converts the sine-cosine signals into square wave signals, and sends the square wave signals to the counting module; the analog-to-digital conversion module converts the sine-cosine signals into digital signals, and sends the digital signals to the subdivision module; the subdivision module performs position subdivision on the digital signal to obtain the subdivided position, and sends the subdivided position to the position output module; the absolute signal module sends the absolute signal of the absolute encoder to the counting module of the driver; the counting module adjusts the position of the absolute signal according to the square wave signal to obtain the absolute position, and sends the absolute position to the position output module; the position output module combines the subdivided position and the absolute position to obtain the encoder position information.
[0034] In the embodiment of the present application, by transplanting the subdivision function of the encoder into the driver, not only the circuit structure of the encoder is simplified and the volume is reduced, but also the response speed and control accuracy of the servo system are improved.
[0035] In a possible implementation manner of the present application, the counting module adjusts the position of the absolute signal according to the square wave signal to obtain the absolute position, specifically including:
[0036] The counting module calculates the initial counting value based on the absolute signal and the square wave signal;
[0037] The counting module increases or decreases the initial count value according to the square wave signal to obtain the absolute position.
[0038] That is, the counting module counts the absolute encoding signal of the absolute encoder and the square wave signal obtained by the square wave signal conversion module to obtain an initial counting value, and then adds or subtracts the initial counting value according to the square wave signal to finally obtain the absolute position value.
[0039] In one embodiment of the present application, the driver further includes: a sine-cosine signal conditioning module, which is used to amplify the received sine-cosine signals and send them to the square wave signal conversion module and the digital-to-analog conversion module.
[0040] Furthermore, the sine-cosine signal conditioning module includes an operational amplifier. The operational amplifier can be a high-speed voltage feedback CMOS operational amplifier, which has a stable gain, can output a large current, a differential gain of 0.02%, a differential phase of 0.09°, and a quiescent current of only 4.9 mA per channel. The amplified sine-cosine signal can be more accurately converted into a digital signal through a digital-to-analog conversion module, so that subsequent processing can be more accurately performed.
[0041] Further, the analog-to-digital conversion module may include an ADS8555 chip, wherein the ADS8555 chip is a synchronous sampling analog-to-digital converter, supports a data rate of up to 630kSPS, has excellent AC performance, a signal-to-noise ratio of 91.5 dB, and a total harmonic distortion of -94 DB.
[0042] In one embodiment of the present application, the sine-cosine signal module can be connected to the sine-cosine signal adjustment module in a differential output manner. The differential output manner is used to transmit signals, so that the output signal has a strong anti-interference ability.
[0043] In one embodiment of the present application, the absolute signal module communicates with the counting module via a communication module. The communication interface of the communication module may be an RS485 interface and / or an SPI interface and / or a BISS interface.
[0044] In one embodiment of the present application, the driver further includes: a deviation detection and correction module, which is used to detect and correct the digital signal output by the analog-to-digital conversion module and send the corrected signal to the subdivision module.
[0045] Specifically, the deviation detection and correction module performs deviation detection on the amplitude, DC and phase of the sine and cosine signals, and then corrects the sine and cosine signals according to the detected deviations, thereby improving the accuracy of subsequent encoder position subdivision.
[0046] In one embodiment of the present application, the communication module is used to transmit the absolute position signal decoded by the absolute encoder to the counting module.
[0047] In one embodiment of the present application, the position output module now splices the absolute position of the counting module and the subdivision position of the subdivision module, and then provides the final encoder position information to the subsequent modules of the driver for use in realizing precise control of the motor.
[0048] Specifically, the subdivision module uses arc tangent to achieve position subdivision of the digital signal. The subdivision module can perform high-multiplier subdivision operations on the received digital signal, wherein the specific calculation method of the high-multiplier subdivision operation can be calculated using a method known to those skilled in the art, and this application will not be described in detail.
[0049] This application transplants the encoder's subdivision function to the servo drive, which can not only improve the encoder's subdivision performance, but also effectively reduce the volume, cost and complexity of the processing circuit of the absolute encoder, which is more conducive to the miniaturization of the encoder. The encoder subdivision signal is transmitted to the driver in the form of an analog signal, and then processed by modules such as sinusoidal signal conditioning, ADC (analog-to-digital conversion), deviation detection and correction, and subdivision to realize the conversion of the phase information of the sinusoidal signal into the position information of the encoder, so as to improve the resolution of the encoder.
[0050] For the absolute encoding of the encoder, when the system is powered on, the driver first obtains the absolute encoding of the encoder through the communication module, and then loads the absolute encoding to the counting module. The counting module calculates the initial counting value based on the absolute encoding and the square wave signal; for the subsequent acquisition of the absolute code of the encoder, the driver only needs to complete the calculation based on the square wave signal, and no longer needs to communicate with the encoder.
[0051] The process of obtaining the final drive encoder position includes serial request, waiting and serial reading, which is simplified to the process of internal parameter interaction of the drive. Therefore, it can effectively shorten the communication delay time between the absolute encoder and the drive, and improve the response speed and control accuracy of the servo system.
[0052] It should be noted that, in this document, relational terms such as “first” and “second” are merely used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations.
[0053] It is understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit may be implemented in one or more application specific integrated circuits (ASIC), digital signal processors (DSP), digital signal processing devices (DSPD), programmable logic devices (PLD), field programmable gate arrays (FPGA), general purpose processors, controllers, microcontrollers, microprocessors, other electronic units for performing the functions described in the present application, or a combination thereof.
[0054] For software implementation, the technology described herein can be implemented by a unit that performs the functions described herein. The software code can be stored in a memory and executed by a processor. The memory can be implemented in the processor or outside the processor.
[0055] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0056] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0057] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0058] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, ROM, RAM, magnetic disks or optical disks.
[0059] It should be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0060] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A servo control system, comprising: The interconnected absolute encoder and driver are characterized in that the absolute encoder includes a sine-cosine signal module and an absolute signal module; the driver includes a square wave signal conversion module, an analog-to-digital conversion module, a subdivision module, a counting module and a position output module; The sine-cosine signal module sends the sine-cosine signals of the absolute encoder to the square wave signal conversion module and the analog-to-digital conversion module of the driver; The square wave signal conversion module converts the sine and cosine signals into square wave signals, and sends the square wave signals to the counting module; The analog-to-digital conversion module converts the sine and cosine signals into digital signals, and sends the digital signals to the subdivision module; The subdivision module performs position subdivision on the digital signal to obtain subdivided positions, and sends the subdivided positions to the position output module; The absolute signal module sends the absolute signal of the absolute encoder to the counting module of the driver; The counting module adjusts the position of the absolute signal according to the square wave signal to obtain an absolute position, and sends the absolute position to the position output module; The position output module combines the subdivided position and the absolute position to obtain encoder position information; The counting module adjusts the position of the absolute signal according to the square wave signal to obtain the absolute position, including: The counting module calculates the initial counting value according to the absolute signal and the square wave signal; The counting module increases or decreases the initial counting value according to the square wave signal to obtain the absolute position.
2. A servo control system according to claim 1, characterized in that: The driver further includes: a sine and cosine signal conditioning module, The sine and cosine signal conditioning module is used to amplify the received sine and cosine signals and send them to the square wave signal conversion module and the analog-to-digital conversion module.
3. A servo control system according to claim 2, characterized in that: The sine and cosine signal conditioning module includes: an operational amplifier.
4. A servo control system according to claim 2, characterized in that: The sine-cosine signal module is connected to the sine-cosine signal conditioning module in a differential output manner.
5. A servo control system according to claim 1, characterized in that: The absolute signal module communicates with the counting module via a communication module.
6. A servo control system according to claim 5, characterized in that: The communication interface of the communication module includes: RS485 interface and / or SPI interface and / or BISS interface.
7. A servo control system according to claim 1, characterized in that: The driver further comprises: a deviation detection and correction module, The deviation detection and correction module is used to detect and correct the digital signal output by the analog-to-digital conversion module, and send the corrected signal to the subdivision module.
8. A servo control system according to claim 6, characterized in that: The communication module is used to transmit the absolute position signal decoded by the absolute encoder to the counting module.
