A multi-power-domain security control circuit and micro-processing chip
By using PMC to monitor the PWM power supply in real time, the problem of inaccurate monitoring of power supply in multiple power domains is solved, ensuring the normal operation of circuits and chips, avoiding equipment damage, improving integration and reducing costs.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-22
- Publication Date
- 2026-03-20
AI Technical Summary
During the multi-power domain wake-up process, the power supply status of different IPs, especially the power supply monitoring of PWM, is inaccurate, resulting in some IPs not working fully and being unable to handle abnormal situations in a timely manner.
The PMC is used to monitor the power supply status of the PWM in real time. Abnormalities are detected by sampling the difference between the electrical signals of the comparison module and the reference power supply, and protective measures such as shutting down the PWM or resetting the circuit are executed.
Ensure the normal operation of multi-power domain safety control circuits and microprocessor chips, avoid damage to motors, permanent magnet synchronous motors, etc., improve chip integration and reduce failure rate and cost.
Smart Images

Figure CN115913054B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of electronics, in particular to a safety control circuit of a multi-power domain and a micro processing chip. BACKGROUND
[0002] The multi-power domain architecture can configure different power domains into different power consumption modes, thereby optimizing power consumption efficiency. For example, in a multi-power domain architecture, a first power domain includes IP such as a real time clock (RTC) that must be powered at all times, and continuous power supply to such IP circuits is maintained; a second power domain includes IP such as a watchdog that needs to be powered during chip operation, and continuous power supply to such IP circuits is maintained in working mode and stop mode; and a third power domain includes functional IP such as main digital IP.
[0003] However, during the process of gradually waking up different power domains, the power supply of different IP cannot be accurately monitored, especially the power supply monitoring of a pulse width modulation module (PWM). SUMMARY
[0004] Therefore, the present application provides a safety control circuit of a multi-power domain and a micro processing chip, so as to solve the problem that in the prior art, during the process of gradually waking up different power domains, the power supply of different IP, especially the power supply of a PWM, cannot be accurately monitored, and especially to monitor the situation that in the first power domain and the second power domain that are powered, most IP do not work completely and an abnormality occurs and subsequent processing is performed.
[0005] In a first aspect, an embodiment of the present application provides a safety control circuit of a multi-power domain, comprising:
[0006] a signal source, an output end of the signal source being configured to output a first electrical signal;
[0007] a reference power supply, an output end of the reference power supply being configured to output a second electrical signal;
[0008] a sampling comparison module, a first input end of the sampling comparison module being electrically connected with the output end of the signal source, a second input end of the sampling comparison module being electrically connected with the output end of the reference power supply, the sampling comparison module being configured to determine a comparison result of the first electrical signal and the second electrical signal according to the first electrical signal and the second electrical signal;
[0009] a pulse width modulation module (PWM), an input end of the PWM being electrically connected with an output end of the sampling comparison module, the PWM being configured to generate PWM signals with different duty cycles according to the comparison result of the first electrical signal and the second electrical signal;
[0010] a power management control module (PMC), a first input terminal of the PMC is connected to a node between the signal source and the sampling comparison module to collect the first electrical signal, a second input terminal of the PMC is connected to a node between the reference power supply and the sampling comparison module to collect the second electrical signal, and the PMC is configured to determine whether an electrical signal abnormality exists according to the first electrical signal and / or the second electrical signal.
[0011] In the embodiments of the present application, the PMC can be used to monitor the power supply of the PWM in real time, thereby ensuring the normal operation of the safety control circuit of the multi-power domain.
[0012] In the embodiments of the present application, the PMC can be used to monitor the power supply of the PWM in real time, thereby ensuring the normal operation of the safety control circuit of the multi-power domain.
[0013] In a possible implementation, the determination of whether an electrical signal abnormality exists according to the first electrical signal and / or the second electrical signal includes:
[0014] If a difference between the first electrical signal and the second electrical signal is greater than or equal to a preset first electrical signal threshold, it is determined that an electrical signal abnormality exists.
[0015] Alternatively, if a difference between the first electrical signal and a preset third electrical signal is greater than or equal to a preset second electrical signal threshold, it is determined that an electrical signal abnormality exists.
[0016] Alternatively, if a difference between the second electrical signal and a preset fourth electrical signal is greater than or equal to a preset third electrical signal threshold, it is determined that an electrical signal abnormality exists.
[0017] In a possible implementation, the PMC is further configured to:
[0018] If it is determined that an electrical signal abnormality exists, a protection measure is performed.
[0019] In a possible implementation, if it is determined that an electrical signal abnormality exists, the protection measure includes:
[0020] If it is determined that an electrical signal abnormality exists, the PWM is turned off or the safety control circuit of the multi-power domain is reset.
[0021] In a possible implementation, the PMC includes a voltage monitoring circuit and a built-in self-test (BIST).
[0022] In a possible implementation, the voltage monitoring circuit supports low-voltage detection and / or high-voltage detection.
[0023] In a possible implementation, the BIST is configured to detect a bandgap voltage at startup.
[0024] In a possible implementation, the first power supply domain is continuously powered on in the first working mode and the second working mode, and the second power supply domain is powered off in the first working mode and powered on in the second working mode.
[0025] In a possible implementation, the first working mode includes a stop mode and / or a standby mode, and the second working mode includes a working mode.
[0026] In a second aspect, the embodiments of the present application provide a micro processing chip, including the safety control circuit of the multiple power supply domains in any one of the first aspect.
[0027] In the embodiments of the present application, the power supply of the PWM can be monitored in real time by the PMC, and thus the normal work of the micro processing chip is ensured. In addition, the safety control circuit of the multiple power supply domains is integrated in the chip, which can improve the integration of the chip and reduce the failure rate and cost.
[0028] In a third aspect, the embodiments of the present application provide a motor driving circuit, including:
[0029] The safety control circuit of the multiple power supply domains in any one of the first aspect;
[0030] A controlled module, the controlled module including a motor and an adaptation circuit of the motor, an input end of the adaptation circuit being electrically connected with an output end of the PWM, and an output end of the adaptation circuit being electrically connected with an input end of the motor, the adaptation circuit being configured to control a working voltage of the motor according to the PWM signal with the different duty cycles.
[0031] In the embodiments of the present application, the power supply of the PWM can be monitored in real time by the PMC, and thus the unreasonable output speed of the motor is avoided, and the motor is prevented from being damaged.
[0032] In a possible implementation, the adaptation circuit includes a pre-drive chip and a MOS full-bridge circuit.
[0033] The input end of the pre-drive chip is electrically connected with the output end of the PWM, and the output end of the pre-drive chip is electrically connected with an input end of the MOS full-bridge circuit, the pre-drive chip being configured to receive the PWM signal with the different duty cycles and control the MOS full-bridge circuit to output the PWM signal with the different duty cycles, and thus control the working voltage of the motor.
[0034] In a fourth aspect, the embodiments of the present application provide a window lifting system, including:
[0035] The motor driving circuit in any one of the third aspect;
[0036] The signal source comprises a Hall sensor for detecting the position of the window and a first controller for converting the position of the window into a corresponding first electrical signal.
[0037] The motor is used for controlling the lifting of the window.
[0038] In the embodiments of the present application, the power supply of the PWM can be monitored in real time by the PMC, so as to avoid unreasonable output speed of the motor and damage of the motor in the window lifting system.
[0039] In a possible implementation, when the window is at a first position, the motor controls the window to lift at a first speed;
[0040] When the window is at a second position, the motor controls the window to lift at a second speed;
[0041] The first speed and the second speed are different.
[0042] In a fifth aspect, the embodiments of the present application provide a permanent magnet synchronous motor circuit, comprising:
[0043] The safety control circuit of the multi-power supply domain in any one of the first aspect;
[0044] The controlled module comprises a permanent magnet synchronous motor and an adaptation circuit of the permanent magnet synchronous motor, an input end of the adaptation circuit is electrically connected with an output end of the PWM, and an output end of the adaptation circuit is electrically connected with an input end of the permanent magnet synchronous motor.
[0045] In the embodiments of the present application, the power supply of the PWM can be monitored in real time by the PMC, so as to avoid unreasonable output speed of the permanent magnet synchronous motor and damage of the permanent magnet synchronous motor.
[0046] In a possible implementation, the adaptation circuit comprises a pre-driver chip and a MOS full-bridge circuit.
[0047] The input end of the pre-driver chip is electrically connected with the output end of the PWM, and the output end of the pre-driver chip is electrically connected with an input end of the MOS full-bridge circuit.
[0048] In a possible implementation, the signal source comprises:
[0049] A position sensor is configured to read real-time rotor position information θ and real-time rotating speed information n of the permanent magnet synchronous motor.
[0050] An inverter and an inverter sensor are configured to read three-phase currents i A , i B and i C at an output end of the inverter.
[0051] A second controller is configured to compare the real-time rotating speed information n with a rotating speed given reference value n ref , to calculate a torque component reference value i qref of a current by a speed PI controller, and to calculate an excitation component i dref of a system given current = 0. The three-phase currents i A , i B and i C are subjected to a Clark transformation to obtain i α , i β , and then subjected to a Park transformation to obtain an actual torque component i q and an actual excitation component i d . The torque component reference value i qref and the excitation component i dref are compared with the actual torque component i q and the actual excitation component i d , respectively, to perform a PI adjustment operation, and then subjected to a Park inverse transformation to obtain two-phase stationary coordinate (α-β) condition electric signals U α and U β . The electric signals U α and U β are input into an SVPWM module to output first electric signals.
[0052] In the embodiments of the application, a double closed-loop control strategy is adopted, in which a rotating speed outer loop is configured to generate a torque component reference value of a motor current required by a control strategy, and a current inner loop is configured to calculate a final actual control signal, so as to realize a complete rotating speed-current double closed-loop control system and achieve a better permanent magnet synchronous motor control effect.
[0053] In a sixth aspect, the embodiments of the application provide an automobile power control system, comprising:
[0054] The permanent magnet synchronous motor circuit according to any one of the fifth aspect.
[0055] A power supply is electrically connected to the permanent magnet synchronous motor circuit, and is configured to supply power to the permanent magnet synchronous motor circuit.
[0056] In the embodiment of the present application, the power supply of the PWM can be monitored in real time by the PMC, thereby avoiding unreasonable output speed of the permanent magnet synchronous motor, and causing the permanent magnet synchronous motor in the automobile power control system to be damaged. BRIEF DESCRIPTION OF DRAWINGS
[0057] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed in the embodiments will be briefly introduced as follows. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.
[0058] Figure 1 A structural schematic diagram of a safety control circuit of a multi-power domain provided by the embodiment of the present application is shown in the figure.
[0059] Figure 2 A structural schematic diagram of a micro processing chip provided by the embodiment of the present application is shown in the figure.
[0060] Figure 3 A structural schematic diagram of a motor driving circuit provided by the embodiment of the present application is shown in the figure.
[0061] Figure 4 A structural schematic diagram of another motor driving circuit provided by the embodiment of the present application is shown in the figure.
[0062] Figure 5 A structural schematic diagram of a window lifting system provided by the embodiment of the present application is shown in the figure.
[0063] Figure 6 A structural schematic diagram of a permanent magnet synchronous motor circuit provided by the embodiment of the present application is shown in the figure.
[0064] Figure 7 A structural schematic diagram of another permanent magnet synchronous motor circuit provided by the embodiment of the present application is shown in the figure.
[0065] Figure 8 A structural schematic diagram of an automobile power control system provided by the embodiment of the present application is shown in the figure. DETAILED DESCRIPTION
[0066] In order to better understand the technical solutions of the present application, the embodiments of the present application will be described in detail below with reference to the drawings.
[0067] It should be clear that the described embodiments are only some of the embodiments of the present application, not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor are within the scope of protection of the present application.
[0068] The terminology used in the embodiments of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the present application. As used in the embodiments of the present application and the accompanying claims, the singular forms "a," "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
[0069] It should be understood that the term "and / or" as used herein merely describes association between associated objects, and can indicate that three relationships can exist, for example, A and / or B can indicate that A exists alone, A and B exist together, and B exists alone. In addition, the character " / " in the present application generally indicates that the front and rear associated objects are in an "or" relationship.
[0070] The multi-power domain architecture can configure different power domains into different power consumption modes, thereby optimizing power consumption efficiency. For example, in a multi-power domain architecture, a first power domain includes IP such as a real time clock (RTC) that must always be powered on, and continuous power supply to such IP circuits is maintained; a second power domain includes IP such as a watchdog that needs to be powered on during chip operation, and continuous power supply to such IP circuits is maintained in the working mode and the stop mode; and a third power domain includes functional IP such as a main digital IP.
[0071] In the multi-power domain architecture, in order to guarantee the safety of the circuit, the voltage of different power domains needs to be monitored in real time. In the prior art, the power management control module (PMC) provided by the microcontroller unit (MCU) adopts a voltage monitoring circuit and built-in self-test (BIST). There are two voltage monitors, namely low voltage detection (LVD) and high voltage detection (HVD) monitors. All safety-related voltages are monitored internally to prevent the voltage from exceeding these ranges.
[0072] The Fault Collection and Control Unit (FCCU) is a programmable unit for monitoring the integrity state of the MCU, providing flexible safety state control, and making the device in a safe state in a controllable manner when the device fails. However, since the safety-related voltage fault may cause the MCU fault indication mechanism (such as FCCU) to shut down before reacting, the voltage error indication will directly cause the device to jump to the fault safety state (perform reset) without the intervention of FCCU. Therefore, during the process of gradually waking up in different power domains, the power supply situation of different IPs, especially the Pulse Width Modulation (PWM) module, cannot be accurately monitored.
[0073] To solve the above problems, the embodiment of the present application provides a safety control circuit of a multi-power domain, which can monitor the power supply situation of the PWM in real time through the PMC, thereby ensuring the normal work of the safety control circuit of the multi-power domain. Details are described below.
[0074] Referring to Figure 1 , a structure diagram of a safety control circuit of a multi-power domain provided by the embodiment of the present application is shown. As Figure 1 indicated, the safety control circuit of the multi-power domain includes a first power domain and a second power domain, wherein the first power domain includes a signal source and a PMC; the second power domain includes a sampling comparison module, a reference power supply and a PWM.
[0075] The first input end of the sampling comparison module is electrically connected with the output end of the signal source, the second input end of the sampling comparison module is electrically connected with the output end of the reference power supply, and the output end of the sampling comparison module is electrically connected with the input end of the PWM; the first input end of the PMC is connected with the node between the signal source and the sampling comparison module, and the second input end of the PMC is connected with the node between the reference power supply and the sampling comparison module. Wherein, the output end of the signal source is used to output a first electrical signal; the output end of the reference power supply is used to output a second electrical signal; the sampling comparison module is used to determine the comparison result of the first electrical signal and the second electrical signal according to the first electrical signal and the second electrical signal, and output the comparison result to the PWM; the PWM is used to generate PWM signals with different duty cycles according to the comparison result of the first electrical signal and the second electrical signal, and then drive the controlled module to perform corresponding work according to different working voltages through the PWM signals with different duty cycles.
[0076] In a possible implementation, the first power supply domain and the second power supply domain correspond to different power supply control modes. For example, the first power supply domain is continuously powered on in the first working mode and the second working mode, and the second power supply domain is powered off in the first working mode and powered on in the second working mode. Specifically, the first working mode can include a stop mode and / or a standby mode, and the second working mode can include a working mode.
[0077] It can be understood that, since the signal source and the reference power supply are in different power supply domains, the signal source and the reference power supply can be in an environment that does not meet the ideal working condition. For example, the first power supply domain has reached the preset voltage, but the reference power supply has not been powered on. At this time, if the PWM signal output by the PWM is used to drive the controlled module, it is likely that the controlled module cannot reach the preset voltage or power, that is, the safety control circuit of the multi-power supply domain cannot work normally. Therefore, it is necessary to monitor the power supply condition of the PWM in a timely manner.
[0078] In order to monitor the power supply condition of the PWM, the first input end of the PMC is used to collect the first electric signal output by the signal source, and the second input end of the PMC is used to collect the second electric signal output by the reference power supply. It can be understood that, if the safety control circuit of the multi-power supply domain is in an ideal working state, the first electric signal and the second electric signal are both determinable values, and therefore the PMC can determine whether there is an electric signal abnormality according to the collected first electric signal and / or second electric signal.
[0079] Specifically, the PMC can compare the first electric signal and the second electric signal, and if the difference between the first electric signal and the second electric signal is greater than or equal to a preset first electric signal threshold, it is determined that there is an electric signal abnormality. Alternatively, the PMC can compare the first electric signal with a preset third electric signal, and if the difference between the first electric signal and the preset third electric signal is greater than or equal to a preset second electric signal threshold, it is determined that there is an electric signal abnormality. Alternatively, the PMC can compare the second electric signal with a preset fourth electric signal, and if the difference between the second electric signal and the preset fourth electric signal is greater than or equal to a preset third electric signal threshold, it is determined that there is an electric signal abnormality.
[0080] In a specific implementation, the PMC includes a voltage monitoring circuit and a BIST. The voltage monitoring circuit supports low-voltage detection and / or high-voltage detection of an electric signal abnormality. The BIST is designed to detect a bandgap voltage at startup or through software, which is a self-diagnosis measure for the device to ensure that the device will not fail due to a delay / sleep fault during operation. Generally, the self-detection is performed on an embedded memory (referred to as MBIST) according to digital logic (referred to as LBIST), has sufficient coverage, and can meet the required system safety integrity level.
[0081] In a possible implementation, when there is an electrical signal abnormality, if a PWM signal output by the PWM drives the controlled module, the controlled module is likely to be damaged due to the fact that the controlled module cannot reach a preset voltage or power. To avoid damage to the controlled module, when it is judged that there is an electrical signal abnormality, a corresponding protection measure can be performed. For example, the PWM is turned off or the safety control circuit of the multiple power supply domains is reset.
[0082] In the embodiment of the application, the supply of the PWM can be monitored in real time by the PMC, thereby ensuring normal operation of the safety control circuit of the multiple power supply domains.
[0083] Corresponding to the above embodiment, the embodiment of the application further provides a micro processing chip.
[0084] Referring to Figure 2 , a structural schematic diagram of a micro processing chip is provided in the embodiment of the application. As shown in Figure 2 , the micro processing chip comprises Figure 1 a safety control circuit of multiple power supply domains as shown. In a specific implementation, the micro processing chip can be a micro processing unit (MCU), a micro processor (MPU), a digital signal processor (DSP), and a micro central processing unit (CPU) capable of processing digital signals, analog signals, or performing functions such as signal control, instruction processing, and operation, a system-on-a-chip (SoC), and the embodiment of the application does not specifically limit the product form of the micro processing chip.
[0085] In the embodiment of the application, the supply of the PWM can be monitored in real time by the PMC, thereby ensuring normal operation of the micro processing chip. In addition, integrating the safety control circuit of the multiple power supply domains in the chip can improve the chip integration, reduce the failure rate and cost.
[0086] It should be noted that the specific content of the micro processing chip can be referred to the description of the embodiment of Figure 1 for brevity of description, which will not be repeated here.
[0087] In a specific implementation, Figure 1 the safety control circuit of the multiple power supply domains as shown or Figure 2 the micro processing chip as shown can be applied to a motor.
[0088] Referring to Figure 3 , a structural schematic diagram of a motor driving circuit is provided in the embodiment of the application. As shown in Figure 3As shown, the motor driving circuit includes Figure 1 As shown, the safety control circuit of the multi-power domain and the controlled module, the controlled module includes a motor and an adaptation circuit of the motor. Wherein, the input end of the adaptation circuit is electrically connected with the output end of the PWM, the output end of the adaptation circuit is electrically connected with the input end of the motor, and the adaptation circuit is used for controlling the working voltage of the motor according to the PWM signal with different duty cycles. In the motor control, the greater the voltage, the faster the speed of the motor. Therefore, the speed of the motor can be controlled by the PWM signal with different duty cycles.
[0089] In a specific implementation, the output end of the signal source is used for outputting a first electric signal; the output end of the reference power supply is used for outputting a second electric signal; the sampling comparison module is used for determining a comparison result of the first electric signal and the second electric signal according to the first electric signal and the second electric signal, and outputting the comparison result to the PWM; and the PWM is used for generating a PWM signal with different duty cycles according to the comparison result of the first electric signal and the second electric signal, and the adaptation circuit controls the motor to rotate at a corresponding speed according to the PWM signal with different duty cycles.
[0090] In a possible implementation, the adaptation circuit includes a pre-drive chip and a MOS full-bridge circuit, as shown in Figure 4 Wherein, the input end of the pre-drive chip is electrically connected with the output end of the PWM, the output end of the pre-drive chip is electrically connected with the input end of the MOS full-bridge circuit, and the pre-drive chip is used for receiving the PWM signal with different duty cycles, and controlling the MOS full-bridge circuit to output the PWM signal with different duty cycles, so as to control the working voltage of the motor, and make the motor rotate at a corresponding speed.
[0091] In the embodiment of the present application, since the signal source and the reference power supply are in different power domains, the signal source and the reference power supply may not be in an ideal working environment. For example, the first power domain has reached a preset voltage, but the reference power supply has not been powered on. At this time, if the motor is driven by the PWM signal output by the PWM, the motor may be at an unreasonable output speed, which may cause damage to the motor. In order to avoid damage to the motor, in the embodiment of the present application, the power supply situation of the PWM is monitored in real time by the PMC, and when it is judged that there is an electric signal abnormality, corresponding protection measures can be performed, for example, the PWM is turned off or the safety control circuit of the multi-power domain is reset.
[0092] In the embodiment of the present application, the power supply situation of the PWM can be monitored in real time by the PMC, so as to avoid unreasonable output speed of the motor and damage to the motor.
[0093] It should be pointed out that the specific content of the motor driving circuit can be referred to Figure 1 The description of the embodiment, for the sake of brevity, will not be repeated here.
[0094] In a possible implementation, the motor driving circuit can be applied to a vehicle window lifting system, and the motor is used to control the lifting of the vehicle window.
[0095] The conventional vehicle window lifting mode is uniform lifting of the vehicle window, which results in slow lifting of the whole vehicle window. In the embodiments of the present application, the motor driving circuit is used to control the vehicle window, and the lifting speed of the vehicle window can be adjusted during the lifting of the vehicle window, so that the vehicle window is lifted quickly. Details are described below.
[0096] Referring to Figure 5 , a structural schematic diagram of a vehicle window lifting system is provided in the embodiments of the present application. As shown in Figure 5 , the vehicle window lifting system comprises Figure 4 the motor driving circuit shown in the figure, wherein the signal source comprises a Hall sensor and a first controller, the Hall sensor is used to detect the position of the vehicle window, and the first controller is used to convert the position of the vehicle window into a corresponding first electric signal; the output end of the reference power supply is used to output a second electric signal; the sampling comparison module is used to determine the comparison result of the first electric signal and the second electric signal according to the first electric signal and the second electric signal, and output the comparison result to the PWM; the PWM is used to generate a PWM signal with different duty cycles according to the comparison result of the first electric signal and the second electric signal, and the adaptation circuit controls the motor to rotate at a corresponding speed according to the PWM signal with different duty cycles, so as to control the vehicle window to lift at a corresponding speed.
[0097] In a possible implementation, when the vehicle window is at a first position, the motor controls the vehicle window to lift at a first speed; when the vehicle window is at a second position, the motor controls the vehicle window to lift at a second speed; wherein the first speed and the second speed are different. That is, in the embodiments of the present application, the vehicle window can be controlled to lift at different speeds at different positions.
[0098] In a specific implementation, when the vehicle window is lifted, three speed zones can be divided for the motor, including an acceleration zone at the beginning, a uniform speed zone in the middle process, and a deceleration zone when approaching the limit position of the mechanism. When the vehicle window is lifted, the vehicle window stroke is divided into three parts, the first part accounts for 1 / 2 of the vehicle window stroke, the middle part accounts for 1 / 4 of the vehicle window stroke, and the last part accounts for 1 / 4 of the vehicle window stroke, the first part is the acceleration zone, the middle part is the uniform speed zone, and the last part is the deceleration zone. The control mode of the vehicle window can reduce the noise generated by the whole operation of the vehicle window, the operation is smooth and fast, and the damage to the mechanism is minimized. Of course, the vehicle window can be designed into other variable speed operation modes according to actual needs by those skilled in the art, and the embodiments of the present application do not make specific limitations in this regard.
[0099] In a possible implementation, the first controller can be a micro processing chip such as MCU, MPU, CPU, and the like, and the embodiments of the present application do not make specific limitation thereto.
[0100] In the embodiments of the present application, since the signal source and the reference power source are in different power domains, the signal source and the reference power source can be in an environment that does not meet the ideal working environment. For example, the first power domain has reached the preset voltage, but the reference power source has not been powered on. At this time, if the motor is driven by the PWM signal output by the PWM, the motor can be in an unreasonable output speed, which can easily cause the motor to be damaged. In order to avoid damage to the motor, in the embodiments of the present application, the power supply situation of the PWM is monitored in real time by the PMC, and when it is judged that there is an abnormal signal, corresponding protection measures can be performed, for example, the PWM is turned off or the safety control circuit of the multiple power domains is reset.
[0101] In the embodiments of the present application, the power supply situation of the PWM can be monitored in real time by the PMC, and then the unreasonable output speed of the motor can be avoided, so that the motor in the window lifting system is damaged.
[0102] It should be pointed out that the specific content of the window lifting system can be seen from the description of the embodiments shown in Figure 3 and Figure 4 , and will not be repeated here for brevity.
[0103] In a specific implementation, Figure 1 the safety control circuit of the multiple power domains shown in or Figure 2 the micro processing chip can be applied to a permanent magnet synchronous motor.
[0104] Referring to Figure 6 , a structure schematic diagram of a permanent magnet synchronous motor circuit provided by the embodiments of the present application is shown. As shown in Figure 6 , the permanent magnet synchronous motor circuit includes Figure 1 the safety control circuit of the multiple power domains shown in and a controlled module, and the controlled module includes a permanent magnet synchronous motor and an adaptation circuit of the permanent magnet synchronous motor. The input end of the adaptation circuit is electrically connected with the output end of the PWM, and the output end of the adaptation circuit is electrically connected with the input end of the permanent magnet synchronous motor. The adaptation circuit is used for controlling the working voltage of the permanent magnet synchronous motor according to the PWM signal with different duty cycles. In the permanent magnet synchronous motor control, the greater the voltage is, the faster the speed of the permanent magnet synchronous motor is. Therefore, the speed of the permanent magnet synchronous motor can be controlled by the PWM signal with different duty cycles.
[0105] In the specific implementation, the output terminal of the signal source is used to output the first electrical signal; the output terminal of the reference power supply is used to output the second electrical signal; the sampling and comparison module is used to determine the comparison result of the first electrical signal and the second electrical signal based on the first electrical signal and the second electrical signal, and output the comparison result to the PWM; the PWM is used to generate PWM signals with different duty cycles based on the comparison result of the first electrical signal and the second electrical signal, and the adapter circuit controls the permanent magnet synchronous motor to rotate at the corresponding speed according to the PWM signals with different duty cycles.
[0106] See Figure 7 This is a schematic diagram of another permanent magnet synchronous motor circuit provided in an embodiment of this application. Figure 7 As shown, the adapter circuit in this permanent magnet synchronous motor circuit includes a pre-drive chip and a MOS full-bridge circuit. The input terminal of the pre-drive chip is electrically connected to the output terminal of the PWM signal, and the output terminal of the pre-drive chip is electrically connected to the input terminal of the MOS full-bridge circuit. The pre-drive chip receives PWM signals with different duty cycles and controls the MOS full-bridge circuit to output PWM signals with different duty cycles, thereby controlling the operating voltage of the permanent magnet synchronous motor and causing the permanent magnet synchronous motor to rotate at the corresponding speed.
[0107] In one possible implementation, the permanent magnet synchronous motor employs a dual closed-loop control strategy. Specifically, the signal source includes a position sensor, an inverter, an inverter sensor, and a second controller. The position sensor is used to read the real-time rotor position information θ and real-time speed information n of the permanent magnet synchronous motor; the inverter sensor is used to read the three-phase current i at the output terminal of the inverter. A i B and i C The second controller is used to compare the real-time speed information n with the speed reference value n. ref The reference value i of the torque component of the current is obtained by comparison and calculation by the speed PI controller. qref And the excitation component i of the system-given current. dref =0; the three-phase current i A i B and i C i is obtained through Clark transformation α i β The actual torque component i is then obtained through Park transformation. q and actual excitation component i d The torque component reference value i qref and the excitation component i dref Each is related to the actual torque component i q and the actual excitation component i d By performing comparative calculations and PI adjustment operations, and then undergoing the inverse Park transform, the electrical signal U under the two-phase stationary coordinate (α-β) condition is obtained.α and U β ; the electric signal U α and U β is input into the SVPWM module, and a first electric signal is output. An output end of the reference power supply is used to output a second electric signal; the sampling comparison module is used to determine a comparison result of the first electric signal and the second electric signal according to the first electric signal and the second electric signal, and output the comparison result to the PWM; the PWM is used to generate a PWM signal with different duty cycles according to the comparison result of the first electric signal and the second electric signal, and the adaptation circuit controls the permanent magnet synchronous motor to rotate at a corresponding speed according to the PWM signal with different duty cycles.
[0108] The speed outer loop in the double closed-loop control strategy is used to generate a torque component reference value of the motor current required by the control strategy, and the current inner loop is used to calculate a final actual control signal, so as to realize a complete speed-current double closed-loop control system and achieve a better permanent magnet synchronous motor control effect.
[0109] In the embodiment of the present application, since the signal source and the reference power supply are in different power supply domains, the signal source and the reference power supply may not be in an ideal working environment. For example, the first power supply domain has reached a preset voltage, but the reference power supply has not been powered on. At this time, if the PWM signal output by the PWM is used to drive the permanent magnet synchronous motor, the permanent magnet synchronous motor will be at an unreasonable output speed, which is easy to cause damage to the permanent magnet synchronous motor. In order to avoid damage to the permanent magnet synchronous motor, the power supply situation of the PWM is monitored in real time by the PMC in the embodiment of the present application, and when it is judged that there is an electric signal abnormality, corresponding protection measures can be performed, for example, the PWM is turned off or the safety control circuit of the multiple power supply domains is reset.
[0110] In the embodiment of the present application, the power supply situation of the PWM can be monitored in real time by the PMC, so as to avoid unreasonable output speed of the permanent magnet synchronous motor and damage to the permanent magnet synchronous motor.
[0111] It should be pointed out that the specific content of the permanent magnet synchronous motor driving circuit can be referred to Figure 1 the description of the embodiment, which will not be described here for brevity.
[0112] In a specific implementation, the above permanent magnet synchronous motor driving circuit can be applied to an automobile power control system.
[0113] Referring to Figure 8 , a structural schematic diagram of an automobile power control system provided by the embodiment of the present application is shown. As Figure 8 shown, the automobile power control system includes a permanent magnet synchronous motor circuit and a power supply, wherein the power supply is electrically connected with the permanent magnet synchronous motor circuit, and the power supply is used to supply power to the permanent magnet synchronous motor circuit.
[0114] In the embodiment of the present application, the power supply of the PWM can be monitored in real time by the PMC, thereby avoiding unreasonable output speed of the permanent magnet synchronous motor, and causing the permanent magnet synchronous motor in the automobile power control system to be damaged.
[0115] It should be noted that the specific content of the permanent magnet synchronous motor driving circuit can be referred to Figure 6 and Figure 7 the description of the embodiments, for the sake of brevity, will not be repeated here.
[0116] Those skilled in the art can realize that the units and algorithm steps described in the embodiments disclosed herein can be realized by electronic hardware, computer software and a combination of electronic hardware and computer software. Whether the functions are realized in hardware or software mode depends on the specific application and design constraints of the technical solution. The skilled person can use different methods to realize the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.
[0117] Those skilled in the art can clearly understand that, for the convenience and brevity of the description, the specific working process of the system, device and unit described above can refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.
[0118] In several embodiments provided in the present application, any function realized in the form of a software function unit and sold or used as an independent product can be stored in a computer readable storage medium. Based on this understanding, the technical solutions of the present application essentially or the parts that make contributions to the prior art or parts of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes a plurality of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in the embodiments of the present application. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and various storage medium that can store program codes.
[0119] The above is only a specific implementation of the present application, and any skilled person in the art can easily think of changes or replacements within the technical scope disclosed in the present application, which should be covered within the protection scope of the present application. The protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. A safety control circuit with multiple power domains, characterized in that, include: A signal source, the output of which is used to output a first electrical signal; A reference power supply, the output of which is used to output a second electrical signal; A sampling comparison module, wherein the first input terminal of the sampling comparison module is electrically connected to the output terminal of the signal source, and the second input terminal of the sampling comparison module is electrically connected to the output terminal of the reference power supply, and the sampling comparison module is used to determine the comparison result of the first electrical signal and the second electrical signal based on the first electrical signal and the second electrical signal; A pulse width modulation (PWM) module is provided, wherein the input terminal of the PWM module is electrically connected to the output terminal of the sampling and comparison module, and the PWM module is used to generate PWM signals with different duty cycles based on the comparison results of the first electrical signal and the second electrical signal. A power management control module (PMC) is provided. The first input terminal of the PMC is connected to the node between the signal source and the sampling comparison module to acquire the first electrical signal. The second input terminal of the PMC is connected to the node between the reference power supply and the sampling comparison module to acquire the second electrical signal. The PMC is used to determine whether there is an electrical signal abnormality based on the first electrical signal and / or the second electrical signal. The signal source and the PMC belong to the first power domain, while the sampling and comparison module, the reference power supply, and the PWM belong to the second power domain.
2. The multi-power domain safety control circuit according to claim 1, characterized in that, The step of determining whether there is an electrical signal abnormality based on the first electrical signal and / or the second electrical signal includes: If the difference between the first electrical signal and the second electrical signal is greater than or equal to a preset first electrical signal threshold, then it is determined that there is an electrical signal abnormality. Alternatively, if the difference between the first electrical signal and the preset third electrical signal is greater than or equal to the preset second electrical signal threshold, then it is determined that there is an electrical signal abnormality. Alternatively, if the difference between the second electrical signal and the preset fourth electrical signal is greater than or equal to the preset third electrical signal threshold, then an electrical signal abnormality is determined to exist.
3. The multi-power domain safety control circuit according to claim 1, characterized in that, The PMC is also used for: If an abnormal electrical signal is detected, protective measures will be implemented.
4. The multi-power domain safety control circuit according to claim 3, characterized in that, The provision that protective measures are executed if an abnormal electrical signal is detected includes: If an electrical signal abnormality is detected, the PWM is turned off or the safety control circuit of the multi-power domain is reset.
5. The multi-power domain safety control circuit according to claim 1, characterized in that, The PMC includes a voltage monitoring circuit and an internal self-test BIST.
6. The multi-power domain safety control circuit according to claim 5, characterized in that, The voltage monitoring circuit supports low-voltage detection and / or high-voltage detection.
7. The multi-power domain safety control circuit according to claim 5, characterized in that, The BIST is used to detect the bandgap voltage at startup.
8. The multi-power domain safety control circuit according to claim 1, characterized in that, The first power domain is continuously powered on in the first operating mode and the second operating mode, while the second power domain is powered off in the first operating mode and powered on in the second operating mode.
9. The multi-power domain safety control circuit according to claim 8, characterized in that, The first operating mode includes stop mode and / or standby mode, and the second operating mode includes operating mode.
10. A microprocessor chip, characterized in that, The safety control circuit for multiple power domains as described in any one of claims 1-9.
Citation Information
Patent Citations
Motor driving circuit and car window lifting system
CN219802183U