Relay adhesion detection circuit and method and vehicle

By designing a relay adhesion detection circuit including a control module and a comparison module, the pulse width modulation signal is used to process voltage signals and triangular wave signals, the problem of traditional low detection efficiency is solved, and automated detection and cost reduction are achieved.

CN119619823APending Publication Date: 2025-03-14NIO TECH ANHUI CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411792920.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-04
Publication Date
2025-03-14

AI Technical Summary

Technical Problem

Traditional relay adhesion detection circuits are inefficient and require manual operation of multimeter to measure contact resistance, which is cumbersome and time-consuming.

Method used

A relay adhesion detection circuit is designed, including a control module and a comparison module. By comparing the first sampled voltage signal with the first triangular wave signal and the second sampled voltage signal with the second triangular wave signal, a pulse width modulation signal is generated to determine whether the relay is adhered.

Benefits of technology

Automatic detection of relay adhesion is realized, which improves detection efficiency without manual participation and reduces detection costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119619823A_ABST
    Figure CN119619823A_ABST
Patent Text Reader

Abstract

The invention provides a relay adhesion detection circuit and method and a vehicle, and belongs to the technical field of automobiles. A comparison module in the circuit outputs a first pulse width modulation signal according to a first sampling voltage signal and a first triangular wave signal. The comparison module outputs a second pulse width modulation signal according to the second sampling voltage signal and the second triangular wave signal. The first triangular wave signal and the second triangular wave signal have a preset positive slope duty ratio relationship. The control module is used for determining the adhesion information of the relay module according to the duty ratio relation between the first pulse width modulation signal and the second pulse width modulation signal and the preset positive slope duty ratio relation when the relay module is controlled to be disconnected, automatic detection of relay adhesion can be achieved, the adhesion detection efficiency is improved, and the relay adhesion detection efficiency is improved. And expensive devices are not adopted, so that the detection cost of the relay adhesion detection circuit is low.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of automobile technology, and in particular, relates to a relay adhesion detection circuit, method and vehicle. Background Art

[0002] With the increasing demand for intelligent experience in electric vehicles, more and more vehicles have the AC discharge function from vehicle to external load (Vehicle to Load), which outputs the power of the vehicle's power battery to the external load for use, providing users with a convenient on-board AC power supply for household appliances, power tools and other electrical equipment. In order to improve the user experience, the vehicle provides multiple AC power supplies from the vehicle to the external load, and independently controls them through AC relays. However, when the AC relay is adhered, it will cause high voltage inside the vehicle and at the charging interface, posing a risk of electric shock to the user, and will also affect the normal operation of the AC discharge function from the vehicle to the external load. Therefore, it is of great significance to detect the adhesion of the AC relay.

[0003] In the traditional detection circuit, the resistance between the relay contacts is measured to determine whether the relay is sticking. However, in the traditional detection circuit, it is necessary to manually use the resistance range of the multimeter, connect the test leads to the two ends of the relay contacts to measure the resistance between the contacts when the relay is powered off, making the detection process cumbersome and resulting in low sticking detection efficiency. Summary of the invention

[0004] The purpose of the present application is to provide a relay adhesion detection circuit, method and vehicle, aiming to solve the problem of low adhesion detection efficiency existing in traditional detection circuits.

[0005] The present application provides a relay adhesion detection circuit, comprising:

[0006] Control module;

[0007] and a comparison module, wherein the output end of the comparison module is connected to the control module, and the comparison module is used to output a first pulse width modulation signal according to a first sampled voltage signal and a first triangular wave signal, and is used to output a second pulse width modulation signal according to a second sampled voltage signal and a second triangular wave signal; wherein the first sampled voltage signal is a voltage signal of a connection end between an inverter power module and a relay module in a vehicle; the second sampled voltage signal is a voltage signal of a connection end between the relay module and an external load, and the first triangular wave signal and the second triangular wave signal have a preset positive slope duty cycle relationship;

[0008] The control module is used to determine the adhesion information of the relay module according to the duty cycle relationship between the first pulse width modulation signal and the second pulse width modulation signal and the preset positive slope duty cycle relationship when the relay module is disconnected.

[0009] The present application provides a relay adhesion detection method, comprising:

[0010] The comparison module obtains a first sampled voltage signal and a first triangular wave signal respectively; wherein the first sampled voltage signal is a voltage signal of a connection terminal between an inverter power module and a relay module in a vehicle;

[0011] The comparison module sends a first pulse width modulation signal to the control module according to the first sampled voltage signal and the first triangular wave signal;

[0012] The comparison module obtains a second sampled voltage signal and a second triangular wave signal respectively; wherein the second sampled voltage signal is a voltage signal of a connection terminal between the relay module and an external load; and the first triangular wave and the second triangular wave signal have a preset positive slope duty cycle relationship;

[0013] The comparison module also sends a second pulse width modulation signal to the control module according to the second sampled voltage signal and the second triangular wave signal;

[0014] When the relay module is disconnected, the control module determines the adhesion information of the relay module according to the duty cycle relationship between the first pulse width modulation signal and the second pulse width modulation signal and the preset positive slope duty cycle relationship.

[0015] The present application provides a vehicle, comprising at least one relay adhesion detection circuit as described in any one of the above embodiments.

[0016] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:

[0017] The first sampled voltage signal is compared with the first triangular wave signal through the comparison module, and the voltage signal is converted into a first pulse width modulation signal. When the first triangular wave signal is known, the first pulse width modulation signal can reflect the signal relationship between the first sampled voltage signal and the first triangular wave signal. The second sampled voltage signal is compared with the second triangular wave signal through the comparison module, and the voltage signal is converted into a second pulse width modulation signal. When the second triangular wave signal is known, the second pulse width modulation signal can reflect the signal relationship between the second sampled voltage signal and the second triangular wave signal.

[0018] Under normal circumstances, when the relay module is not stuck, when the control relay module is closed, the inverter power module is connected to the external load. The first sampling voltage signal and the second sampling voltage signal are the same. When the control relay module is disconnected, the inverter power module is disconnected from the external load, the first sampling voltage signal remains unchanged, and the second sampling voltage signal is zero, which can also be understood as the absence of the second sampling voltage signal.

[0019] When the relay module is not stuck, when the control relay module is disconnected, the second sampling voltage signal will be zero, and there will be no second sampling voltage signal. Furthermore, the second pulse width modulation signal has no proportional relationship with the first pulse width modulation signal, which can also be understood as being different from the preset positive slope duty cycle relationship.

[0020] In the case of adhesion of the relay module, even if the control relay module is disconnected, the relay module will always maintain a closed state, so that the collected first sampling voltage signal and the second sampling voltage signal are the same. The first sampling voltage signal and the first triangular wave signal are compared by the comparison module to form a first pulse width modulation signal. The second sampling voltage signal and the second triangular wave signal are compared by the comparison module to form a second pulse width modulation signal.

[0021] After the first triangular wave signal and the second triangular wave signal are compared with the same first sampling voltage signal and the second sampling voltage signal respectively, the output first pulse width modulation signal and the second pulse width modulation signal also form a corresponding duty cycle relationship, which is the same as the preset positive slope duty cycle relationship. Furthermore, when the control relay module is disconnected, it can be determined whether the relay module is stuck according to the duty cycle relationship between the first pulse width modulation signal and the second pulse width modulation signal and the preset positive slope duty cycle relationship.

[0022] Thus, by using the control module and the comparison module in the relay adhesion detection circuit provided by the present application, the first triangular wave signal, the first sampled voltage signal, the first pulse width modulation signal, the second triangular wave signal, the second sampled voltage signal and the second pulse width modulation signal are processed, and it is possible to accurately know whether the relay module is adhered, without manual participation, so that the adhesion detection process is simple and easy to implement. By using the relay adhesion detection circuit provided by the present application, it is possible to realize the automatic detection of relay adhesion, and improve the adhesion detection efficiency.

[0023] Further, the control module and the comparison module in the relay adhesion detection circuit provided by the present application do not use expensive devices (such as devices such as isolation operational amplifiers), so that the detection cost of the relay adhesion detection circuit is low. Compared with traditional technology, the relay adhesion detection circuit provided by the present application has high adhesion detection efficiency and low detection cost, and can be widely used in actual products. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 This is a schematic diagram of the structure of a relay adhesion detection circuit in some embodiments provided in the present application.

[0025] Figure 2 A relay sticking detection circuit is provided in some embodiments of the present application.

[0026] Figure 3 A relay sticking detection circuit is provided in some embodiments of the present application. DETAILED DESCRIPTION

[0027] In order to make the technical problems, technical solutions and beneficial effects to be solved by the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0028] It should be noted that when an element is referred to as being "fixed to" or "disposed on" another element, it can be directly on the other element or indirectly on the other element. When an element is referred to as being "connected to" another element, it can be directly connected to the other element or indirectly connected to the other element.

[0029] It should be understood that the orientation or position relationship indicated by terms such as "length", "width", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside" and "outside" are based on the orientation or position relationship shown in the drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present application.

[0030] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0031] The present application provides a relay adhesion detection circuit 100, which is applied to a power supply circuit from an inverter power module 200 to an external load 400 in a vehicle. The two ends of the inverter power module 200 are respectively connected to the two ends of a relay module 300. The two ends of the relay module 300 are respectively connected to the two ends of the external load 400. The inverter power module 200 is used to supply power to the external load 400 through the relay module 300. Specifically, the relay module 300 includes a first relay 301 and a second relay 302. The inverter power module 200 is connected to the second relay 302 and the external load 400 through the first relay 301.

[0032] The live wire connection end of the inverter power module 200 is connected to the first contact connection end of the first relay 301, and the second contact connection end of the first relay 301 is connected to one end of the external load 400. The neutral wire connection end of the inverter power module 200 is connected to the first contact connection end of the second relay 302, and the second contact connection end of the second relay 302 is connected to the other end of the external load 400. The coil end point of the first relay 301 and the coil end point of the second relay 302 are connected to the control module. The control module can control the conduction or disconnection of the first relay 301 and the second relay 302 to determine whether the inverter power module 200 supplies power to the external load 400. The first relay 301 is used to control the conduction or disconnection of the live wire connection line between the inverter power module 200 and the external load 400. The second relay 302 is used to control the conduction or disconnection of the neutral wire connection line between the inverter power module 200 and the external load 400.

[0033] The inverter power module 200 can be understood as an inverter power unit (IPU), which is a key component in the vehicle and can convert, control and manage electric energy. The external load 400 can be electrical equipment such as household appliances and electric tools.

[0034] See also Figure 1 The present application provides a relay adhesion detection circuit 100. The relay adhesion detection circuit 100 includes a control module 110 and a comparison module 20. The output end of the comparison module 20 is connected to the control module 110. The comparison module 20 is used to output a first pulse width modulation signal according to a first sampled voltage signal and a first triangular wave signal. The comparison module 20 is also used to output a second pulse width modulation signal according to a second sampled voltage signal and a second triangular wave signal.

[0035] Among them, the first sampled voltage signal is a voltage signal of the connection end of the inverter power module 200 and the relay module 300 in the vehicle. The second sampled voltage signal is a voltage signal of the connection end of the relay module 300 and the external load 400. The first triangular wave signal and the second triangular wave signal have a preset positive slope duty cycle relationship. The control module 110 is used to determine the adhesion information of the relay module 300 according to the duty cycle relationship between the first pulse width modulation signal and the second pulse width modulation signal and the preset positive slope duty cycle relationship when the relay module 300 is disconnected.

[0036] In this embodiment, the positive slope duty cycle of the triangular wave signal can be understood as the ratio of the positive slope portion (rising portion) time of the triangular wave to the entire cycle time. For example, for a triangular wave with a period of T, the time taken for the voltage to rise from the minimum value to the maximum value is t1, and the time taken for the voltage to fall from the maximum value to the minimum value is t2 (T=t1+t2), then the positive slope duty cycle is t1 / T. The preset positive slope duty cycle relationship can be understood as the relationship between the positive slope duty cycle of the first triangular wave signal and the positive slope duty cycle of the second triangular wave signal.

[0037] There is a preset positive slope duty cycle relationship between the first triangular wave signal and the second triangular wave signal. The preset positive slope duty cycle relationship can be 1:1, which can be understood as the duty cycle of the first triangular wave signal is the same as the duty cycle of the second triangular wave signal. The preset positive slope duty cycle relationship can also be 1:2 or 2:3, etc., which can be understood as the positive slope duty cycle of the first triangular wave signal is different from the positive slope duty cycle of the second triangular wave signal, and has a proportional relationship, which can reflect the set relationship between the first triangular wave signal and the second triangular wave signal.

[0038] By closing or opening the relay module 300, the conduction or disconnection between the inverter power module 200 and the external load 400 can be realized, and then whether the inverter power module 200 supplies power to the external load 400. Furthermore, the two ends of the output side of the inverter power module 200 are respectively connected to the two ends of the relay module 300, and the voltage between the two ends is the first sampled voltage signal. The two ends of the relay module 300 are respectively connected to the two ends of the input side of the external load 400, and the voltage between the two ends is the second sampled voltage signal. By collecting the first sampled voltage signal and the second sampled voltage signal, it can be known whether the inverter power module 200, the relay module 300 and the external load 400 are connected and conducted.

[0039] The first sampled voltage signal is compared with the first triangular wave signal through the comparison module 20, and the voltage signal is converted into a first pulse width modulation signal. When the first triangular wave signal is known, the signal relationship between the first sampled voltage signal and the first triangular wave signal can be reflected through the first pulse width modulation signal. When the first sampled voltage signal is different from the first triangular wave signal, the comparison module 20 outputs a high level or a low level (which can be determined according to whether the first sampled voltage signal or the first triangular wave signal is input to the in-phase input terminal and the inverting input terminal of the comparison module 20), and forms a first pulse width modulation signal.

[0040] Similarly, the second sampled voltage signal is compared with the second triangular wave signal through the comparison module 20, and the voltage signal is converted into a second pulse width modulation signal. When the second triangular wave signal is known, the signal relationship between the second sampled voltage signal and the second triangular wave signal can be reflected through the second pulse width modulation signal. When the second sampled voltage signal is different from the second triangular wave signal, the comparison module 20 outputs a high level or a low level (which can be determined based on whether the first sampled voltage signal or the first triangular wave signal is input to the in-phase input terminal and the inverting input terminal of the comparison module 20), and forms a first pulse width modulation signal.

[0041] Under normal circumstances, when the relay module 300 is closed and there is no adhesion in the relay module 300, the circuit between the inverter power module 200 and the external load 400 is turned on. The first sampling voltage signal and the second sampling voltage signal are the same. When the relay module 300 is disconnected, the circuit between the inverter power module 200 and the external load 400 is disconnected, the first sampling voltage signal remains unchanged, and the second sampling voltage signal is zero, which can also be understood as the absence of the second sampling voltage signal.

[0042] The disconnection of the relay module 300 can be understood as the disconnection of the first relay 301 in the relay module 300, or the disconnection of the second relay 302, or the disconnection of the first relay 301 and the second relay 302 at the same time. In the case where the relay module 300 is not adhered, when the relay module 300 is disconnected, the second sampling voltage signal will be zero, which can also be understood as the absence of the second sampling voltage signal at both ends of the input side of the external load 400. Furthermore, the second pulse width modulation signal does not have a proportional relationship with the first pulse width modulation signal, which can also be understood as being different from the preset positive slope duty cycle relationship.

[0043] In the case that the relay module 300 is stuck, even if the relay module 300 is disconnected, the relay module 300 will always maintain a closed state (equivalent to a wire when closed), so that the collected first sampling voltage signal and the second sampling voltage signal are the same.

[0044] The first sampling voltage signal and the first triangular wave signal are compared by the comparison module 20 to form a first pulse width modulation signal. The second sampling voltage signal and the second triangular wave signal are compared by the comparison module 20 to form a second pulse width modulation signal. The first triangular wave signal and the second triangular wave signal have a preset positive slope duty cycle relationship. After being compared with the same first sampling voltage signal and the second sampling voltage signal, respectively, the output first pulse width modulation signal and the second pulse width modulation signal also form a corresponding duty cycle relationship, which is the same as the preset positive slope duty cycle relationship. When the relay module 300 is disconnected, it can be determined whether the relay module 300 is adhered based on the duty cycle relationship between the first pulse width modulation signal and the second pulse width modulation signal and the preset positive slope duty cycle relationship.

[0045] Thus, by the control module 110 and the comparison module 20 in the relay adhesion detection circuit 100 provided by the present application, the first triangular wave signal, the first sampled voltage signal, the first pulse width modulation signal, the second triangular wave signal, the second sampled voltage signal, and the second pulse width modulation signal are processed, and it is possible to accurately know whether the relay module 300 is adhered, without manual participation, so that the adhesion detection process is simple and easy to implement. By the relay adhesion detection circuit 100 provided by the present application, the automatic detection of relay adhesion can be realized, and the adhesion detection efficiency is improved.

[0046] In a possible embodiment of the present application, from the perspective of saving detection costs, the control module 110 and the comparison module 20 in the relay adhesion detection circuit 100 provided by the present application can use relatively cheap devices, so that the detection cost of the relay adhesion detection circuit 100 is low. Compared with the traditional technology, the relay adhesion detection circuit 100 provided by the present application has high adhesion detection efficiency and low detection cost, and can be widely used in actual products.

[0047] In one embodiment, the comparison module 20 includes a first comparison module 210 and a second comparison module 220. The first input end of the first comparison module 210 is used to obtain a first sampled voltage signal of a connection end of the inverter power module 200 and the relay module 300 in the vehicle. The second input end of the first comparison module 210 is connected to the control module 110, and is used to output a first pulse width modulation signal according to the first sampled voltage signal and the first triangular wave signal.

[0048] The first input end of the second comparison module 220 is used to obtain a second sampled voltage signal of a connection end between the relay module 300 and the external load 400. The second input end of the second comparison module 220 is connected to the control module 110, and is used to output a second pulse width modulation signal according to the second sampled voltage signal and the second triangular wave signal. The control module 110 is connected to the output end of the first comparison module 210 and the output end of the second comparison module 220. The control module 110 is also used to determine the adhesion information of the relay module 300 according to the duty cycle relationship between the first pulse width modulation signal and the second pulse width modulation signal and the preset positive slope duty cycle relationship when the relay module 300 is disconnected.

[0049] In this embodiment, the first sampling voltage signal is compared with the first triangular wave signal by the first comparison module 210, and the voltage signal is converted into a first pulse width modulation signal. When the first triangular wave signal is known, the first pulse width modulation signal can reflect the signal relationship between the first sampling voltage signal and the first triangular wave signal.

[0050] The first comparison module 210 uses the first triangular wave signal as a reference signal and compares it with the first sampled voltage signal to generate a first pulse width modulation signal. When the first sampled voltage signal is input to the non-inverting input terminal of the first comparison module 210 and the first triangular wave signal is input to the inverting input terminal of the first comparison module 210, when the first sampled voltage signal is greater than the first triangular wave signal, the first pulse width modulation signal is at a high level. When the first sampled voltage signal is less than the first triangular wave signal, the first pulse width modulation signal is at a low level.

[0051] Alternatively, when the first sampling voltage signal is input to the inverting input terminal of the first comparison module 210 and the first triangular wave signal is input to the non-inverting input terminal of the first comparison module 210, when the first sampling voltage signal is less than the first triangular wave signal, the first pulse width modulation signal is at a high level. When the first sampling voltage signal is greater than the first triangular wave signal, the first pulse width modulation signal is at a low level.

[0052] Similarly, the second comparison module 220 compares the second sampled voltage signal with the second triangular wave signal and converts the voltage signal into a second pulse width modulation signal. When the second triangular wave signal is known, the second pulse width modulation signal can reflect the signal relationship between the second sampled voltage signal and the second triangular wave signal.

[0053] The first sampling voltage signal and the first triangular wave signal are compared by the first comparison module 210 to form a first pulse width modulation signal. The second sampling voltage signal and the second triangular wave signal are compared by the second comparison module 220 to form a second pulse width modulation signal. The first triangular wave signal and the second triangular wave signal have a preset positive slope duty cycle relationship. After being compared with the same first sampling voltage signal and the second sampling voltage signal, respectively, the output first pulse width modulation signal and the second pulse width modulation signal also form a corresponding duty cycle relationship, which is the same as the preset positive slope duty cycle relationship. When the relay module 300 is disconnected, it can be determined whether the relay module 300 is adhered according to the duty cycle relationship between the first pulse width modulation signal and the second pulse width modulation signal and the preset positive slope duty cycle relationship.

[0054] Thus, by the control module 110, the first comparison module 210 and the second comparison module 220 in the relay adhesion detection circuit 100 provided by the present application, the first triangular wave signal, the first sampled voltage signal, the first pulse width modulation signal, the second triangular wave signal, the second sampled voltage signal and the second pulse width modulation signal are processed, and it is possible to accurately know whether the relay module 300 is adhered, without manual participation, so that the adhesion detection process is simple and easy to implement. By the relay adhesion detection circuit 100 provided by the present application, the automatic detection of relay adhesion can be realized, and the adhesion detection efficiency is improved.

[0055] In a possible embodiment of the present application, from the perspective of saving detection costs, the control module 110, the first comparison module 210 and the second comparison module 220 in the relay adhesion detection circuit 100 provided by the present application can use relatively cheap devices, so that the detection cost of the relay adhesion detection circuit 100 is low. Compared with the traditional technology, the relay adhesion detection circuit 100 provided by the present application has high adhesion detection efficiency and low detection cost, and can be widely used in actual products.

[0056] See also Figure 2 In one embodiment, the relay adhesion detection circuit 100 further includes a first signal generating module 120 and a second signal generating module 130. The control module 110 is used to generate a first square wave signal and a second square wave signal having a preset duty cycle relationship. The preset duty cycle relationship is the same as the preset positive slope duty cycle relationship. The first signal generating module 120 is connected to the control module 110 and the comparison module 20. The first signal generating module 120 is used to generate a first triangular wave signal according to the first square wave signal, and send the first triangular wave signal to the comparison module 20.

[0057] The second signal generating module 130 is connected to the control module 110 and the second input terminal of the comparison module 20. The second signal generating module 130 is used to generate a second triangular wave signal according to the second square wave signal, and send the second triangular wave signal to the comparison module 20.

[0058] In this embodiment, the control module 110 is used to generate a first square wave signal and a second square wave signal having a preset duty cycle relationship. The preset duty cycle relationship can reflect the relative relationship between the duty cycle of the first square wave signal and the duty cycle of the second square wave signal. The preset duty cycle relationship can be set according to the actual application scenario. The preset duty cycle relationship can be set to 1:1 or 1:2, etc. The first square wave signal and the second square wave signal have a preset duty cycle relationship, so that the first triangle wave signal and the second triangle wave signal will also have a corresponding preset positive slope duty cycle relationship.

[0059] The first square wave signal is transmitted to the first signal generating module 120. The first signal generating module 120 generates a first triangular wave signal according to the first square wave signal. The first triangular wave signal changes linearly, and the signal is purer. After the first triangular wave signal is transmitted to the comparison module 20, it can be compared with the first sampled voltage signal, which can more accurately reflect the real-time change of the first sampled voltage signal and obtain a more accurate first pulse width modulation signal.

[0060] The second square wave signal is transmitted to the second signal generating module 130. The second signal generating module 130 generates a second triangular wave signal according to the second square wave signal. The second triangular wave signal changes linearly, and the signal is purer. After the second triangular wave signal is transmitted to the comparison module 20, it can be compared with the second sampled voltage signal, which can more accurately reflect the real-time change of the second sampled voltage signal and obtain a more accurate second pulse width modulation signal. Furthermore, the control module 110 can accurately determine the adhesion information of the relay module 300 according to the first pulse width modulation signal and the second pulse width modulation signal.

[0061] In one embodiment, the first signal generating module 120 is connected to the control module 110 and the second input terminal of the first comparing module 210. The first signal generating module 120 is used to generate a first triangular wave signal according to the first square wave signal, and send the first triangular wave signal to the second input terminal of the first comparing module 210.

[0062] The second signal generating module 130 is connected to the control module 110 and the second input terminal of the second comparing module 220. The second signal generating module 130 is used to generate a second triangular wave signal according to the second square wave signal and send the second triangular wave signal to the second input terminal of the second comparing module 220.

[0063] In one embodiment, the first signal generating module 120 may be a triangle wave generating circuit, an integrated circuit triangle wave generator or a function generator, etc. The second signal generating module 130 may be a triangle wave generating circuit, an integrated circuit triangle wave generator or a function generator, etc.

[0064] In one embodiment, the control module 110 is connected to the output end of the comparison module 20. Alternatively, the control module 110 is connected to the output end of the first comparison module 210 and the output end of the second comparison module 220. The control module 110 is used to determine the adhesion information of the first relay 301 and / or the second relay 302 according to the duty cycle relationship between the first pulse width modulation signal and the second pulse width modulation signal and the preset positive slope duty cycle relationship when the first relay 301 and / or the second relay 302 in the control relay module 300 are disconnected.

[0065] In this embodiment, the first comparison module 210 uses the first triangular wave signal as a reference signal, compares it with the first sampled voltage signal, and generates a first pulse width modulation signal. When the first sampled voltage signal is input to the non-inverting input terminal of the first comparison module 210, and the first triangular wave signal is input to the inverting input terminal of the first comparison module 210, when the first sampled voltage signal is greater than the first triangular wave signal, the first pulse width modulation signal is a high level. When the first sampled voltage signal is less than the first triangular wave signal, the first pulse width modulation signal is a low level.

[0066] Alternatively, when the first sampling voltage signal is input to the inverting input terminal of the first comparison module 210, and the first triangular wave signal is input to the non-inverting input terminal of the first comparison module 210, when the first sampling voltage signal is less than the first triangular wave signal, the first pulse width modulation signal is at a high level. When the first sampling voltage signal is greater than the first triangular wave signal, the first pulse width modulation signal is at a low level.

[0067] The first pulse width modulation signal reflects the relationship between the first sampled voltage signal and the first triangular wave signal. Similarly, the second pulse width modulation signal reflects the relationship between the second sampled voltage signal and the second triangular wave signal. When the first relay 301 and the second relay 302 are all turned on, the first sampled voltage signal is the same as the second sampled voltage signal. Furthermore, the preset positive slope duty cycle relationship between the first triangular wave signal and the second triangular wave signal can be reflected in the first pulse width modulation signal and the second pulse width modulation signal, so that the first pulse width modulation signal and the second pulse width modulation signal also have a corresponding duty cycle relationship.

[0068] When one or both of the first relay 301 and the second relay 302 are disconnected, the first sampling voltage signal remains unchanged, the second sampling voltage signal is zero, and thus there is no duty cycle relationship between the first pulse width modulation signal and the second pulse width modulation signal.

[0069] Thus, when the control module 110 disconnects the first relay 301 or the second relay 302 or both the first relay 301 and the second relay 302 in the control relay module 300, the relay module 300 is disconnected as a whole, and the inverter power module 200 cannot supply power to the external load 400. However, if the first relay 301 or the second relay 302 or the first relay 301 and the second relay 302 are adhered, the originally disconnected relay will be adhered, and then the originally disconnected relay module 300 will be turned on, so that the inverter power module 200 supplies power to the external load 400, forming a second sampled voltage signal. The second sampled voltage signal is input to the first input terminal of the second comparison module 220, and converted into a second pulse width modulation signal.

[0070] Therefore, when the first relay 301 or / and the second relay 302 are disconnected in the control relay module 300, if the duty cycle relationship between the first pulse width modulation signal and the second pulse width modulation signal exists, and is the same as the preset positive slope duty cycle relationship and the preset duty cycle relationship, it is determined that the first relay 301 or / and the second relay 302 are adhered. If the duty cycle relationship between the first pulse width modulation signal and the second pulse width modulation signal does not exist, it is determined that the first relay 301 or / and the second relay 302 are not adhered. Thus, by the relay adhesion detection circuit 100 provided by the present application, the first relay 301 or / and the second relay 302 can be accurately detected for adhesion, without manual participation, so that the adhesion detection process is simple and easy to implement, and the adhesion detection efficiency is improved. At the same time, by the relay adhesion detection circuit 100 provided by the present application, expensive devices (such as isolation operational amplifiers, etc.) are not used, so that the detection cost is reduced.

[0071] In one embodiment, the relay adhesion detection circuit 100 further includes a first digital isolation module 140 and a second digital isolation module 150. The first digital isolation module 140 is connected to the control module 110 and the first signal generating module 120, and is used to isolate and transmit the first square wave signal to the first signal generating module 120. The first digital isolation module 140 is connected to the output end of the comparison module 20 and the control module 110, and is used to isolate and transmit the first pulse width modulation signal to the control module 110.

[0072] The second digital isolation module 150 is connected to the control module 110 and the second signal generating module 130, and is used to isolate and transmit the second square wave signal to the second signal generating module 130. The second digital isolation module 150 is connected to the output end of the comparison module 20 and the control module 110, and is used to isolate and transmit the second pulse width modulation signal to the control module 110.

[0073] In this embodiment, electrical isolation of signal transmission between the control module 110 and the first signal generating module 120 is achieved through the first digital isolation module 140. Furthermore, electrical isolation of signal transmission between the control module 110 and the comparison module 20 is achieved through the first digital isolation module 140. Similarly, electrical isolation of signal transmission between the control module 110 and the second signal generating module 130 is achieved through the second digital isolation module 150. Furthermore, electrical isolation of signal transmission between the control module 110 and the comparison module 20 is achieved through the second digital isolation module 150.

[0074] Through the first digital isolation module 140 and the second digital isolation module 150, the digital signal is transmitted in a non-electrical connection manner, so that an electrical isolation barrier is established between the control module 110, the first signal generating module 120, the comparison module 20, the second signal generating module 130 and the comparison module 20, which plays a role of high isolation performance, high-speed signal transmission, low power consumption and high reliability. Furthermore, through the first digital isolation module 140 and the second digital isolation module 150, it is possible to prevent interference signals from affecting the first square wave signal, the first pulse width modulation signal, the second square wave signal and the second pulse width modulation signal, thereby ensuring the accurate transmission of digital signals to improve the accuracy of adhesion detection.

[0075] In one embodiment, the first digital isolation module 140 is connected to the control module 110 and the first signal generating module 120, and is used to isolate and transmit the first square wave signal to the first signal generating module 120. The first digital isolation module 140 is connected to the output end of the first comparison module 210 and the control module 110, and is used to isolate and transmit the first pulse width modulation signal to the control module 110.

[0076] The second digital isolation module 150 is connected to the control module 110 and the second signal generating module 130, and is used to isolate and transmit the second square wave signal to the second signal generating module 130. The second digital isolation module 150 is connected to the output end of the second comparison module 220 and the control module 110, and is used to isolate and transmit the second pulse width modulation signal to the control module 110.

[0077] In this embodiment, electrical isolation of signal transmission between the control module 110 and the first comparison module 210 is achieved through the first digital isolation module 140. Electrical isolation of signal transmission between the control module 110 and the second comparison module 220 is achieved through the second digital isolation module 150.

[0078] The digital signal is transmitted in a non-electrically connected manner through the first digital isolation module 140 and the second digital isolation module 150, thereby establishing an electrical isolation barrier between the control module 110, the first signal generating module 120, the first comparison module 210, the second signal generating module 130 and the second comparison module 220, which plays a role of high isolation performance, high-speed signal transmission, low power consumption and high reliability. Furthermore, through the first digital isolation module 140 and the second digital isolation module 150, it is possible to prevent interference signals from affecting the first square wave signal, the first pulse width modulation signal, the second square wave signal and the second pulse width modulation signal, thereby ensuring the accurate transmission of digital signals and improving the accuracy of adhesion detection.

[0079] See also Figure 3 In one embodiment, the first digital isolation module 140 may be an optical coupling isolator, a magnetic coupling isolator, a capacitive coupling isolator, or an inductive coupling isolator. The second digital isolation module 150 may be an optical coupling isolator, a magnetic coupling isolator, a capacitive coupling isolator, or an inductive coupling isolator. The first comparison module 210 may be a comparator. The second comparison module 220 may be a comparator. The control module 110 may be a digital signal processor, a general purpose processor, or a field programmable gate array.

[0080] A pair of power supplies VCC1 and GND1 with the N line of the external load 400 as the reference end. A group of power supplies VCC2 and GND2 with the N line of the output side of the inverter power module 200 as the reference end. A group of power supplies VCC3 and GND3 with the ground end of the control module 110 as the reference end.

[0081] When the control module 110 receives the inverter function instruction from the vehicle to the external load (V to L), it controls the inverter power module 200 to perform inversion and output an AC signal. The control module 110 sends a first square wave signal with a duty cycle of 50% and a frequency of f through the PWM1 port. The first square wave signal is sent to the first signal generating module 120 after passing through the first digital isolation module 140, and the first square wave signal is converted into a first triangular wave signal as the inverting end reference signal of the first comparison module 210.

[0082] Similarly, the control module 110 sends a second square wave signal with a duty cycle of 50% and a frequency of f through the PWM2 port. The second square wave signal is sent to the second signal generating module 130 after passing through the second digital isolation module 150, and the second square wave signal is converted into a second triangle wave signal as the inverting terminal reference signal of the second comparison module 220.

[0083] The first sampled voltage signal between the first relay 301, the second relay 302 and the inverter power module 200 is sent to the in-phase terminal of the first comparison module 210. The first pulse width modulation signal outputted from the output terminal of the first comparison module 210 is a PWM signal with a duty cycle of 50% and a frequency of f. The first pulse width modulation signal is converted into a signal with the same reference ground as the control module 110 by the first digital isolation module 140 and sent to the CAP1 port of the control module 110 for detection.

[0084] Similarly, the second sampling voltage signal between the first relay 301, the second relay 302 and the external load 400 is sent to the in-phase terminal of the second comparison module 220. The second pulse width modulation signal outputted from the output terminal of the second comparison module 220 is a PWM signal with a duty cycle of 50% and a frequency of f. The second pulse width modulation signal is converted into a signal with the same reference ground as the control module 110 by the second digital isolation module 150 and sent to the CAP2 port of the control module 110 for detection.

[0085] In one embodiment, the relay adhesion detection circuit 100 further includes a first voltage detection module 40 and a second voltage detection module 50. The first voltage detection module 40 is connected to the connection end of the inverter power module 200 and the relay module 300, and is used to obtain a first sampled voltage signal. The first voltage detection module 40 is connected to the comparison module 20, and is used to send the first sampled voltage signal to the comparison module 20.

[0086] The second voltage detection module 50 is connected to the connection end of the relay module 300 and the external load 400 to obtain the second sampled voltage signal. The second voltage detection module 50 is connected to the comparison module 20 to send the second sampled voltage signal to the comparison module 20.

[0087] In this embodiment, the voltage signal on the input side of the relay module 300 is collected by the first voltage detection module 40, which can also be understood as collecting the voltage signal between the first contact connection end of the first relay 301 and the first contact connection end of the second relay 302, and can also be understood as collecting the voltage signal on the output side of the inverter power module 200. The first voltage detection module 40 sends the first sampled voltage signal to the comparison module 20 for comparison with the first triangular wave signal.

[0088] The voltage signal at the output side of the relay module 300 is collected by the second voltage detection module 50, which can also be understood as collecting the voltage signal between the second contact connection end of the first relay 301 and the second contact connection end of the second relay 302, or collecting the voltage signal at the input end of the external load 400. The second voltage detection module 50 sends the second sampled voltage signal to the comparison module 20 for comparison with the second triangular wave signal.

[0089] Through the first voltage detection module 40 and the second voltage detection module 50, the AC voltage signal provided by the inverter power module 200 to the external load 400 is converted into a DC voltage signal, that is, a first sampling voltage signal and a second sampling voltage signal. Through the first voltage detection module 40 and the second voltage detection module 50, the voltage signals at the output side of the inverter power module 200 and the input end of the external load 400 can be measured and monitored in real time with high precision, and accurate first sampling voltage signals and second sampling voltage signals are provided for subsequent signal analysis and processing to improve the adhesion detection accuracy of the relay adhesion detection circuit 100. Thus, through the relay adhesion detection circuit 100 provided in the present application, it is not necessary to isolate and sample the first sampling voltage signal and the second sampling voltage signal through an isolation operational amplifier, so as to realize the judgment of the adhesion state of the V2L AC relay, which has the advantage of lower cost.

[0090] In one embodiment, the relay adhesion detection circuit 100 further includes a first voltage detection module 40 and a second voltage detection module 50. The first voltage detection module 40 is connected to the connection end of the inverter power module 200 and the relay module 300, and is used to obtain a first sampled voltage signal. The first voltage detection module 40 is connected to the first input end of the first comparison module 210, and is used to send the first sampled voltage signal to the first input end of the first comparison module 210.

[0091] The second voltage detection module 50 is connected to the connection end of the relay module 300 and the external load 400 to obtain the second sampled voltage signal. The second voltage detection module 50 is connected to the first input end of the second comparison module 220 to send the second sampled voltage signal to the first input end of the second comparison module 220.

[0092] In this embodiment, the first voltage detection module 40 sends the first sampled voltage signal to the first input terminal of the first comparison module 210 for comparison with the first triangular wave signal. The second voltage detection module 50 sends the second sampled voltage signal to the first input terminal of the second comparison module 220 for comparison with the second triangular wave signal.

[0093] In one embodiment, the first voltage detection module 40 may be a voltage sensor, a voltage divider resistor circuit, or a Hall voltage sensor, etc. The second voltage detection module 50 may be a voltage sensor, a voltage divider resistor circuit, or a Hall voltage sensor, etc., which may be selected according to actual conditions.

[0094] In one embodiment, the control module 110 is used to determine that the relay in the disconnected state of the first relay 301 and the second relay 302 is stuck if the duty cycle relationship between the first pulse width modulation signal and the second pulse width modulation signal is the same as a preset positive slope duty cycle relationship when either one of the first relay 301 and the second relay 302 is disconnected and the other is closed.

[0095] In one embodiment, the control module 110 is also used to determine that the first relay 301 is stuck when the first relay 301 is disconnected and the second relay 302 is closed in the control relay module 300 if the duty cycle relationship between the first pulse width modulation signal and the second pulse width modulation signal is the same as a preset positive slope duty cycle relationship.

[0096] In this embodiment, when the first relay 301 is regulated to be disconnected and the second relay 302 is closed, the relay module 300 is disconnected, and the inverter power module 200 cannot supply power to the external load 400. However, if the first relay 301 is adhered, the first relay 301 will be closed, and the relay module 300 will be turned on, and the inverter power module 200 will supply power to the external load 400. Therefore, when the first relay 301 is regulated to be disconnected and the second relay 302 is closed, if the duty cycle relationship between the first pulse width modulation signal and the second pulse width modulation signal is the same as the preset positive slope duty cycle relationship and the preset duty cycle relationship, the first sampling voltage signal and the second sampling voltage signal are the same. The first sampling voltage signal and the second sampling voltage signal are the same, indicating that the inverter power module 200 supplies power to the external load 400 and the first relay 301 is adhered.

[0097] Thus, the relay adhesion detection circuit 100 provided by the present application can accurately detect adhesion of the first relay 301 without manual intervention, making the adhesion detection process simple and easy to implement, thereby improving the adhesion detection efficiency. At the same time, the relay adhesion detection circuit 100 provided by the present application does not use expensive devices (such as isolation operational amplifiers, etc.), thereby reducing the detection cost.

[0098] In one embodiment, the control module 110 is also used to determine that the second relay 302 is stuck when the first relay 301 in the control relay module 300 is closed and the second relay 302 is disconnected if the duty cycle relationship between the first pulse width modulation signal and the second pulse width modulation signal is the same as a preset positive slope duty cycle relationship.

[0099] In this embodiment, when the first relay 301 is closed and the second relay 302 is disconnected in the control relay module 300, the relay module 300 is disconnected, and the inverter power module 200 cannot supply power to the external load 400. However, if the second relay 302 is adhered, the second relay 302 will be closed, and the relay module 300 will be turned on, and the inverter power module 200 will supply power to the external load 400. Therefore, when the first relay 301 is closed and the second relay 302 is disconnected, if the duty cycle relationship between the first pulse width modulation signal and the second pulse width modulation signal is the same as the preset positive slope duty cycle relationship and the preset duty cycle relationship, the first sampling voltage signal and the second sampling voltage signal are the same. The first sampling voltage signal and the second sampling voltage signal are the same, indicating that the inverter power module 200 supplies power to the external load 400 and the second relay 302 is adhered.

[0100] Thus, the relay adhesion detection circuit 100 provided by the present application can accurately detect the adhesion of the second relay 302 without manual intervention, making the adhesion detection process simple and easy to implement, thereby improving the adhesion detection efficiency. At the same time, the relay adhesion detection circuit 100 provided by the present application does not use expensive devices (such as isolation operational amplifiers, etc.), thereby reducing the detection cost.

[0101] In one embodiment, the preset positive slope duty cycle relationship is 1:1, which can be understood as the positive slope duty cycle of the first triangle wave signal and the second triangle wave signal being the same. It can also be understood as the preset duty cycle relationship of the first square wave signal and the second square wave signal being 1:1, that is, the duty cycle of the first square wave signal and the second square wave signal being the same. In one embodiment, the first square wave signal and the second square wave signal have the same frequency, and are both square wave signals with a duty cycle of 50%. The first triangle wave signal and the second triangle wave signal are both derived from the first square wave signal and the second square wave signal, and are reference triangle wave signals with the same frequency and a positive slope duty cycle of 50%.

[0102] In one embodiment, the control module 110 is further configured to determine that the disconnected relay of the first relay 301 and the second relay 302 is not stuck if the second pulse width modulation signal is zero when either the first relay 301 or the second relay 302 is disconnected and the other is closed.

[0103] In one embodiment, the control module 110 is further configured to control that when the first relay 301 in the control relay module 300 is disconnected and the second relay 302 is closed, if the second pulse width modulation signal is zero, the first relay 301 is not stuck.

[0104] In this embodiment, when the first relay 301 is regulated to be disconnected and the second relay 302 is closed, the relay module 300 is disconnected, and the inverter power module 200 cannot supply power to the external load 400. If the second pulse width modulation signal is zero, it indicates that the second sampled voltage signal is zero, which further indicates that the relay module 300 is disconnected, the voltage on the input side of the external load 400 is zero, and the first relay 301 is not stuck and can be turned off normally.

[0105] Thus, the relay adhesion detection circuit 100 provided by the present application can accurately detect adhesion of the first relay 301 without manual intervention, making the adhesion detection process simple and easy to implement, thereby improving the adhesion detection efficiency. At the same time, the relay adhesion detection circuit 100 provided by the present application does not use expensive devices (such as isolation operational amplifiers, etc.), thereby reducing the detection cost.

[0106] In one embodiment, the control module 110 is further configured to control the second relay 302 to be non-sticky if the second pulse width modulation signal is zero when the first relay 301 is closed and the second relay 302 is disconnected in the control relay module 300 .

[0107] In this embodiment, when the first relay 301 is closed and the second relay 302 is disconnected, the relay module 300 is disconnected, and the inverter power module 200 cannot supply power to the external load 400. If the second pulse width modulation signal is zero, it indicates that the second sampled voltage signal is zero, which further indicates that the relay module 300 is disconnected, the voltage on the input side of the external load 400 is zero, and the second relay 302 is not stuck and can be shut down normally.

[0108] Thus, the relay adhesion detection circuit 100 provided by the present application can accurately detect the adhesion of the second relay 302 without manual intervention, making the adhesion detection process simple and easy to implement, thereby improving the adhesion detection efficiency. At the same time, the relay adhesion detection circuit 100 provided by the present application does not use expensive devices (such as isolation operational amplifiers, etc.), thereby reducing the detection cost.

[0109] In one embodiment, the control module 110 is also used to determine that the first relay 301 is stuck and the second relay 302 is stuck when the first relay 301 is disconnected and the second relay 302 is disconnected in the control relay module 300, if the duty cycle relationship between the first pulse width modulation signal and the second pulse width modulation signal is the same as the preset positive slope duty cycle relationship.

[0110] In this embodiment, when the first relay 301 is disconnected and the second relay 302 is disconnected in the control relay module 300, the relay module 300 is disconnected, and the inverter power module 200 cannot supply power to the external load 400. However, if the first relay 301 is adhered and the second relay 302 is adhered, the first relay 301 will be closed and the second relay 302 will be closed, so that the relay module 300 is turned on, and the inverter power module 200 supplies power to the external load 400. Therefore, when the first relay 301 is disconnected and the second relay 302 is disconnected, if the duty cycle relationship between the first pulse width modulation signal and the second pulse width modulation signal is the same as the preset positive slope duty cycle relationship and the preset duty cycle relationship, the first sampling voltage signal and the second sampling voltage signal are the same. The first sampling voltage signal and the second sampling voltage signal are the same, indicating that the inverter power module 200 supplies power to the external load 400, the first relay 301 is adhered, and the second relay 302 is adhered.

[0111] Thus, the relay adhesion detection circuit 100 provided by the present application can accurately detect the adhesion of the first relay 301 and the second relay 302 without manual participation, making the adhesion detection process simple and easy to implement, and improving the adhesion detection efficiency. At the same time, the relay adhesion detection circuit 100 provided by the present application does not use expensive devices (such as isolation operational amplifiers, etc.), which reduces the detection cost.

[0112] The present application provides a relay adhesion detection method, comprising:

[0113] Step S10, the comparison module 20 obtains a first sampled voltage signal and a first triangular wave signal respectively; wherein the first sampled voltage signal is a voltage signal of a connection terminal between the inverter power module 200 and the relay module 300 in the vehicle;

[0114] Step S20, the comparison module 20 sends a first pulse width modulation signal to the control module 110 according to the first sampled voltage signal and the first triangular wave signal;

[0115] Step S30, the comparison module 20 obtains a second sampled voltage signal and a second triangular wave signal respectively; wherein the second sampled voltage signal is a voltage signal of a connection terminal between the relay module 300 and the external load 400; the first triangular wave signal and the second triangular wave signal have a preset positive slope duty cycle relationship;

[0116] Step S40, the comparison module 20 further sends a second pulse width modulation signal to the control module 110 according to the second sampled voltage signal and the second triangular wave signal;

[0117] Step S50 , when the relay module 300 is disconnected, the control module 110 determines the adhesion information of the relay module 300 according to the duty cycle relationship between the first pulse width modulation signal and the second pulse width modulation signal and the preset positive slope duty cycle relationship.

[0118] In this embodiment, the relevant descriptions of step S10, step S20, step S30, step S40 and step S50 may refer to the relevant descriptions in the above embodiments.

[0119] By the relay adhesion detection method provided by the present application, the first triangular wave signal, the first sampled voltage signal, the first pulse width modulation signal, the second triangular wave signal, the second sampled voltage signal and the second pulse width modulation signal are processed, and it is possible to accurately know whether the relay module 300 is adhered, without manual participation, so that the adhesion detection process is simple and easy to implement. By the relay adhesion detection method provided by the present application, the automatic detection of relay adhesion can be realized, and the adhesion detection efficiency is improved.

[0120] In the relay adhesion detection method provided by the present application, the control module 110 and the comparison module 20 can use relatively cheap devices, so that the detection cost of the relay adhesion detection method is low. Compared with the traditional technology, the relay adhesion detection method provided by the present application has high adhesion detection efficiency and low detection cost, and can be widely used in actual products.

[0121] The present application provides a vehicle, comprising at least one relay sticking detection circuit 100 in any one of the above-mentioned embodiments.

[0122] In this embodiment, the vehicle includes a discharge function from the inverter power module 200 in the vehicle to the external load 400, and thus needs to perform adhesion detection on the relay modules 300 corresponding to the inverter power modules 200 to the external load 400. Thus, the relay module 300 is subjected to adhesion detection by at least one relay adhesion detection circuit 100, and no expensive devices (such as isolation operational amplifiers, etc.) are used, so that the detection cost is reduced, which has a good cost advantage.

[0123] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In actual applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated in one processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit, and the above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application.

[0124] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0125] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0126] In the embodiments provided in the present application, the division of modules or units described above is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0127] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0128] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0129] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. The computer program includes computer program code, which can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.

[0130] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A relay adhesion detection circuit, characterized in that: include: A control module (110); and a comparison module (20), wherein an output end of the comparison module (20) is connected to the control module (110), and the comparison module (20) is used to output a first pulse width modulation signal according to a first sampled voltage signal and a first triangular wave signal, and is used to output a second pulse width modulation signal according to a second sampled voltage signal and a second triangular wave signal; wherein the first sampled voltage signal is a voltage signal of a connection end between an inverter power module (200) and a relay module (300) in a vehicle; the second sampled voltage signal is a voltage signal of a connection end between the relay module (300) and an external load (400), and the first triangular wave signal and the second triangular wave signal have a preset positive slope duty cycle relationship; The control module (110) is used to determine the adhesion information of the relay module (300) according to the duty cycle relationship between the first pulse width modulation signal and the second pulse width modulation signal and the preset positive slope duty cycle relationship when the relay module (300) is disconnected.

2. The relay adhesion detection circuit according to claim 1, characterized in that: The comparison module (20) comprises: a first comparison module (210), wherein a first input end of the first comparison module (210) is used to obtain the first sampled voltage signal, a second input end of the first comparison module (210) is used to obtain the first triangular wave signal, and the first comparison module (210) is used to output the first pulse width modulation signal according to the first sampled voltage signal and the first triangular wave signal; a second comparison module (220), wherein a first input terminal of the second comparison module (220) is used to obtain the second sampled voltage signal, a second input terminal of the second comparison module (220) is used to obtain the second triangular wave signal, and the second comparison module (220) is used to output the second pulse width modulation signal according to the second sampled voltage signal and the second triangular wave signal; The control module (110) is connected to an output end of the first comparison module (210) and an output end of the second comparison module (220) and is used to obtain the first pulse width modulation signal and the second pulse width modulation signal.

3. The relay adhesion detection circuit according to claim 1, characterized in that: The relay adhesion detection circuit also includes: The control module (110) is further used to generate a first square wave signal and a second square wave signal having a preset duty cycle relationship, wherein the preset duty cycle relationship is the same as the preset positive slope duty cycle relationship; A first signal generating module (120) connected to the control module (110) and the comparison module (20), the first signal generating module (120) being used to generate the first triangular wave signal according to the first square wave signal, and send the first triangular wave signal to the comparison module (20); A second signal generating module (130) is connected to the control module (110) and the second input end of the comparison module (20), and the second signal generating module (130) is used to generate the second triangular wave signal according to the second square wave signal, and send the second triangular wave signal to the comparison module (20).

4. The relay adhesion detection circuit according to claim 3, characterized in that: The relay adhesion detection circuit also includes: A first digital isolation module (140), connected to the control module (110) and the first signal generating module (120), and used for isolating the first square wave signal and transmitting it to the first signal generating module (120); The first digital isolation module (140) is connected to the output end of the comparison module (20) and the control module (110), and is used to isolate and transmit the first pulse width modulation signal to the control module (110); A second digital isolation module (150), connected to the control module (110) and the second signal generating module (130), and used for isolating the second square wave signal and transmitting it to the second signal generating module (130); The second digital isolation module (150) is connected to the output end of the comparison module (20) and the control module (110), and is used to isolate and transmit the second pulse width modulation signal to the control module (110).

5. The relay adhesion detection circuit according to claim 1, characterized in that: The relay module (300) comprises a first relay (301) and a second relay (302), wherein the live wire connection end of the inverter power module (200) is connected to the first contact connection end of the first relay (301), and the second contact connection end of the first relay (301) is connected to one end of the external load (400); the neutral wire connection end of the inverter power module (200) is connected to the first contact connection end of the second relay (302), and the second contact connection end of the second relay (302) is connected to the other end of the external load (400); The control module (110) is connected to the output end of the comparison module (20) and is used to determine the adhesion information of the first relay (301) and / or the second relay (302) according to the duty cycle relationship between the first pulse width modulation signal and the second pulse width modulation signal and the preset positive slope duty cycle relationship when the first relay (301) and / or the second relay (302) are disconnected.

6. The relay adhesion detection circuit according to claim 5, characterized in that: The control module (110) is used to determine that the relay in the disconnected state of the first relay (301) and the second relay (302) is stuck if the duty cycle relationship between the first pulse width modulation signal and the second pulse width modulation signal is the same as the preset positive slope duty cycle relationship when either the first relay (301) or the second relay (302) is disconnected and the other is closed.

7. The relay adhesion detection circuit according to claim 6, characterized in that: The control module (110) is also used to determine that the relay in the disconnected state of the first relay (301) and the second relay (302) is not stuck if the second pulse width modulation signal is zero when either the first relay (301) or the second relay (302) is disconnected and the other is closed.

8. The relay adhesion detection circuit according to claim 5, characterized in that: The control module (110) is also used to determine that the first relay (301) is stuck and the second relay (302) is stuck if the duty cycle relationship between the first pulse width modulation signal and the second pulse width modulation signal is the same as the preset positive slope duty cycle relationship when the first relay (301) is disconnected and the second relay (302) is disconnected.

9. The relay adhesion detection circuit according to any one of claims 1 to 8, characterized in that: The relay adhesion detection circuit also includes: A first voltage detection module (40) connected to the connection ends of the inverter power module (200) and the relay module (300), and used for acquiring the first sampled voltage signal; The first voltage detection module (40) is connected to the comparison module (20) and is used to send the first sampled voltage signal to the comparison module (20); A second voltage detection module (50) connected to a connection terminal between the relay module (300) and the external load (400), and used for acquiring the second sampled voltage signal; The second voltage detection module (50) is connected to the comparison module (20) and is used to send the second sampled voltage signal to the comparison module (20).

10. A relay adhesion detection method, characterized in that: include: The comparison module (20) respectively obtains a first sampled voltage signal and a first triangular wave signal; wherein the first sampled voltage signal is a voltage signal of a connection end of an inverter power module (200) and a relay module (300) in a vehicle; The comparison module (20) sends a first pulse width modulation signal to the control module (110) according to the first sampled voltage signal and the first triangular wave signal; The comparison module (20) respectively obtains a second sampled voltage signal and a second triangular wave signal; wherein the second sampled voltage signal is a voltage signal of a connection end between the relay module (300) and an external load (400); and the first triangular wave signal and the second triangular wave signal have a preset positive slope duty cycle relationship; The comparison module (20) also sends a second pulse width modulation signal to the control module (110) according to the second sampled voltage signal and the second triangular wave signal; When the relay module (300) is disconnected, the control module (110) determines the adhesion information of the relay module (300) based on the duty cycle relationship between the first pulse width modulation signal and the second pulse width modulation signal and the preset positive slope duty cycle relationship.

11. A vehicle, characterized in that: The invention comprises at least one relay sticking detection circuit as claimed in any one of claims 1 to 10.