Posture detection circuit of charging gun, charging gun and control method thereof

By integrating an attitude detection circuit into the charging gun and using a three-axis gyroscope chip to monitor the position of the charging gun in real time, the problems of whether the charging gun is attached to the charging pile and whether it has fallen are solved, thus improving the safety and service life of the charging gun.

CN116461358BActive Publication Date: 2025-12-23PHOENIX CONTACT (NANJING) NEW ENERGY VEHICLE TECH CO LTD +1
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202310232322.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-10
Publication Date
2025-12-23
Estimated Expiration
2043-03-10

AI Technical Summary

Technical Problem

The existing charging gun cannot determine whether it is still attached to the charging station after charging, and cannot detect drops, which indicates improper use.

Method used

An attitude detection circuit, including a detection module and a control module, is adopted. The three-axis gyroscope chip integrated in the charging gun acquires position information in real time, generates a real-time position signal, and compares it with the pre-stored reference position signal to determine the state of the charging gun, including charging, unexpected position, and drop.

Benefits of technology

It enables real-time monitoring of the charging gun's status, determining the number of charging cycles, whether it is mounted on the charging station, and whether it has been dropped, thus improving the charging gun's safety and lifespan.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116461358B_ABST
    Figure CN116461358B_ABST
Patent Text Reader

Abstract

The application discloses a posture detection circuit of a charging gun, the charging gun and a control method thereof, and relates to the technical field of charging guns. The posture detection circuit of the charging gun comprises a detection module and a control module, the detection module is integrated in the charging gun, the detection module is electrically connected with the control module, the control module is used for storing a reference position signal output by the detection module in advance when the charging gun is placed on a charging pile, and the detection module is used for generating a real-time position signal according to the position of the charging gun. The reference position signal and the real-time position signal comprise coordinates under a horizontal axis, a vertical axis and a vertical axis. The embodiment can monitor the state of the charging gun through the real-time position signal and the reference position signal output by the detection module in real time, can determine the charging frequency of the charging gun, can determine whether the charging gun is placed on the charging pile in a non-charging stage and whether the charging gun falls to the ground, and further provides guarantee for the safety of the charging gun.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of automobile charging, in particular to a posture detection circuit of a charging gun, the charging gun and a control method thereof. BACKGROUND

[0002] At present, energy saving and emission reduction has become the consensus of all sectors of society, and new energy vehicles such as electric vehicles have been vigorously promoted. Electric vehicles use power batteries to provide power, and when the power of the power battery is insufficient, the power battery needs to be charged by using a charging pile.

[0003] In the process of charging the power battery by using the charging pile, the charging pile is connected with the electric vehicle through the charging gun. The reasonable use of the charging gun has a great influence on its service life, and the existing charging gun cannot determine whether it is hung on the charging pile after charging, cannot know the falling condition of the charging gun, and cannot know other unreasonable use conditions. SUMMARY

[0004] The present application provides a posture detection circuit of a charging gun, the charging gun and a control method thereof, to realize the state monitoring of the charging gun.

[0005] According to an aspect of the present application, a posture detection circuit of a charging gun is provided, comprising: a detection module and a control module, the detection module is integrated in the charging gun, the charging gun is connected with the charging pile, the displacement output end of the detection module is electrically connected with the control module, the control module is used to store in advance the reference position signal output by the detection module when the charging gun is placed on the charging pile, the detection module is used to generate a real-time position signal according to the position of the charging gun, and the reference position signal and the real-time position signal include coordinates under the horizontal axis, the vertical axis and the vertical axis;

[0006] The control module is used to determine that the charging gun is charging when the coordinates under any axis of the real-time position signal are the same as the coordinates under the corresponding axis of the reference position signal, is used to determine that the charging gun is in an unexpected position when the coordinates under each axis of the real-time position signal are all different from the coordinates under the corresponding axis of the reference position signal, and is used to determine that the charging gun is placed on the charging pile when the coordinates under each axis of the real-time position signal are all the same as the coordinates under the corresponding axis of the reference position signal.

[0007] Optionally, the detection module comprises at least one drop detection end, the control module comprises a collection end corresponding to the drop detection end one by one, at least one drop detection end is electrically connected with the corresponding collection end, the detection module is further used to generate a drop detection signal according to the drop state of the charging gun, and the control module is used to determine whether the charging gun has dropped according to the pulse width of the drop detection signal.

[0008] Optionally, the detection module comprises two drop detection ends, the two drop detection ends are electrically connected with the respective corresponding collection ends respectively, and the control module is configured to determine that the charging gun drops when the pulse widths output by the two drop detection ends are both greater than a threshold width.

[0009] Optionally, the detection module comprises an LIS3DHST chip.

[0010] Optionally, the posture detection circuit of the charging gun further comprises a voltage follower corresponding to each drop detection end, an input end of the voltage follower is electrically connected with the drop detection end, and an output end of the voltage follower is electrically connected with the collection end corresponding to the drop detection end connected with the voltage follower.

[0011] Optionally, the posture detection circuit of the charging gun further comprises a filter module and an embedding module corresponding to each drop detection end, a first end of the filter module is electrically connected with the output end of the voltage follower, a second end of the filter module is grounded, a first end of the embedding module is connected with a fixed power supply, a second end of the embedding module is electrically connected with the output end of the voltage follower and the collection end corresponding to the drop detection end connected with the voltage follower respectively, and a third end of the embedding module is grounded.

[0012] Optionally, the posture detection circuit of the charging gun further comprises a storage module, the storage module is electrically connected with the output end of the control module, and the control module is configured to determine the number of charging times of the charging gun and the number of times that the charging gun is in an unexpected position according to the real-time position signal and the reference position signal, and store the number of charging times and the number of times that the charging gun is in an unexpected position in the storage module.

[0013] Optionally, the communication mode between the detection module and the control module is SPI communication, and the communication mode between the storage module and the control module is SPI communication.

[0014] According to another aspect of the present application, a charging gun is provided, comprising the above posture detection circuit of the charging gun.

[0015] According to another aspect of the present application, a control method of a charging gun is provided, the charging gun comprising a posture detection circuit, the posture detection circuit of the charging gun comprising a detection module and a control module, the detection module being integrated in the charging gun, the charging gun being connected with a charging pile, and a displacement output end of the detection module being electrically connected with the control module.

[0016] The control method of the posture detection circuit of the charging gun comprises:

[0017] The control module stores in advance a reference position signal output by the detection module when the charging gun is placed on the charging pile, the detection module generates a real-time position signal according to the position of the charging gun, and the reference position signal and the real-time position signal include coordinates in the horizontal axis, the vertical axis and the vertical axis;

[0018] The control module determines that the charging gun is being charged when the coordinates of any axis of the real-time position signal are the same as the coordinates of the corresponding axis in the reference position signal, determines that the charging gun is in an unexpected position when the coordinates of each axis of the real-time position signal are all different from the coordinates of the corresponding axis in the reference position signal, and determines that the charging gun is placed on the charging pile when the coordinates of each axis of the real-time position signal are all the same as the coordinates of the corresponding axis in the reference position signal.

[0019] Optionally, the detection module includes at least one drop detection end, the control module includes a collection end corresponding to the drop detection end one by one, at least one drop detection end is electrically connected to the corresponding collection end, and the control method of the charging gun further includes:

[0020] The detection module generates a drop detection signal according to the drop state of the charging gun;

[0021] The control module determines whether the charging gun drops according to the pulse width of the drop detection signal.

[0022] The posture detection circuit of the charging gun provided by the embodiment of the application includes a detection module and a control module, the detection module is integrated in the charging gun, the charging gun is connected with a charging pile, a displacement output end of the detection module is electrically connected with the control module, the control module is used for storing in advance a reference position signal output by the detection module when the charging gun is placed on the charging pile, the detection module is used for generating a real-time position signal according to the position of the charging gun, the reference position signal and the real-time position signal include coordinates in the horizontal axis, the vertical axis and the vertical axis, the control module is used for determining that the charging gun is being charged when the coordinates of any axis of the real-time position signal are the same as the coordinates of the corresponding axis in the reference position signal, is used for determining that the charging gun is in an unexpected position when the coordinates of each axis of the real-time position signal are all different from the coordinates of the corresponding axis in the reference position signal, and is used for determining that the charging gun is placed on the charging pile when the coordinates of each axis of the real-time position signal are all the same as the coordinates of the corresponding axis in the reference position signal. The embodiment can monitor the state of the charging gun through the real-time position signal and the reference position signal output by the detection module in real time, can determine the charging times of the charging gun, can determine whether the charging gun is hung on the charging pile in the non-charging stage and whether the charging gun drops on the ground, and further provides guarantee for the safety of the charging gun.

[0023] It is to be understood that the embodiments described herein are merely exemplary of the application and that a person skilled in the art can devise other embodiments without departing from the scope of the present application. It is also to be understood that not all of the benefits described herein need necessarily be realized in any particular embodiment of the application and that various embodiments of the present application can be directed to one or more particular benefits or be directed to no benefits at all. It should also be understood that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting. BRIEF DESCRIPTION OF DRAWINGS

[0024] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings needed in the embodiments description. 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 any creative effort based on these drawings.

[0025] Figure 1 is a structural schematic diagram of a posture detection circuit of a charging gun provided by an embodiment of the present application;

[0026] Figure 2 is a structural schematic diagram of another posture detection circuit of a charging gun provided by an embodiment of the present application;

[0027] Figure 3 is a flow chart of a control method of a charging gun provided by an embodiment of the present application;

[0028] Figure 4 is a flow chart of another control method of a charging gun provided by an embodiment of the present application. DETAILED DESCRIPTION

[0029] In order to make the technical personnel in the art better understand the present application, the following will combine the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, not all. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without any creative effort should be within the scope of the present application.

[0030] It should be noted that the terms "first", "second", and the like in the specification and claims of the present application and the above-described drawings are used to distinguish similar objects, and do not necessarily indicate a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device including a series of steps or units does not necessarily limit to those steps or units clearly listed, but can include other steps or units not clearly listed or inherent to these processes, methods, products or devices.

[0031] Figure 1 A structure diagram of a posture detection circuit of a charging gun is provided for an embodiment of the present application, referring to Figure 1 The posture detection circuit of the charging gun comprises a detection module 1 and a control module 2. The detection module 1 is integrated in the charging gun, and the charging gun is connected with a charging pile. The displacement output end U0 of the detection module 1 is electrically connected with the control module 2. The control module 2 is used for storing in advance a reference position signal output by the detection module 1 when the charging gun is placed on the charging pile. The detection module 1 is used for generating a real-time position signal according to the position of the charging gun. The reference position signal and the real-time position signal comprise coordinates under the horizontal axis, the vertical axis and the vertical axis.

[0032] The control module 2 is used for determining that the charging gun is being charged when the coordinates under any axis of the real-time position signal are the same as the coordinates under the corresponding axis of the reference position signal. The control module 2 is also used for determining that the charging gun is in an unexpected position when the coordinates under each axis of the real-time position signal are all different from the coordinates under the corresponding axis of the reference position signal. The control module 2 is also used for determining that the charging gun is placed on the charging pile when the coordinates under each axis of the real-time position signal are all the same as the coordinates under the corresponding axis of the reference position signal.

[0033] The detection module 1 can comprise a chip integrated with a three-axis gyroscope, and can acquire the position information of the charging gun in real time, i.e. the real-time position signal. Each real-time position signal comprises coordinates under the horizontal axis X, the vertical axis Y and the vertical axis Z, i.e. each real-time position signal can be expressed as (X, Y, Z). When the charging gun is not used and is normally placed on the charging pile, the position information (X0, Y0, Z0) output by the detection module 1 can be regarded as the reference position signal and transmitted to the control module 2 for storage. The detection module 1 outputs the real-time position signal to the control module 2 in real time, and the control module 2 detects the state of the charging gun according to the reference position signal and the real-time position signal. The coordinates of the horizontal axis in the real-time position signal correspond to the coordinates of the horizontal axis in the reference position signal, the coordinates of the vertical axis in the real-time position signal correspond to the coordinates of the vertical axis in the reference position signal, and the coordinates of the vertical axis in the real-time position signal correspond to the coordinates of the vertical axis in the reference position signal.

[0034] The control module 2 is used for determining that the charging gun is being charged when the coordinates under any axis of the real-time position signal are the same as the coordinates under the corresponding axis of the reference position signal, i.e. one of the horizontal axis, the vertical axis or the vertical axis in the real-time position signal is within an error range and is the same as the coordinates under the corresponding axis in the reference position signal. For example, the error range is 5 cm, and the reference position signal is

[0035] (50cm, 50cm, 100cm), the real-time position signal output by the detection module 1 at a certain moment is (52cm, 100cm, 120cm), the coordinate of the horizontal axis in the real-time position signal is the same as the coordinate of the horizontal axis in the reference position signal within the error range, and the control module 2 determines that the charging gun is in the charging state. When the coordinate of each axis in the real-time position signal is different from the coordinate of the corresponding axis in the reference position signal, the control module 2 determines that the charging gun is in an unexpected position, that is, the horizontal axis in the real-time position signal is different from the coordinate of the horizontal axis in the reference position signal within the error range, the vertical axis in the real-time position signal is different from the coordinate of the vertical axis in the reference position signal within the error range, and the vertical axis in the real-time position signal is different from the coordinate of the vertical axis in the reference position signal within the error range, and the control module 2 determines that the charging gun is in an unexpected position, wherein the unexpected position is a position of the charging gun other than the charging gun being connected to the electric vehicle for charging or the charging gun being placed on the charging pile, such as the charging gun being on the ground. The control module 2 is further configured to determine that the charging gun is placed on the charging pile when the coordinate of each axis in the real-time position signal is the same as the coordinate of the corresponding axis in the reference position signal, that is, the horizontal axis in the real-time position signal is the same as the coordinate of the horizontal axis in the reference position signal within the error range, the vertical axis in the real-time position signal is the same as the coordinate of the vertical axis in the reference position signal within the error range, and the vertical axis in the real-time position signal is the same as the coordinate of the vertical axis in the reference position signal within the error range.

[0036] The embodiment can monitor the state of the charging gun through the real-time position signal and the reference position signal output by the detection module in real time, determine the number of charging times of the charging gun, and determine whether the charging gun is placed on the charging pile or falls to the ground in the non-charging stage, thereby providing a guarantee for the safety of the charging gun.

[0037] With reference to the foregoing Figure 1 Optionally, the detection module 1 comprises at least one falling detection end, and the control module 2 comprises a collection end K0 corresponding to each falling detection end. The at least one falling detection end is electrically connected to the corresponding collection end K0. The detection module 1 is further configured to generate a falling detection signal according to the falling state of the charging gun, and the control module 2 is configured to determine whether the charging gun falls according to the pulse width of the falling detection signal.

[0038] The detection module 1 is further integrated with an acceleration sensor to output a drop detection signal according to a drop process of the charging gun, and the pulse width of the drop detection signal is different when the drop distance of the charging gun is different. Optionally, the control module 2 can be an STM32F412RET6 chip. A drop distance threshold is set, that is, the drop distance threshold corresponds to the shortest distance of the charging gun when the charging gun drops, and when the charging gun is greater than or equal to the drop distance threshold, it is determined that the charging gun drops. Exemplarily, the drop distance threshold can be 10 cm. The drop distance of the charging gun corresponds to the pulse width of the drop detection signal output by the detection module 1, and the corresponding relationship is stored in the control module 2 in advance. The control module 2 can calculate the corresponding drop distance according to the pulse width of the drop detection signal, and further determine whether the charging gun drops.

[0039] Optionally, the detection module includes an LIS3DHST chip.

[0040] The LIS3DHST chip has the functions of a gyroscope and an acceleration sensor, can detect the position information of the charging gun, and output real-time position signals in real time, and can also detect the drop state of the charging gun to generate drop detection signals with different pulse widths according to the drop distance.

[0041] Figure 2 Another structure schematic diagram of the posture detection circuit of the charging gun provided by the embodiment of the present application is provided, and the reference Figure 2 Optionally, the detection module 1 includes two drop detection ends, and the two drop detection ends are respectively electrically connected with the respective collection ends KO. The control module 2 is used to determine that the charging gun drops when the pulse widths output by the two drop detection ends are both greater than a threshold width.

[0042] The detection module 1 includes two drop detection ends, which are referred to as a first drop detection end INT1 and a second drop detection end INT2 for convenience of description. If the detection module 1 includes only one drop detection end, the drop detection signal output by the detection module 1 can be wrong, resulting in a high false positive rate. Therefore, the detection module 1 is provided to include two drop detection ends, and the two drop detection signals output by the two drop detection ends are used to jointly determine whether the charging gun drops. Only when the pulse widths of the drop detection signals output by the first drop detection end INT1 and the second drop detection end INT2 are both greater than a threshold width, it is determined that the charging gun drops, thereby improving the accuracy of drop detection. The threshold width is the pulse width corresponding to the drop distance threshold.

[0043] Continuing to refer to Figure 2Optionally, the detection module 1 comprises a first power supply end VDD and a second power supply end VDDIO, both of which are electrically connected with a fixed power supply VI, wherein the fixed power supply VI can be a 3.3V power supply. The detection module 1 further comprises a reset end RES and two ground ends GN, both of which are grounded. The first power supply end VDD and the second power supply end VDDIO are electrically connected with a first end of a first capacitor C1, and a second end of the first capacitor C1 is electrically connected with the reset end RES and the two ground ends GN respectively. The detection module 1 further comprises a first data end ADC1, a second data end ADC2 and a third data end ADC3, all of which are grounded.

[0044] With reference to the foregoing Figure 2 Optionally, the attitude detection circuit of the charging gun further comprises a voltage follower IC1 corresponding to each drop detection end. An input end of the voltage follower IC1 is electrically connected with the drop detection end, and an output end of the voltage follower IC1 is electrically connected with a collection end K0 corresponding to the drop detection end connected with the voltage follower IC1.

[0045] The attitude detection circuit of the charging gun further comprises a first resistor R1 and a second resistor R2 corresponding to each drop detection end. An input end of each voltage follower IC1 is electrically connected with the drop detection end through a first resistor R1, and an output end of the first voltage follower IC1 is electrically connected with the collection end K0 through a second resistor R2. The voltage follower IC1 further comprises a power supply end and a ground end (not shown in the figure), wherein the power supply end is used for connecting with a fixed power supply, and the ground end is grounded. Optionally, the voltage follower IC1 further comprises a feedback end, and the feedback end of the voltage follower IC1 is electrically connected with the output end of the voltage follower IC1. The voltage output by the output end of the voltage follower IC1 is equal to the voltage input by the input end, and thus does not affect the transmission of the drop detection signal. The voltage follower IC1 is equivalent to an open circuit for the front-stage circuit (the detection module 1), and the output voltage is not affected by the impedance of the rear-stage (the control module 2), and thus has an isolation effect, so that the front-stage and the rear-stage circuits do not affect each other. Therefore, the voltage follower is used as an intermediate stage to “isolate” the influence between the front-stage and the rear-stage.

[0046] With reference to the foregoing Figure 2 Optionally, the attitude detection circuit of the charging gun further comprises a filter module 3 and an embedding module 4 corresponding to each drop detection end. A first end of the filter module 3 is electrically connected with the output end of the voltage follower IC1, a second end of the filter module 3 is grounded, a first end of the embedding module 4 is connected with the fixed power supply VI, a second end of the embedding module 4 is electrically connected with the output end of the voltage follower IC1 and the collection end K0 corresponding to the drop detection end connected with the voltage follower IC1 respectively, and a third end of the embedding module 4 is grounded.

[0047] It is worth noting that in the embodiment, the output end of each voltage follower IC1 is connected with the control module 2 through the second resistor R2, and thus the first end of the filter module 3 is electrically connected with the output end of the voltage follower IC1 through the second resistor R2, and the second end of the embedding module 4 is electrically connected with the output end of the voltage follower IC1 through the second resistor R2. The filter module 3 can include a filter capacitor CO, which filters the voltage output by the voltage follower IC1 and outputs the filtered voltage to the collection end K0 of the control module 2, so as to filter out the influence of interference signals and improve the accuracy of detection. The embedding module 4 includes a first diode D1 and a second diode D2, the first end of the first diode D1 serves as the first end of the embedding module 4, the second end of the first diode D1 is electrically connected with the first end of the second diode D2, the second end of the first diode D1 serves as the second end of the embedding module 4, and the second end of the second diode D2 serves as the third end of the embedding module 4. The embedding module 4 is used to embed the voltage output by the output end of the voltage follower IC1 within the voltage of the fixed power supply VI (ignoring the influence of the threshold voltage of the diode), and the voltage provided by the fixed power supply VI is 3.3V for example. When the voltage output by the voltage follower IC1 exceeds 3.3V, the first diode D1 is turned on, so that the voltage output to the collection end K0 of the control module 2 is embedded in 3.3V, thereby avoiding damage to the control module 2 caused by the voltage output by the voltage follower IC1 when the voltage fluctuates greatly, and improving the safety and reliability of the detection circuit.

[0048] With reference to the foregoing Figure 2 Optionally, the attitude detection circuit of the charging gun further includes a storage module 5, which is electrically connected with the output end of the control module 2. The control module 2 is configured to determine the number of times of charging and the number of times of being in an unexpected position of the charging gun according to the real-time position signal and the reference position signal, and store the number of times of charging and the number of times of being in an unexpected position in the storage module 5.

[0049] The control module 2 determines the state of the charging gun, i.e., whether the charging gun is in a charging state or a non-charging state and falls to the ground, according to the real-time position signal and the reference position signal, and records the number of times of charging and the number of times of being in an unexpected position and stores them in the storage module 5. The control module 2 can also store the determined number of times of falling and the falling distance of the charging gun in the storage module 5 to provide support for quality assurance and after-sales service.

[0050] With reference to the foregoing Figure 2 Optionally, the communication mode between the detection module 1 and the control module 2 is SPI communication, and the communication mode between the storage module 5 and the control module 2 is SPI communication.

[0051] When the communication mode between the detection module 1 and the control module 2 is SPI communication, the displacement output end of the detection module 1 includes four ports, namely, a first chip selection end MODE, a first clock end SPC, a first data input end SDI and a first data output end SDO, the four ports included in the displacement output end are electrically connected with different ports of the control module 2 respectively, and SPI communication is realized. The first chip selection end MODE is further electrically connected with the fixed power supply VI through the third resistor R3. The storage module 5 also includes four ports, namely, a second chip selection end CE, a second clock end SCK, a second data input end SI and a second data output end SO, and the four ports included in the output end of the control module 2 are electrically connected with the four ports one by one in a corresponding manner. The storage module 5 further includes a third power supply end VD, a fourth power supply end VSS, a holding end HOLD and a data transmission end WP, the third power supply end VD and the holding end HOLD are electrically connected with the fixed power supply VI, the fourth power supply end VSS is grounded GND, the second chip selection end CE is electrically connected with the data transmission end WP, and the second chip selection end CE is electrically connected with the fixed power supply VI through the fourth resistor R4.

[0052] The communication mode between the detection module 1 and the control module 2 is SPI communication, and the communication mode between the storage module 5 and the control module 2 is SPI communication, so that one control module 2 can be connected with multiple modules supporting the SPI communication mode, and the number of control modules 2 is saved. It should be noted that the detection module 1, the control module 2, the storage module 5 and the voltage follower IC1 in the above embodiment can be arranged in the charging gun.

[0053] The embodiment of the application further provides a charging gun, which includes the attitude detection circuit of the charging gun, and the charging gun has the same beneficial effects as the attitude detection circuit, and details are not repeated here.

[0054] The embodiment of the application further provides a control method of a charging gun, Figure 3 The flow chart of the control method of the charging gun is shown in FIG. 8. Figure 3 The attitude detection circuit of the charging gun includes a detection module and a control module, the detection module is integrated in the charging gun, the charging gun is connected with a charging pile, and the displacement output end of the detection module is electrically connected with the control module.

[0055] The control method of the charging gun includes:

[0056] S10: The control module stores a reference position signal output by the detection module in advance when the charging gun is placed on the charging pile, the detection module generates a real-time position signal according to the position of the charging gun, and the reference position signal and the real-time position signal include coordinates in the horizontal axis, the vertical axis and the vertical axis.

[0057] S20: The control module determines that the charging gun is being charged when the coordinates of any axis of the real-time position signal are the same as the coordinates of the corresponding axis in the reference position signal; determines that the charging gun is in an unexpected position when the coordinates of each axis of the real-time position signal are all different from the coordinates of the corresponding axis in the reference position signal; and determines that the charging gun is placed on the charging pile when the coordinates of each axis of the real-time position signal are all the same as the coordinates of the corresponding axis in the reference position signal.

[0058] The control method of the charging gun provided by the embodiment has the same beneficial effects as the attitude detection circuit of the charging gun, and will not be described here.

[0059] Figure 4 The flowchart of another control method of the charging gun provided by the embodiment is shown in FIG. 4. Figure 4 Optionally, the detection module comprises at least one drop detection end, and the control module comprises an acquisition end corresponding to each drop detection end, and the at least one drop detection end is electrically connected to the corresponding acquisition end. The control method of the charging gun comprises the following steps.

[0060] S101: The control module stores in advance a reference position signal output by the detection module when the charging gun is placed on the charging pile, and the detection module generates a real-time position signal according to the position of the charging gun. The reference position signal and the real-time position signal comprise coordinates on the horizontal axis, the vertical axis and the vertical axis.

[0061] S201: The control module determines that the charging gun is being charged when the coordinates of any axis of the real-time position signal are the same as the coordinates of the corresponding axis in the reference position signal; determines that the charging gun is in an unexpected position when the coordinates of each axis of the real-time position signal are all different from the coordinates of the corresponding axis in the reference position signal; and determines that the charging gun is placed on the charging pile when the coordinates of each axis of the real-time position signal are all the same as the coordinates of the corresponding axis in the reference position signal.

[0062] S301: The detection module generates a drop detection signal according to the drop state of the charging gun.

[0063] S401: The control module determines whether the charging gun has dropped according to the pulse width of the drop detection signal.

[0064] It should be understood that the steps can be reordered, added or deleted using the various forms of flowcharts shown above. For example, the steps described in the present application can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions of the present application can be achieved, and the present application does not limit this.

[0065] The above detailed description does not limit the scope of the application. Various modifications, combinations, sub-combinations and alternatives can be made to the detailed embodiment within the scope of the application. Any modification, equivalent replacement and improvement made without departing from the spirit and principle of the application shall fall within the scope of the application.

Claims

1. A posture detection circuit of a charging gun, characterized by, include: The system includes a detection module and a control module. The detection module is integrated into the charging gun, which is connected to the charging pile. The displacement output terminal of the detection module is electrically connected to the control module. The control module is used to store in advance the reference position signal output by the detection module when the charging gun is placed in the charging pile. The detection module is used to generate a real-time position signal based on the position of the charging gun. The reference position signal and the real-time position signal include coordinates on the horizontal axis, vertical axis, and vertical axis. The control module is configured to determine that the charging gun is charging when the coordinate of the real-time position signal on any axis is the same as the coordinate of the corresponding axis in the reference position signal; it is also configured to determine that the charging gun is in an unexpected position when the coordinate of the real-time position signal on each axis is different from the coordinate of the corresponding axis in the reference position signal; and it is also configured to determine that the charging gun is placed on the charging pile when the coordinate of the real-time position signal on each axis is the same as the coordinate of the corresponding axis in the reference position signal. The detection module includes at least one drop detection terminal, and the control module includes acquisition terminals corresponding to the drop detection terminals. At least one drop detection terminal is electrically connected to the corresponding acquisition terminal. The detection module is further configured to generate a drop detection signal based on the drop state of the charging gun, and the control module is configured to determine whether the charging gun has fallen based on the pulse width of the drop detection signal. The pulse width of the drop detection signal corresponds to the drop distance of the charging gun.

2. The attitude detection circuit of the charging gun according to claim 1, characterized by, The detection module includes two drop detection terminals, each electrically connected to its corresponding acquisition terminal. The control module determines that the charging gun has been dropped when the pulse width output by both drop detection terminals is greater than a threshold width.

3. The attitude detection circuit of the charging gun according to any one of claims 1-2, characterized in that, The detection module includes a LIS3DHST chip.

4. The attitude detection circuit of the charging gun according to claim 1 or 2, characterized by, It also includes a voltage follower corresponding to each drop detection terminal. The input terminal of the voltage follower is electrically connected to the drop detection terminal, and the output terminal of the voltage follower is electrically connected to the acquisition terminal corresponding to the drop detection terminal connected to the voltage follower.

5. The attitude detection circuit of the charging gun according to claim 4, characterized by, It also includes a filter module and a clamping module that correspond one-to-one with the drop detection terminal. The first terminal of the filter module is electrically connected to the output terminal of the voltage follower, the second terminal of the filter module is grounded, the first terminal of the clamping module is connected to a fixed power supply, the second terminal of the clamping module is electrically connected to the output terminal of the voltage follower and the acquisition terminal corresponding to the drop detection terminal connected to the voltage follower, and the third terminal of the clamping module is grounded.

6. The attitude detection circuit of the charging gun according to claim 5, characterized by, It also includes a storage module, which is electrically connected to the output of the control module. The control module is used to determine the number of times the charging gun is charged and the number of times the charging gun is in an unexpected position based on the real-time position signal and the reference position signal, and stores the number of charging times and the number of times the charging gun is in an unexpected position in the storage module.

7. The attitude detection circuit of the charging gun according to claim 6, characterized by, The communication mode between the detection module and the control module is SPI communication, and the communication mode between the storage module and the control module is SPI communication.

8. A charging gun, characterized in that The attitude detection circuit includes the charging gun of any one of claims 1-7.

9. A control method of a charging gun, characterized by, The charging gun includes an attitude detection circuit, and the attitude detection circuit of the charging gun includes a detection module and a control module. The control method of the charging gun includes: The control module stores in advance a reference position signal output by the detection module when the charging gun is placed on the charging pile, and the detection module generates a real-time position signal according to the position of the charging gun. The control module determines that the charging gun is being charged when the coordinates of the real-time position signal on any axis are the same as the coordinates of the corresponding axis in the reference position signal. The control module determines that the charging gun is in an unexpected position when the coordinates of the real-time position signal on each axis are all different from the coordinates of the corresponding axis in the reference position signal. The control module determines that the charging gun is placed on the charging pile when the coordinates of the real-time position signal on each axis are all the same as the coordinates of the corresponding axis in the reference position signal. The detection module includes at least one drop detection end, and the control module includes a collection end corresponding to each drop detection end. The detection module generates a drop detection signal according to the drop state of the charging gun. The control module determines whether the charging gun has dropped according to the pulse width of the drop detection signal. The pulse width of the drop detection signal corresponds to the drop distance of the charging gun.

Citation Information

Patent Citations

  • Electric automobile charging pile based on infrared positioning and magnetic principles and charging method of charging pile

    CN108248437A

  • Charging gun, charging socket and electric vehicle charging system

    CN113859000A

  • Charging gun reset detection system and method based on UWB TDOA positioning

    CN114660629A

  • Gun head detection device of direct-current charging pile and direct-current charging pile

    CN211856863U