1. Technical Field
The present disclosure relates to control systems and methods and, particularly, to a control system and method for controlling a plurality of gain values of a driver according to working status of a motor.
2. Description of Related Art
Various gain values, such as current gain values and voltage gain values, of a driver are critically important for a performance of a motor. For example, current gain values of the driver can control input current for the motor. Most existing methods determine gain values of the driver based on a predetermined program. Thus, when working status of the motor abruptly change, it is difficult to adjust the gain values of the driver, which may cause damage to the motor.
What is needed, therefore, is to provide a control system and method that can overcome the aforementioned deficiencies.
Referring to
The processor 10a is configured for dividing a gain value range of the driver 14 into a plurality of gain values, and for generating a plurality of encoded values according to the number of sensors. For example, the processor 10a divides a gain value range of the driver 14, such as [0 dB, 80 dB], into several gain values 20 dB, 35 dB, 50 dB, 60 dB, 75 dB, and 80 dB, for example. In one embodiment, the processor 10a generates eight encoded values, i.e., 000, 001, 010, 011, 100, 101, 110, and 111, corresponding to the current, speed, and temperature sensors 11, 12, and 13. Each gain value can be corresponding to one or more of encoded values. For example, the gain value 80 dB is corresponding to the encoded values 000, 001, 010, and the gain value 20 dB is corresponding to the encoded value 111. It can be understood that the division manners of a gain range of the driver 14 can be random. In general, for efficiently controlling the working statue of the motor 15, the smaller the encoded values the smaller the corresponding gain values, and the number of gain values is no more than the number of the encoded values. The storage unit 10b is configured for storing the gain values for the driver 14, and the encoded values, such as 20 dB, 35 dB, 50 dB, 60 dB, 75 dB, 80 dB, 000,001, 010, 011, 100, 101, 110, and 111.
The current sensor 11 is configured for detecting the working current of the motor 15 to generate a current analog induction signal. The speed sensor 12 is configured for detecting speed of the motor 15 to generate a speed analog induction signal. The temperature sensor 13 is configured for detecting environment temperature of the motor 15 to generate a temperature analog induction signal. It can be understood that other type sensors, such as voltage sensor, can be also used in the control system 1, and the combinations of sensors can be changed. The A/D converter 10d is configured for converting analog induction signals to corresponding digital induction signals according to preset threshold values. In one embodiment, if the peak of a current analog induction signal is greater than a preset current threshold value, such as 1.5 A, the A/D converter 10d converts the current analog induction signal to a current digital induction signal denoted as 1. If the peak of a current analog induction signal is no more than the preset current threshold value 1.5 A, the current digital induction signal is denoted as 0. The conversion processes for the speed and temperature analog induction signals by the A/D converter 10d are similar with the conversion process for the current analog induction signal. Therefore, the current, speed, and temperature digital induction signals can be constituted as a three-bit encoded value. For example, when the current, speed, and temperature analog induction signals are all lower than their corresponding preset threshold values, the three-bit encoded value is denoted as 000.
The gain value selection unit 10c is configured for selecting a gain value for the driver 14 in the storage unit 10b according to the encoded value generated by the A/D converter 10d. In one embodiment, the gain value selection unit 10c selects the gain value 80 dB when the encoded value generated by the A/D converter 10d is 000, for example. The processor 10a controls the driver 14 to work according to the selected gain value, such as 80 dB.
Referring to
In step S21, the processor 10a divides a gain value range of the driver 14 into a plurality of gain values.
In step S22, the processor 10a generates a plurality of encoded values according to the number of sensors, such as sixteen four-bit encoded values 0000-1111 in responding to four sensors.
In step S23, the storage unit 10b stores the plurality of gain values for the driver and the plurality of encoded values, wherein each of the plurality of gain values can be corresponding to one or more of the plurality of encoded values.
In step S24, the current, speed, and temperature sensors 11, 12, and 13 detect working current, speed, and environment temperature of the motor 15 respectively to correspondingly generate a current analog induction signal, a speed analog induction signal, and a temperature analog induction signal.
In step S25, the A/D converter 10d convert the current, speed, and temperature analog induction signals to corresponding current, speed, and temperature digital induction signals according to preset current, speed, and temperature threshold values. Accordingly, the current, speed, and temperature digital induction signals are constituted as a generated encoded value.
In step S26, the gain value selection unit 10c selects a gain value for the driver 14 in the storage unit 10b according to the generated encoded value.
In step S7, the processor 10a controls the driver 14 to work according to the selected gain value.
The foregoing description of the certain inventive embodiments of the disclosure has been presented only for the purposes of illustration and description and is not intended to be exhaustive or to limit the disclosure to the precise forms disclosed. Many modifications and variations are possible in light of the above everything. The embodiments were chosen and described in order to explain the principles of the disclosure and their practical application so as to enable others of ordinary skill in the art to utilize the disclosure and various embodiments and with various modifications as are suited to the particular use contemplated. Alternative embodiments will become apparent to those of ordinary skill in the art to which the present disclosure pertains without departing from its spirit and scope. Accordingly, the scope of the present disclosure is defined by the appended claims rather than the foregoing description and the embodiments described therein.
| Number | Date | Country | Kind |
|---|---|---|---|
| 200810306078.0 | Dec 2008 | CN | national |