Motor drive control system

By adjusting the pulse frequency instead of duty cycle, the motor drive control system is able to update the driving parameters without stopping, improve efficiency and noise resistance, and solve the problem of operation instability caused by silence in the prior art.

CN115473474BActive Publication Date: 2025-07-11ANPEC ELECTRONICS CORPORATION
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110669099.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2021-06-10
Filing Date
2021-06-16
Publication Date
2025-07-11
Estimated Expiration
2041-06-16

AI Technical Summary

Technical Problem

The prior art requires outputting pulse width modulation signals to silently the motor when changing the motor operation mode, resulting in unstable operation and low efficiency, and insufficient noise resistance.

Method used

The main controller is used to adjust the frequency of the initial pulse width modulation signal instead of the duty cycle. By setting the timing and information content of the reference signal preset pulse wave, the driving circuit decodes and performs instructions in real time to achieve stable motor operation and parameter adjustment.

Benefits of technology

It realizes that the motor updates the driving parameters while the motor is constantly rotating, improves the efficiency of the machine, avoids silent mode, and enhances the noise resistance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115473474B_ABST
    Figure CN115473474B_ABST
Patent Text Reader

Abstract

The present invention discloses a motor drive control system. The main controller adjusts the frequency of all or part of the pulses in the initial pulse width modulation signal according to the indication information. The frequency of each adjusted pulse is equal to the first preset frequency or the second preset frequency. The pulse width modulation signal is output according to the adjusted initial pulse width modulation signal. When the motor driver drives the motor to run stably, the motor driver decodes each pulse with the first preset frequency into the first information, decodes each pulse with the second preset frequency into the second information, so as to obtain the indication information, and executes the operations indicated by the indication information combined by all the decoded first information and the second information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a motor, and particularly to a motor drive control system. Background Art

[0002] With the annual expansion of electronic products, motors have become important components of various electronic products. When an existing host controls a motor driver to drive a motor, it will output a pulse width modulation signal to the motor driver, so that the drive circuit outputs a drive signal to the motor based on the duty cycle of the pulse width modulation signal and according to the drive parameters stored in the buffer to drive the motor to operate normally. Therefore, the rotational speed of the motor depends on the duty cycle of the pulse width modulation signal.

[0003] However, when the existing host wants to change the operating mode of the motor, it needs to output a pulse width modulation signal to the drive circuit to control the drive circuit to write new motor drive parameters into the buffer in the motor driver based on the duty cycle of the pulse width modulation signal. To avoid the drive circuit possibly miscontrolling the abnormal operation of the motor based on the duty cycle of the pulse width modulation signal of the new motor drive parameters, which may cause injury to the user.

[0004] For safety considerations, before writing the new motor drive parameters provided by the host into the buffer, a signal with a silent time needs to be output to the motor to stop the motor. After restoring the buffer, the host then outputs a pulse width modulation signal to control the drive circuit to drive the motor to operate based on the duty cycle of the pulse width modulation signal and according to the new motor drive parameters. Summary of the Invention

[0005] The technical problem to be solved by the present invention is to provide a motor drive control system for overcoming the deficiencies of the prior art, which includes a main controller and a motor driver. The main controller is configured to output an initial pulse width modulation signal and obtain or generate a set reference information from an external circuit. The set reference information sets a first preset frequency to represent a first piece of information and a second preset frequency to represent a second piece of information. Based on the timing or occurrence time points of multiple pulses of the initial pulse width modulation signal, the main controller adjusts the frequency of all or some of the pulses in the initial pulse width modulation signal according to the instruction information to be conveyed by the main controller. The frequency of each adjusted pulse is equal to the first preset frequency or the second preset frequency. The main controller outputs a pulse width modulation signal according to the adjusted initial pulse width modulation signal. The motor driver includes a drive circuit. The drive circuit is connected to the main controller and the motor. The drive circuit is configured to receive the pulse width modulation signal from the main controller. In a state where the drive circuit drives the motor to run continuously and stably based on the initial pulse width modulation signal, based on the set reference information, each pulse with the first preset frequency is decoded into the first piece of information, and each pulse with the second preset frequency is decoded into the second piece of information. The drive circuit arranges and combines all the decoded first pieces of information and second pieces of information according to the timing or occurrence time points of multiple pulses of the pulse width modulation signal to obtain the instruction information, and executes the operation indicated by the instruction information. The main controller does not adjust the duty cycle of each pulse according to the instruction information to be conveyed to the motor driver.

[0006] In an embodiment, one of the first piece of information and the second piece of information is represented by a bit value of "0", and the other of the first piece of information and the second piece of information is represented by a bit value of "1".

[0007] In an embodiment, multiple pulses of the pulse width modulation signal include multiple address pulses. The drive circuit determines which of the multiple pulses are the multiple address pulses based on the timing or occurrence time points, information content, and quantity of the multiple address pulses preset in the pulse width modulation signal according to the set reference information, and all the first pieces of information and / or second pieces of information obtained by decoding the multiple address pulses. The drive circuit generates the address information included in the instruction information based on all the first pieces of information and / or second pieces of information of the multiple address pulses.

[0008] In an embodiment, the motor driver further includes a storage circuit. The storage circuit is connected to the drive circuit. Multiple pulses of the pulse width modulation signal further include read / write pulses. The drive circuit determines which of the multiple pulses is the read / write pulse based on the timing or occurrence time points, information content, and quantity of the read / write pulses preset in the pulse width modulation signal according to the set reference information. When the read / write pulse is decoded into the first piece of information, the original information stored in the address indicated by the address information in the storage circuit is read. When the read / write pulse is decoded into the second piece of information, the instruction information is written into the address.

[0009] In one embodiment, multiple pulses of the pulse width modulation signal further include multiple preamble pulses. The drive circuit determines that multiple preamble pulses appear in the pulse width modulation signal when the number of the first information and / or the second information decoded from consecutive multiple pulses reaches the preamble number threshold based on the timing or occurrence time points, information content, and quantity of the multiple preamble pulses preset according to the set reference information.

[0010] In one embodiment, multiple pulses of the pulse width modulation signal further include multiple drive parameter pulses. The drive circuit determines which of the multiple pulses are multiple drive parameter pulses based on the timing or occurrence time points, information content, and quantity of the multiple drive parameter pulses preset according to the set reference information and all the first information and / or the second information obtained by decoding the multiple pulses. The drive circuit generates drive parameter information included in the indication information based on all the first information and / or the second information decoded from all the multiple drive parameter pulses, and drives the motor according to the drive parameter information.

[0011] In one embodiment, multiple pulses of the pulse width modulation signal further include parity pulses. The drive circuit determines which of the multiple pulses is a parity pulse based on the timing or occurrence time points, information content, and quantity of the parity pulses preset according to the set reference information. When the parity pulse is decoded as the first information, it is determined that the parity pulse indicates even parity check indication information; when the parity pulse is decoded as the second information, it is determined that the parity pulse indicates odd parity check indication information.

[0012] In one embodiment, multiple pulses of the pulse width modulation signal further include start pulses. The drive circuit determines the start pulse based on the timing or occurrence time point, information content, and quantity of the start pulse preset according to the set reference information when the decoded start pulse is the first information.

[0013] In one embodiment, multiple pulses of the pulse width modulation signal further include stop pulses. The drive circuit determines the stop pulse based on the timing or occurrence time point, information content, and quantity of the stop pulse preset according to the set reference information when the decoded stop pulse is the second information.

[0014] In one embodiment, the driving circuit adjusts the duty cycle of an initial feedback signal according to feedback information to be conveyed to the main controller, so as to output a feedback signal with multiple waveforms to the main controller. Based on the set reference information, the main controller decodes each waveform with a duty cycle equal to a first preset duty cycle or falling within a first preset duty cycle range into first information. Based on the set reference information, the main controller decodes each waveform with a duty cycle equal to a second preset duty cycle or falling within a second preset duty cycle range into second information. The main controller arranges and combines all the decoded first information and second information according to the timing sequence or occurrence time points of the multiple waveforms of the feedback signal, so as to obtain the feedback information.

[0015] In one embodiment, the multiple waveforms of the feedback signal include multiple preamble waveforms. Based on the timing sequence or occurrence time points, information content, and quantity of the multiple preamble waveforms preset according to the set reference information in the feedback signal, when the driving circuit determines that the quantity of the first information and / or second information decoded from a continuous plurality of waveforms reaches a preamble quantity threshold, it determines that multiple preamble waveforms appear in the feedback signal.

[0016] In one embodiment, the multiple waveforms of the feedback signal further include multiple motor state waveforms. Based on the timing sequence or occurrence time points, information content, and quantity of the multiple motor state waveforms preset according to the set reference information in the feedback signal, the driving circuit determines which of the multiple waveforms are the multiple motor state waveforms. The driving circuit decodes each motor state waveform into first information or second information, so as to decode the multiple motor state waveforms into the motor state information included in the feedback information.

[0017] In one embodiment, the multiple waveforms of the feedback signal include parity waveforms. Based on the timing sequence or occurrence time points, information content, and quantity of the parity waveforms preset according to the set reference information in the feedback signal, the driving circuit determines which one of the multiple waveforms is the parity waveform. When the parity waveform is decoded into first information, it is determined that the parity waveform indicates even parity check indication information; when the parity waveform is decoded into second information, it is determined that the parity waveform indicates odd parity indication information.

[0018] In one embodiment, the multiple waveforms of the feedback signal include start waveforms. Based on the timing sequence or occurrence time points, information content, and quantity of the start waveforms preset according to the set reference information in the feedback signal, when the decoded start waveform is first information, the driving circuit identifies the start waveform.

[0019] In one embodiment, the multiple waveforms of the feedback signal include stop waveforms. Based on the timing sequence or occurrence time points, information content, and quantity of the stop waveforms preset according to the set reference information in the feedback signal, when the decoded stop waveform is second information, the driving circuit identifies the stop waveform.

[0020] As described above, the present invention provides a motor drive control system with the following advantages:

[0021] When the main controller restores the motor drive parameters stored in the buffer of the motor driver, the motor does not need to stop rotating;

[0022] The motor driver adjusts the motor drive parameters in real time according to the instructions of the main controller, and the machine tuning efficiency is high;

[0023] There is no need to enter the silent mode, and the main controller does not need to output a pulse width modulation signal to instruct the motor driver to stop driving the motor for a silent / waiting period, and there is no need to judge and calculate whether the silent mode has been entered. Therefore, the excellent rate and efficiency of motor drive can be improved;

[0024] Pure digital control increases the anti-noise ability.

[0025] To further understand the features and technical content of the present invention, please refer to the following detailed description of the present invention and the attached drawings. However, the attached drawings are only for reference and illustration, and are not used to limit the present invention. Description of the Drawings

[0026] Figure 1 It is a block diagram of the motor drive control system according to an embodiment of the present invention.

[0027] Figure 2 It is a block diagram of the main controller of the motor drive control system according to an embodiment of the present invention transmitting signals to the motor driver.

[0028] Figure 3 It is a block diagram of the motor driver of the motor drive control system according to an embodiment of the present invention transmitting signals to the main controller.

[0029] Figure 4 It is a first schematic diagram of the pulse width modulation signal of the motor drive control system according to an embodiment of the present invention.

[0030] Figure 5 It is a second schematic diagram of the pulse width modulation signal of the motor drive control system according to an embodiment of the present invention.

[0031] Figure 6 It is a schematic diagram of the feedback signal of the motor drive control system according to an embodiment of the present invention.

[0032] Figure 7 It is a waveform diagram of the pulse width modulation signal of the motor drive control system according to an embodiment of the present invention.

[0033] Figure 8 It is a waveform diagram of the feedback signal of the motor drive control system according to an embodiment of the present invention. Detailed Embodiments

[0034] The following is to illustrate the implementation manners of the present invention through specific embodiments. Those skilled in the art can understand the advantages and effects of the present invention from the content disclosed in this specification. The present invention can be implemented or applied through other different specific embodiments, and various details in this specification can also be modified and changed according to different viewpoints and applications without departing from the concept of the present invention. In addition, the drawings of the present invention are only for simple schematic illustration and are not drawn according to actual sizes, which is stated in advance. The following implementation manners will further detail the related technical content of the present invention, but the disclosed content is not used to limit the protection scope of the present invention. In addition, the term "or" used in this article should be considered to possibly include any one or a combination of multiple of the related listed items according to the actual situation.

[0035] Please refer to Figure 1 and Figure 2 , in which Figure 1 is a block diagram of the motor drive control system according to an embodiment of the present invention; Figure 2 is a block diagram of the main controller of the motor drive control system according to an embodiment of the present invention transmitting a signal to the motor driver.

[0036] As Figure 1 shown, the motor drive control system according to an embodiment of the present invention may include a main controller 10 and a motor driver 20, which is applicable to a motor 90. Signals can be transmitted between the main controller 10 and the motor driver 20.

[0037] As Figure 2 shown, the motor driver 20 may include a drive circuit 201 and a storage circuit 202. The storage circuit 202 can be a buffer or other components with storage functions, and the present invention is not limited thereto. The main controller 10 can transmit a signal to the drive circuit 201 of the motor driver 20 to control the operation of the drive circuit 201 of the motor driver 20.

[0038] The main controller 10 can obtain or generate the set reference information 11 by itself from an external circuit. The main controller 10 can set a first preset frequency 12 to represent a first piece of information 121 in the set reference information 11, and can set a second preset frequency 13 to represent a second piece of information 131. On the other hand, the motor driver 20 can obtain the set reference information 11 from an external circuit or the main controller 10.

[0039] The main controller 10 can output an initial pulse width modulation signal to the motor driver 20 to control the motor driver 20 to drive the motor 90 to operate stably based on the duty cycle of the initial pulse width modulation signal and according to the initial motor drive parameters stored in the storage circuit 202 of the motor driver 20.

[0040] It should be noted that in the motor drive control system of the present invention, during the operation of the motor, the indication information 16 provided by the main controller 10 can be written into the motor driver 20 simultaneously without affecting the stable operation of the motor 90. The detailed description is as follows.

[0041] The main controller 10 can adjust the frequency of all or part of the pulses in the initial pulse width modulation signal based on the timing or occurrence time points of multiple pulses of the initial pulse width modulation signal, according to the indication information 16 (such as including new motor drive parameters) that the main controller 10 wants to convey. The frequency of each adjusted pulse is equal to the first preset frequency 12 or the second preset frequency 13.

[0042] Finally, the main controller 10 can output a pulse width modulation signal 15 based on the adjusted initial pulse width modulation signal. That is, the main controller 10 encodes the content of the indication information 16 and writes it into the pulse width modulation signal 15.

[0043] The drive circuit 201 of the motor driver 20 can be connected to the storage circuit 202 of the motor driver 20, and is connected to the main controller 10 and the motor 90. The drive circuit 201 can receive the pulse width modulation signal 15 from the main controller 10. The motor driver 20 can drive the motor 90 to operate stably based on the duty cycle of the pulse width modulation signal 15.

[0044] It should be noted that the main controller 10 only adjusts the frequency of the initial pulse width modulation signal to generate the pulse width modulation signal 15, but does not adjust the duty cycle of each pulse of the initial pulse width modulation signal according to the indication information 16 that the main controller 10 wants to convey to the motor driver 20. The duty cycle of the pulse width modulation signal 15 is the same as that of the initial pulse width modulation signal. Therefore, whether driving the motor 90 based on the initial pulse width modulation signal or based on the pulse width modulation signal 15, the motor 90 maintains the same rotational speed. That is to say, the main controller 10 transmits the indication information 16 to the motor driver 20 without affecting the rotational speed of the motor 90.

[0045] In a state where the motor 90 does not stop rotating and does not change its rotational speed, the drive circuit 201 of the motor driver 20 can decode each pulse with the first preset frequency 12 in the pulse width modulation signal 15 into the first information 121, and can decode each pulse with the second preset frequency 13 in the pulse width modulation signal 15 into the second information 131.

[0046] Finally, the drive circuit 201 of the motor driver 20 can arrange and combine all the decoded first information 121 and second information 131 according to the timing or occurrence time points of multiple pulses of the pulse width modulation signal 15 to obtain the indication information 16.

[0047] For example, one of the first information 121 and the second information 131 is represented by a bit value of "0", and the other of the first information 121 and the second information 131 is represented by a bit value of "1". The indication creditworthiness 16 can be represented by a bit string.

[0048] When the drive circuit 201 controls the motor 90 to maintain the same rotational speed according to the duty cycle of the pulses of the pulse width modulation signal 15, the drive circuit 201 can perform the operation indicated by the indication creditworthiness 16.

[0049] Please refer to Figure 1 and Figure 3 , where Figure 1 is a block diagram of the motor drive control system according to an embodiment of the present invention; Figure 3 is a block diagram of the motor driver of the motor drive control system according to an embodiment of the present invention transmitting a signal to the main controller. The same content as the foregoing is not repeated here.

[0050] As Figure 3 shown, the motor driver 20 can feedback the state of the motor 90 to the main controller 10 (which can be included in the following feedback creditworthiness), or actually can also feedback the instruction issued by the motor driver 20 to the motor 90 (which can be included in the following feedback creditworthiness).

[0051] It should be noted that the initial pulse width modulation signal transmitted from the main controller 10 to the motor driver 20 is used to drive the motor 90. Therefore, as indicated by the indication creditworthiness 16 of the main controller 10 above, the frequency rather than the duty cycle of the initial pulse width modulation signal is adjusted. Differently, the feedback signal 21 transmitted from the motor driver 20 to the main controller 10 is not used to drive the motor 90. Therefore, the duty cycle of the feedback signal 21 can be adjusted or set according to the feedback creditworthiness that the motor driver 20 wants to convey to the main controller 10.

[0052] In this embodiment, the motor driver 20 can adjust the duty cycle of the initial feedback signal 21 according to the feedback creditworthiness to be conveyed to the main controller 10 to output a feedback signal 21 with multiple waveforms to the main controller 10. Or, the motor driver 20 can directly generate the feedback signal 21 according to the feedback creditworthiness.

[0053] Among the set reference creditworthiness 11 generated or obtained by the above motor driver 20 and the main controller 10, a duty cycle equal to the first preset duty cycle 22 or falling within the first preset duty cycle range can be set to represent the first information 121, and a duty cycle equal to the second preset duty cycle 23 or falling within the second preset duty cycle range can be set to represent the second information 131.

[0054] When the main controller 10 receives the feedback signal 21 from the motor driver 20, the main controller 10 decodes each waveform with a duty cycle equal to the first preset duty cycle 22 or falling within the range of the first preset duty cycle into the first information 121, and decodes each waveform with a duty cycle equal to the second preset duty cycle 23 or falling within the range of the second preset duty cycle into the second information 131.

[0055] Finally, the main controller 10 can arrange and combine all the decoded first information 121 and second information 131 according to the timing or the occurrence time points of multiple waveforms of the feedback signal 21 to obtain the feedback information.

[0056] Please refer to Figure 2 and Figure 4 where Figure 2 is a block diagram of the main controller of the motor drive control system according to an embodiment of the present invention transmitting a signal to the motor driver; Figure 4 is a first schematic diagram of the pulse width modulation signal of the motor drive control system according to an embodiment of the present invention.

[0057] As described above, in the set reference information 11, the first preset frequency 12 can be set to represent the first information 121, and the second preset frequency 13 can be set to represent the second information 131.

[0058] As Figure 2 shown, multiple pulses of the pulse width modulation signal 15 may include multiple preamble pulses representing the preamble as Figure 4 shown. In the above set reference information 11, the number of preamble pulses representing the preamble can be set, and the number of the first information 121 and / or the number of the second information 131 that are arranged and combined into multiple preamble pulses can be set.

[0059] When the drive circuit 201 determines that the frequency of each pulse in the pulse width modulation signal 15 is equal to the first preset frequency 12, it decodes this pulse into the first information 121, and when it determines that the frequency of each pulse is equal to the second preset frequency 13, it decodes this pulse into the second information 131. Then, the drive circuit 201 can calculate the number of consecutive occurrences of the first information 121 or the second information 131 in the pulse width modulation signal 15.

[0060] Finally, when the drive circuit 201 determines that the number of consecutive occurrences of the first information 121 and / or the second information 131 in the pulse width modulation signal 15 reaches a preamble number threshold included in the set reference information 11, the drive circuit 201 determines that multiple preamble pulses appear in the pulse width modulation signal 15 and confirms the appearance of the preamble.

[0061] For example, if the first information 121 is represented by a bit value of "0" and the second information 131 is represented by a bit value of "1", when setting the reference credit information 11 to represent a preamble with 6 consecutive bit values of "1", 6 bit values of "1" can be respectively encoded into the pulses of 6 pulse width modulation signals 15 each having a first preset frequency 12 (as preamble pulses).

[0062] As Figure 4 shown, the multiple pulses of the pulse width modulation signal 15 may include a start pulse. In fact, the number of start pulses can be adjusted according to the actual situation. In the above-mentioned setting reference credit information 11, it can be set that the time point when the start pulse appears is after multiple preamble pulses. For example, in this embodiment, the preamble pulse can be set as the first information 121, but actually it can also be set as the second information 131.

[0063] When the drive circuit 201 receives the pulse width modulation signal 15, the drive circuit 201 can, based on the setting reference credit information 11, preset the timing or the time point when the start pulse appears in the pulse width modulation signal 15, the information content and the number, and decode the start pulse into the first information 121 (actually it can be the second information 131) to determine that a start pulse appears among the multiple pulses of the pulse width modulation signal 15.

[0064] As Figure 4 shown, the multiple pulses of the pulse width modulation signal 15 may include multiple address pulses, and actually it can also be only one address pulse. In the above-mentioned setting reference credit information 11, the number of address pulses can be set according to the amount of credit information (drive parameter credit information) to be written into the storage circuit 202 and the address of the storage circuit 202, and it can be set that multiple address pulses are represented by the arrangement and combination of several first information 121 and / or several second information 131.

[0065] The drive circuit 201 can, based on the setting reference credit information 11, preset the timing or the time point when the address pulse appears in the pulse width modulation signal 15, the information content and the number, to determine which of the multiple pulses of the pulse width modulation signal 15 are address pulses. Then, the drive circuit 201 can decode each address pulse into the first information 121 or the second information 131 to decode the multiple address pulses into the address credit information included in the indication credit information 16.

[0066] The multiple pulses of the pulse width modulation signal 15 may include a read / write pulse, and actually it can also be multiple read / write pulses. In the above-mentioned setting reference credit information 11, it can be set that one of read (Read) and write (Write) is represented by the first information 121, and the other of read and write is represented by the second information 131.

[0067] The driving circuit 201 can determine which one of a plurality of pulses is a read / write pulse based on the set reference information 11 to preset the timing or occurrence time point, information content, and quantity of the read / write pulse in the pulse width modulation signal 15.

[0068] When the driving circuit 201 decodes the read / write pulse as the first information 121 (or actually the second information 131), it reads the original information stored in the address indicated by the address information in the storage circuit 202. Conversely, when the driving circuit 201 decodes the read / write pulse as the first information 121, it decodes the read / write pulse as the second information 131 (or actually the first information 121) and writes the indication information 16 to the address indicated by the address information.

[0069] As Figure 4 shown, the multiple pulses of the pulse width modulation signal 15 can include multiple parity pulses, and actually can also be one parity pulse. In this embodiment, the multiple parity pulses can include a first parity pulse and a second parity pulse, but the present invention is not limited thereto. The time point when the first parity pulse appears can be after the read / write pulse and before the following first stop pulse. The time point when the second parity pulse appears can be after the following multiple driving parameter pulses and before the following second stop pulse.

[0070] In the above set reference information 11, one of the even parity check indication information and the odd parity check indication information can be represented by the first information 121, and the other of the even parity check indication information and the odd parity check indication information can be represented by the second information 131.

[0071] The driving circuit 201 can preset the timing or occurrence time point, information content, and quantity of the parity pulses in the pulse width modulation signal 15 based on the set reference information 11 to determine which one or which ones of the multiple pulses are parity pulses. Then, when the driving circuit 201 decodes the parity pulse as the first information 121 (or actually the second information 131), the driving circuit 201 determines that the parity pulse indicates an even parity check indication information. Conversely, when the driving circuit 201 decodes the parity pulse as the second information 131 (or actually the first information 121), it determines that the parity pulse indicates an odd parity check indication information.

[0072] When the driving circuit 201 decodes the odd parity check indication information, it judges whether the number of currently decoded bits "1" is an odd number. When the driving circuit 201 judges that the number of currently decoded bits "1" is an even number, a parity check code "1" is added after the currently decoded bit.

[0073] Conversely, when the driving circuit 201 decodes the even parity check indication information, it determines whether the current number of decoded bits "1" is an even number. When the driving circuit 201 determines that the current number of decoded bits "1" is an odd number, a parity check code "1" is added after the currently decoded bit.

[0074] As Figure 4 shown, multiple pulses of the pulse width modulation signal 15 may include multiple stop pulses, such as but not limited to the first stop pulse and the second stop pulse, and may actually be only one stop pulse. The time point at which the first stop pulse appears may be after the first parity pulse and before the following driving parameter pulse. The time point at which the second stop pulse appears may be after the second parity pulse.

[0075] In the above-mentioned setting reference information 11, the stop pulse may be set as the second information 131, or actually the first information 121. In this embodiment, when the driving circuit 201 decodes the stop pulse into the second information 131 based on the preset timing or the time point of appearance, information content, and quantity of the stop pulse in the pulse width modulation signal 15 in the setting reference information 11, it determines that a stop pulse appears in the pulse width modulation signal 15.

[0076] As Figure 4 shown, multiple pulses of the pulse width modulation signal 15 may include multiple driving parameter pulses. The driving circuit 201 may preset the timing or the time point of appearance, information content, and quantity of multiple driving parameter pulses in the pulse width modulation signal 15 based on the setting reference information 11 to determine which of the multiple pulses are driving parameter pulses.

[0077] Next, the driving circuit 201 may decode each driving parameter pulse of the pulse width modulation signal 15 into the first information 121 or the second information 131. After the driving circuit 201 decodes all the driving parameter pulses, the driving circuit 201 may decode all the decoded first information 121 and / or second information 131 into the driving parameter information included in the indication information 16, and drive the motor 90 based on the driving parameter information (replacing the original driving parameter information).

[0078] Please refer to Figure 2 and Figure 5 where Figure 2 is a block diagram of the main controller of the motor drive control system according to an embodiment of the present invention transmitting a signal to the motor driver, Figure 5 is a second schematic diagram of the pulse width modulation signal of the motor drive control system according to an embodiment of the present invention. The same parts as above are not described herein again.

[0079] As described above, when the main controller 10 provides the drive parameter information of the motor 90 to the drive circuit 201 and instructs the drive circuit 201 of the motor driver 20 to write the drive parameter information into the storage circuit 202, the main controller 10 can output a pulse width modulation signal 15 having the content of the indication information 16 as shown in Figure 4 to the drive circuit 201.

[0080] In contrast, when the main controller 10 wants to instruct the drive circuit 201 of the motor driver 20 to read the data in the storage circuit 202, the main controller 10 can output a pulse width modulation signal 15 having the content of the indication information 16 as shown in Figure 5 to the drive circuit 201.

[0081] Please refer to Figure 3 and Figure 6 , where Figure 3 is a block diagram of the motor driver of the motor drive control system according to an embodiment of the present invention transmitting a signal to the main controller; Figure 6 is a schematic diagram of the feedback signal of the motor drive control system according to an embodiment of the present invention. The same or similar parts as above will not be described in detail here.

[0082] When the drive circuit 201 of the motor driver 20 wants to feedback relevant information of the motor 90 (such as the current state information of the motor 90 and the instructions issued by the motor driver 20 to the motor 90) to the main controller 10, the motor driver 20 can output a feedback signal 21 having the content of the feedback information as shown in Figure 6 to the main controller 10.

[0083] As Figure 6 shown, multiple waveforms of the feedback signal 21 may include multiple preamble waveforms. As Figure 3 shown, the drive circuit 201 can determine that multiple preamble waveforms appear in the feedback signal 21 when the number of the first information 121 and / or the second information 131 decoded from consecutive multiple waveforms reaches a preamble number threshold based on the timing or occurrence time points, information content, and quantity of the multiple preamble waveforms preset by the set reference information 11 in the feedback signal 21.

[0084] The multiple waveforms of the feedback signal 21 further include multiple motor state waveforms. The drive circuit 201 can determine which of the multiple waveforms are the multiple motor state waveforms based on the timing or occurrence time points, information content, and quantity of the multiple motor state waveforms preset by the set reference information 11 in the feedback signal 21. The drive circuit 201 can decode each motor state waveform into the first information 121 or the second information 131 to decode the multiple motor state waveforms into the motor state information included in the feedback information.

[0085] Multiple waveforms of the feedback signal 21 include parity waveforms. The drive circuit 201 can determine which one of the multiple waveforms is the parity waveform based on the timing or occurrence time point, information content, and quantity of the parity waveform preset in the set reference information 11 in the feedback signal 21. When the drive circuit 201 decodes the parity waveform as the first information 121 (or actually the second information 131), it is determined that the parity waveform indicates even parity check indication information. When the drive circuit 201 decodes the parity waveform as the second information 131 (or actually the first information 121), it is determined that the parity waveform indicates odd parity indication information.

[0086] Multiple waveforms of the feedback signal 21 include start waveforms. The drive circuit 201 can determine that a start waveform appears in the feedback signal 21 based on the timing or occurrence time point, information content, and quantity of the start waveform preset in the set reference information 11 in the feedback signal 21, and when the decoded start waveform is the first information 121.

[0087] Multiple waveforms of the feedback signal 21 include stop waveforms. The drive circuit 201 can determine that a stop waveform appears in the feedback signal 21 based on the timing or occurrence time point, information content, and quantity of the stop waveform preset in the set reference information 11 in the feedback signal 21, and when the decoded stop waveform is the second information 131.

[0088] Please refer to Figure 7 , which is a waveform diagram of the pulse width modulation signal of the motor drive control system according to an embodiment of the present invention.

[0089] As described above, as Figure 2 shown, the main controller 10 can transmit the pulse width modulation signal 15 to the motor driver 20 as Figure 2 shown. This pulse width modulation signal 15 can include pulses that are the same as or different from the pulse width modulation signal PWM as Figure 7 shown.

[0090] For example, as Figure 7 shown, the pulse width modulation signal PWM can have two pulses of a first preset frequency (low frequency) and three pulses of a second preset frequency (high frequency), where the first preset frequency represents the first information 121 such as a bit value "1", and the second preset frequency represents the second information 131 such as a bit value "0". This is only an example for illustration, and the present invention is not limited thereto.

[0091] The duty cycle of each pulse cycle of the pulse width modulation signal PWM output by the main controller 10 to the motor driver 20 according to the indication information is the same, for example, 50%.

[0092] Please refer to Figure 8 , which is a waveform diagram of the feedback signal of the motor drive control system according to an embodiment of the present invention.

[0093] As described above, as Figure 3 shown, the motor driver 20 can feedback a feedback signal 21 to the main controller 10 as Figure 3 shown. This feedback signal 21 may include a waveform that is the same as or different from the feedback signal FG as Figure 8 shown.

[0094] For example, as Figure 8 shown, the duty cycles of two pulse cycles in the feedback signal FG fall within a first preset duty cycle range, such as but not limited to greater than 25% and less than 75%, and the duty cycles of two pulse cycles are equal to a second preset duty cycle, such as approaching 50%. The first preset duty cycle represents a first piece of information 121, such as a bit value "1", and the second preset duty cycle represents a second piece of information 131, such as a bit value "0". This is only an example here, and the present invention is not limited thereto.

[0095] The frequencies of multiple pulses in the feedback signal FG fed back by the motor driver 20 to the main controller 10 are all the same.

[0096] In summary, the present invention provides a motor drive control system with the following advantages:

[0097] When the main controller restores the motor drive parameters stored in the buffer of the motor driver, the motor does not need to stop rotating;

[0098] The motor driver adjusts the motor drive parameters in real time according to the instructions of the main controller, and the machine tuning efficiency is high;

[0099] There is no need to enter the silent mode. The main controller does not need to output a pulse width modulation signal to instruct the motor driver to stop driving the motor for a silent / waiting period, and there is no need to judge and calculate whether the silent mode has been entered. Therefore, the excellent rate and efficiency of motor drive can be improved;

[0100] Pure digital control, increasing the anti-noise ability.

[0101] The content disclosed above is only a preferred and feasible embodiment of the present invention, and does not limit the claims of the present invention. Therefore, all equivalent technical changes made by using the content of the specification and drawings of the present invention are included in the claims of the present invention.

Claims

1. A motor drive control system, applicable to a motor, characterized in that, The motor drive control system includes: A main controller configured to output an initial pulse width modulation signal, obtain or generate a set reference information from an external circuit, where the set reference information sets a first preset frequency representing a first piece of information and a second preset frequency representing a second piece of information, and based on the timing or occurrence time points of multiple pulses of the initial pulse width modulation signal, according to the indication information to be conveyed by the main controller, adjust the frequency of all or part of the pulses in the initial pulse width modulation signal, and the frequency of each adjusted pulse is equal to the first preset frequency or the second preset frequency, and output a pulse width modulation signal according to the adjusted initial pulse width modulation signal; And A motor driver including a drive circuit, the drive circuit being connected to the main controller and the motor, configured to receive the pulse width modulation signal from the main controller, and in a state where the drive circuit drives the motor to operate continuously and stably based on the initial pulse width modulation signal, based on the set reference information, decode each pulse with the first preset frequency into the first piece of information, decode each pulse with the second preset frequency into the second piece of information, and according to the timing or occurrence time points of the multiple pulses of the pulse width modulation signal, arrange and combine all the decoded first information and second information to obtain the indication information, and execute the operation indicated by the indication information; Wherein, the main controller does not adjust the duty cycle of each pulse according to the indication information that the main controller wants to convey to the motor driver.

2. The motor drive control system according to claim 1, wherein One of the first information and the second information is represented by a bit value of "0", and the other of the first information and the second information is represented by a bit value of "1".

3. The motor drive control system according to claim 1, characterized in that, The multiple pulses of the pulse width modulation signal include multiple address pulses, and the drive circuit, based on the timing, information content, and quantity of the multiple address pulses preset by the set reference information in the pulse width modulation signal, determines which of the multiple pulses are the multiple address pulses according to all the first information and / or the second information obtained by decoding the multiple address pulses, and generates the address information included in the indication information according to all the first information and / or the second information of the multiple address pulses.

4. The motor drive control system according to claim 3, characterized in that, The motor driver further includes a storage circuit, the storage circuit is connected to the drive circuit, the multiple pulses of the pulse width modulation signal further include read / write pulses, and the drive circuit, based on the timing, information content, and quantity of the read / write pulses preset by the set reference information in the pulse width modulation signal, determines which one of the multiple pulses is the read / write pulse. When decoding the read / write pulse into the first information, reads the original information stored in the address indicated by the address information in the storage circuit, and when decoding the read / write pulse into the second information, writes the indication information into the address.

5. The motor drive control system according to claim 3, wherein The multiple pulses of the pulse width modulation signal further include a plurality of preamble pulses. Based on the timing or occurrence time points, information content, and quantity of the plurality of preamble pulses preset by the set reference information, the driving circuit determines that when the quantity of the first information and / or the second information decoded from the consecutive multiple pulses reaches a preamble quantity threshold, it is determined that the plurality of preamble pulses appear in the pulse width modulation signal.

6. The motor drive control system according to claim 3, wherein The multiple pulses of the pulse width modulation signal further include a plurality of driving parameter pulses. Based on the timing or occurrence time points, information content, and quantity of the plurality of driving parameter pulses preset by the set reference information, and according to all the first information and / or the second information obtained by decoding the multiple pulses, the driving circuit determines which of the multiple pulses are the plurality of driving parameter pulses. Based on all the first information and / or the second information decoded from all the plurality of driving parameter pulses, driving parameter information included in the indication information is generated, and the motor is driven based on the driving parameter information.

7. The motor drive control system according to claim 3, characterized in that, The multiple pulses of the pulse width modulation signal further include parity pulses. Based on the timing or occurrence time points, information content, and quantity of the parity pulses preset by the set reference information, the driving circuit determines which of the multiple pulses is the parity pulse. When the parity pulse is decoded as the first information, it is determined that the parity pulse indicates even parity check indication information. When the parity pulse is decoded as the second information, it is determined that the parity pulse indicates odd parity check indication information.

8. The motor drive control system according to claim 3, characterized in that, The multiple pulses of the pulse width modulation signal further include a start pulse. Based on the timing or occurrence time point, information content, and quantity of the start pulse preset by the set reference information, when the decoded start pulse is the first information, the driving circuit discriminates the start pulse.

9. The motor drive control system according to claim 3, characterized in that, The multiple pulses of the pulse width modulation signal further include a stop pulse. Based on the timing or occurrence time point, information content, and quantity of the stop pulse preset by the set reference information, when the decoded stop pulse is the second information, the driving circuit discriminates the stop pulse.

10. The motor drive control system according to claim 1, characterized in that, The driving circuit adjusts the duty cycle of the initial feedback signal according to the feedback information to be conveyed to the main controller, so as to output a feedback signal with multiple waveforms to the main controller. The main controller decodes each of the waveforms with a duty cycle equal to or falling within a first preset duty cycle range into the first information based on the set reference information, decodes each of the waveforms with a duty cycle equal to or falling within a second preset duty cycle range into the second information, and arranges and combines all the decoded first information and second information according to the timing or occurrence time points of the multiple waveforms of the feedback signal, so as to obtain the feedback information.

11. The motor drive control system according to claim 10, wherein The multiple waveforms of the feedback signal include multiple preamble waveforms. When the driving circuit determines that the number of the first information and / or the second information decoded from the continuous multiple waveforms reaches the preamble number threshold based on the timing or occurrence time points, information content and quantity of the multiple preamble waveforms preset according to the set reference information in the feedback signal, it determines that the multiple preamble waveforms appear in the feedback signal.

12. The motor drive control system according to claim 10, wherein The multiple waveforms of the feedback signal include multiple motor state waveforms. The driving circuit determines which of the multiple waveforms are the multiple motor state waveforms based on the timing or occurrence time points, information content and quantity of the multiple motor state waveforms preset according to the set reference information in the feedback signal, decodes each of the motor state waveforms into the first information or the second information, so as to decode the multiple motor state waveforms into the motor state information included in the feedback information.

13. The motor drive control system according to claim 10, characterized in that, The multiple waveforms of the feedback signal include parity waveforms. The driving circuit determines which one of the multiple waveforms is the parity waveform based on the timing or occurrence time points, information content and quantity of the parity waveforms preset according to the set reference information in the feedback signal. When the parity waveform is decoded into the first information, it determines that the parity waveform indicates even parity check indication information; when the parity waveform is decoded into the second information, it determines that the parity waveform indicates odd parity check indication information.

14. The motor drive control system according to claim 10, wherein The multiple waveforms of the feedback signal include start waveforms. The driving circuit determines the start waveforms based on the timing or occurrence time points, information content and quantity of the start waveforms preset according to the set reference information in the feedback signal when the decoded start waveforms are the first information.

15. The motor drive control system according to claim 10, characterized in that, The multiple waveforms of the feedback signal include stop waveforms. The driving circuit determines the stop waveforms based on the timing or occurrence time points, information content and quantity of the stop waveforms preset according to the set reference information in the feedback signal when the decoded stop waveforms are the second information.

Citation Information

Patent Citations

  • PWM controller

    CN1033134A

  • All-digital high-precision high-speed alternating current servo driver

    CN104158468A