control device

The control device dynamically adjusts sampling frequency and operations in the hardware processing circuit to improve Fourier coefficient calculation accuracy, addressing inaccuracies due to varying rotational speeds and effectively managing torque and spatial harmonics in motor control systems.

JP2026061330APending Publication Date: 2026-04-09DAIKIN INDUSTRIES LTD
View PDF 4 Cites 0 Cited by

Patent Information

Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2024-09-30
Publication Date
2026-04-09

AI Technical Summary

Technical Problem

The calculation accuracy of frequency fluctuation components in motor control is affected by the fixed sampling period, which does not adapt to varying rotational speeds, leading to inaccuracies in determining Fourier coefficients.

Method used

A control device with a hardware processing circuit that includes an AD converter and Fourier transform circuit, allowing dynamic adjustment of sampling frequency and number of operations based on the desired frequency, separate AD converters for software and hardware processing, and multiple Fourier transform circuits to handle multiple frequencies simultaneously.

Benefits of technology

Enhances Fourier coefficient determination accuracy by adapting to varying rotational speeds, reduces storage needs, minimizes interference between processing units, and simplifies hardware configuration, effectively suppressing torque fluctuations and spatial harmonics in rotating electric machines.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2026061330000001_ABST
    Figure 2026061330000001_ABST
Patent Text Reader

Abstract

The present invention provides a control device that allows the frequency resolution to be set to an appropriate resolution for the frequency at which the Fourier coefficients are to be calculated. [Solution] The control device's arithmetic circuit 36, each time the AD converter generates digital data of the detected current I, multiplies the q-axis current iq corresponding to the current I by a sine function value in the multiplication unit 60 and a cosine function value in the multiplication unit 62. The output values ​​of the multiplication units 60 and 62 are then integrated in the integration units 68 and 70. The sampling frequency of the AD converter 50 and the number of integration operations in the integration units 68 and 70 are changed by the setting of the register 74.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to a control device.

Background Art

[0002] Patent Document 1 describes a control device that executes a process of correcting a target value of the rotational speed of a motor according to a frequency fluctuation component obtained by Fourier-transforming the rotational speed of the motor. This process aims to suppress fluctuations in the output torque of the motor.

Prior Art Documents

Patent Documents

[0003]

Patent Document 1

Summary of the Invention

Problems to be Solved by the Invention

[0004] The frequency of the frequency fluctuation component desired in motor control changes depending on the rotational speed of the motor. Therefore, when the sampling period of the rotational speed is fixed, the calculation accuracy of the frequency fluctuation component may decrease depending on the rotational speed.

Means for Solving the Problems

[0005] The control device according to the first aspect of solving the problem is a control device that controls a control amount of a controlled object, and comprises a software processing circuit and a hardware processing circuit, wherein the hardware processing circuit comprises an AD converter that converts an analog signal into digital data and a Fourier transform circuit that converts the conversion data into coefficient data, and when frequency-specific data is input from the software processing circuit to the hardware processing circuit, the hardware processing circuit is configured to output coefficient data calculated using at least one of two of the sampling frequency and the number of operations corresponding to the frequency-specific data which are changed under predetermined conditions to the software processing circuit, the conversion data is the digital data or data calculated from the digital data, the frequency-specific data is data for determining the frequency for which the Fourier coefficients are to be obtained, and the coefficient data is data indicating the Fourier coefficient of the frequency specified by the frequency-specific data, and the software processing circuit is configured to perform predetermined processing with respect to the controlled object based on the coefficient data as an input variable.

[0006] According to the above configuration, the Fourier transform circuit can set its frequency resolution to an appropriate resolution for the frequency for which the Fourier coefficients are to be determined by changing at least one of the two factors: the sampling frequency and the number of operations, depending on the frequency for which the Fourier coefficients are to be determined.

[0007] The control device in the second aspect is the control device in the first aspect, wherein the Fourier transform circuit includes a first Fourier transform circuit and a second Fourier transform circuit, the software processing circuit is configured to input the first frequency-specific data as frequency-specific data to the first Fourier transform circuit and to input the second frequency-specific data as frequency-specific data to the second Fourier transform circuit, the first Fourier transform circuit is configured to output the coefficient data calculated using at least one of the first frequency-specific data to the software processing circuit when the first frequency-specific data is input, and the second Fourier transform circuit is configured to output the coefficient data calculated using at least one of the second frequency-specific data to the software processing circuit when the second frequency-specific data is input.

[0008] In the above configuration, by including a first Fourier transform circuit and a second Fourier transform circuit, it is possible to handle cases where there are two frequencies for which we want to determine the Fourier coefficients. The control device in the third aspect is configured such that, in the control device in the first or second aspect, the Fourier transform circuit is configured to perform a process to generate a first integrated value obtained by multiplying the value indicated by the corresponding conversion data by the value of a sine function of a predetermined phase and integrating the results, and a second integrated value obtained by multiplying the value of a cosine function of a predetermined phase and integrating the results, each time the analog signal is converted to digital data by the AD converter.

[0009] In the above configuration, each time an analog signal is converted to digital data, the value indicated by the corresponding conversion data is multiplied by the values ​​of the sine function and the cosine function, respectively, and then the result is accumulated. This eliminates the need to temporarily store a large amount of digital data. Therefore, the storage capacity can be reduced.

[0010] The control device according to the fourth aspect is the control device according to any one of the first to third aspects, wherein the AD converter is a first AD converter, and the control device includes a second AD converter separate from the first AD converter, and is configured such that the digital data output by the second AD converter is input to the software processing circuit.

[0011] In the above configuration, the second AD converter used by the software processing circuit and the first AD converter that generates the input data for the Fourier transform circuit are separated. This makes it possible to suppress interference between the requirements of the software processing circuit and the requirements of the Fourier transform circuit for the first AD converter.

[0012] The control device according to the fifth aspect is the control device according to any one of the first to fourth aspects described above, wherein the software processing circuit is configured to input resolution specification data to the hardware processing circuit, and the resolution specification data is data that specifies at least one of the frequency specification data.

[0013] In the above configuration, the software processing circuit specifies at least one of the two factors necessary for accurately determining the Fourier coefficients—the sampling frequency and the number of calculations—so the hardware processing circuit does not need to have the function to perform calculations to determine these factors. Therefore, the hardware processing circuit can be designed more simply.

[0014] The control device of the sixth aspect is the control device described in any one of the first to fifth aspects, wherein the controlled object is a rotating electric machine. The characteristic frequencies of physical quantities resulting from the operation of rotating electric machines tend to be rational multiples of the rotational speed. Furthermore, if these characteristic frequencies are the frequencies for which we want to calculate the Fourier coefficients, then these frequencies tend to fluctuate depending on the rotational speed of the electric machine. Therefore, the use of a process that changes at least one of the two parameters, the sampling frequency and the number of calculations, is particularly valuable.

[0015] The control device described in Perspective 7 is the control device described in Perspective 6, wherein the rotating electric machine is a motor that drives a compressor, and the output voltage of an inverter is applied to the terminals of the motor, and the software processing circuit is configured to perform frequency specification processing and output voltage adjustment processing, wherein the frequency specification processing is a process of inputting data relating to frequencies that are rational multiples of the mechanical angular frequency of the motor as frequency specification data to the hardware processing circuit, and the output voltage adjustment processing is a process of manipulating the output voltage of the inverter based on the coefficient data as an input variable.

[0016] The torque applied by the compressor to the motor fluctuates according to the compressor's rotation angle. Therefore, the load torque applied by the compressor to the motor is a rational number multiple of the motor's mechanical angle. To evaluate the effect of this load torque, the amplitude of the fluctuation component at a frequency that is an integer multiple of the fluctuation period of the load torque applied by the compressor to the motor is useful information. In the above configuration, by specifying the frequency of this fluctuation component using frequency-specific data, coefficient data related to the Fourier coefficient of this fluctuation component can be obtained. Then, by manipulating the inverter's output voltage based on this coefficient data, torque fluctuations can be suppressed.

[0017] The control device described in the eighth aspect is the control device described in the sixth or seventh aspect, wherein the output voltage of the inverter is applied to the terminals of the rotating electric machine, the software processing circuit is configured to perform frequency specification processing and output voltage adjustment processing, the frequency specification processing is a process of inputting data relating to a frequency that is 3n times the electrical angular frequency of the rotating electric machine (where n is a natural number of 1 or more) as frequency specification data to the hardware processing circuit, and the output voltage adjustment processing is configured to operate the output voltage of the inverter based on the coefficient data as an input variable.

[0018] Spatial harmonics in rotating electric machines tend to show a prominent frequency component at 3n times the electrical angular frequency. Therefore, in the above configuration, frequency identification data indicating that this component is the frequency for which the Fourier coefficients are to be calculated is input to the hardware processing circuit. By then manipulating the inverter output voltage based on the coefficient data of the frequency component at 3n times the electrical angular frequency, the decrease in controllability of the controllable variable of the rotating electric machine caused by spatial harmonics can be suppressed.

[0019] The control device described in perspective 9 is a control device described in any one of perspectives 6 to 8, wherein the software processing circuit is configured to perform frequency specification processing and diagnostic processing, the frequency specification processing is a process of inputting data relating to frequencies that are rational multiples of the mechanical angular frequency of the rotating electric machine as frequency specification data to the hardware processing circuit, and the diagnostic processing is a process of diagnosing whether or not there is an abnormality in the controlled object based on the coefficient data.

[0020] The characteristic frequencies of physical quantities resulting from the operation of a rotating electric machine tend to be rational multiples of the rotational speed. Therefore, these characteristic frequency components tend to differ depending on whether or not there is a malfunction in the rotating electric machine or the equipment driven by it. In the above configuration, frequency identification data indicating that this component is the frequency for which the Fourier coefficients are to be calculated is input to the hardware circuit. Then, by diagnosing the presence or absence of a malfunction based on the Fourier coefficients of this frequency, the presence or absence of a malfunction can be appropriately diagnosed.

[0021] The control device described in the tenth aspect is the control device described in the ninth aspect, wherein the Fourier transform circuit includes a first Fourier transform circuit and a second Fourier transform circuit, the software processing circuit is configured to input the same frequency-specific data to both the first Fourier transform circuit and the second Fourier transform circuit, and the first Fourier transform circuit and the second Fourier transform circuit are configured to output coefficient data corresponding to time-series data of different digital data, using the digital data output by the AD converter at different sampling timings as the initial input data.

[0022] The time required to calculate the coefficient data is longer than the time from the input of the first data to the input of the last data in the time-series data composed of a plurality of digital data. Therefore, in the above configuration, by outputting the coefficient data by the first Fourier transform circuit and the second Fourier transform circuit using different time-series data, the time interval at which the coefficient data is newly calculated can be shortened. Therefore, the update interval of the diagnosis result can be shortened.

Brief Description of the Drawings

[0023] [Figure 1] It is a block diagram showing the configuration of the air conditioning system according to the first embodiment. [Figure 2] It is a block diagram showing the processing executed by the CPU of the control device according to the same embodiment. [Figure 3] It is a block diagram showing the configuration of the arithmetic circuit of the control device according to the same embodiment. [Figure 4] It is a flowchart showing the procedure of the processing executed by the CPU according to the same embodiment. [Figure 5] It is a block diagram showing the configuration of the arithmetic circuit according to the second embodiment. [Figure 6] It is a block diagram showing the configuration of the air conditioning system according to the third embodiment. [Figure 7] It is a block diagram showing the processing executed by the CPU according to the same embodiment. [Figure 8] It is a flowchart showing the procedure of the processing executed by the CPU according to the same embodiment. [Figure 9] It is a flowchart showing the procedure of the processing executed by the CPU according to the fourth embodiment.

Modes for Carrying Out the Invention

[0024] <The First Embodiment> Hereinafter, the first embodiment will be described with reference to the drawings. 「Premise Configuration」 Figure 1 shows the configuration of the air conditioning system according to this embodiment.

[0025] The air conditioning unit 10 receives power from, for example, a grid power supply 20. The air conditioning unit 10 includes a compressor 12. The rotating shaft 12a of the compressor 12 is mechanically connected to the rotating shaft 14a of a motor 14. The motor 14 is, for example, a three-phase synchronous motor. The motor 14 may also be, for example, an embedded magnet synchronous motor. The output voltage of an inverter 16 is applied to each terminal of the motor 14. The inverter 16 is a circuit that converts the voltage of a DC voltage source into an AC voltage and applies it to the motor 14.

[0026] The inverter 16 has three series connections of switching elements S#p on the upper arm and S#n on the lower arm, with "#=u,v,w". Freewheeling diodes D#p and D#n are connected in antiparallel to each of these switching elements S#p and S#n.

[0027] Power from the grid power supply 20 is supplied to the input terminals of the inverter 16 via the AC / DC conversion circuit 18. A smoothing capacitor 17 is provided between the AC / DC conversion circuit 18 and the inverter 16.

[0028] The control device 30 comprises a CPU 32, memory 34, arithmetic circuit 36, and AD converter 38. The CPU 32 controls the control amount of the motor 14, which is the object controlled by the control device 30, by executing a program stored in the memory 34. The arithmetic circuit 36 ​​and AD converter 38 are hardware processing circuits.

[0029] The CPU 32 refers to the mechanical angle θm of the motor 14 detected by the rotation angle sensor 40 in order to control the controlled quantity. The CPU 32 also refers to the vibration detection signal O of the compressor 12 detected by the vibration sensor 42. The CPU 32 also refers to the current I flowing through the motor 14 detected by the current sensor 44. The current sensor 44 is configured, for example, with a shunt resistor provided on the negative DC bus of the inverter 16 and a voltage sensor that detects the voltage drop across the shunt resistor. In other words, the current I in this embodiment is the current flowing through the negative DC bus. The CPU 32 also refers to the input voltage Vin of the inverter 16 detected by the voltage sensor 46.

[0030] "CPU processing" Figure 2 shows a portion of the processing performed by the CPU 32. The processing shown in Figure 2 is achieved by the CPU 32 repeatedly executing a program stored in memory 34, for example, at a predetermined cycle.

[0031] The target angular velocity setting process M10 is the process of setting the target angular velocity ω*0, which is the target value of the rate of change of the machine angle θm. The correction process M12 is the process of substituting the value obtained by correcting the target angular velocity ω*0 by the correction amount Δωc, which will be described later, into the target angular velocity ω*. The angular velocity calculation process M14 is the process of calculating the angular velocity ωm based on the machine angle θm, which has been converted into digital data by the AD converter 38, as the input variable. The deviation calculation process M16 is the process of calculating the deviation Δω, which is the value obtained by subtracting the angular velocity ωm from the target angular velocity ω*. The current command value setting process M18 is the process of calculating the current command value id* for the d axis and the current command value iq* for the q axis based on the deviation Δω as the input variable.

[0032] The electrical angle calculation process M19 is a process that assigns the remainder obtained by dividing the value obtained by multiplying the mechanical angle θm, which has been converted into digital data by the AD converter 38, by the pole pair number p, by 360, to the electrical angle θe. The two-phase conversion process M20 is a process that calculates the d-axis current id and the q-axis current iq based on the input variables: the current I, which has been converted into digital data by the AD converter 38, the switching pattern, and the electrical angle θe. The switching pattern is determined by the on and off states of the switching elements S#p and S#n of the inverter 16. The switching pattern determines the voltage vector of the output voltage of the inverter 16. The deviation calculation process M22 is a process that calculates the q-axis current deviation, which is the value obtained by subtracting the q-axis current iq from the q-axis current command value iq*. The deviation calculation process M24 is a process that calculates the d-axis current deviation, which is the value obtained by subtracting the d-axis current id from the d-axis current command value id*.

[0033] The voltage command value setting process M26 is a process that sets the output voltage command value of the inverter 16 based on the deviation output of the deviation calculation processes M22 and M24, the q-axis current command value iq*, and the d-axis current command value id*, which are input variables. As an example, the voltage command value setting process M26 includes a process to calculate the q-axis voltage command value and the d-axis voltage command value based on the sum of the output values ​​of the proportional element and the differential element, each of which is an input variable of the pair of deviations. Furthermore, the voltage command value setting process M26 includes a process to correct the above voltage command value by non-interference control based on the q-axis current command value iq* and the d-axis current command value id*, which are input variables. The voltage command value setting process M26 may also include a process to correct the above voltage command value for induced voltage compensation based on the rate of change of the electrical angle θe, which is an input variable.

[0034] Voltage command value setting process M26 is a process that outputs amplitude Va and phase δ as variables indicating the output voltage of inverter 16. The operation signal generation process M28 calculates the operation signals g#p and g#n for the switching elements S#p and S#n based on the amplitude Va and phase δ as input variables.

[0035] The vibration suppression process M30 is a process that calculates a correction amount Δωc to suppress the vibration of the compressor 12. This vibration is synchronized with the change in the rotation angle of the rotating shaft 12a of the compressor 12. The input variable for the vibration suppression process M30 is the Fourier amplitude Ift. The Fourier amplitude Ift is calculated by the calculation circuit 36.

[0036] "Configuration of the arithmetic circuit 36" Figure 3 shows the configuration of the arithmetic circuit 36. The AD converter 50 is a circuit that converts an input analog signal into digital data. The AD converter 50 is a dedicated hardware circuit used for processing within the arithmetic circuit 36, separate from the AD converter 38 used by the CPU 32.

[0037] The electrical angle calculation unit 52 is a circuit that calculates the electrical angle θe by multiplying the mechanical angle θm, which has been converted into digital data by the AD converter 50, by the number of pole pairs p and then dividing the result by 360. The q-axis current calculation unit 54 is a process that calculates the q-axis current iq based on the current I, which has been converted into digital data by the AD converter 50 as an input variable. The q-axis current calculation unit 54 refers to the switching pattern of the inverter 16 and the electrical angle θe in order to calculate the q-axis current iq.

[0038] The q-axis current iq is input to the DFT circuit 55. In the DFT circuit 55, the sine function value calculation unit 64 is a circuit that calculates the value of the dependent variable of a sine function whose independent variable is "2·π·k·m / N". Here, the number of operations N, the specified variable k, and the counter m are used. These variables will be described in detail later. The cosine function value calculation unit 66 is a circuit that calculates the value of the dependent variable of a cosine function whose independent variable is "2·π·k·m / N".

[0039] The multiplication unit 60 is a circuit that calculates a value obtained by multiplying the q-axis current iq by the value of the sine function. The multiplication unit 62 is a circuit that calculates a value obtained by multiplying the q-axis current iq by the value of the cosine function. The integration unit 68 is a circuit that sequentially integrates the value calculated by the multiplication unit 60 each time a new value is calculated. The integration unit 70 is a circuit that sequentially integrates the value calculated by the multiplication unit 62 each time a new value is calculated.

[0040] The Fourier amplitude calculation unit 72 is a circuit that calculates the Fourier amplitude Ift, which is the square root of the sum of the squares of the output values ​​of the integration units 68 and 70. Register 74 stores data related to the sampling frequency fs of the AD converter 50, the number of operations N which is the number of integration operations performed by the integration processing units 68 and 70, and the target frequency ft. The target frequency ft is the frequency for which the Fourier amplitude Ift is calculated.

[0041] The AD converter 50 converts the input analog signal into digital data according to the sampling frequency fs stored in the register 74. In this embodiment, as an example, the AD converter 50 sequentially and periodically converts the current I and the mechanical angle θm into digital data at a period of the reciprocal of the sampling frequency fs. The change in the sampling frequency by the AD converter 50 is achieved, as an example, by equipping the AD converter 50 with an operating clock that is sufficiently higher than the expected sampling frequency fs. That is, the sampling frequency fs is achieved by skipping the operating clock.

[0042] The integration processing units 68 and 70 output the value accumulated according to the number of operations N stored in the register 74 to the Fourier amplitude calculation unit 72, and then repeat the process of initializing the accumulated value. In addition, the sine function value calculation unit 64 and the cosine function value calculation unit 66 initialize the counter m each time the accumulated value is initialized.

[0043] In this embodiment, the arithmetic circuit 36 ​​is, for example, integrated into a single chip. The setting of register 74 is performed by CPU 32. "Settings for Register 74" Figure 4 shows the procedure for setting register 74. The process shown in Figure 4 is achieved by the CPU 32 repeatedly executing the program stored in memory 34, for example, at a predetermined cycle. In the following, the step number of each process is represented by a number preceded by "S".

[0044] In the series of processes shown in Figure 4, the CPU 32 first obtains the angular velocity ωm (S10). Next, the CPU 32 multiplies the angular velocity ωm by the coefficient Kt and assigns the result to the target frequency ft (S12). The target frequency ft is the frequency for which the Fourier amplitude Ift is to be determined. The coefficient Kt is a coefficient that converts the angular velocity ωm to the frequency of the load torque caused by the compressor 12. The coefficient Kt is, for example, an integer of 1 or more.

[0045] Next, the CPU 32 divides the target frequency ft by the resolution requirement value M and substitutes the result into the resolution Δf (S14). Then the CPU 32 searches for the number of operations N and sampling frequency fs that satisfy the following conditions A and B (S16).

[0046] Condition A: The value obtained by dividing the sampling frequency fs by the number of operations N is equal to the resolution Δf. Condition B: The sampling frequency fs is greater than or equal to the lower limit fsL and less than or equal to the upper limit fsH.

[0047] The CPU 32 outputs the target frequency ft, the number of operations N and the sampling frequency fs obtained by the processing in S16 to the arithmetic circuit 36 ​​(S18). Furthermore, when CPU32 completes the processing of S18, it temporarily terminates the series of processes shown in Figure 4.

[0048] "The operation and effects of this embodiment" Based on the angular velocity ωm as an input variable, the CPU 32 sets the target frequency ft to the frequency corresponding to the fluctuation frequency or harmonic of the load torque of the compressor 12. Then, the CPU 32 sets the sampling frequency fs and the number of operations N to satisfy the desired resolution and transmits them to the arithmetic circuit 36.

[0049] As a result, the target frequency ft, the number of calculations N, and the sampling frequency fs are stored in the register 74 of the arithmetic circuit 36. The operation of the arithmetic circuit 36 ​​will be explained below using the case where the target frequency ft is 30 Hz, the sampling frequency fs is 6000 Hz, and the number of calculations N is 200 as an example.

[0050] The AD converter 50 of the arithmetic circuit 36 ​​samples the current I and the mechanical angle θm at a period of "1 / 6000s", which is the reciprocal of the sampling frequency fs. Meanwhile, the sine function value calculation unit 64 and the cosine function value calculation unit 66 set the specified variable k to "1" because the target frequency ft is 30Hz. The sine function value calculation unit 64 and the cosine function value calculation unit 66 then increment the counter m each time the digital data of the current I is updated at a period of "1 / 6000s". The integration processing units 68 and 70 integrate the output values ​​of the multiplication units 60 and 62, which are updated at a period of "1 / 6000s". After the integration processing is performed 200 times, the integration processing units 68 and 70 output the integrated value to the Fourier amplitude calculation unit 72. The Fourier amplitude calculation unit 72 calculates the Fourier amplitude Ift based on the output values ​​of the integration processing units 68 and 70. When the Fourier amplitude is calculated by the Fourier amplitude calculation unit 72, the counter m and the integrated values ​​from the integration processing units 68 and 70 are initialized.

[0051] Thus, in this embodiment, the number of calculations N and the sampling frequency fs are changed to appropriate values ​​according to the target frequency ft, which fluctuates in accordance with the change in angular velocity ωm. Therefore, a Fourier amplitude Ift with the desired resolution can be calculated. Moreover, by implementing the calculation circuit 36 ​​with a dedicated hardware processing circuit separate from the CPU 32, the computational load on the CPU 32 can be reduced even when the control device 30 performs the Fourier transform.

[0052] According to the embodiment described above, the following effects and benefits can be obtained. (1-1) The arithmetic circuit 36 ​​is a circuit that, each time a new q-axis current iq is calculated, performs the following processes: multiplying the q-axis current iq by "sin(2·π·k·m·N)" and integrating, and multiplying the q-axis current iq by "cos(2·π·k·m·N)" and integrating. Therefore, compared to, for example, calculating the Fourier amplitude Ift using the FFT algorithm, the amount of data that needs to be stored can be reduced.

[0053] (1-2) The arithmetic circuit 36 ​​is equipped with an AD converter 50 separate from the AD converter 38 that generates the digital data used by the CPU 32. This allows the sampling frequency of the AD converter 50 to be set independently of the sampling frequency of the AD converter 38. Therefore, interference between the CPU 32's request for digital data conversion and the arithmetic circuit 36's request for sampling frequency can be suppressed.

[0054] (1-3) The CPU 32 outputs the sampling frequency fs and the number of operations N to the arithmetic circuit 36. This simplifies the configuration of the arithmetic circuit 36 ​​because it does not need to set the sampling frequency fs and the number of operations N from the target frequency ft.

[0055] (1-4) The torque applied by the compressor 12 to the motor 14 fluctuates according to the rotation angle of the compressor 12. Therefore, the load torque applied by the compressor 12 to the motor 14 is a rational number multiple of the mechanical angle θm of the motor 14. In evaluating the effect of this load torque, the amplitude of the fluctuation component at a frequency that is an integer multiple of the fluctuation period of the load torque applied by the compressor 12 to the motor 14 is useful information. Therefore, the CPU 32 set the target frequency ft to a rational number multiple of the electrical angular frequency. Then, the target angular velocity ω*0 was corrected according to the Fourier amplitude Ift corresponding to the target frequency ft. This makes it possible to suppress torque fluctuations caused by fluctuations in the load torque of the compressor 12.

[0056] <Second Embodiment> The second embodiment will be described below, focusing on the differences from the first embodiment, with reference to the drawings.

[0057] Figure 5 shows the configuration of the arithmetic circuit 36 ​​according to this embodiment. Note that, for convenience, the same reference numerals are used for the circuits corresponding to those shown in Figure 3 in Figure 5. As shown in Figure 5, the arithmetic circuit 36 ​​does not include an AD converter 50. Digital data converted from an analog signal by the AD converter 38 is input to the arithmetic circuit 36.

[0058] The AD converter 38 inputs digital data to the arithmetic circuit 36 ​​at a period equal to the reciprocal of the sampling frequency fs set in register 74. <Third Embodiment> The third embodiment will be described below, focusing on the differences from the first embodiment, with reference to the drawings.

[0059] Figure 6 shows the configuration of the air conditioning system according to this embodiment. For convenience, the same reference numerals are used in Figure 6 for components that are identical to those shown in Figure 1. As shown in Figure 6, the control device 30 according to this embodiment includes a plurality of arithmetic circuits 36(1) to 36(s), where s is an integer of 2 or greater.

[0060] Furthermore, in this embodiment, Fourier coefficients are used to suppress torque ripple caused by spatial harmonics of the motor 14. Figure 7 shows the processes executed by CPU 32. For convenience, the same reference numerals are used in Figure 7 for processes corresponding to those shown in Figure 2.

[0061] As shown in Figure 7, the deviation calculation process M16 in this embodiment inputs the deviation between the target angular velocity ω* set by the target angular velocity setting process M10 and the angular velocity ωm to the current command value setting process M18.

[0062] Phase correction process M30a calculates a correction amount Δδ to correct the phase δ of the output voltage 16 in order to suppress torque ripple caused by spatial harmonics. Correction process M12a is a process that inputs the value obtained by correcting the phase δ set by voltage command value setting process M26 with the correction amount Δδ to the operation signal generation process M28.

[0063] Phase correction process M30a is a process that calculates a correction amount Δδ based on two Fourier amplitudes Vft(1) and Vft(2) as input variables. The target frequencies ft(1) and ft(2) corresponding to the Fourier amplitudes Vft(1) and Vft(2), respectively, are both multiples of 3 of the angular velocity ωm. More specifically, the target frequencies ft(1) and ft(2) are multiples of 3 of the electrical angular frequency of the motor 14.

[0064] Figure 8 shows the procedure for setting register 74. In Figure 8, the same step numbers are assigned to the processes corresponding to those shown in Figure 4 for convenience. In the series of processes shown in Figure 8, after completing the process in S10, the CPU 32 assigns "1" to the variable i that identifies the target frequency ft (S20). Then the CPU 32 assigns the value obtained by multiplying the angular velocity ωm by the coefficient Kt(i) to the target frequency ft(i) (S12a). The coefficient Kt(i) is a multiple of 3. The CPU 32 executes the processes S14a to S18a, which correspond to the processes in S14 to S18 in Figure 4, for the target frequency ft(i). Then the CPU 32 determines whether the variable i is "2" or not (S22). If the CPU 32 determines that it is "1" (S22: NO), it increments the value of the variable i (S24) and returns to the process in S12a.

[0065] On the other hand, if CPU32 determines that variable i is "2" (S22:YES), it terminates the series of processes shown in Figure 8. Here, we will explain the operation of the arithmetic circuit 36(1) corresponding to the processing in Figure 8. In the following example, we will use the case where the target frequency ft is 1620 Hz, the resolution is "1 Hz", the sampling frequency fs(1) is "100,000 Hz", and the number of operations N(1) is 100,000.

[0066] In this case, the AD converter 50 converts the input voltage Vin into digital data with a period of 1 / 100000. Meanwhile, the sine function value calculation unit 64 and the cosine function value calculation unit 66 set the specified variable k to "1620" because the target frequency ft is 1620 Hz. Then, the sine function value calculation unit 64 and the cosine function value calculation unit 66 update the counter m with a period of 1 / 100000. The integration processing units 68 and 70 output the integrated value to the Fourier amplitude calculation unit 72 each time the output values ​​of the multiplication units 60 and 62 are updated 1620 times. As a result, the Fourier amplitude Vft(1) corresponding to the target frequency ft(1) is calculated.

[0067] According to the embodiment described above, in addition to the effects similar to (1-1) to (1-3) of the first embodiment, the following further effects can be obtained. (3-1) Multiple calculation circuits 36 are provided. This allows for the simultaneous calculation of the Fourier amplitudes corresponding to each of the multiple target frequencies ft.

[0068] (3-2) The spatial harmonics of the motor 14 tend to show a prominent frequency component at 3n times the electrical angular frequency. Therefore, the CPU 32 set the target frequency ft to a multiple of 3 of the electrical angular frequency. This suppresses the decrease in controllability of the controllable variable of the rotating electric machine caused by spatial harmonics.

[0069] <Fourth Embodiment> The fourth embodiment will be described below, focusing on the differences from the third embodiment, with reference to the drawings.

[0070] In this embodiment, the Fourier coefficient is included as an input variable for the diagnostic process to determine whether or not there is an abnormality in the compressor 12. That is, if the Fourier amplitude Oft at the target frequency ft related to the detection signal O from the vibration sensor 42 is greater than or equal to a threshold, it is determined that there is an abnormality in the compressor 12.

[0071] The target frequency ft is, for example, an integer multiple or fraction of the angular velocity ωm. The target frequency ft may also be one of the following: 1 / 3, 1 / 2, 1, 2, or 3 times the angular velocity ωm.

[0072] In this embodiment, we show an example where there is only one target frequency ft for diagnosing the presence or absence of an anomaly. However, it is assumed that the time required to calculate the Fourier coefficients of the target frequency ft is longer than the period required for the diagnosis result of the presence or absence of an anomaly. Therefore, in this embodiment, the period for updating the Fourier coefficients is shortened by staggering the start timing of the calculation of the Fourier coefficients by each of the multiple arithmetic circuits 36(1), 36(2), ...

[0073] Figure 9 shows the procedure for diagnosing whether or not there is an abnormality. The series of processes shown in Figure 9 are realized by the CPU 32 repeatedly executing a program stored in memory 34, for example, at a predetermined period.

[0074] In the series of processes shown in Figure 9, the CPU 32 obtains the Fourier amplitude Oft(j) (S40). Here, the variable j is a variable used to identify which output it is from the arithmetic circuits 36(1), 36(2), ... The CPU 32 determines whether the Fourier amplitude Oft(i) is greater than or equal to the threshold Oftth (S42). If the CPU 32 determines that the Fourier amplitude Oft(i) is greater than or equal to the threshold Oftth (S42: YES), it determines that there is an abnormality (S44). On the other hand, if the CPU 32 determines that the Fourier amplitude Oft(i) is less than the threshold Oftth (S42: NO), it assigns the remainder of dividing the value obtained by incrementing the variable j by 1 by s to the variable j (S46).

[0075] Furthermore, when CPU32 completes the processes in S44 and S46, it temporarily terminates the series of processes shown in Figure 9. The following shows, as an example, the operation of the arithmetic circuit 36 ​​with a target frequency ft of 40.5 Hz, a resolution of 0.1 Hz, a sampling frequency fs of 1000 Hz, and 10,000 calculations.

[0076] In this case, the AD converter 50 converts the detection signal O into digital data at a period of 1 / 1000. Meanwhile, the sine function value calculation unit 64 and the cosine function value calculation unit 66 set the specified variable k to "405" because the target frequency ft is 40.5 Hz. The sine function value calculation unit 64 and the cosine function value calculation unit 66 then update the counter m at a period of 1 / 1000. The integration processing units 68 and 70 then update the integrated value at a period of 1 / 1000. After performing 10,000 integration operations, the integration processing units 68 and 70 output the integrated value to the Fourier amplitude calculation unit 72. This calculates the Fourier amplitude Oft at a frequency of 40.5 Hz.

[0077] Incidentally, the period during which the Fourier amplitude Oft is updated by one arithmetic circuit 36 ​​is 10 seconds. Therefore, if there is a requirement to repeatedly perform a diagnosis of whether or not there is an anomaly with a 1-second period, for example, 10 arithmetic circuits 36 are prepared. Then, the timing at which each of the 10 arithmetic circuits 36 updates the Fourier amplitude Oft is shifted by 1 second. This can be achieved by shifting the timing of the command to each of the 10 arithmetic circuits 36 to calculate the Fourier amplitude Oft by 1 second.

[0078] As a result, by executing the process shown in Figure 9 at 1-second intervals, the CPU 32 can calculate the latest anomaly diagnosis result every second. <Correspondence> The correspondence between the matters in the above embodiment and the matters described in the "Means for Solving the Problems" section is as follows. Below, the correspondence is shown for each number of the viewpoint described in the "Means for Solving the Problems" section. [1] The control device corresponds to the control device 30. The software processing circuit corresponds to the CPU 32. The hardware processing circuit corresponds to the arithmetic circuit 36 ​​in Figure 1 and the arithmetic circuit 36 ​​and AD converter 38 in Figure 5. The Fourier transform circuit corresponds to the DFT circuit 55. The frequency identification data corresponds to the data indicating the target frequency ft. The coefficient data corresponds to the Fourier amplitude Ift, the Fourier amplitude Vft, and the Fourier amplitudes Oft(1), Oft(2), Oft(3),... The predetermined conditions under which the frequency identification data is changed correspond to the conditions under which the value of the angular velocity ωm obtained by the processing in S10 is changed. The conversion data corresponds to the q-axis current, input voltage Vin, and detection signal O. The predetermined processing corresponds to the processing for vibration suppression in Figure 2. The predetermined processing corresponds to the processing for spatial harmonic suppression in Figure 5. [2] The predetermined processing corresponds to the abnormality diagnosis processing in Figure 9. The first Fourier transform circuit corresponds to the DFT circuit 55 provided in the arithmetic circuit 36(1). The second Fourier transform circuit corresponds to the DFT circuit 55 provided in the arithmetic circuit 36(2). The first frequency identification data corresponds to the data indicating the target frequency ft(1). The second frequency identification data corresponds to the data indicating the target frequency ft(2). [3] The "predetermined phase" corresponds to "2·π·k·m / N". The first integrated value corresponds to the value integrated by the integration processing unit 68. The second integrated value corresponds to the value integrated by the integration processing unit 70. [4] The second AD converter corresponds to the AD converter 38. [5] The resolution specification data corresponds to the sampling frequency fs and the number of operations N. [6] The rotating electric machine corresponds to the motor 14. [7] The frequency specification processing corresponds to the processing in S18 and S18a. The output voltage adjustment processing corresponds to the processing shown in Figure 2 and the processing shown in Figure 7. [8] The frequency specification process corresponds to the process in S18a. [9,10] The diagnostic process corresponds to the process shown in Figure 9. The first Fourier transform circuit corresponds to the DFT circuit 55 provided in the arithmetic circuit 36(1).The second Fourier transform circuit corresponds to the DFT circuit 55 provided in the arithmetic circuit 36(2).

[0079] <Other Embodiments> Furthermore, this embodiment can be implemented with the following modifications. This embodiment and the following modifications can be combined with each other to the extent that they do not contradict each other technically.

[0080] "Regarding configurations that incorporate multiple Fourier transform circuits" The configuration with multiple Fourier transform circuits is not limited to those used for suppressing torque ripple caused by spatial harmonics or for abnormality diagnosis. For example, it may be used for both torque ripple suppression and abnormality diagnosis. Also, for example, when the pulsating component of the load torque applied by the compressor 12 to the rotating shaft 14a of the motor 14 has multiple frequency components, it may be used to control the torque of the motor 14 based on the Fourier coefficients relating to two or more of those frequencies.

[0081] "Regarding the output of a Fourier transform circuit" It is not essential that the output of the Fourier transform circuit be only the amplitude of the target frequency component. The output of the Fourier transform circuit may be, for example, both the amplitude and phase of the target frequency component.

[0082] "About arithmetic circuits" It is not essential that the arithmetic circuit 36 ​​includes a q-axis current calculation unit 54. Furthermore, it is not essential that the q-axis current iq input to the DFT circuit 55 is a value calculated by a hardware processing circuit. For example, the q-axis current iq input to the DFT circuit 55 may be a value calculated by the CPU 32.

[0083] "Regarding the data for conversion" The conversion data for the motor 14's current is not limited to the q-axis current iq. The conversion data for the motor 14's current may be, for example, the d-axis current id. The conversion data for the motor 14's current may be, for example, the current I. Alternatively, for example, the conversion data for the motor 14's current may be the output line current of the inverter 16. Alternatively, for example, the conversion data for the motor 14's current may be the α-phase current or β-phase current obtained by two-phase conversion of the output line current of the inverter 16. The conversion data for the motor 14's current may be, for example, the M-axis current or T-axis current obtained by coordinate transformation based on the angle of the primary magnetic flux of the motor 14. Note that the coordinate transformation used to generate the conversion data for the motor 14's current is not limited to those exemplified above.

[0084] The conversion data for the motor 14's current does not necessarily have to be data for a current that fluctuates moment by moment. The conversion data for the motor 14's current may be, for example, a quantity proportional to the amplitude of the output line current, α-phase current, or β-phase current, or the square of the same quantity. Alternatively, for example, the conversion data for the motor 14's current may be a quantity relating to the difference between the maximum and minimum values ​​of the q-axis current or d-axis current.

[0085] The conversion data for the motor 14 voltage is not limited to the input voltage Vin. For example, the conversion data for the motor 14 voltage may be the output line voltage of the inverter 16. Alternatively, for example, the conversion data for the motor 14 voltage may be the d-axis voltage or the q-axis voltage. Note that the coordinate transformation used to generate the conversion data for the motor 14 voltage is not limited to a coordinate transformation to the dq axes.

[0086] The conversion data for the motor 14 voltage does not necessarily have to be voltage data that fluctuates moment by moment. The conversion data for the motor 14 voltage may be a quantity proportional to the amplitude of the output line voltage, or the square of the same quantity. For example, the conversion data for the motor 14 voltage may be a quantity relating to the difference between the maximum and minimum values ​​of the d-axis voltage or the q-axis voltage.

[0087] The conversion data may be, for example, the instantaneous power of motor 14. The conversion data related to power may be, for example, instantaneous imaginary power, apparent power, active power, or reactive power.

[0088] The conversion data may be, for example, armature flux linkage. The conversion data related to magnetic flux may be, for example, the d-axis flux or the q-axis flux. The conversion data may be physical quantities estimated using a physical model based on sensor detection values, such as magnetic pole position or motor 14 torque.

[0089] The analog signal used to generate the digital data for conversion may be, for example, a magnetic pole position signal obtained from an encoder or the like. Alternatively, the analog signal used to generate the digital data for conversion may be a sound signal obtained from a sound sensor that senses the sound around the motor 14. Alternatively, the analog signal used to generate the digital data for conversion may be a temperature signal obtained from a temperature sensor that senses the temperature around the motor 14.

[0090] "Regarding variables that change according to frequency identification data" In the above embodiment, both the sampling frequency fs and the number of operations N can be changed according to the frequency-specific data, but this is not limited to this. For example, the number of operations N may be fixed.

[0091] "Regarding countermeasures for load torque pulsation" It is not mandatory that the manipulated variable for the load torque suppression process be the correction amount Δωc of the target angular velocity ω*. The manipulated variable for the load torque suppression process may be, for example, one of the two values ​​of the output voltage of the inverter 16: amplitude Va and phase δ.

[0092] The Fourier coefficients used as input for the processing to address load torque pulsation are not limited to Fourier coefficients for a single frequency. The Fourier coefficients used as input for the processing to address load torque pulsation may be Fourier coefficients for multiple different frequencies.

[0093] "Regarding the suppression of torque ripple caused by spatial harmonics" It is not essential that the torque ripple suppression process caused by spatial harmonics calculates a manipulated variable for suppressing torque ripple based on the Fourier coefficients of two distinct harmonics. For example, the torque ripple suppression process caused by spatial harmonics may calculate a manipulated variable for suppressing torque ripple based on the Fourier coefficient of a single harmonic. Alternatively, for example, the torque ripple suppression process caused by spatial harmonics may calculate a manipulated variable for suppressing torque ripple based on the Fourier coefficients of three distinct harmonics.

[0094] • It is not essential that the manipulated variable for torque ripple suppression due to spatial harmonics be the phase δ. The manipulated variable for torque ripple suppression due to spatial harmonics may be, for example, the amplitude Va of the output voltage of inverter 16. Alternatively, for example, the manipulated variable for torque ripple suppression due to spatial harmonics may be the correction amount of the target angular velocity ω*.

[0095] "Regarding output voltage adjustment processing" The current feedback processing for the dq axis is not limited to processing using PD control. For example, the current feedback processing for the dq axis may use PID control. Furthermore, the current feedback processing for the dq axis is not limited to classical control, but may also use model predictive control, for example.

[0096] • It is not mandatory for the output voltage adjustment process to include current feedback processing for the dq axis. For example, the output voltage adjustment process may be related to direct torque control.

[0097] "Regarding the control amount of motor 14" It is not essential that the controlled variable of motor 14 is angular velocity ω. The controlled variable of motor 14 may be, for example, the torque of motor 14.

[0098] "Regarding hardware processing circuits" The calculation circuit 36 ​​may not include an electrical angle calculation unit 52 and a q-axis current calculation unit 54, and the CPU 32 may perform the processing that the electrical angle calculation unit 52 and the q-axis current calculation unit 54 would perform.

[0099] It is not essential that the arithmetic circuit 36 ​​be integrated into a single chip separate from the CPU 32, memory 34, AD converter 38, etc. It is not essential that the Fourier transform circuit is one that performs sequential integration for each value obtained by multiplying the transformation data by "sin(2·π·k·m / N)" and "cos(2·π·k·m / N)" each time transformation data is generated. For example, it could be a circuit that performs the Cooley-Tukey type FFT algorithm.

[0100] "About Rotating Electric Machines" The rotating electric machine is not limited to the motor 14 that drives the compressor 12. For example, it could be a motor mounted on a circulator.

[0101] "About motors" The motor is not limited to a synchronous motor with embedded magnets; for example, it could be an induction motor. Alternatively, the motor could be a brushed DC motor.

[0102] "Regarding software processing circuits" • The software processing circuit does not necessarily have to be a CPU. For example, the software processing circuit may include both a CPU and a GPU.

[0103] "Regarding control devices" The control device is not limited to the motor 14 that drives the compressor 12. Although embodiments have been described above, it should be understood that various modifications to the form and details are possible without departing from the spirit and scope of the claims. [Explanation of Symbols]

[0104] 10...Air conditioner 12... Compressor 14…motor 30...Control device

Claims

1. A control device that controls the control amount of the controlled object, It comprises a software processing circuit (32) and a hardware processing circuit (36), The hardware processing circuit (36) includes an A / D converter (50) that converts an analog signal into digital data, and a Fourier transform circuit (55) that converts the conversion data into coefficient data. When frequency identification data is input from the software processing circuit (32) to the hardware processing circuit (36), the hardware processing circuit (36) is configured to output coefficient data calculated using at least one of two factors, a sampling frequency and the number of calculations, corresponding to the frequency identification data which is changed under predetermined conditions, to the software processing circuit (32). The conversion data is the digital data or data calculated from the digital data. The aforementioned frequency-specific data is data used to determine the frequency for which we want to find the Fourier coefficients. The coefficient data is data showing the Fourier coefficients of the frequencies identified by the frequency identification data. The software processing circuit (32) is a control device configured to execute predetermined processing with respect to the controlled object based on the coefficient data as an input variable.

2. The Fourier transform circuit (55) includes a first Fourier transform circuit and a second Fourier transform circuit. The software processing circuit (32) is configured to input the first frequency identification data as frequency identification data to the first Fourier transform circuit and to input the second frequency identification data as frequency identification data to the second Fourier transform circuit. The first Fourier transform circuit is configured to output coefficient data calculated using at least one of the first frequency identification data to the software processing circuit (32) when the first frequency identification data is input. The control device according to claim 1, wherein the second Fourier transform circuit is configured to output the coefficient data calculated using at least one of the second frequency identification data to the software processing circuit (32) when the second frequency identification data is input.

3. The control device according to claim 1, wherein the Fourier transform circuit (55) is configured to perform a process to generate a first integrated value obtained by multiplying the value indicated by the corresponding conversion data by the value of a sine function of a predetermined phase and integrating the results, and a second integrated value obtained by multiplying the value of a cosine function of a predetermined phase and integrating the results, each time the analog signal is converted to digital data by the AD converter (50).

4. The aforementioned AD converter (50) is a first AD converter, The control device includes a second AD converter (38) separate from the first AD converter, The control device according to claim 1, configured such that the digital data output by the second AD converter (38) is input to the software processing circuit (32).

5. The software processing circuit (32) is configured to input resolution specification data to the hardware processing circuit (36), The control device according to claim 1, wherein the resolution specification data is data that specifies at least one corresponding to the frequency specification data.

6. The control device according to claim 1, wherein the controlled object is a rotating electric machine (14).

7. The aforementioned rotating electric machine (14) is a motor (14) that drives the compressor (12), The terminals of the motor (14) are configured to have the output voltage of the inverter applied to them. The software processing circuit (32) is configured to perform frequency specification processing and output voltage adjustment processing. The frequency specification process involves inputting data relating to frequencies that are rational multiples of the mechanical angular frequency of the motor (14) as frequency specification data to the hardware processing circuit (36). The control device according to claim 6, wherein the output voltage adjustment process is a process that operates the output voltage of the inverter based on the coefficient data as an input variable.

8. The terminals of the rotating electric machine (14) are configured to have the output voltage of the inverter (16) applied to them. The software processing circuit (32) is configured to perform frequency specification processing and output voltage adjustment processing. The frequency specification process involves inputting data relating to a frequency that is 3n times the electrical angular frequency of the rotating electric machine (14) (where n is a natural number of 1 or more) as the frequency specification data to the hardware processing circuit (36). The control device according to claim 6, wherein the output voltage adjustment process is configured to operate the output voltage of the inverter (16) based on the coefficient data as an input variable.

9. The software processing circuit (32) is configured to perform frequency specification processing and diagnostic processing. The frequency specification process involves inputting data relating to frequencies that are rational multiples of the mechanical angular frequency of the rotating electric machine (14) as frequency specification data to the hardware processing circuit (36). The control device according to claim 6, wherein the diagnostic process is a process of diagnosing whether or not there is an abnormality in the controlled object based on the coefficient data.

10. The Fourier transform circuit (55) includes a first Fourier transform circuit and a second Fourier transform circuit. The software processing circuit (32) is configured to input the same frequency identification data to both the first Fourier transform circuit and the second Fourier transform circuit. The control device according to claim 9, wherein the first Fourier transform circuit and the second Fourier transform circuit are configured to output coefficient data corresponding to time-series data of different digital data, using the digital data output by the AD converter (50) at different sampling timings as the initial input data.

Citation Information

Patent Citations

  • Method and device for detection of peak power spectrum of short-time signal with sample number decreased through fourier transform

    JP2012247302A

  • Failure diagnosis device and failure diagnosis method for reduction gear

    JP2021009041A

  • Motor control device

    JP2022155392A

  • Power conversion device

    JP2016127649A