Control method of motor and resonant heating, vehicle-mounted compressor and vehicle

By connecting the resonant heating circuit and the three-phase inverter circuit in series within the compressor controller, and adjusting the carrier frequency using the sampled current value and the desired negative current value, the joint control of the motor and resonant heating is achieved. This solves the problem of the complexity of traditional motor control and heating functions, and reduces cost and complexity.

CN122137307APending Publication Date: 2026-06-02GUANGDONG WELLING AUTO PARTS CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
GUANGDONG WELLING AUTO PARTS CO LTD
Filing Date
2024-11-15
Publication Date
2026-06-02

AI Technical Summary

Technical Problem

Traditional methods of implementing motor control and heating functions require the use of separate controllers and control circuits, resulting in complex implementation and high costs.

Method used

By setting up a three-phase inverter circuit and a resonant heating circuit in the compressor controller, and connecting the resonant heating circuit in series with any one of the inverter half-bridges in the three-phase inverter circuit, the carrier frequency is determined by using the sampled current value and the desired negative current value, thereby realizing the joint control of the motor and the resonant heating circuit.

Benefits of technology

The use of PTC heaters and on-board PTC heater controllers has been reduced, lowering the cost of implementing motor control and heating functions and simplifying the complexity of control circuits.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122137307A_ABST
    Figure CN122137307A_ABST
Patent Text Reader

Abstract

This application discloses a control method for a motor and resonant heating, an on-board compressor, and a vehicle, relating to the fields of motor control and resonant heating technology. It is applied to a compressor controller connected to a motor and equipped with a three-phase inverter circuit and a resonant heating circuit. The resonant heating circuit is connected in series with any one of the inverter half-bridges in the three-phase inverter circuit. The method acquires control parameter information from the compressor controller, including a first sampled current value of the inverter half-bridge connected to the resonant heating circuit in the three-phase inverter circuit, a second sampled current value of the resonant heating circuit, and a preset desired negative current value. An adjustment carrier frequency value is determined based on the desired negative current value, the first sampled current value, and the second sampled current value. The actual carrier frequency is then determined based on the adjustment carrier frequency value, allowing control of the motor and resonant heating circuit based on the actual carrier frequency. This application reduces the complexity of motor control and heating functions.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of motor control and resonant heating technology, and in particular to a control method for a motor and resonant heating, an on-board compressor, and a vehicle. Background Technology

[0002] As motor control and heating technology are increasingly used in various fields, users are also placing higher demands on the implementation of motor control and heating functions.

[0003] Traditional motor control and heating functions are implemented through a PTC (Positive Temperature Coefficient) heater. The heating is regulated by changing the number of switches or adjusting the duty cycle of the switches based on the onboard PTC heater controller. This requires separate inverter circuits and motor controllers for motor control. This method has significant drawbacks, as it necessitates the use of separate controllers and control circuits for each function (including the PTC heater, the onboard PTC heater controller, the motor controller, and the inverter circuit). In other words, this method complicates the implementation of motor control and heating functions due to the need for separate controllers and control circuits for each function.

[0004] The above content is only used to help understand the technical solution of this application and does not represent an admission that the above content is prior art. Summary of the Invention

[0005] The main objective of this application is to provide a control method for an electric motor and resonant heating, an on-board compressor, and a vehicle, aiming to solve the complex technical problems in realizing the motor control and heating functions.

[0006] To achieve the above objectives, this application provides a control method for a motor and resonant heating. This control method is applied to a compressor controller connected to a motor. The compressor controller includes a three-phase inverter circuit and a resonant heating circuit. The resonant heating circuit is connected in series with any one of the inverter half-bridges in the three-phase inverter circuit. The control method for the motor and resonant heating includes:

[0007] The control parameter information of the compressor controller is obtained, wherein the control parameter information includes the first sampled current value of the inverter half-bridge connected to the resonant heating circuit in the three-phase inverter circuit, the second sampled current value of the resonant heating circuit, and the preset expected negative current value;

[0008] The carrier frequency value is determined based on the desired negative current value, the first sampled current value, and the second sampled current value.

[0009] The actual carrier frequency is determined based on the adjusted carrier frequency value, and the motor and the resonant heating circuit are controlled based on the actual carrier frequency.

[0010] In one embodiment, the step of determining the carrier frequency adjustment value based on the desired negative current value, the first sampled current value, and the second sampled current value includes:

[0011] Determine the sum of the values ​​between the first sampled current value and the second sampled current value, and determine the numerical difference between the sum of the values ​​and the expected negative current value;

[0012] The adjusted carrier frequency value corresponding to the numerical difference is determined based on a preset carrier frequency adjustment algorithm, wherein the carrier frequency adjustment algorithm includes proportional integration of the numerical difference followed by amplitude limiting to obtain the adjusted carrier frequency value.

[0013] In one embodiment, the step of determining the actual carrier frequency based on the adjusted carrier frequency value includes:

[0014] The actual carrier frequency is obtained by adjusting the preset reference carrier frequency based on the adjusted carrier frequency value.

[0015] In one embodiment, before the step of obtaining the control parameter information of the compressor controller, the following steps are included:

[0016] Obtain the switching state of the target switching transistor, wherein the target switching transistor includes the switching transistor in the three-phase inverter circuit that is connected in series with the resonant heating circuit;

[0017] When the switch state is a preset pre-open state, the step of obtaining the control parameter information of the compressor controller is executed.

[0018] In one embodiment, the compressor controller further includes a fourth sampling circuit connected to the resonant heating circuit, and a first sampling circuit connected to the first inverter bridge arm, a second sampling circuit connected to the second inverter bridge arm, and a third sampling circuit connected to the third inverter bridge arm in the three-phase inverter circuit. The step of obtaining the control parameter information of the compressor controller includes:

[0019] The fourth current value collected by the fourth sampling circuit, the first current value collected by the first sampling circuit, the second current value collected by the second sampling circuit, and the third current value collected by the third sampling circuit are obtained.

[0020] The fourth current value is used as the second sampling current value, and the first sampling current value is determined based on the inverter half-bridge connected to the resonant heating circuit. The first sampling current value, the second sampling current value, and the preset expected negative current value are used as the control parameter information of the compressor controller. The first sampling current value is determined based on the inverter half-bridge connected to the resonant heating circuit. The current value corresponding to the inverter half-bridge is determined from the first current value, the second current value, and the third current value as the first sampling current value. Alternatively, the bridge arm current value corresponding to other inverter half-bridges is determined from the first current value, the second current value, and the third current value, and the first sampling current value is determined based on the bridge arm current value.

[0021] In addition, to achieve the above objectives, a vehicle-mounted compressor is also provided, the vehicle-mounted compressor including a compressor controller, a motor and a compression unit, the compressor controller being connected to the motor and the motor being connected to the compression unit;

[0022] The compressor controller includes a three-phase inverter circuit, a resonant heating circuit, a sampling circuit, and a controller. The resonant heating circuit is connected in series with any one of the inverter half-bridges in the three-phase inverter circuit. The sampling circuit is connected to the three-phase inverter circuit, the resonant heating circuit, and the controller. The controller is connected to the three-phase inverter circuit and the resonant heating circuit. The output terminal of the three-phase inverter circuit is connected to the motor. The compressor controller executes the motor and resonant heating control method described above.

[0023] In one embodiment, the resonant heating circuit includes:

[0024] Equivalent resistance, the first end of which is connected to the first end of any one of the inverter half-bridges in the three-phase inverter circuit;

[0025] A resonant capacitor, wherein the first terminal of the resonant capacitor is connected to the second terminal of the equivalent resistor;

[0026] A resonant inductor, wherein the first end of the resonant inductor is connected to the second end of the resonant capacitor;

[0027] A switching transistor is provided, the first end of which is connected to the second end of the resonant inductor, and the second end of which is connected to the second end of any one of the inverter half-bridges in the three-phase inverter circuit.

[0028] In one embodiment, the inverter half-bridge of the first inverter arm, the inverter half-bridge of the second inverter arm, or the inverter half-bridge of the third inverter arm is connected to the resonant heating circuit.

[0029] In one embodiment, the motor includes a first phase input terminal, a second phase input terminal, and a third phase input terminal, and the three-phase inverter circuit further includes:

[0030] Motor controller;

[0031] The first end of the first inverter bridge arm is connected to the positive terminal of the external power supply, the second end of the first inverter bridge arm is connected to the negative terminal of the external power supply, and the midpoint of the first inverter bridge arm is connected to the first phase input terminal.

[0032] The first end of the second inverter bridge arm is connected to the positive terminal of the external power supply, the second end of the second inverter bridge arm is connected to the negative terminal of the external power supply, and the midpoint of the second inverter bridge arm is connected to the second phase input terminal.

[0033] The third end of the third inverter bridge arm is connected to the positive terminal of the external power supply, the second end of the third inverter bridge arm is connected to the negative terminal of the external power supply, and the midpoint of the third inverter bridge arm is connected to the third phase input terminal. The first inverter bridge arm, the second inverter bridge arm, and the third inverter bridge arm are composed of two series-connected switching transistors, and the control terminal of the switching transistors is connected to the motor controller.

[0034] In one embodiment, the sampling circuit includes a fourth sampling circuit connected to the resonant heating circuit, a first sampling circuit connected to the first inverter bridge arm, a second sampling circuit connected to the second inverter bridge arm, and a third sampling circuit connected to the third inverter bridge arm, wherein the first sampling circuit, the second sampling circuit, the third sampling circuit, and the fourth sampling circuit are composed of sampling resistors and sampling operational amplifiers.

[0035] In addition, to achieve the above objectives, a vehicle is also provided, the vehicle including the aforementioned on-board compressor.

[0036] This application provides a control method for a motor and resonant heating, applied to a compressor controller connected to a motor. The compressor controller includes a three-phase inverter circuit and a resonant heating circuit. The resonant heating circuit is connected in series with any one of the inverter half-bridges in the three-phase inverter circuit. The method acquires control parameter information from the compressor controller, including a first sampled current value of the inverter half-bridge connected to the resonant heating circuit in the three-phase inverter circuit, a second sampled current value of the resonant heating circuit, and a preset desired negative current value. An adjustment carrier frequency value is determined based on the desired negative current value, the first sampled current value, and the second sampled current value. An actual carrier frequency is then determined based on the adjustment carrier frequency value, allowing control of the motor and resonant heating circuit based on the actual carrier frequency. This control method for a motor and resonant heating is applied to a compressor controller where the resonant heating circuit and any one of the inverter half-bridges in the three-phase inverter circuit are connected in series. The method uses the desired negative current value and the first sampled current value... The adjustment carrier frequency value is determined by the second sampled current value. Based on the adjustment carrier frequency value, the actual carrier frequency is determined, and then the motor and resonant heating circuit are controlled. This avoids the phenomenon that the motor control and heating functions need to use separate controllers and control circuits (including PTC heater, vehicle PTC heater controller, motor controller and inverter circuit). By connecting the resonant heating circuit in series with any one of the inverter half-bridges in the three-phase inverter circuit, the adjustment carrier frequency value is determined based on the expected negative current value, the first sampled current value and the second sampled current value. Based on the adjustment carrier frequency value, the actual carrier frequency is determined, and then the motor and resonant heating circuit are controlled. This reduces the use of PTC heater (replacing it with resonant heating circuit for heating), vehicle PTC heater controller and PTC heater control circuit, thereby reducing the implementation cost of motor control and heating functions. At the same time, controlling based on a single circuit reduces the complexity of implementation. Attached Figure Description

[0037] Figure 1 This is a flowchart illustrating the first embodiment of the control method for motor and resonant heating according to this application;

[0038] Figure 2 This is a schematic diagram showing the connection between the three-phase inverter circuit and the resonant heating circuit within the compressor controller of this application.

[0039] Figure 3 This is a waveform diagram of the control method for motor and resonant heating in this application;

[0040] Figure 4 This is a schematic diagram illustrating one implementation of the control method for motor and resonant heating in this application.

[0041] Figure 5 This is a schematic diagram of the controller structure of the hardware operating environment involved in the embodiments of the present invention;

[0042] Figure 6 This is a schematic diagram of the controller module of the present invention;

[0043] Figure 7 This is another connection diagram of the three-phase inverter circuit and resonant heating circuit within the compressor controller of this application.

[0044] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings.

[0045] Explanation of icon numbers:

[0046] V DC 1. External power supply; 21. First inverter bridge arm; 22. Second inverter bridge arm; 23. Third inverter bridge arm; 10. Resonant heating circuit; M. Motor; S1. First switch; S2. Second switch; S3. Third switch; S4. Fourth switch; S5. Fifth switch; S6. Sixth switch; S7. Turn-on switch; R1. Equivalent resistance; C1. Resonant capacitor; L1. Resonant inductor; RX. Equivalent sampling resistor; RV. Second sampling resistor; RU. Third sampling resistor; W. First phase input terminal; V. Second phase input terminal; U. Third phase input terminal; ibus. Power supply current; lv. Second phase current; lu. Third phase current; lw. First phase current; lReq. Second sampling current; RL. Fourth sampling resistor; K1. First adder; P. Proportional-integral converter; X. Limiter; K2. First adder. Detailed Implementation

[0047] It should be understood that the specific embodiments described herein are merely illustrative of this application and are not intended to limit this application.

[0048] To better understand the technical solution of this application, a detailed description will be provided below in conjunction with the accompanying drawings and specific implementation methods.

[0049] PTC heaters are widely used in automobiles, primarily for preheating the engine in winter and heating the passenger compartment. To adjust their heating power, an onboard PTC heater controller is typically used. This controller adjusts the PTC heater's settings by changing the number of switches or adjusting the duty cycle. However, PTC heaters are prone to dry burning and thermal runaway due to their inherent heating properties. Therefore, high-frequency resonant heating has emerged as a solution. High-frequency resonant heating offers advantages such as a simple control environment (a half-bridge topology is sufficient), fewer power devices, low cost, and excellent robustness. The maximum power output point of this topology is located precisely at the resonant frequency, while also achieving the highest efficiency. The control drawback of the above resonant heating circuit is that the control topology and the inverter circuit that controls the motor itself need to be set up separately. Taking the three-phase inverter circuit as an example, the control topology contains 2 switching transistors, while the three-phase inverter circuit contains 6 switching transistors. On the one hand, this will increase the complexity and cost of the devices that need to realize motor control and heating. On the other hand, the two control circuits need to be arranged separately, which will increase the overall device layout area. Due to the increase in the number of switching transistors, more area is needed to arrange the circuit, which in turn makes the device larger.

[0050] Therefore, based on the shortcomings of the above-mentioned methods for implementing motor control and heating functions, this application proposes a control method for motor and resonant heating: The method involves connecting the resonant heating circuit in series with any one of the inverter half-bridges in the three-phase inverter circuit. The adjustment carrier frequency value is determined by the desired negative current value, the first sampled current value, and the second sampled current value. The actual carrier frequency is then determined based on the adjustment carrier frequency value, and the motor and resonant heating circuit are controlled accordingly. This avoids the need for separate controllers and control circuits (including a PTC heater, an on-board PTC heater controller, a motor controller, and an inverter circuit) to implement motor control and heating functions. By connecting the resonant heating circuit in series with any one of the inverter half-bridges in the three-phase inverter circuit, and then determining the adjustment carrier frequency value based on the desired negative current value, the first sampled current value, and the second sampled current value, the actual carrier frequency is determined based on the adjustment carrier frequency value, and the motor and resonant heating circuit are controlled accordingly. This reduces the use of the PTC heater (replacing it with a resonant heating circuit), the on-board PTC heater controller, and the PTC heater control circuit, thereby reducing the implementation cost of motor control and heating functions. Furthermore, controlling based on a single circuit reduces implementation complexity.

[0051] In one embodiment of this application, reference is made to Figure 1 , Figure 1This is a flowchart illustrating the first embodiment of the motor and resonant heating control method of this application. The motor and resonant heating control method is applied to a compressor controller connected to a motor M. The compressor controller is equipped with a three-phase inverter circuit 20 and a resonant heating circuit 10. The resonant heating circuit 10 is connected in series with any one of the inverter half-bridges in the three-phase inverter circuit 20. The motor and resonant heating control method includes:

[0052] Step S10: Obtain the control parameter information of the compressor controller, wherein the control parameter information includes the first sampled current value of the inverter half-bridge connected to the resonant heating circuit in the three-phase inverter circuit, the second sampled current value of the resonant heating circuit, and the preset desired negative current value.

[0053] For example, refer to Figure 2 , Figure 2 This diagram illustrates the connection between the three-phase inverter circuit and the resonant heating circuit within the compressor controller of this application. The diagram uses the example of the resonant heating circuit 10 (which can be a series or parallel resonant circuit) connected in series with the lower half-bridge of the first inverter bridge arm 21 in the three-phase inverter circuit 20. In the existing three-phase inverter circuit 20, six power devices, i.e., three half-bridges, are used, each controlling the U / V / W phases of the motor. One half-bridge (S1 and S2 in the diagram) serves as both of the two power devices required for the resonant heating circuit 10. Because a switching transistor S4 is installed in the resonant heating circuit 10, the three-phase inverter circuit and the resonant heating circuit within the entire compressor controller can achieve the following functional states:

[0054] a: When the motor is turned on, the electromagnetic heating is turned on simultaneously. At this time, the electromagnetic heating power is controlled by the carrier frequency, and the motor power is controlled by the effective duty cycle of the motor.

[0055] b: When the motor is not turned on, the electromagnetic heating is turned on. The electromagnetic heating power is controlled by the carrier frequency and the single S1 / S2 duty cycle. At this time, there is no current in the motor.

[0056] c: When the motor is turned on, the electromagnetic heating is not turned on. By turning off the on switch tube S7, the resonant heating circuit 10 is shut down, and the motor controls the entire compressor to operate normally.

[0057] ZVS (Zero Voltage Switching) analysis is performed on the above functional states. Since the switching transistor itself has hardware ZVS functionality, functional states b and c are both cases of single-function control, so there is no need to consider ZVS control scenarios. However, functional state a involves simultaneous control of the resonant heating circuit 10 and the motor; therefore, a single hardware ZVS function cannot achieve ZVS. That is, if a fixed carrier frequency is used, the current flowing through S1 and S2 is superimposed with the phase current of phase W of the motor M, making it impossible to always achieve zero-voltage turn-on. In other words, the switching transistors in ordinary topologies are hard switches. During turn-on and turn-off, the drain-source voltage VDS and drain-source current IDS of the switching transistor overlap. The area of ​​voltage and current overlap represents the conduction and turn-off losses of the switching transistor. Therefore, to reduce the switching losses of the switching transistor and improve conversion efficiency, the resonant heating circuit 10 adopts a software control method for zero-voltage switching. In other words, in the three-phase inverter circuit 20 containing the resonant heating circuit 10, to achieve zero-voltage switching, the current of the switching transistor must lag behind the voltage, so that the resonant heating circuit 10 operates in an inductive state. (See reference...) Figure 2 In the three-phase inverter circuit 20, before the first switch S1 is turned on, current flows through the body diode (S to D) of the switch, clamping the voltage between the switch's S and D transistors to near 0V (diode voltage drop). Turning the switch on at this point achieves zero-voltage conduction. Further, refer to... Figure 3 , Figure 3 The figure shows a waveform diagram of the control method of motor and resonant heating in this application. The voltage and current waveforms of the first switch S1 are shown in the figure. It can be seen that when the switch is turned on (VDS drops to 0), the current of the switch is negative (the part marked with the current of the body diode), indicating that the current flows in reverse through the body diode. The voltage between the DS of the switch is clamped to near 0V. At this time, the switch can be turned on to achieve zero voltage turn-on.

[0058] In this embodiment, based on the above analysis of the zero-voltage turn-on premise, a control method for the motor and resonant heating of this application is proposed. This method is primarily used in scenarios where the motor and resonant heating are controlled simultaneously. Because in the zero-voltage turn-on scenario, current flows in reverse through the body diode, and the voltage between the switching transistors (DS) is clamped near 0V, control is based on current feedback. By acquiring the control parameter information of the compressor controller, i.e., acquiring information about various circuits or devices within the compressor controller, such as current and voltage values, the control parameter information includes the first sampled current value of the inverter half-bridge connected to the resonant heating circuit 10 in the three-phase inverter circuit, the second sampled current value of the resonant heating circuit, and a preset desired negative current value. The first sampled current value refers to the current value of the inverter half-bridge connected to the resonant heating circuit 10 in the three-phase inverter circuit, i.e. Figure 2The current value flowing through the first switching transistor S1 (the first switching transistor S1 needs to be turned on and the second switching transistor S2 needs to be turned off for the resonant heating circuit 10 to work), the second sampled current value refers to the current value flowing through the resonant heating circuit 10, and the expected negative current value refers to the current value set by the user. Because zero-voltage turn-on needs to be achieved, the expected negative current value is negative. Based on these parameters, the carrier frequency for controlling the first switching transistor S1 is determined. Controlling the first switching transistor S1 based on this carrier frequency can achieve zero-voltage turn-on, thereby reducing the switching losses of the switching transistor. At the same time, motor control and resonant heating can be achieved at low cost.

[0059] Step S20: Determine the carrier frequency value to be adjusted based on the desired negative current value, the first sampling current value, and the second sampling current value;

[0060] Step S30: Determine the actual carrier frequency based on the adjusted carrier frequency value, and control the motor and resonant heating circuit based on the actual carrier frequency.

[0061] In this embodiment, after obtaining the control parameter information, the required carrier frequency is obtained through processing based on the control parameter information. This carrier frequency is then used to control the switching transistor, achieving zero-voltage turn-on. First, the adjusted carrier frequency value is determined based on the desired negative current value, the first sampled current value, and the second sampled current value. This involves determining the current error between the desired negative current value and the actual first and second sampled current values. Then, data processing is performed based on this current error to obtain the carrier frequency value to be adjusted. This data processing method can be based on normal feedback processing methods, such as proportional-integral and limiting methods, or other fuzzy algorithms, bang-bang algorithms, etc., which are not limited here. Different carrier frequency values ​​corresponding to different current errors can be defined based on the data processing. The carrier frequency is then adjusted based on this adjusted carrier frequency value. Finally, the switching transistor is controlled based on the adjusted carrier frequency (i.e., the actual carrier frequency) to control the motor and resonant heating circuit. Zero-voltage turn-on can be achieved through feedback adjustment of the carrier frequency, thereby reducing the switching losses of the switching transistor while realizing motor control and resonant heating at low cost.

[0062] In one embodiment, a control method for a motor and resonant heating is provided, applied to a compressor controller connected to a motor. The compressor controller includes a three-phase inverter circuit and a resonant heating circuit. The resonant heating circuit is connected in series with any one of the inverter half-bridges in the three-phase inverter circuit. The method acquires control parameter information from the compressor controller, including a first sampled current value of the inverter half-bridge connected to the resonant heating circuit in the three-phase inverter circuit, a second sampled current value of the resonant heating circuit, and a preset desired negative current value. An adjustment carrier frequency value is determined based on the desired negative current value, the first sampled current value, and the second sampled current value. An actual carrier frequency is determined based on the adjustment carrier frequency value, and the motor and resonant heating circuit are controlled based on the actual carrier frequency. This control method for a motor and resonant heating is applied in a compressor controller where the resonant heating circuit and any one of the inverter half-bridges in the three-phase inverter circuit are connected in series. The method uses the desired negative current value and the first sampled current value to determine the desired negative current value and the second sampled current value. The adjustment carrier frequency value is determined by the first and second sampled current values. Based on this adjustment carrier frequency value, the actual carrier frequency is determined, and then the motor and resonant heating circuit are controlled. This avoids the need for separate controllers and control circuits (including PTC heater, vehicle-mounted PTC heater controller, motor controller, and inverter circuit) for motor control and heating functions. By connecting the resonant heating circuit in series with any one of the inverter half-bridges in the three-phase inverter circuit, the adjustment carrier frequency value is determined based on the desired negative current value, the first sampled current value, and the second sampled current value. Then, based on this adjustment carrier frequency value, the actual carrier frequency is determined, and then the motor and resonant heating circuit are controlled. This reduces the use of the PTC heater (replacing it with the resonant heating circuit), the vehicle-mounted PTC heater controller, and the PTC heater control circuit, thereby reducing the cost of implementing motor control and heating functions. Furthermore, controlling based on a single circuit reduces implementation complexity.

[0063] Furthermore, based on the first embodiment of the control method for motor and resonant heating of this application described above, a second embodiment of the control method for motor and resonant heating of this application is proposed, comprising the step of determining the adjustment carrier frequency value based on the desired negative current value, the first sampled current value, and the second sampled current value, including:

[0064] Step S21: Determine the sum of the values ​​between the first and second sampled current values, and determine the difference between the sum of the values ​​and the expected negative current value.

[0065] Step S22: Determine the adjusted carrier frequency value corresponding to the numerical difference based on a preset carrier frequency adjustment algorithm. The carrier frequency adjustment algorithm includes proportional integration of the numerical difference followed by amplitude limiting to obtain the adjusted carrier frequency value.

[0066] In this embodiment, when determining the carrier frequency adjustment value based on control parameter information, the numerical difference between the desired negative current value and the first and second sampled current values ​​is first determined. That is, the difference between the actual current value obtained from the first and second sampled current values ​​and the desired negative current value is determined. Here, the sum of the values ​​refers to the sum of the first and second sampled current values, such as 0. The numerical difference refers to the difference between the sum of the values ​​and the desired negative current value. (Refer to...) Figure 4 , Figure 4 This diagram illustrates an implementation of the control method for motor and resonant heating in this application. The desired negative current value lr can be set to -2. The difference between -2 and the sum of the first and second sampled current values ​​is then determined, essentially functioning as a first adder K1. After determining the numerical difference, a carrier frequency adjustment algorithm is applied. As shown in the diagram, the carrier frequency adjustment algorithm involves proportional integration of the numerical difference followed by limiting to obtain the adjusted carrier frequency value. This is equivalent to the function of a proportional-integral converter P and a limiter X. It's worth noting that the proportional-integral converter P can also use fuzzy algorithms, bang-bang algorithms, etc. The value processed by the carrier frequency adjustment algorithm is then used as the adjusted carrier frequency value. This allows subsequent adjustments to the existing carrier frequency based on the adjusted carrier frequency value, enabling the sum of the first and second sampled current values ​​to fit the desired negative current value. Based on the fitted first and second sampled current values ​​of the desired negative current value, the switching transistor can be controlled to achieve zero-voltage turn-on with software feedback control.

[0067] In one embodiment, the step of determining the actual carrier frequency based on the adjusted carrier frequency value includes:

[0068] Step S31: Adjust the preset reference carrier frequency based on the adjusted carrier frequency value to obtain the actual carrier frequency.

[0069] In this embodiment, to achieve ZVS soft turn-on for electromagnetic resonant heating in the resonant heating circuit 10, it is necessary to ensure that the current flowing through the first switch S1 (the sum of Iw and Ireq) is negative at the moment the first switch S1 is turned on. By setting the current flowing through S1 at the moment of turn-on to Ir (a negative value, such as -2A; the actual value is determined based on product testing), collecting the values ​​of Iw and Ireq as feedback, calculating the error, inputting it into a PID (Proportional-Integral-Derivative) algorithm, and outputting the carrier frequency to be adjusted (i.e., the adjusted carrier frequency value), the actual carrier frequency can be obtained by superimposing the adjusted carrier frequency value onto the reference carrier frequency. This actual carrier frequency is then used as the new carrier frequency for motor control and resonant heating to ensure zero-voltage turn-on. Thus, in the topology where motor control and electromagnetic heating are combined within the compressor controller, ZVS soft turn-on for electromagnetic heating is still achieved even when both motor control and electromagnetic heating are simultaneously activated, reducing the losses of the switching transistors. It is worth noting that the carrier frequency value can be adjusted and superimposed on the reference carrier frequency in a positive direction, such as increasing the output carrier frequency, or in a negative direction, such as decreasing the output carrier frequency, depending on the actual and desired negative current value.

[0070] Furthermore, based on the first and / or second embodiments of the control method for motor and resonant heating described above, a third embodiment of the control method for motor and resonant heating described above is proposed. Before the step of obtaining the control parameter information of the compressor controller, the method includes:

[0071] Step S101: Obtain the switching state of the target switching transistor, wherein the target switching transistor includes the switching transistor connected in series with the resonant heating circuit in the three-phase inverter circuit;

[0072] Step S102: When the switch state is a preset pre-open state, the step of obtaining the control parameter information of the compressor controller is executed.

[0073] In this embodiment, since the entire process involves controlling the switching transistor to achieve zero-voltage turn-on, it is necessary to monitor the on-state of the switching transistor to determine the timing for acquiring the control parameter information of the compressor controller. The on / off state of the target switching transistor can be acquired in real time. The target switching transistor includes the switching transistor connected in series with the resonant heating circuit in the three-phase inverter circuit, i.e. Figure 2The first switching transistor S1, connected in series with the resonant heating circuit, then executes the step of acquiring control parameter information from the compressor controller when its switching state is a preset pre-on state. The preset pre-on state refers to the state in which the switching transistor is about to turn on, which can be determined based on a certain parameter, such as a sudden change in VDS, or by the triggering of an internal control signal. It is worth noting that a trigger condition can also be set at this time, such as detecting the internal control level. When it is determined that the first switching transistor S1 has reached the on level, the step of acquiring control parameter information from the compressor controller is directly executed. Thus, based on the selection of the acquisition timing, the switching transistor can be accurately controlled to achieve zero-voltage turn-on during motor control and resonant heating.

[0074] In one embodiment, the compressor controller further includes a fourth sampling circuit connected to the resonant heating circuit, and a first sampling circuit connected to the first inverter bridge arm, a second sampling circuit connected to the second inverter bridge arm, and a third sampling circuit connected to the third inverter bridge arm in the three-phase inverter circuit. The step of obtaining control parameter information of the compressor controller includes:

[0075] Step S11: Obtain the fourth current value collected by the fourth sampling circuit, the first current value collected by the first sampling circuit, the second current value collected by the second sampling circuit, and the third current value collected by the third sampling circuit.

[0076] Step S12: The fourth current value is used as the second sampling current value, and the first sampling current value is determined based on the inverter half-bridge connected by the resonant heating circuit. The first sampling current value, the second sampling current value, and the preset expected negative current value are used as control parameter information of the compressor controller. The first sampling current value is determined based on the inverter half-bridge connected by the resonant heating circuit. The current value corresponding to the inverter half-bridge is determined from the first current value, the second current value, and the third current value as the first sampling current value. Alternatively, the bridge arm current value corresponding to other inverter half-bridges is determined from the first current value, the second current value, and the third current value, and the first sampling current value is determined based on the bridge arm current value.

[0077] In this embodiment, the compressor controller also includes a fourth sampling circuit connected to the resonant heating circuit, and a first sampling circuit connected to the first inverter bridge arm, a second sampling circuit connected to the second inverter bridge arm, and a third sampling circuit connected to the third inverter bridge arm in the three-phase inverter circuit. All sampling circuits can be common sampling circuits, consisting of resistors and sampling operational amplifiers. For example, a resistor divides the voltage to obtain a smaller current for the sampling operational amplifier, which then transmits the current back to the controller. It is worth noting that the controller executing the motor and resonant heating control program of this application can be an independent controller within the compressor controller, or it can be implemented directly using the motor controller; this is not limited here. When current acquisition is required, the fourth current value acquired by the fourth sampling circuit is directly used as the second sampling current value. The first sampling current value can be determined based on the inverter half-bridge connected to the resonant heating circuit; that is, the first sampling current value can be directly acquired from the current corresponding to the inverter half-bridge connected to the resonant heating circuit. Figure 2 The current value lw in the first sampling current value can be determined from the first, second, and third current values ​​to identify the corresponding bridge arm current values ​​of other inverter half-bridges. The first sampling current value is then determined based on these bridge arm current values. Here, the bridge arm current value refers to the current other than that of the inverter half-bridge connected to the resonant heating circuit, such as lu and lv. lw is then determined using Kirchhoff's current algorithm, or the average of both methods can be directly used as the first sampling current value. Feedback control can then be implemented based on the first and second sampling current values, as well as the user-defined desired negative current value, to achieve zero-voltage turn-on. This reduces switching losses of the switching transistors while achieving motor control and resonant heating at low cost.

[0078] Furthermore, refer to Figure 5 , Figure 5 This is a schematic diagram of the controller structure of the hardware operating environment involved in the embodiments of the present invention.

[0079] like Figure 5As shown, the controller may include: a processor 0003, such as a central processing unit (CPU), a communication bus 0001, an acquisition interface 0002, a processing interface 0004, and a memory 0005. The communication bus 0001 is used to enable communication between these components. The acquisition interface 0002 may include an information acquisition device or acquisition unit, such as a computer; optionally, the acquisition interface 0002 may also include a standard wired interface or a wireless interface. The processing interface 0004 may optionally include a standard wired interface or a wireless interface. The memory 0005 may be high-speed random access memory (RAM) or stable non-volatile memory (NVM), such as a disk storage device. Optionally, the memory 0005 may also be a storage device independent of the aforementioned processor 0003.

[0080] Those skilled in the art will understand that Figure 5 The structure shown does not constitute a limitation on the controller and may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0081] like Figure 5 As shown, the memory 0005, which serves as a computer storage medium, may include an operating system, an acquisition interface module, a processing interface module, and a current detection program for power devices executed by a controller.

[0082] exist Figure 5 In the controller shown, the communication bus 0001 is mainly used to realize the connection and communication between components; the acquisition interface 0002 is mainly used to connect to the backend server and communicate with the backend server; the processing interface 0004 is mainly used to connect to the deployment end (user end) and communicate with the deployment end; the processor 0003 and the memory 0005 in the controller of the present invention can be set in the controller. The controller calls the current detection program of the power device stored in the memory 0005 through the processor 0003 and executes the current detection circuit of the power device provided in the embodiment of the present invention.

[0083] The present invention also provides a controller, which (can be an integrated controller for motor control) is installed within the compressor controller and connected to the three-phase inverter circuit and the resonant heating circuit, as described above. Figure 6 , Figure 6 This is a schematic diagram of the controller module of the present invention. The controller includes:

[0084] Information acquisition module A01 is used to acquire control parameter information of the compressor controller, wherein the control parameter information includes the first sampled current value of the inverter half-bridge connected to the resonant heating circuit in the three-phase inverter circuit, the second sampled current value of the resonant heating circuit, and the preset expected negative current value.

[0085] Frequency determination module A02 is used to determine the adjusted carrier frequency value based on the desired negative current value, the first sampled current value, and the second sampled current value.

[0086] The carrier control module A03 is used to determine the actual carrier frequency based on the adjusted carrier frequency value, so as to control the motor and the resonant heating circuit based on the actual carrier frequency.

[0087] The methods executed by the above-mentioned program modules can be referred to in the various embodiments of the control method for motor and resonant heating of the present invention, and will not be repeated here.

[0088] The present invention also provides a computer-readable storage medium.

[0089] The present invention provides a computer-readable storage medium storing a control program for a motor and resonant heating executed by a controller, wherein when the control program for the motor and resonant heating is executed by a processor, the steps of the control method for the motor and resonant heating described above are implemented.

[0090] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the data management method described above.

[0091] The computer program product provided in this application can solve the complex technical problems of implementing motor control and heating functions. Compared with the prior art, the beneficial effects of the computer program product provided in this application are the same as those of the motor and resonant heating control method provided in the above embodiments, and will not be repeated here.

[0092] Based on the first, second and / or third embodiments of the control method for motor and resonant heating of this application, this application also proposes a first embodiment of a vehicle-mounted compressor, which includes a compressor controller, a motor M and a compression unit, wherein the compressor controller is connected to the motor M and the motor is connected to the compression unit.

[0093] The compressor controller includes a three-phase inverter circuit 20, a resonant heating circuit 10, a sampling circuit, and a controller. The resonant heating circuit 10 is connected in series with any one of the inverter half-bridges in the three-phase inverter circuit 20. The sampling circuit is connected to the three-phase inverter circuit 20, the resonant heating circuit 10, and the controller. The controller is connected to the three-phase inverter circuit 20 and the resonant heating circuit 10. The output terminal of the three-phase inverter circuit 20 is connected to the motor M. The compressor controller (executed within the controller) performs the above-described control method for the motor and resonant heating.

[0094] It is worth noting that, according to the vehicle-mounted compressor of this application embodiment, the controller in the vehicle-mounted compressor executes a control program for the motor and resonant heating: acquiring control parameter information of the compressor controller, wherein the control parameter information includes the first sampled current value of the inverter half-bridge connected to the resonant heating circuit in the three-phase inverter circuit, the second sampled current value of the resonant heating circuit, and a preset desired negative current value; determining the adjustment carrier frequency value based on the desired negative current value, the first sampled current value, and the second sampled current value; determining the actual carrier frequency based on the adjustment carrier frequency value, so as to control the motor and the resonant heating circuit based on the actual carrier frequency, and then controlling the motor and the resonant heating circuit by connecting the resonant heating circuit in series with any one of the inverter half-bridges in the three-phase inverter circuit, and then determining the adjustment carrier frequency value based on the desired negative current value, the first sampled current value, and the second sampled current value, and then controlling the motor and the resonant heating circuit based on the adjustment carrier frequency value, can reduce the use of the PTC heater (replacing it with the resonant heating circuit for heating), the vehicle-mounted PTC heater controller, and the control circuit of the PTC heater, thereby reducing the implementation cost of the motor control and heating functions.

[0095] The vehicle-mounted compressor controls the movement of the motor M. Simultaneously, a resonant heating circuit 10 is connected to the three-phase inverter circuit 20 of the motor M. Through the control program for the motor and resonant heating in this embodiment, simultaneous control of the motor and resonant heating circuit can be achieved (i.e., on the basis of the original single motor control circuit, the resonant heating circuit 10 is directly connected, so that the resonant heating effect can be additionally achieved based on the control program for the motor and resonant heating), or control of either the motor or the resonant heating circuit separately. This reduces the need for a PTC heater (replaced with a resonant heating circuit), a vehicle-mounted PTC heater controller, and a PTC heater control circuit, thereby lowering the implementation cost of motor control and heating functions.

[0096] Furthermore, based on the first embodiment of the vehicle-mounted compressor of this application described above, referring to... Figure 7 , Figure 7This is another connection diagram of the three-phase inverter circuit and resonant heating circuit within the compressor controller of this application. A second embodiment of the vehicle-mounted compressor of this application is proposed, wherein the resonant heating circuit 10 includes:

[0097] The equivalent resistance R1 is connected to the first end of any one of the inverter half-bridges in the three-phase inverter circuit 20.

[0098] Resonant capacitor C1, with its first terminal connected to the second terminal of the equivalent resistance R1;

[0099] Resonant inductor L1, with its first terminal connected to the second terminal of resonant capacitor C1;

[0100] Turn on the switch S7. The first end of the switch S7 is connected to the second end of the resonant inductor L1. The second end of the switch S7 is connected to the second end of any one of the inverter half-bridges in the three-phase inverter circuit 20.

[0101] In this embodiment, the resonant heating circuit 10 includes an equivalent resistance R1, a resonant capacitor C1, and a resonant inductor L1. Its principle is the same as that of a commonly used RLC resonant circuit, primarily relying on RLC for heating. The specific selection and parameter choices for the equivalent resistance R1, resonant capacitor C1, and resonant inductor L1 can be made according to actual conditions. Furthermore, to accurately control the operation and standby of the resonant heating circuit 10, a switching transistor S7 can be connected. The motor controller 30 can then send a control signal to the third terminal (the control terminal of the switching transistor S7) to control the switching transistor S7 to turn on and off, thereby enabling the resonant heating circuit 10 to operate and standby. It is worth noting that the above is only one possible connection relationship for the equivalent resistance R1, resonant capacitor C1, resonant inductor L1, and switching transistor S7. Other connection relationships are also possible, such as placing the switching transistor S7 at the first terminal of the equivalent resistance R1. Adaptive connections can also be made according to actual conditions and user selection, and are not limited here.

[0102] Furthermore, based on the first and / or second embodiments of the vehicle-mounted compressor of this application described above, a third embodiment of the vehicle-mounted compressor of this application is proposed. The three-phase inverter circuit 20 includes a first inverter bridge arm 21, a second inverter bridge arm 22, and a third inverter bridge arm 23. The inverter half-bridge of the first inverter bridge arm 21, the inverter half-bridge of the second inverter bridge arm 22, or the inverter half-bridge of the third inverter bridge arm 23 is connected to the resonant heating circuit 10.

[0103] Furthermore, the motor M includes a first-phase input terminal W, a second-phase input terminal V, and a third-phase input terminal U, and the three-phase inverter circuit 20 also includes:

[0104] Motor controller;

[0105] The first end of the first inverter bridge arm 21 is connected to the external power supply V. DC The positive terminal is connected, and the second end of the first inverter bridge arm 21 is connected to the external power supply V. DC The negative terminal is connected, and the midpoint of the first inverter bridge arm 21 is connected to the first phase input terminal W.

[0106] The first end of the second inverter bridge arm 22 is connected to the external power supply V. DC The positive terminal is connected, and the second end of the second inverter bridge arm 22 is connected to the external power supply V. DC The negative terminal is connected, and the midpoint of the second inverter bridge arm 22 is connected to the second phase input terminal V;

[0107] The third terminal of the third inverter bridge arm 23 is connected to the external power supply V. DC The positive terminal is connected, and the second end of the third inverter bridge arm 23 is connected to the external power supply V. DC The negative terminal is connected, and the midpoint of the third inverter bridge arm 23 is connected to the third phase input terminal U. The first inverter bridge arm 21, the second inverter bridge arm 22 and the third inverter bridge arm 23 are composed of two series-connected switching transistors, and the control terminal of the switching transistors is connected to the motor controller.

[0108] For example, the three-phase inverter circuit 20 includes three inverter bridge arms, namely the first inverter bridge arm 21, the second inverter bridge arm 22 and the third inverter bridge arm 23. Each bridge arm is composed of two switching transistors connected in series. The connection point of the two switching transistors serves as the midpoint of the bridge arm and is connected to the first phase input terminal U, the second phase input terminal V and the third phase input terminal W of the motor M. The two ends of the connection between the two switching transistors are respectively connected to the negative terminal HV- and the positive terminal HV+ of the external power supply 100, thereby forming the three-phase inverter circuit 20. It is worth noting that the first switching transistor S1 to the sixth switching transistor S6 and the turn-on switching transistors S7 to S9 can all be IGBTs (Insulated Gate Bipolar Transistors), MOSFETs (Metal-Oxide-Semiconductor Field-Effect Transistors), or other types. There are no restrictions on the type of switching transistors. Therefore, based on the above three-phase inverter circuit 20, the motor M can be controlled normally. Simultaneously, the resonant heating circuit 10 shares its internal half-bridge, thus enabling resonant heating of the resonant heating circuit 10. It is also worth noting that the external power supply V... DCThe device used to provide bus voltage, the resonant heating circuit 10 can be set in the inverter half-bridge of the first inverter bridge arm 21, the inverter half-bridge of the second inverter bridge arm 22, or the inverter half-bridge of the third inverter bridge arm 23. The inverter half-bridge can be the upper bridge or the lower bridge, and the number of resonant heating circuits 10 can be selected according to actual needs.

[0109] In one embodiment, the sampling circuit includes a fourth sampling circuit connected to the resonant heating circuit 10, a first sampling circuit connected to the first inverter bridge arm 21, a second sampling circuit connected to the second inverter bridge arm 22, and a third sampling circuit connected to the third inverter bridge arm 23, wherein the first sampling circuit, the second sampling circuit, the third sampling circuit, and the fourth sampling circuit are composed of sampling resistors and sampling operational amplifiers.

[0110] In this embodiment, since current is required in the control of the entire motor and resonant heating, corresponding sampling circuits can be set up and connected to the corresponding inverter bridge arms. For example, the equivalent sampling resistor RX can work with the sampling operational amplifier to acquire the power supply current ibus of the external power supply Vdc; the second sampling resistor RV can work with the sampling operational amplifier to acquire the second phase current lv of the second phase input terminal V; the third sampling resistor RU can work with the sampling operational amplifier to acquire the third phase current lu of the third phase input terminal U; and the fourth sampling resistor RL can work with the sampling operational amplifier to acquire the second sampling current (the current flowing through the resonant heating circuit 10) lReq. Figure 7 The first sampling resistor, which is not shown in the figure, can be used in conjunction with the sampling operational amplifier to realize the acquisition of the first phase current at the first phase input terminal W. The composition of its first sampling circuit, second sampling circuit, third sampling circuit and fourth sampling circuit can be the commonly used sampling circuit, and is not limited here.

[0111] The device provided in this application can solve the complex technical problems of realizing motor control and heating functions. Compared with the prior art, the beneficial effects of the device provided in this application are the same as those of the motor and resonant heating control method provided in the above embodiments, and will not be repeated here.

[0112] This application also provides a vehicle that includes the aforementioned on-board compressor.

[0113] It is worth noting that the vehicle-mounted compressor can be installed in the vehicle to solve the complex technical problems of motor control and heating functions. It is also worth noting that other hardware can be installed in the vehicle, which will not be detailed here. The entire vehicle-mounted compressor can be installed in the vehicle or in other products; this is not a limitation.

[0114] The device provided in this application can solve the complex technical problems of realizing motor control and heating functions. Compared with the prior art, the beneficial effects of the vehicle provided in this application are the same as the beneficial effects of the motor and resonant heating control method provided in the above embodiments, and will not be repeated here.

[0115] The above description is only a part of the embodiments of this application and does not limit the patent scope of this application. All equivalent structural transformations made under the technical concept of this application and using the contents of the specification and drawings of this application, or direct / indirect applications in other related technical fields, are included in the patent protection scope of this application.

Claims

1. A control method for a motor and resonant heating, characterized in that, The control method for the motor and resonant heating is applied to a compressor controller connected to the motor. The compressor controller includes a three-phase inverter circuit and a resonant heating circuit. The resonant heating circuit is connected in series with any one of the inverter half-bridges in the three-phase inverter circuit. The control method for the motor and resonant heating includes: The control parameter information of the compressor controller is obtained, wherein the control parameter information includes the first sampled current value of the inverter half-bridge connected to the resonant heating circuit in the three-phase inverter circuit, the second sampled current value of the resonant heating circuit, and the preset expected negative current value; The carrier frequency value is determined based on the desired negative current value, the first sampled current value, and the second sampled current value. The actual carrier frequency is determined based on the adjusted carrier frequency value, and the motor and the resonant heating circuit are controlled based on the actual carrier frequency.

2. The control method for motor and resonant heating as described in claim 1, characterized in that, The step of determining the carrier frequency value based on the desired negative current value, the first sampled current value, and the second sampled current value includes: Determine the sum of the values ​​between the first sampled current value and the second sampled current value, and determine the numerical difference between the sum of the values ​​and the expected negative current value; The adjusted carrier frequency value corresponding to the numerical difference is determined based on a preset carrier frequency adjustment algorithm, wherein the carrier frequency adjustment algorithm includes proportional integration of the numerical difference followed by amplitude limiting to obtain the adjusted carrier frequency value.

3. The control method for motor and resonant heating as described in claim 1, characterized in that, The step of determining the actual carrier frequency based on the adjusted carrier frequency value includes: The actual carrier frequency is obtained by adjusting the preset reference carrier frequency based on the adjusted carrier frequency value.

4. The control method for motor and resonant heating as described in any one of claims 1 to 3, characterized in that, Before the step of obtaining the control parameter information of the compressor controller, the following steps are included: Obtain the switching state of the target switching transistor, wherein the target switching transistor includes the switching transistor in the three-phase inverter circuit that is connected in series with the resonant heating circuit; When the switch state is a preset pre-open state, the step of obtaining the control parameter information of the compressor controller is executed.

5. The control method for motor and resonant heating as described in any one of claims 1 to 3, characterized in that, The compressor controller is further provided with a fourth sampling circuit connected to the resonant heating circuit, and a first sampling circuit connected to the first inverter bridge arm, a second sampling circuit connected to the second inverter bridge arm, and a third sampling circuit connected to the third inverter bridge arm in the three-phase inverter circuit. The step of obtaining the control parameter information of the compressor controller includes: The fourth current value collected by the fourth sampling circuit, the first current value collected by the first sampling circuit, the second current value collected by the second sampling circuit, and the third current value collected by the third sampling circuit are obtained. The fourth current value is used as the second sampling current value, and the first sampling current value is determined based on the inverter half-bridge connected to the resonant heating circuit. The first sampling current value, the second sampling current value, and the preset expected negative current value are used as the control parameter information of the compressor controller. The first sampling current value is determined based on the inverter half-bridge connected to the resonant heating circuit. The current value corresponding to the inverter half-bridge is determined from the first current value, the second current value, and the third current value as the first sampling current value. Alternatively, the bridge arm current value corresponding to other inverter half-bridges is determined from the first current value, the second current value, and the third current value, and the first sampling current value is determined based on the bridge arm current value.

6. A vehicle-mounted compressor, characterized in that, The vehicle-mounted compressor includes a compressor controller, a motor, and a compression unit. The compressor controller is connected to the motor, and the motor is connected to the compression unit. The compressor controller includes a three-phase inverter circuit, a resonant heating circuit, a sampling circuit, and a controller. The resonant heating circuit is connected in series with any one of the inverter half-bridges in the three-phase inverter circuit. The sampling circuit is connected to the three-phase inverter circuit, the resonant heating circuit, and the controller. The controller is connected to the three-phase inverter circuit and the resonant heating circuit. The output terminal of the three-phase inverter circuit is connected to the motor. The compressor controller executes the motor and resonant heating control method as described in any one of claims 1 to 5.

7. The vehicle-mounted compressor as described in claim 6, characterized in that, The resonant heating circuit includes: Equivalent resistance, the first end of which is connected to the first end of any one of the inverter half-bridges in the three-phase inverter circuit; A resonant capacitor, wherein the first terminal of the resonant capacitor is connected to the second terminal of the equivalent resistor; A resonant inductor, wherein the first end of the resonant inductor is connected to the second end of the resonant capacitor; A switching transistor is provided, the first end of which is connected to the second end of the resonant inductor, and the second end of which is connected to the second end of any one of the inverter half-bridges in the three-phase inverter circuit.

8. The vehicle-mounted compressor as described in claim 6, characterized in that, The three-phase inverter circuit includes a first inverter bridge arm, a second inverter bridge arm, and a third inverter bridge arm. The inverter half-bridge of the first inverter bridge arm, the inverter half-bridge of the second inverter bridge arm, or the inverter half-bridge of the third inverter bridge arm is connected to the resonant heating circuit.

9. The vehicle-mounted compressor as described in claim 8, characterized in that, The motor includes a first-phase input terminal, a second-phase input terminal, and a third-phase input terminal. The three-phase inverter circuit further includes: Motor controller; The first end of the first inverter bridge arm is connected to the positive terminal of the external power supply, the second end of the first inverter bridge arm is connected to the negative terminal of the external power supply, and the midpoint of the first inverter bridge arm is connected to the first phase input terminal. The first end of the second inverter bridge arm is connected to the positive terminal of the external power supply, the second end of the second inverter bridge arm is connected to the negative terminal of the external power supply, and the midpoint of the second inverter bridge arm is connected to the second phase input terminal. The third end of the third inverter bridge arm is connected to the positive terminal of the external power supply, the second end of the third inverter bridge arm is connected to the negative terminal of the external power supply, and the midpoint of the third inverter bridge arm is connected to the third phase input terminal. The first inverter bridge arm, the second inverter bridge arm, and the third inverter bridge arm are composed of two series-connected switching transistors, and the control terminal of the switching transistors is connected to the motor controller.

10. The vehicle-mounted compressor as described in claim 8, characterized in that, The sampling circuit includes a fourth sampling circuit connected to the resonant heating circuit, a first sampling circuit connected to the first inverter bridge arm, a second sampling circuit connected to the second inverter bridge arm, and a third sampling circuit connected to the third inverter bridge arm. The first sampling circuit, the second sampling circuit, the third sampling circuit, and the fourth sampling circuit are composed of sampling resistors and sampling operational amplifiers.

11. A vehicle, characterized in that, The vehicle includes the on-board compressor as described in any one of claims 6 to 10.