[go: up one dir, main page]

CN110549879A - CP signal voltage detection method and device of electric vehicle alternating current charging system - Google Patents

CP signal voltage detection method and device of electric vehicle alternating current charging system Download PDF

Info

Publication number
CN110549879A
CN110549879A CN201910850708.9A CN201910850708A CN110549879A CN 110549879 A CN110549879 A CN 110549879A CN 201910850708 A CN201910850708 A CN 201910850708A CN 110549879 A CN110549879 A CN 110549879A
Authority
CN
China
Prior art keywords
level
signal voltage
charging system
electric vehicle
voltage value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910850708.9A
Other languages
Chinese (zh)
Inventor
王君龙
翟西斌
于治楼
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Inspur Artificial Intelligence Research Institute Co Ltd
Original Assignee
Shandong Inspur Artificial Intelligence Research Institute Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shandong Inspur Artificial Intelligence Research Institute Co Ltd filed Critical Shandong Inspur Artificial Intelligence Research Institute Co Ltd
Priority to CN201910850708.9A priority Critical patent/CN110549879A/en
Publication of CN110549879A publication Critical patent/CN110549879A/en
Pending legal-status Critical Current

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60LPROPULSION OF ELECTRICALLY-PROPELLED VEHICLES; SUPPLYING ELECTRIC POWER FOR AUXILIARY EQUIPMENT OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRODYNAMIC BRAKE SYSTEMS FOR VEHICLES IN GENERAL; MAGNETIC SUSPENSION OR LEVITATION FOR VEHICLES; MONITORING OPERATING VARIABLES OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRIC SAFETY DEVICES FOR ELECTRICALLY-PROPELLED VEHICLES
    • B60L53/00Methods of charging batteries, specially adapted for electric vehicles; Charging stations or on-board charging equipment therefor; Exchange of energy storage elements in electric vehicles
    • B60L53/10Methods of charging batteries, specially adapted for electric vehicles; Charging stations or on-board charging equipment therefor; Exchange of energy storage elements in electric vehicles characterised by the energy transfer between the charging station and the vehicle
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60LPROPULSION OF ELECTRICALLY-PROPELLED VEHICLES; SUPPLYING ELECTRIC POWER FOR AUXILIARY EQUIPMENT OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRODYNAMIC BRAKE SYSTEMS FOR VEHICLES IN GENERAL; MAGNETIC SUSPENSION OR LEVITATION FOR VEHICLES; MONITORING OPERATING VARIABLES OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRIC SAFETY DEVICES FOR ELECTRICALLY-PROPELLED VEHICLES
    • B60L53/00Methods of charging batteries, specially adapted for electric vehicles; Charging stations or on-board charging equipment therefor; Exchange of energy storage elements in electric vehicles
    • B60L53/10Methods of charging batteries, specially adapted for electric vehicles; Charging stations or on-board charging equipment therefor; Exchange of energy storage elements in electric vehicles characterised by the energy transfer between the charging station and the vehicle
    • B60L53/14Conductive energy transfer
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • G01R19/165Indicating that current or voltage is either above or below a predetermined value or within or outside a predetermined range of values
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/60Other road transportation technologies with climate change mitigation effect
    • Y02T10/70Energy storage systems for electromobility, e.g. batteries
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/60Other road transportation technologies with climate change mitigation effect
    • Y02T10/7072Electromobility specific charging systems or methods for batteries, ultracapacitors, supercapacitors or double-layer capacitors
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T90/00Enabling technologies or technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02T90/10Technologies relating to charging of electric vehicles
    • Y02T90/14Plug-in electric vehicles

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Transportation (AREA)
  • Mechanical Engineering (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The invention discloses a CP signal voltage detection method and device of an electric automobile alternating current charging system, and belongs to the technical field of electric automobile charging. The CP signal voltage detection method of the electric vehicle alternating current charging system comprises the following steps: s1, voltage comparison: the CP signal voltage value is compared with the set voltage value respectively, and high level or low level is output by comparing the voltage values of the CP signal voltage value and the set voltage value; s2, isolating output: the high level or the low level output by the step S1 is converted into a CMOS level signal by an opto-coupler and is input to pins of the MCU respectively; s3, sampling calculation: and reading the level state of the pin through the MCU, and inquiring to obtain the current voltage value. The CP signal voltage detection method of the alternating current charging system of the electric automobile is simple and easy to implement, wide in application scene, capable of improving the reliability of the control and guide function of the alternating current charging pile, capable of reducing the cost and good in popularization and application value.

Description

一种电动汽车交流充电系统的CP信号电压检测方法及装置A CP signal voltage detection method and device for an electric vehicle AC charging system

技术领域technical field

本发明涉及电动汽车充电技术领域,具体提供一种电动汽车交流充电系统的CP信号电压检测方法及装置。The invention relates to the technical field of electric vehicle charging, and specifically provides a method and device for detecting a CP signal voltage of an electric vehicle AC charging system.

背景技术Background technique

电动汽车充电技术分为直流充电和交流充电。交流充电桩在体积、成本和安装条件上相比直流充电桩有一定优势。Electric vehicle charging technology is divided into DC charging and AC charging. Compared with DC charging piles, AC charging piles have certain advantages in terms of volume, cost and installation conditions.

CP全称充电控制导引,用于监控充电桩与电动汽车之间的交互功能。根据CP信号产生和检测的位置,分为四种模式。目前充电桩广泛采用的是模式三,即充电桩提供产生并检测CP信号,识别并控制充电状态。CP stands for charging control guidance, which is used to monitor the interactive function between charging piles and electric vehicles. According to the location where the CP signal is generated and detected, it is divided into four modes. At present, charging piles are widely used in mode three, that is, charging piles provide generation and detection of CP signals, and identify and control charging status.

根据充电线缆与充电桩或电动汽车的连接状态,分为A/B/C三种连接方式,目前广泛采用的连接方式C,即充电线缆固定与充电桩相连,通过充电插头与电动汽车相连,该种连接方式下,需要充电桩通过CP信号判断充电插头的插入和拔出等状态。According to the connection status of the charging cable and the charging pile or electric vehicle, it is divided into three connection methods: A/B/C. Currently, the widely used connection method is C, that is, the charging cable is fixedly connected to the charging pile, and the charging plug is connected to the electric vehicle. In this connection mode, the charging pile needs to judge the status of the plug-in and pull-out of the charging plug through the CP signal.

CP信号分为DC输出和PWM输出2种状态,其中PWM周期为1khz。根据电压等级,共有3种状态12V,9V,6V。其中DC/PWM 12V,DC/PWM 9V,DC/PWM 6V,分别代表充电插头未插入电动汽车插座,充电插头已插入电动汽车插座,电动汽车就绪并请求交流电输出三种状态。充电桩需要识别以上CP信号电压状态来判断充电行为所处的状态。The CP signal is divided into two states: DC output and PWM output, and the PWM cycle is 1khz. According to the voltage level, there are 3 states 12V, 9V, 6V. Among them, DC/PWM 12V, DC/PWM 9V, and DC/PWM 6V represent three states: the charging plug is not inserted into the electric vehicle socket, the charging plug is inserted into the electric vehicle socket, and the electric vehicle is ready and requests AC output. The charging pile needs to identify the above CP signal voltage state to determine the state of the charging behavior.

当前CP信号电压检测通常采用模数转换方式。分为外置AD芯片和使用MCU内置AD两种方式。外置AD芯片存在隔离电路复杂、成本高等缺点,MCU内置AD存在精度差、抗干扰能力弱等缺点。Currently, the detection of the CP signal voltage usually adopts an analog-to-digital conversion method. Divided into two ways: external AD chip and using MCU built-in AD. The external AD chip has disadvantages such as complex isolation circuit and high cost, and the MCU built-in AD has disadvantages such as poor precision and weak anti-interference ability.

发明内容Contents of the invention

本发明的技术任务是针对上述存在的问题,提供一种简单易实现、应用场景广泛,同时能提高交流充电桩控制引导功能可靠性,同时降低成本的电动汽车交流充电系统的CP信号电压检测方法。The technical task of the present invention is to address the above existing problems, to provide a CP signal voltage detection method for an electric vehicle AC charging system that is simple and easy to implement, has a wide range of application scenarios, can improve the reliability of the control and guidance function of the AC charging pile, and can reduce costs at the same time .

本发明进一步的技术任务是提供一种电动汽车交流充电系统的CP信号电压检测装置。The further technical task of the present invention is to provide a CP signal voltage detection device for an electric vehicle AC charging system.

为实现上述目的,本发明提供了如下技术方案:To achieve the above object, the present invention provides the following technical solutions:

一种电动汽车交流充电系统的CP信号电压检测方法,具体包括以下步骤:A method for detecting the CP signal voltage of an electric vehicle AC charging system, specifically comprising the following steps:

S1、电压比较:CP信号电压值分别与设定电压值作比较,通过比较两者电压值的大小输出高电平或低电平;S1. Voltage comparison: the CP signal voltage value is compared with the set voltage value respectively, and the high level or low level is output by comparing the voltage values of the two;

S2、隔离输出:步骤S1输出的高电平或低电平经过光耦转换为CMOS电平信号,并分别输入MCU的引脚;S2. Isolated output: the high level or low level output in step S1 is converted into a CMOS level signal by an optocoupler, and input to the pins of the MCU respectively;

S3、采样计算:通过MCU读取引脚电平状态,查询得到当前电压值。S3. Sampling calculation: read the pin level status through the MCU, and query to obtain the current voltage value.

作为优选,步骤S1中,设定电压值为+2.5V、+6.5V、+10V,CP信号电压值大于上述定电压值+2.5V、+6.5V、+10V时,输出高电平+15V,否则输出低电平0V,得到三个电平值。Preferably, in step S1, the set voltage value is +2.5V, +6.5V, +10V, and when the CP signal voltage value is greater than the above-mentioned constant voltage value +2.5V, +6.5V, +10V, output a high level +15V , otherwise output low level 0V, get three level values.

作为优选,所述三个电平值经过光耦转换为三个CMOS电平信号,三个CMOS电平信号输入MCU的三个引脚。Preferably, the three level values are converted into three CMOS level signals through an optocoupler, and the three CMOS level signals are input into three pins of the MCU.

作为优选,步骤S3中采样计算包括:1)配置MCU的三个引脚状态为输入状态;2)定时读取三个引脚输入电平状态;3)过滤无效电平状态;4)根据电平值组合判断CP信号电压值。As preferably, the sampling calculation in the step S3 includes: 1) three pin states of the configuration MCU are input states; 2) regularly read the input level states of the three pins; 3) filter the invalid level state; The average value combination judges the CP signal voltage value.

作为优选,定时读取三个引脚输入电平状态时,当引脚电平为高时记为1,当引脚电平为低时,记为0。Preferably, when reading the input level states of the three pins regularly, when the pin level is high, it is recorded as 1, and when the pin level is low, it is recorded as 0.

作为优选,所述过滤无效电平状态为MCU以一定频率连续读取三个引脚电平,若三个引脚电平均为低时,为无效电平,则过滤无效电平。Preferably, the state of filtering the invalid level is that the MCU continuously reads the levels of three pins at a certain frequency, and if the levels of the three pins are all low, it is an invalid level, then the invalid level is filtered.

作为优选,过滤无效电平时,每隔500us读取三个引脚电平。Preferably, when filtering invalid levels, three pin levels are read every 500us.

一种电动汽车交流充电系统的CP信号电压检测装置,该装置包括以下模块:A CP signal voltage detection device of an electric vehicle AC charging system, the device includes the following modules:

电压比较模块:负责比较CP信号电压值与设定电压值,通过比较两者电压值的大小输出高电平或低电平;Voltage comparison module: responsible for comparing the CP signal voltage value with the set voltage value, and output high level or low level by comparing the voltage values of the two;

隔离输出模块:负责将经过电压比较模块输出的高电平或低电平转换为CMOS电平信号,并分别输入采样计算模块的引脚;Isolated output module: responsible for converting the high level or low level output by the voltage comparison module into a CMOS level signal, and inputting the pins of the sampling calculation module respectively;

采样计算模块:负责通过读取引脚电平状态,查询得到当前电压值。Sampling calculation module: responsible for querying the current voltage value by reading the pin level status.

作为优选,所述电压比较模块为三个比较器,设定电压值为+2.5V、+6.5V、+10V,经过三个比较器分别比较,CP信号电压值大于上述定电压值+2.5V、+6.5V、+10V时,输出高电平+15V,否则输出低电平0V,得到三个电平值。Preferably, the voltage comparison module is three comparators, and the set voltage values are +2.5V, +6.5V, +10V. After comparison by the three comparators, the voltage value of the CP signal is greater than the above constant voltage value +2.5V , +6.5V, +10V, output high level +15V, otherwise output low level 0V, get three level values.

作为优选,所述隔离输出模块为三个光耦,采样计算模块为MCU,所述三个电平值经过光耦转换为三个CMOS电平信号,三个CMOS电平信号输入MCU的三个引脚。Preferably, the isolated output module is three optocouplers, the sampling calculation module is an MCU, the three level values are converted into three CMOS level signals through the optocoupler, and the three CMOS level signals are input to the three pin.

其中,MCU采样计算过程包括:Among them, the MCU sampling calculation process includes:

1)配置MCU的三个引脚状态为输入状态;1) Configure the three pin states of the MCU as input states;

2)定时读取三个引脚输入电平状态,定时读取三个引脚输入电平状态时,当引脚电平为高时记为1,当引脚电平为低时,记为0;2) Regularly read the input level status of the three pins. When reading the input level status of the three pins regularly, when the pin level is high, it is recorded as 1, and when the pin level is low, it is recorded as 0;

3)过滤无效电平状态,MCU每隔500us连续读取三个引脚电平,若三个引脚电平均为低时,为无效电平,则过滤无效电平;3) To filter the invalid level state, the MCU continuously reads the levels of three pins every 500us, if the levels of the three pins are all low, it is an invalid level, then filter the invalid level;

4)根据电平值组合判断CP信号电压值。4) Judging the CP signal voltage value according to the level value combination.

与现有技术相比,本发明的电动汽车交流充电系统的CP信号电压检测方法具有以下突出的有益效果:所述电动汽车交流充电系统的CP信号电压检测方法简单易实现,能提高交流充电桩控制引导功能可靠性,同时降低成本,应用场景广泛,具有良好的推广应用价值。Compared with the prior art, the CP signal voltage detection method of the electric vehicle AC charging system of the present invention has the following outstanding beneficial effects: the CP signal voltage detection method of the electric vehicle AC charging system is simple and easy to implement, and can improve the efficiency of the AC charging pile. Controlling the reliability of the guidance function while reducing costs, it has a wide range of application scenarios and has good promotion and application value.

附图说明Description of drawings

图1是本发明所述电动汽车交流充电系统的CP信号电压检测方法的流程图;Fig. 1 is the flowchart of the CP signal voltage detection method of the electric vehicle AC charging system of the present invention;

图2是本发明所述电动汽车交流充电系统的CP信号电压检测装置的拓扑图。Fig. 2 is a topological diagram of the CP signal voltage detection device of the electric vehicle AC charging system according to the present invention.

具体实施方式Detailed ways

下面将结合附图和实施例,对本发明的电动汽车交流充电系统的CP信号电压检测方法及装置作进一步详细说明。The method and device for detecting the CP signal voltage of the electric vehicle AC charging system of the present invention will be further described in detail below in conjunction with the drawings and embodiments.

实施例Example

本发明的电动汽车交流充电系统的CP信号电压检测方法,包括以下步骤:The CP signal voltage detection method of the electric vehicle AC charging system of the present invention comprises the following steps:

S1、电压比较:CP信号电压值分别与设定电压值作比较,通过比较两者电压值的大小输出高电平或低电平。S1. Voltage comparison: The voltage value of the CP signal is compared with the set voltage value, and a high level or a low level is output by comparing the voltage values of the two.

设定电压值为+2.5V、+6.5V、+10V,CP信号电压值大于上述定电压值+2.5V、+6.5V、+10V时,输出高电平+15V,否则输出低电平0V,得到三个电平值。The set voltage value is +2.5V, +6.5V, +10V, when the CP signal voltage value is greater than the above constant voltage value +2.5V, +6.5V, +10V, output high level +15V, otherwise output low level 0V , to get three level values.

S2、隔离输出:步骤S1输出的高电平或低电平经过光耦转换为CMOS电平信号,并分别输入MCU的引脚。S2. Isolated output: the high level or low level output in step S1 is converted into a CMOS level signal by an optocoupler, and input to the pins of the MCU respectively.

三个电平值经过光耦转换为三个CMOS电平信号,三个CMOS电平信号输入MCU的三个引脚。The three level values are converted into three CMOS level signals by optocouplers, and the three CMOS level signals are input to three pins of the MCU.

S3、采样计算:通过MCU读取引脚电平状态,查询得到当前电压值。S3. Sampling calculation: read the pin level status through the MCU, and query to obtain the current voltage value.

采样计算包括:Sampling calculations include:

1)配置MCU的三个引脚状态为输入状态。1) Configure the three pin states of the MCU as input states.

2)定时读取三个引脚输入电平状态,当引脚电平为高时记为1,当引脚电平为低时,记为0,由此得到3位二进制数。例如,CP信号电压值为DC9V时,与+10V比较后输出为0V,与+6.5V比较后输出为+15V,与+2.5V比较后输出为+15V,经过光耦隔离输出后,分别为0V、+3.3V、+3.3V,MCU读取引脚值为011。同理,CP电压为PWM9V时,CP信号电压在9V和0V之间变换,MCU读取的引脚电平值为011或000。2) Read the input level status of the three pins at regular intervals. When the pin level is high, it is recorded as 1, and when the pin level is low, it is recorded as 0, thus obtaining a 3-bit binary number. For example, when the CP signal voltage value is DC9V, the output is 0V after comparison with +10V, the output is +15V after comparison with +6.5V, and the output is +15V after comparison with +2.5V. After the optocoupler isolation output, respectively 0V, +3.3V, +3.3V, the MCU reads the pin value as 011. Similarly, when the CP voltage is PWM9V, the CP signal voltage changes between 9V and 0V, and the pin level value read by the MCU is 011 or 000.

3)过滤无效电平状态。MCU每隔500us连续读取三个引脚电平,若三个引脚电平均为低时,即其中有000值,为无效电平,则过滤无效电平。3) Filter invalid level status. The MCU continuously reads the levels of three pins every 500us. If the levels of the three pins are all low, that is, there is a value of 000, which is an invalid level, the invalid level is filtered.

4)根据电平值组合判断CP信号电压值。4) Judging the CP signal voltage value according to the level value combination.

如图1、如图2所示,具体的过程如下:As shown in Figure 1 and Figure 2, the specific process is as follows:

1、CP信号电压值分别输入比较器1、比较器2、比较器3,分别与+2.5V、+6.5V、+10V电压比较,大于该电压时,输出高电平+15V,小于该电压时,输出低电平0V。1. The CP signal voltage value is input into comparator 1, comparator 2, and comparator 3 respectively, and compared with +2.5V, +6.5V, +10V voltage respectively. When it is greater than this voltage, it will output a high level +15V, which is less than this voltage. , output low level 0V.

2、三个电平值经过光耦1、光耦2、光耦3,+15V转换为+3.3V,0V不变,2. The three level values are converted to +3.3V by optocoupler 1, optocoupler 2 and optocoupler 3, and 0V remains unchanged.

3、MCU读取该3个引脚电平高低状态,+3.3V读取结果为1,0V读取结果为0,按照+10V,+6.5V,+2.5V比较结果的顺序,得到当前电压代码值组合:000、011、001、111。3. The MCU reads the level status of the three pins. The reading result of +3.3V is 1, and the reading result of 0V is 0. According to the sequence of comparison results of +10V, +6.5V, +2.5V, the current voltage is obtained Code value combinations: 000, 011, 001, 111.

4、配置MCU的三个引脚为输入状态。4. Configure the three pins of the MCU as input state.

5、每隔500us读取三个引脚输入电平状态,得到电压代码值。5. Read the input level status of the three pins every 500us to get the voltage code value.

6、代码值为000,则丢弃。6. If the code value is 000, discard it.

7、根据有效电压值代码,查表获得当前CP信号电压值,从而判断出充电状态,如表1所示。7. According to the effective voltage value code, look up the table to obtain the current CP signal voltage value, thereby judging the charging state, as shown in Table 1.

表1引脚电平值与CP信号电压值对应关Table 1 Correspondence between pin level value and CP signal voltage value

电平值组合level combination CP信号电压CP signal voltage 充电状态charging 001001 +6V+6V 充电枪已插入,正在充电The charging cable is plugged in and charging 011011 +9V+9V 充电枪已插入,未开始充电The charging cable has been plugged in, but charging has not started 111111 +12V+12V 充电枪未插入The charging cable is not plugged in

8、其他进程调用CP信号电压值,用于判断充电状态。8. Other processes call the CP signal voltage value to judge the charging status.

如图2所示,本发明的电动汽车交流充电系统的CP信号电压检测装置,该装置包括以下模块:As shown in Figure 2, the CP signal voltage detection device of the electric vehicle AC charging system of the present invention, the device includes the following modules:

电压比较模块:负责比较CP信号电压值与设定电压值,通过比较两者电压值的大小输出高电平或低电平。Voltage comparison module: responsible for comparing the CP signal voltage value with the set voltage value, and output high level or low level by comparing the voltage values of the two.

电压比较模块为三个比较器,设定电压值为+2.5V、+6.5V、+10V,经过三个比较器分别比较,CP信号电压值大于上述定电压值+2.5V、+6.5V、+10V时,输出高电平+15V,否则输出低电平0V,得到三个电平值。The voltage comparison module is three comparators, and the set voltage values are +2.5V, +6.5V, +10V. After comparison by the three comparators, the voltage value of the CP signal is greater than the above constant voltage values +2.5V, +6.5V, When +10V, output high level +15V, otherwise output low level 0V, get three level values.

隔离输出模块:负责将经过电压比较模块输出的高电平或低电平转换为CMOS电平信号,并分别输入采样计算模块的引脚。Isolated output module: responsible for converting the high level or low level output by the voltage comparison module into CMOS level signals, and inputting them into the pins of the sampling calculation module respectively.

隔离输出模块为三个光耦,采样计算模块为MCU,所述三个电平值经过光耦转换为三个CMOS电平信号,三个CMOS电平信号输入MCU的三个引脚The isolated output module is three optocouplers, and the sampling calculation module is an MCU. The three level values are converted into three CMOS level signals by the optocoupler, and the three CMOS level signals are input to three pins of the MCU.

采样计算模块:负责通过读取引脚电平状态,查询得到当前电压值。Sampling calculation module: responsible for querying the current voltage value by reading the pin level status.

MCU采样计算过程包括:The MCU sampling calculation process includes:

1)配置MCU的三个引脚状态为输入状态;1) Configure the three pin states of the MCU as input states;

2)定时读取三个引脚输入电平状态,定时读取三个引脚输入电平状态时,当引脚电平为高时记为1,当引脚电平为低时,记为0;2) Regularly read the input level status of the three pins. When reading the input level status of the three pins regularly, when the pin level is high, it is recorded as 1, and when the pin level is low, it is recorded as 0;

3)过滤无效电平状态,MCU每隔500us连续读取三个引脚电平,若三个引脚电平均为低时,为无效电平,则过滤无效电平;3) To filter the invalid level state, the MCU continuously reads the levels of three pins every 500us, if the levels of the three pins are all low, it is an invalid level, then filter the invalid level;

4)根据电平值组合判断CP信号电压值。4) Judging the CP signal voltage value according to the level value combination.

以上所述的实施例,只是本发明较优选的具体实施方式,本领域的技术人员在本发明技术方案范围内进行的通常变化和替换都应包含在本发明的保护范围内。The above-described embodiments are only preferred specific implementations of the present invention, and ordinary changes and replacements performed by those skilled in the art within the scope of the technical solution of the present invention should be included in the protection scope of the present invention.

Claims (10)

1.一种电动汽车交流充电系统的CP信号电压检测方法,其特征在于:具体包括以下步骤:1. a CP signal voltage detection method of electric vehicle AC charging system, is characterized in that: specifically comprise the following steps: S1、电压比较:CP信号电压值分别与设定电压值作比较,通过比较两者电压值的大小输出高电平或低电平;S1. Voltage comparison: the CP signal voltage value is compared with the set voltage value respectively, and the high level or low level is output by comparing the voltage values of the two; S2、隔离输出:步骤S1输出的高电平或低电平经过光耦转换为CMOS电平信号,并分别输入MCU的引脚;S2. Isolated output: the high level or low level output in step S1 is converted into a CMOS level signal by an optocoupler, and input to the pins of the MCU respectively; S3、采样计算:通过MCU读取引脚电平状态,查询得到当前电压值。S3. Sampling calculation: read the pin level status through the MCU, and query to obtain the current voltage value. 2.根据权利要求1所述的电动汽车交流充电系统的CP信号电压检测方法,其特征在于:步骤S1中,设定电压值为+2.5V、+6.5V、+10V,CP信号电压值大于上述定电压值+2.5V、+6.5V、+10V时,输出高电平+15V,否则输出低电平0V,得到三个电平值。2. The CP signal voltage detection method of the electric vehicle AC charging system according to claim 1, characterized in that: in step S1, the set voltage value is +2.5V, +6.5V, +10V, and the CP signal voltage value is greater than When the above constant voltage values are +2.5V, +6.5V, +10V, output high level +15V, otherwise output low level 0V, and get three level values. 3.根据权利要求2所述的电动汽车交流充电系统的CP信号电压检测方法,其特征在于:所述三个电平值经过光耦转换为三个CMOS电平信号,三个CMOS电平信号输入MCU的三个引脚。3. The CP signal voltage detection method of the electric vehicle AC charging system according to claim 2, characterized in that: the three level values are converted into three CMOS level signals through optocouplers, and the three CMOS level signals Enter the three pins of the MCU. 4.根据权利要求3所述的电动汽车交流充电系统的CP信号电压检测方法,其特征在于:步骤S3中采样计算包括:1)配置MCU的三个引脚状态为输入状态;2)定时读取三个引脚输入电平状态;3)过滤无效电平状态;4)根据电平值组合判断CP信号电压值。4. The CP signal voltage detection method of the electric vehicle AC charging system according to claim 3 is characterized in that: sampling calculation comprises in the step S3: 1) three pin states of configuration MCU are input state; 2) regularly read Take the input level status of the three pins; 3) filter the invalid level status; 4) judge the CP signal voltage value according to the level value combination. 5.根据权利要求4所述的电动汽车交流充电系统的CP信号电压检测方法,其特征在于:定时读取三个引脚输入电平状态时,当引脚电平为高时记为1,当引脚电平为低时,记为0。5. The CP signal voltage detection method of the electric vehicle AC charging system according to claim 4, characterized in that: when reading the input level states of the three pins regularly, when the pin level is high, it is recorded as 1, When the pin level is low, it is recorded as 0. 6.根据权利要求5所述的电动汽车交流充电系统的CP信号电压检测方法,其特征在于:所述过滤无效电平状态为MCU以一定频率连续读取三个引脚电平,若三个引脚电平均为低时,为无效电平,则过滤无效电平。6. The CP signal voltage detection method of the electric vehicle AC charging system according to claim 5, characterized in that: the filtering invalid level state is that the MCU continuously reads three pin levels at a certain frequency, if three When the pin levels are all low, it is an invalid level, and the invalid level is filtered. 7.根据权利要求6所述的电动汽车交流充电系统的CP信号电压检测方法,其特征在于:过滤无效电平时,每隔500us读取三个引脚电平。7. The CP signal voltage detection method of the electric vehicle AC charging system according to claim 6, characterized in that: when filtering the invalid level, three pin levels are read every 500us. 8.一种电动汽车交流充电系统的CP信号电压检测装置,其特征在于:包括以下模块:8. A CP signal voltage detection device of an electric vehicle AC charging system, characterized in that: it comprises the following modules: 电压比较模块:负责比较CP信号电压值与设定电压值,通过比较两者电压值的大小输出高电平或低电平;Voltage comparison module: responsible for comparing the CP signal voltage value with the set voltage value, and output high level or low level by comparing the voltage values of the two; 隔离输出模块:负责将经过电压比较模块输出的高电平或低电平转换为CMOS电平信号,并分别输入采样计算模块的引脚;Isolated output module: responsible for converting the high level or low level output by the voltage comparison module into a CMOS level signal, and inputting the pins of the sampling calculation module respectively; 采样计算模块:负责通过读取引脚电平状态,查询得到当前电压值。Sampling calculation module: responsible for querying the current voltage value by reading the pin level status. 9.根据权利要求8所述的电动汽车交流充电系统的CP信号电压检测装置,其特征在于:所述电压比较模块为三个比较器,设定电压值为+2.5V、+6.5V、+10V,经过三个比较器分别比较,CP信号电压值大于上述定电压值+2.5V、+6.5V、+10V时,输出高电平+15V,否则输出低电平0V,得到三个电平值。9. The CP signal voltage detection device of the electric vehicle AC charging system according to claim 8, characterized in that: the voltage comparison module is three comparators, and the set voltage values are +2.5V, +6.5V, + 10V, compared by three comparators, when the CP signal voltage value is greater than the above constant voltage value +2.5V, +6.5V, +10V, output high level +15V, otherwise output low level 0V, get three levels value. 10.根据权利要求9所述的电动汽车交流充电系统的CP信号电压检测装置,其特征在于:所述隔离输出模块为三个光耦,采样计算模块为MCU,所述三个电平值经过光耦转换为三个CMOS电平信号,三个CMOS电平信号输入MCU的三个引脚。10. The CP signal voltage detection device of the electric vehicle AC charging system according to claim 9, characterized in that: the isolated output module is three optocouplers, the sampling calculation module is an MCU, and the three level values are passed through The optocoupler is converted into three CMOS level signals, and the three CMOS level signals are input to the three pins of the MCU.
CN201910850708.9A 2019-09-10 2019-09-10 CP signal voltage detection method and device of electric vehicle alternating current charging system Pending CN110549879A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910850708.9A CN110549879A (en) 2019-09-10 2019-09-10 CP signal voltage detection method and device of electric vehicle alternating current charging system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910850708.9A CN110549879A (en) 2019-09-10 2019-09-10 CP signal voltage detection method and device of electric vehicle alternating current charging system

Publications (1)

Publication Number Publication Date
CN110549879A true CN110549879A (en) 2019-12-10

Family

ID=68739782

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910850708.9A Pending CN110549879A (en) 2019-09-10 2019-09-10 CP signal voltage detection method and device of electric vehicle alternating current charging system

Country Status (1)

Country Link
CN (1) CN110549879A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113212219A (en) * 2020-02-04 2021-08-06 飞宏科技股份有限公司 Circuit and method for detecting and controlling abnormity of guide point in direct current charging pile
CN113655268A (en) * 2021-08-10 2021-11-16 宁波均联智行科技股份有限公司 Voltage detection method and device for charging pile CP signal

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060119400A1 (en) * 2004-12-06 2006-06-08 Frank Ohnhauser Window comparator and method of providing a window comparator function
JP2007285714A (en) * 2006-04-12 2007-11-01 Toyota Motor Corp Abnormality detection apparatus and abnormality detection method for battery voltage detection apparatus
CN103337880A (en) * 2013-02-21 2013-10-02 广西电网公司电力科学研究院 Voltage judging device for electric automobile charging control guidance system and control method thereof
CN105922879A (en) * 2016-04-28 2016-09-07 江苏吾度新能源科技有限公司 Charging guide device and method for alternating current charging pile
CN108819786A (en) * 2018-08-02 2018-11-16 郑州轻工业学院 A kind of electric car conduction charging system alternating current-direct current charge control guidance circuit and its control method
DE102017113162A1 (en) * 2017-06-14 2018-12-20 Phoenix Contact E-Mobility Gmbh Method for detecting a plug-in operation
CN209086312U (en) * 2018-09-10 2019-07-09 深圳市永联科技股份有限公司 A kind of CP detection circuit applied to alternating current charging stake

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060119400A1 (en) * 2004-12-06 2006-06-08 Frank Ohnhauser Window comparator and method of providing a window comparator function
JP2007285714A (en) * 2006-04-12 2007-11-01 Toyota Motor Corp Abnormality detection apparatus and abnormality detection method for battery voltage detection apparatus
CN103337880A (en) * 2013-02-21 2013-10-02 广西电网公司电力科学研究院 Voltage judging device for electric automobile charging control guidance system and control method thereof
CN105922879A (en) * 2016-04-28 2016-09-07 江苏吾度新能源科技有限公司 Charging guide device and method for alternating current charging pile
DE102017113162A1 (en) * 2017-06-14 2018-12-20 Phoenix Contact E-Mobility Gmbh Method for detecting a plug-in operation
CN108819786A (en) * 2018-08-02 2018-11-16 郑州轻工业学院 A kind of electric car conduction charging system alternating current-direct current charge control guidance circuit and its control method
CN209086312U (en) * 2018-09-10 2019-07-09 深圳市永联科技股份有限公司 A kind of CP detection circuit applied to alternating current charging stake

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113212219A (en) * 2020-02-04 2021-08-06 飞宏科技股份有限公司 Circuit and method for detecting and controlling abnormity of guide point in direct current charging pile
JP2021126034A (en) * 2020-02-04 2021-08-30 飛宏科技股▲ふん▼有限公司Phihong Technology Co., Ltd. Circuit and method for detecting abnormalities in the control pilot point at the DC charging stand
EP3890147A1 (en) * 2020-02-04 2021-10-06 Phihong Technology Co., Ltd. Circuit and method for detecting abnormality of control pilot signal of a dc charging pile
JP7104094B2 (en) 2020-02-04 2022-07-20 飛宏科技股▲ふん▼有限公司 Circuit and method for detecting abnormalities in the control pilot point at the DC charging stand
CN113655268A (en) * 2021-08-10 2021-11-16 宁波均联智行科技股份有限公司 Voltage detection method and device for charging pile CP signal

Similar Documents

Publication Publication Date Title
CN111817409B (en) Fast charging protection circuit and method, fast charging chip, and fast charging power supply device
CN208127362U (en) The power supply wake-up control circuit of electric car
CN208270647U (en) Power-sensing circuit for alternating-current charging pile control guiding
CN108288735A (en) The power supply wake-up control circuit of electric vehicle
CN107741571B (en) Battery voltage detection circuit
CN109428369B (en) Alternating-current charging interface guide circuit of electric automobile
CN209086312U (en) A kind of CP detection circuit applied to alternating current charging stake
CN110549879A (en) CP signal voltage detection method and device of electric vehicle alternating current charging system
WO2025066120A1 (en) Cp signal measurement circuit and charging pile
CN104714916A (en) Detection system for plugging or unplugging of external equipment on USB interface
CN104467117A (en) Charging method and device and charger
CN103744322B (en) A kind of control signal generative circuit
CN204068216U (en) The balanced protection circuit of lithium battery
CN109515248A (en) Electric vehicle pre-charging completes decision circuitry and pre-charging device
CN201639338U (en) Charging management circuit and power supply adaptive device
CN219875072U (en) Photoelectric turntable driving protection circuit
CN220913247U (en) Detection circuit for power supply equipment and power supply equipment
CN119037207A (en) Charging gun plugging state detection method
CN209805433U (en) Charging circuit and device
CN105067884A (en) Three-phase alternating-current supply phase detection circuit
CN219574224U (en) Three-phase alternating voltage signal peak value detection circuit
CN118393339A (en) Quick charging relay adhesion detection circuit, method and device and vehicle
CN110441588A (en) A kind of signal deteching circuit, device, method and charging pile
CN207321131U (en) A kind of intelligent charge CP signals produce the circuit with detection
CN211263736U (en) Transformer transformation ratio tester

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20191210