A method and related equipment for generating PWM control signals for motors in the passenger compartment of automobiles.
By obtaining the relationship between motor speed and frequency, and dynamically adjusting the carrier frequency and duty cycle of the PWM control signal, the noise and resonance problems of motors in the passenger compartment of automobiles are solved, achieving the effects of noise reduction, loss reduction and motor life extension.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- GAC HONDA AUTOMOBILE CO LTD
- Filing Date
- 2026-02-25
- Publication Date
- 2026-06-02
AI Technical Summary
In the existing technology, the PWM control signal frequency of the motor in the passenger compartment of a car is fixed, which leads to noise, loss and resonance problems, affecting passenger comfort and motor life.
By obtaining the relationship between the motor's speed and frequency, the carrier frequency and duty cycle of the PWM control signal are dynamically adjusted to avoid the resonance range and generate a PWM control signal that adapts to the target speed.
It effectively reduces noise, minimizes switching losses, extends motor life, enhances the driving experience, adapts to different motor specifications, and reduces resonance effects.
Smart Images

Figure CN122137275A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of automotive technology, and in particular to a method and related equipment for generating PWM control signals for motors in the passenger compartment of automobiles. Background Technology
[0002] PWM (Pulse Width Modulation) is a technique that uses the width (duty cycle) of a digital pulse signal to simulate an analog control quantity. Many motors are located in the passenger compartment of a car, and their control also requires PWM technology. Since these motors are close to the occupants, the noise they generate directly affects them. This noise is influenced by the frequency of the PWM control signal. The frequency of the PWM control signal also affects the motor's efficiency. For example, a higher PWM control signal frequency may lead to higher switching losses, resulting in greater heat generation. Certain PWM control signal frequencies may cause the motor to resonate. These effects, due to their proximity to the occupants, can also impact them and even damage the motor.
[0003] The PWM technology currently used in automobiles, especially the PWM technology used to drive motors in the passenger compartment, uses a fixed frequency PWM control signal and has not been optimized for noise and losses during motor operation, thus resulting in poor comfort. Summary of the Invention
[0004] To address at least one of the aforementioned technical problems, the present invention aims to provide a method and related equipment for generating PWM control signals for motors in the passenger compartment of automobiles.
[0005] On one hand, embodiments of the present invention include a method for generating a PWM control signal for a motor in the passenger compartment of an automobile, the method comprising the following steps: Identify the target motor to be driven; the target motor is a motor located in the passenger compartment of the vehicle. Determine the target speed of the target motor; Obtain the speed-frequency correspondence; the speed-frequency correspondence maps each speed value to at least one frequency value. The target frequency is determined based on the correspondence between the target rotational speed and the rotational speed frequency; Determine the target duty cycle based on the target rotational speed; The PWM control signal is generated by using the target frequency as the carrier frequency of the PWM control signal and the target duty cycle as the duty cycle of the PWM control signal.
[0006] Further, obtaining the correspondence between rotational speed and frequency includes: A noise calibration experiment was performed on the target motor. In the noise calibration experiment, a PWM test signal is output to the target motor, and the target motor is adjusted to multiple test speeds. During the operation of the target motor at each test speed, the test vibration intensity of the target motor is recorded. The carrier frequency of the PWM test signal is traversed and adjusted to multiple test frequencies. The test vibration intensity corresponding to each test frequency is recorded. The smallest one or more test vibration intensities are selected. The corresponding test frequencies for each selected test vibration intensity are used to establish a correspondence between the test speed and the speed frequency, thereby obtaining the speed-frequency correspondence.
[0007] Further, determining the target frequency based on the correspondence between the target rotational speed and the rotational speed frequency includes: In the rotational speed-frequency correspondence, find the rotational speed value that is the same as the target rotational speed; Based on the found rotational speed value, determine all frequency values corresponding to the rotational speed value; Once a frequency value is determined, the determined frequency value is used as the target frequency; When multiple frequency values are determined, one frequency value is randomly selected from the multiple frequency values and kept constant as the target frequency.
[0008] Furthermore, determining the target frequency based on the correspondence between the target rotational speed and the rotational speed frequency further includes: When multiple frequency values are determined, a dynamic random selection is made from the multiple frequency values; The target frequency is dynamically updated using the selected frequency value.
[0009] Further, determining the target frequency based on the correspondence between the target rotational speed and the rotational speed frequency includes: The interior space of the car's passenger compartment is divided into multiple internal zones; Obtain the region wheel mapping relationship; the region wheel mapping relationship maps each of the internal regions to a corresponding wheel on the car; Determine the internal region where the target motor is located; Based on the mapping relationship between the internal region where the target motor is located and the wheels in that region, the target wheel corresponding to the target motor is determined; Obtain the real-time wheel speed of the target wheel; The frequency range is determined based on the real-time wheel speed; the frequency range is negatively correlated with the real-time wheel speed. The target frequency is determined based on the target rotational speed, the relationship between the rotational speed and frequency, and the frequency range.
[0010] Further, obtaining the regional wheel mapping relationship includes: For any of the aforementioned internal regions, map the internal region to the wheel that is closest to the internal region; Traverse all the internal regions and establish the wheel mapping relationship for each region.
[0011] Further, determining the target frequency based on the target rotational speed, the correspondence between the rotational speed and frequency, and the frequency range includes: In the rotational speed-frequency correspondence, find the rotational speed value that is the same as the target rotational speed; Based on the found rotational speed value, determine all frequency values corresponding to the rotational speed value; When the determined frequency value falls within the frequency range, the determined frequency value is taken as the target frequency. If the determined frequency value is not within the frequency range, the frequency value that is closest to the frequency range among the determined frequency values shall be taken as the target frequency.
[0012] Furthermore, the method for generating PWM control signals for motors in the passenger compartment of an automobile also includes: The PWM control signal is sent to the target motor.
[0013] On the other hand, embodiments of the present invention also include a computer device, including a memory and a processor, the memory for storing at least one program, and the processor for loading at least one program to execute the PWM control signal generation method for an in-cabin motor of an automobile as described in the embodiments.
[0014] On the other hand, embodiments of the present invention also include a computer-readable storage medium storing a processor-executable program, which, when executed by a processor, is used to perform the PWM control signal generation method for an in-cabin motor of an automobile as described in the embodiments.
[0015] The beneficial effects of the present invention are as follows: The PWM control signal generation method for the motor in the passenger compartment of an automobile, as described in the embodiments, determines the frequency value according to a preset speed-frequency correspondence, so that the carrier frequency of the generated PWM control signal is equal to the safe frequency corresponding to a specific target speed, thereby realizing dynamic adjustment of the carrier frequency of the PWM control signal, enabling the target motor to avoid its resonance range, and effectively reducing the noise generated by the target motor due to the fixed and unchangeable carrier frequency of the PWM control signal and its inappropriate value. Attached Figure Description
[0016] Figure 1 This is a schematic diagram of a system for generating PWM control signals for motors in the passenger compartment of a car, which can be applied in the embodiment. Figure 2 This is a schematic diagram illustrating the principle of motor driving and control in the embodiment; Figure 3 This is a waveform diagram of the PWM control signal in the embodiment; Figure 4 This is a schematic diagram illustrating the steps of the method for generating PWM control signals for motors in the passenger compartment of a car, as described in the embodiment. Figure 5 This is a schematic diagram showing the correspondence between each motor and the internal area of the vehicle's passenger compartment in the embodiment. Detailed Implementation
[0017] Terminology Explanation: PWM: Pulse-Width Modulation. Its basic principle is to flexibly adjust the average voltage or average power of the output signal by changing the proportion of the high-level time in a square wave of a specific period (frequency). ECU: Electronic Control Unit, is a dedicated microcomputer in automobiles or other complex systems. It is responsible for acquiring sensor signals in real time, performing calculations and decisions based on built-in programs and algorithms, and driving actuators to work, thereby precisely controlling one or more specific functions. IGBT: Insulated-Gate Bipolar Transistor, is a composite power semiconductor switching device that combines high input impedance, voltage drive characteristics with low on-state voltage drop and high current capacity.
[0018] In this embodiment, the PWM control signal generation method for motors in the passenger compartment of an automobile can be applied to... Figure 1 The vehicle system shown. (Refer to...) Figure 1 The automotive system includes multiple motors located within the passenger compartment, including front air vent motors (mounted on the center console), rear air vent motors (mounted behind the center armrest), driver's seat ventilation motors (mounted at the bottom or back of the driver's seat), passenger seat ventilation motors (mounted at the bottom or back of the passenger seat), left rear driver's seat ventilation motors (mounted at the bottom or back of the left rear seat), and right rear driver's seat ventilation motors (mounted at the bottom or back of the right rear seat). These motors drive the fans to blow air and require speed adjustment, which can be achieved using PWM technology.
[0019] The principles of driving and controlling these motors are as follows: Figure 2 As shown. (Refer to...) Figure 2 A control module can be set up, which is a module with functions such as data acquisition, processing and output control. For example, an ECU can be used as a control module, which generates and outputs PWM control signals.
[0020] Figure 2 The diagram illustrates the specific structure of the front air vent motor; other motors share similar structures and operating principles. Taking the front air vent motor as an example, it includes a motor and a driver. The motor can be a DC motor, and the driver specifically includes one or more IGBTs or other switching devices. The driver connects to the DC power supply provided by the vehicle body and is controlled by a PWM control signal. It switches on and off according to the waveform of the PWM control signal, thereby modulating the DC power supply into a corresponding waveform before inputting it to the motor as the driving current.
[0021] Specifically, the waveform of the PWM control signal output by the forward exhaust motor of the control module over a period of time is as follows: Figure 3 As shown. (Refer to...) Figure 3 Taking a certain moment as the zero point, during this period, the PWM control signal is adjusted according to the duration. The period is , meaning the frequency of the PWM control signal is . = Since the PWM control signal is equivalent to using a triangular wave or sawtooth wave as a carrier to modulate the wave (e.g., Figure 3 The modulation wave in the PWM control signal is generated by comparison and sampling (it can be direct current or a sine wave). Therefore, the frequency of the PWM control signal is... It can also be called the carrier frequency. Within one cycle, the PWM control signal has a magnitude of... The duration is high level (1), and the rest of the duration is low level (0), therefore Figure 3 The duty cycle of the PWM control signal shown is = Such a PWM control signal is input to the driver of the front exhaust vent motor, which can control the duration of the driver in each cycle. Internal conduction, in duration - Internal disconnection allows the DC power supply to be repeatedly switched on and off on the motor, thus applying a certain equivalent voltage to the motor. Duty cycle The value is between 0 and 1, and the duty cycle is adjusted. The size of the duty cycle can adjust the voltage applied to the motor of the front exhaust vent, thereby controlling the motor's speed. Since the load on the front exhaust vent motor can be considered constant, its speed (power) is mainly affected by the duty cycle. The impact can be controlled by simply adjusting the duty cycle. The size of the motor is used to control the speed (power) of the front exhaust vent motor.
[0022] Figure 3 The carrier frequency of the PWM control signal shown The main factor affecting the switching losses of the driver in the front exhaust vent motor (generally the carrier frequency) is... The larger the value, the greater the switching loss) and the noise generated by the motor during operation (e.g., at the carrier frequency). At lower frequencies, the drive current output by the driver to the motor also has a lower frequency. Due to the low-frequency characteristics of the motor, this can cause low-frequency noise. In current related technologies, Figure 3 The carrier frequency of the PWM control signal shown It is a constant value, for example, a fixed value is usually taken in the range of 2kHz-20kHz as the carrier frequency of the PWM control signal. The specific value depends on the driver's product design. If the carrier frequency... If the value is inappropriate, such as being too low, it may cause the motor to emit large low-frequency noise during operation, directly affecting the passenger's riding comfort. If the value is too high, it may cause the driver to switch too quickly, resulting in high switching losses, wasting electrical energy, and even damaging the driver due to excessive heat generated by switching losses. If a specific value is chosen, such as a value that is the same as or close to the characteristic frequency determined by the motor's hardware, it may cause the motor to vibrate significantly due to resonance during operation, resulting in noise or even damage to the motor.
[0023] Based on the above principles, this embodiment provides a method for generating PWM control signals for motors in the passenger compartment of an automobile. (Refer to...) Figure 4 The method for generating PWM control signals for motors in the passenger compartment of an automobile includes the following steps: S1. Determine the target motor to be driven; S2. Determine the target speed of the target motor; S3. Obtain the relationship between rotational speed and frequency; S4. Determine the target frequency based on the correspondence between the target rotational speed and the rotational speed frequency; S5. Determine the target duty cycle based on the target rotational speed; S6. Use the target frequency as the carrier frequency of the PWM control signal and the target duty cycle as the duty cycle of the PWM control signal to generate the PWM control signal.
[0024] In this embodiment, it can be derived from... Figure 2 The control module executes steps S1-S6. Specifically, the control module can execute steps S1-S6 separately for each motor installed in the vehicle's passenger compartment; that is, the control module can generate different PWM control signals for different motors. In this embodiment, the execution of steps S1-S6 for the front air vent motor is used as an example for explanation.
[0025] In this embodiment, steps S1-S6 performed on a specific motor, such as the front exhaust vent motor, are executed cyclically. For example, one cycle of steps S1-S6 is considered as one cycle. After each execution of step S6, step S1 in the next cycle is executed. This process is repeated continuously to achieve real-time adjustment of the PWM control signal.
[0026] In step S1, the control module determines the target motor to be driven, which is the object driven by the PWM control signals generated in steps S1-S6 of this execution. Specifically, in this embodiment, the front exhaust vent motor is determined as the target motor.
[0027] In step S2, the control module determines the target speed of the target motor. This refers to the desired operating speed of the target motor. Specifically, the control module can call the human-machine interface module to obtain user settings (such as the input speed setting) or call the speed automatically generated by the air conditioning temperature control algorithm to set the target speed. The specific value.
[0028] In step S3, the control module retrieves the speed-frequency correspondence of the target motor, i.e., the front exhaust vent motor. In this embodiment, the speed-frequency correspondence can be obtained by performing the following steps: P1. Conduct a noise calibration experiment on the target motor; P2. In the noise calibration experiment, a PWM test signal is output to the target motor, and the target motor is adjusted to multiple test speeds. P3. During the operation of the target motor at each test speed, record the test vibration intensity of the target motor. Adjust the carrier frequency of the PWM test signal to multiple test frequencies, record the test vibration intensity corresponding to each test frequency, select the smallest one or more test vibration intensities, and establish the correspondence between the selected test vibration intensities and the test speed to obtain the speed-frequency correspondence.
[0029] Steps P1-P3 can be performed before steps S1-S6.
[0030] In step P1, a vibration tester, a speed sensor, an adjustable frequency PWM signal generator, and other components can be set up in a laboratory testing platform environment to conduct a noise calibration experiment on the target motor.
[0031] In step P2, an adjustable-frequency PWM signal generator outputs a PWM test signal to the target motor, adjusting the target motor to multiple test speeds. Specifically, the duty cycle of the PWM test signal can be adjusted, and a speed sensor can monitor the target motor's speed to control the motor to reach a specific test speed. .
[0032] When the target motor reaches the specific test speed By keeping the duty cycle of the PWM test signal constant, the target motor can be stably tested at its speed. Rotation controls the carrier frequency of the PWM test signal. The adjustment is traversed to multiple test frequencies, each time the carrier frequency is adjusted. Once adjusted to a test frequency, it is maintained for a period of time. During this period, a vibration tester is used to test the vibration intensity of the target motor and obtain a specific test speed. Specific carrier frequency The corresponding test vibration intensity; traversing each carrier frequency Multiple test vibration intensities are obtained, and the carrier frequency corresponding to the smallest one or more test vibration intensities (e.g., selected at a ratio of 20%) is chosen. The value is used as a specific test speed. The corresponding frequency value.
[0033] Test speeds of the target motor By taking all the achievable values, their frequency values are obtained, and the frequency values corresponding to each speed value of the target motor are obtained, thus forming the speed-frequency correspondence shown in Table 1.
[0034] Table 1. Correspondence between rotational speed and frequency
[0035] In this embodiment, the speed-frequency correspondence shown in Table 1 was obtained through noise calibration experiments performed on the target motor in steps P1-P3. Therefore, each frequency value represents the carrier frequency of the PWM control signal that minimizes vibration generated by the target motor when it operates at the corresponding speed value. For example, the speed values in the speed-frequency correspondence shown in Table 1... Corresponding , and Multiple frequency values represent the values required to control the target motor's speed when using a PWM control signal to drive the target motor. Then set the carrier frequency of the PWM control signal to , or This will minimize the vibration of the target motor caused by resonance, etc. , or It is the rotational speed value. The corresponding frequency that avoids resonance factors is the target motor speed value. The corresponding safe frequency.
[0036] In this embodiment, the speed-frequency correspondence shown in Table 1 can be stored in the control module. When the control module executes step S3, it can call the speed-frequency correspondence stored locally.
[0037] In this embodiment, when the control module executes step S4, which is to determine the target frequency based on the correspondence between the target rotational speed and the rotational speed frequency, the following steps can be performed: S401A. In the speed-frequency correspondence, find the speed value that is the same as the target speed; S402A. Based on the found rotational speed value, determine all frequency values corresponding to the rotational speed value; S403A. When a frequency value is determined, the determined frequency value shall be used as the target frequency; S404A. When multiple frequency values are determined, a frequency value is randomly selected from the multiple frequency values and kept constant as the target frequency, or a dynamic random selection is made from the multiple frequency values and the target frequency is dynamically updated using the selected frequency value.
[0038] Steps S401A-S404A are the first execution method of step S4.
[0039] In step S401A, after determining the target rotational speed... After obtaining the specific value, you can find the speed value that matches the target speed in the speed-frequency correspondence shown in Table 1. For example, when = The rotational speed value with serial number 1 can be found in Table 1; when = The rotational speed value with serial number 3 can be found in Table 1.
[0040] In step S402A, the target rotational speed can be determined based on the rotational speed-frequency correspondence shown in Table 1. The corresponding total frequency values. For example, when = The corresponding frequency value can be determined based on the speed-frequency correspondence shown in Table 1. or ;when = The corresponding frequency value can be determined based on the speed-frequency correspondence shown in Table 1. .
[0041] If the determined frequency value is a numerical value, for example when = At that time, a frequency value is determined. Then, step S403A is executed to obtain this unique frequency value. The target frequency was determined.
[0042] If the determined frequency value is multiple values, for example when = At that time, determine and If multiple frequency values are obtained, then step S404A is executed. Specifically, this can be achieved from... and Randomly select a frequency value, for example, select a frequency value. The constant is taken as the target frequency, that is, at least the target rotational speed. Under the condition that it remains unchanged, during the execution of steps S1-S6, it is always based on The target frequency can be selected dynamically and randomly from multiple frequency values, and the selected frequency value can be used to dynamically update the target frequency. For example, even at the target rotational speed... Without changing anything, the control module also periodically... and A new target frequency is randomly selected from the data.
[0043] In this embodiment, by executing step S4 in the manner of executing steps S401A-S404A, since the frequency value in the speed-frequency correspondence is the carrier frequency of the PWM control signal that minimizes the resonance of the target motor corresponding to the relative speed value, determining the target frequency by executing steps S401A-S404A enables the carrier frequency of the PWM control signal determined in steps S5-S6 to be equal to the specific target speed. The corresponding safe frequency enables dynamic adjustment of the carrier frequency of the PWM control signal, allowing the target motor to avoid its resonance range and effectively reducing the noise generated by the target motor due to the fixed and unchangeable carrier frequency of the PWM control signal and its inappropriate value.
[0044] Furthermore, when performing step S404A, if the method of dynamically updating the target frequency is selected, the target frequency can be kept in a state of change while ensuring that the target frequency is always taken according to the safe frequency. This achieves frequency jitter, which can disperse the noise energy of the target motor driven by the PWM control signal to a frequency band, avoiding the energy from being concentrated at a single frequency point. This helps to reduce audible noise peaks and suppress resonance.
[0045] In this embodiment, when the control module executes step S4, which is to determine the target frequency based on the correspondence between the target rotational speed and the rotational speed frequency, the following steps can be performed: S401B. Divide the interior space of the vehicle's passenger compartment into multiple interior zones; S402B. Obtain the regional wheel mapping relationship; S403B. Determine the internal area where the target motor is located; S404B. Determine the target wheel corresponding to the target motor based on the mapping relationship between the internal area where the target motor is located and the wheels in that area; S405B. Obtain the real-time wheel speed of the target wheel; S406B. Determine the frequency range based on real-time wheel speed; S407B. Determine the target frequency based on the target rotational speed, the relationship between rotational speed and frequency, and the frequency range.
[0046] Steps S401B-S407B are the second execution method of step S4.
[0047] In step S401B, you can refer to Figure 1 The interior space of the vehicle's passenger compartment is divided into multiple internal areas, namely A, B, C, and D. Among them, internal area A is the area closest to the left front wheel, internal area B is the area closest to the right front wheel, internal area C is the area closest to the left rear wheel, and internal area D is the area closest to the right rear wheel, thus forming the area wheel mapping relationship in step S402B.
[0048] After performing step S401B, calibration can be used to determine the specific installation location of each motor in the vehicle's passenger compartment, thereby identifying the internal area to which each motor belongs. For example, Figure 5 In the diagram, the front air vent motor and the driver's seat ventilation motor are located in interior area A, the passenger seat ventilation motor is located in interior area B, the rear air vent motor and the left rear seat ventilation motor are located in interior area C, and the right rear seat ventilation motor is located in interior area D.
[0049] In steps S403B-S404B, for the target motor of the front exhaust vent motor in this embodiment, it can be determined that it is located in the inner region A. According to the region wheel mapping relationship, the inner region A is mapped to the left front wheel, thus determining that the target wheel corresponding to the target motor of the front exhaust vent motor is the left front wheel.
[0050] In step S405B, the control module can call the speed sensor installed on the target wheel, i.e., the left front wheel, to detect the real-time wheel speed of the target wheel. .
[0051] In step S406B, the control module determines the real-time wheel speed based on the information obtained in step S405B. Determine the frequency range [ , In this embodiment, it can be and Set to a fixed frequency spacing, i.e. and The difference is always equal to a fixed frequency value. .
[0052] Specifically, in this embodiment, the frequency range [ , The frequency magnitude (specifically, the minimum frequency) Size, maximum frequency Size or interval center value Size) and real-time wheel speed Negative correlation. Thus, the real-time wheel speed of the target wheel, the left front wheel... The smaller the value, the higher the frequency range. , The higher the frequency value in the range, the better.
[0053] In step S407B, according to the target rotational speed The relationship between rotational speed and frequency and frequency range [ , Determine the target frequency. .
[0054] When performing step S407B, the principle of steps S401A-S402A can be referred to, and the corresponding speed and frequency can be found according to the speed-frequency correspondence shown in Table 1 to match the target speed. All corresponding frequency values, for example, when the target speed... = At that time, find and Multiple frequency values; then, determine and Is it within the frequency range? , Within ], will be located in the frequency range [ , The frequency value within [ ] is determined as the target frequency. .
[0055] Specifically, if and In the middle, only In the frequency range [ , ]Inside, Not in the frequency range , Inside, then Determined as the target frequency ,Right now = Similarly, if only In the frequency range [ , ]Inside, Not in the frequency range , Inside, then Determined as the target frequency ,Right now = ;if and All within the frequency range , Within [the specified range], then methods such as random selection can be used to [select the appropriate option]. and A frequency value is determined as the target frequency. ,Right now = or = ;if and None of them are in the frequency range. , Within ], then we can calculate separately. and With frequency range [ , The distance between the nearest endpoints, for example if satisfy < ,So With frequency range [ , The distance between them is - Similarly, it can be calculated that With frequency range [ , The distance between [ ] is used to determine the target frequency, with the frequency value closest to the nearest frequency range being the closest. If the two are equidistant, then methods such as random selection can be used to determine the outcome. and A frequency value is determined as the target frequency. .
[0056] In this embodiment, the principle of executing steps S401B-S407B is as follows: by executing steps S401B-S407B, it is possible to... Based on the correlation between rotational speed and frequency, multiple candidate frequency values were determined, and the rotational speed of the wheel closest to the target motor, i.e., the real-time wheel speed, was selected. This allows us to select a frequency value from these candidate frequency values as the target frequency. That is, the frequency range in steps S401B-S407B is equivalent to a selection window for multiple frequency values that satisfy the correspondence between rotational speed and frequency, so that the selected target frequency With real-time wheel speed Negative correlation, i.e., real-time wheel speed The larger the target frequency The smaller the value, the faster the real-time wheel speed. The smaller the target frequency The larger the value, the more likely steps are to be executed. Thus, based on steps S401B-S407B, steps S5-S6 are executed, and the carrier frequency of the generated PWM control signal is equal to the target frequency. That is, the real-time wheel speed of the wheel closest to the target motor. The larger the tire noise (and the greater the tire noise), the lower the carrier frequency of the PWM control signal should be used to drive the target motor. This way, even if the target motor emits low-frequency noise due to the low carrier frequency of the PWM control signal, the tire noise can be used to mitigate the impact of the low-frequency noise. Simultaneously, the advantages of low carrier frequency, such as low switching losses and low heat generation, can be obtained. Correspondingly, the real-time wheel speed of the wheel closest to the target motor... The smaller the tire noise (and the lower the tire noise), the higher the carrier frequency of the PWM control signal is used to drive and control the target motor, thereby reducing the low-frequency noise of the target motor, adapting to the low tire noise environment, and reducing the noise impact of the target motor on the occupants.
[0057] Since steps S1-S6 are performed for a specific target motor, namely the real-time wheel speed. It refers to the rotational speed of a specific target vehicle. Since different wheels on a car have different parameters such as tire pressure, tire diameter, road conditions, and turning radius, and the wheels are connected by mechanisms such as differentials, different wheels generally have different real-time wheel speeds. Therefore, by executing steps S401B-S407B, it is possible to accurately control the carrier frequency of the PWM control signal used by the target motor according to the rotational speed of the target wheel corresponding to each target motor. This improves the precision of noise control in the passenger compartment and helps to improve the driving experience of the car.
[0058] In this embodiment, after steps S1-S4 are completed to determine the target frequency... Next, step S5 is executed, based on the target rotational speed. Determine the target duty cycle Generally, the target duty cycle can be... Set to equal to the target speed Relative to the maximum speed of the target motor The proportion, that is = .
[0059] In step S6, the target frequency determined in steps S1-S5 is used. As the carrier frequency, with the target duty cycle As the duty cycle, the PWM control signal is generated; that is, the carrier frequency of the PWM control signal is... Duty cycle is .
[0060] After generating the PWM control signal, the control module sends the PWM control signal to the target motor, thereby controlling the target motor to work.
[0061] By implementing the PWM control signal generation method for the motor in the passenger compartment of a car in this embodiment, the following effects can be achieved: 1. Resonance noise is significantly reduced, the fan operating noise is softer, and the driving experience is improved; 2. At low speeds, current fluctuations are significantly reduced, and electromagnetic noise is significantly decreased; 3. It is compatible with motors of different specifications, has strong versatility, and does not require debugging for a single vehicle model; 4. Reduce the wear and tear on the motor and the fan blades driven by the motor due to resonance, and extend the service life of the motor.
[0062] A computer program for generating PWM control signals for a motor in the passenger compartment of a vehicle, as described in this embodiment, can be written into a computer device or storage medium. When the computer program is read out and run, it executes the PWM control signal generation method for a motor in the passenger compartment of a vehicle and / or the PWM control signal generation method for a motor in the passenger compartment of a vehicle as described in this embodiment, thereby achieving the same technical effect as the PWM control signal generation method for a motor in the passenger compartment of a vehicle and / or the PWM control signal generation method for a motor in the passenger compartment of a vehicle as described in this embodiment.
[0063] It should be noted that, unless otherwise specified, when a feature is referred to as "fixed" or "connected" to another feature, it can be directly fixed or connected to the other feature, or indirectly fixed or connected to the other feature. Furthermore, the descriptions of "upper," "lower," "left," and "right" used in this disclosure are only relative to the relative positional relationships of the components of this disclosure in the accompanying drawings. The singular forms "a," "an," and "the" used in this disclosure are also intended to include the plural forms, unless the context clearly indicates otherwise. Moreover, unless otherwise defined, all technical and scientific terms used in this embodiment have the same meaning as commonly understood by one of ordinary skill in the art. The terminology used in this embodiment specification is only for describing particular embodiments and is not intended to limit the invention. The term "and / or" as used in this embodiment includes any combination of one or more of the associated listed items.
[0064] It should be understood that although the terms first, second, third, etc., may be used to describe various elements in this disclosure, these elements should not be limited to these terms. These terms are only used to distinguish elements of the same type from each other. For example, a first element may also be referred to as a second element without departing from the scope of this disclosure, and similarly, a second element may also be referred to as a first element. The use of any and all instances or exemplary language (“e.g.,” “such as,” etc.) provided in this embodiment is intended only to better illustrate embodiments of the invention and, unless otherwise required, does not impose a limitation on the scope of the invention.
[0065] It should be recognized that embodiments of the present invention can be implemented or carried out by computer hardware, a combination of hardware and software, or by computer instructions stored in a non-transitory computer-readable storage medium. The method can be implemented using standard programming techniques—including a non-transitory computer-readable storage medium configured with a computer program, wherein such a storage medium causes the computer to operate in a specific and predefined manner—according to the methods and drawings described in the specific embodiments. Each program can be implemented in a high-level procedural or object-oriented programming language to communicate with the computer system. However, if desired, the program can be implemented in assembly or machine language. In any case, the language can be a compiled or interpreted language. Furthermore, for this purpose, the program can run on a programmed application-specific integrated circuit (ASIC).
[0066] Furthermore, the procedures described in this embodiment can be performed in any suitable order unless otherwise indicated by this embodiment or otherwise obviously contradict the context. The procedures (or variations and / or combinations thereof) described in this embodiment can be executed under the control of one or more computer systems configured with executable instructions, and can be implemented by hardware or a combination thereof as code (e.g., executable instructions, one or more computer programs, or one or more applications) that commonly executes on one or more processors. A computer program includes a plurality of instructions executable by one or more processors.
[0067] Furthermore, the method can be implemented in any suitable type of computing platform, including but not limited to personal computers, minicomputers, mainframes, workstations, networked or distributed computing environments, standalone or integrated computer platforms, or in communication with charged particle tools or other imaging devices, etc. Aspects of the invention can be implemented as machine-readable code stored on a non-transitory storage medium or device, whether removable or integrated into a computing platform, such as a hard disk, optical read and / or write storage medium, RAM, ROM, etc., such that it is readable by a programmable computer, and when the storage medium or device is read by the computer, it can be used to configure and operate the computer to perform the processes described herein. Furthermore, the machine-readable code, or portions thereof, can be transmitted via wired or wireless networks. The invention of this embodiment includes these and other different types of non-transitory computer-readable storage media when such media comprises instructions or programs that implement the steps above in conjunction with a microprocessor or other data processor. When programmed according to the methods and techniques of the invention, the invention also includes the computer itself.
[0068] A computer program can be applied to input data to perform the functions of this embodiment, thereby transforming the input data to generate output data stored in non-volatile memory. The output information can also be applied to one or more output devices, such as a display. In a preferred embodiment of the invention, the transformed data represents physical and tangible objects, including specific visual depictions of physical and tangible objects generated on the display.
[0069] The above are merely preferred embodiments of the present invention. The present invention is not limited to the above-described embodiments. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention, as long as they achieve the technical effects of the present invention by the same means, should be included within the scope of protection of the present invention. Within the scope of protection of the present invention, the technical solutions and / or implementation methods can have various modifications and variations.
Claims
1. A method for generating PWM control signals for motors in the passenger compartment of an automobile, characterized in that, The method for generating PWM control signals for motors in the passenger compartment of automobiles includes: Identify the target motor to be driven; the target motor is a motor located in the passenger compartment of the vehicle. Determine the target speed of the target motor; Obtain the speed-frequency correspondence; the speed-frequency correspondence maps each speed value to at least one frequency value. The target frequency is determined based on the correspondence between the target rotational speed and the rotational speed frequency; Determine the target duty cycle based on the target rotational speed; The PWM control signal is generated by using the target frequency as the carrier frequency of the PWM control signal and the target duty cycle as the duty cycle of the PWM control signal.
2. The method for generating PWM control signals for motors in the passenger compartment of an automobile according to claim 1, characterized in that, The acquisition of the rotational speed-frequency correspondence includes: A noise calibration experiment was performed on the target motor. In the noise calibration experiment, a PWM test signal is output to the target motor, and the target motor is adjusted to multiple test speeds. During the operation of the target motor at each test speed, the test vibration intensity of the target motor is recorded. The carrier frequency of the PWM test signal is traversed and adjusted to multiple test frequencies. The test vibration intensity corresponding to each test frequency is recorded. The smallest one or more test vibration intensities are selected. The corresponding test frequencies for each selected test vibration intensity are used to establish a correspondence between the test speed and the speed frequency, thereby obtaining the speed-frequency correspondence.
3. The method for generating PWM control signals for motors in the passenger compartment of an automobile according to claim 1, characterized in that, The step of determining the target frequency based on the correspondence between the target rotational speed and the rotational speed frequency includes: In the rotational speed-frequency correspondence, find the rotational speed value that is the same as the target rotational speed; Based on the found rotational speed value, determine all frequency values corresponding to the rotational speed value; Once a frequency value is determined, the determined frequency value is used as the target frequency; When multiple frequency values are determined, one frequency value is randomly selected from the multiple frequency values and kept constant as the target frequency.
4. The method for generating PWM control signals for motors in the passenger compartment of an automobile according to claim 3, characterized in that, The step of determining the target frequency based on the correspondence between the target rotational speed and the rotational speed frequency further includes: When multiple frequency values are determined, a dynamic random selection is made from the multiple frequency values; The target frequency is dynamically updated using the selected frequency value.
5. The method for generating PWM control signals for motors in the passenger compartment of an automobile according to claim 1, characterized in that, The step of determining the target frequency based on the correspondence between the target rotational speed and the rotational speed frequency includes: The interior space of the car's passenger compartment is divided into multiple internal zones; Obtain the region wheel mapping relationship; the region wheel mapping relationship maps each of the internal regions to a corresponding wheel on the car; Determine the internal region where the target motor is located; Based on the mapping relationship between the internal region where the target motor is located and the wheels in that region, the target wheel corresponding to the target motor is determined; Obtain the real-time wheel speed of the target wheel; The frequency range is determined based on the real-time wheel speed; the frequency range is negatively correlated with the real-time wheel speed. The target frequency is determined based on the target rotational speed, the relationship between the rotational speed and frequency, and the frequency range.
6. The method for generating PWM control signals for motors in the passenger compartment of an automobile according to claim 5, characterized in that, The acquisition of the regional wheel mapping relationship includes: For any of the aforementioned internal regions, map the internal region to the wheel that is closest to the internal region; Traverse all the internal regions and establish the wheel mapping relationship for each region.
7. The method for generating PWM control signals for motors in the passenger compartment of an automobile according to claim 5, characterized in that, Determining the target frequency based on the target rotational speed, the correspondence between the rotational speed and frequency, and the frequency range includes: In the rotational speed-frequency correspondence, find the rotational speed value that is the same as the target rotational speed; Based on the found rotational speed value, determine all frequency values corresponding to the rotational speed value; When the determined frequency value falls within the frequency range, the determined frequency value is taken as the target frequency. If the determined frequency value is not within the frequency range, the frequency value that is closest to the frequency range among the determined frequency values shall be taken as the target frequency.
8. The method for generating PWM control signals for an in-cabin motor of an automobile according to any one of claims 1-7, characterized in that, The method for generating PWM control signals for motors in the passenger compartment of automobiles also includes: The PWM control signal is sent to the target motor.
9. A computer device, characterized in that, The method includes a memory and a processor, wherein the memory is used to store at least one program and the processor is used to load at least one program to execute the PWM control signal generation method for an in-cabin motor of an automobile as described in any one of claims 1-8.
10. A computer-readable storage medium storing a processor-executable program, characterized in that, The processor-executable program, when executed by the processor, is used to perform the PWM control signal generation method for an in-cabin motor of any one of claims 1-8.