Movatterモバイル変換


[0]ホーム

URL:


CN117458833B - A battery-powered inverter low-power startup wake-up circuit and inverter - Google Patents

A battery-powered inverter low-power startup wake-up circuit and inverter
Download PDF

Info

Publication number
CN117458833B
CN117458833BCN202311802644.8ACN202311802644ACN117458833BCN 117458833 BCN117458833 BCN 117458833BCN 202311802644 ACN202311802644 ACN 202311802644ACN 117458833 BCN117458833 BCN 117458833B
Authority
CN
China
Prior art keywords
resistor
signal
circuit module
battery
circuit
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.)
Active
Application number
CN202311802644.8A
Other languages
Chinese (zh)
Other versions
CN117458833A (en
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.)
Wuxi Fancro Electric Design Co ltd
Kingclean Electric Co Ltd
Original Assignee
Wuxi Fancro Electric Design Co ltd
Kingclean Electric 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 Wuxi Fancro Electric Design Co ltd, Kingclean Electric Co LtdfiledCriticalWuxi Fancro Electric Design Co ltd
Priority to CN202311802644.8ApriorityCriticalpatent/CN117458833B/en
Publication of CN117458833ApublicationCriticalpatent/CN117458833A/en
Application grantedgrantedCritical
Publication of CN117458833BpublicationCriticalpatent/CN117458833B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The invention discloses a low-power-consumption startup awakening circuit of a battery-powered frequency converter and the frequency converter, comprising: the key signal detection circuit module is used for detecting a closing signal or an opening signal of the mechanical switch and outputting a corresponding starting signal or a corresponding shutdown signal to the micro control unit; the switching power supply circuit module is used for providing working voltage for the micro control unit in an enabling state; the switch enabling self-locking circuit module is used for outputting an enabling signal after the mechanical switch receives a closing signal and also used for maintaining the enabling signal according to a first square wave signal sent by the received micro-control unit; the key self-checking circuit module is used for generating a detection square wave composed of low level and working voltage according to the second square wave signal sent by the micro control unit and outputting a corresponding detection signal according to the detection square wave. The invention solves the problems that the existing micro control unit has high power supply standby power consumption, misjudgment of a switch signal and incapability of entering a standby state when software is halted or a port of the software is damaged.

Description

Translated fromChinese
一种电池供电的变频器低功耗开机唤醒电路及变频器A battery-powered inverter low-power startup wake-up circuit and inverter

技术领域Technical Field

本发明涉及电源技术领域,尤其涉及一种电池供电的变频器低功耗开机唤醒电路及变频器。The present invention relates to the technical field of power supply, and in particular to a low-power consumption start-up wake-up circuit of a frequency converter powered by a battery and a frequency converter.

背景技术Background technique

变频器是一种电力电子设备,用于控制交流电动电机的转速和输出功率。它通过调节电源的频率和电压大小,改变电机的运行速度和输出功率。电池供电的变频器系统存在供电待机功耗的问题。The inverter is a power electronic device used to control the speed and output power of AC electric motors. It changes the running speed and output power of the motor by adjusting the frequency and voltage of the power supply. Battery-powered inverter systems have the problem of power consumption in standby mode.

现有技术中,存在部分产品采用大电流的机械开关切断电池供电的方案来解决电池供电的变频器系统存在的供电待机功耗的问题,但是该方案存在上电冲击电流大,机械开关寿命难以控制的问题。In the prior art, some products use a high-current mechanical switch to cut off battery power supply to solve the problem of power standby power consumption in battery-powered inverter systems. However, this solution has the problem of large power-on impact current and difficult to control the life of the mechanical switch.

现有技术中,还存在部分产品直接将机械开关产生的开关信号输送到变频器的微控制单元(Microcontroller Unit,MCU),该方案不仅容易产生开关信号误判等安全问题,还会在微控制单元死机或其端口出现损坏时无法进入待机状态,导致电池短时间内持续放电损坏电池。In the prior art, there are still some products that directly transmit the switch signal generated by the mechanical switch to the microcontroller unit (MCU) of the inverter. This solution is not only prone to safety problems such as misjudgment of the switch signal, but also unable to enter the standby state when the microcontroller unit crashes or its port is damaged, causing continuous discharge of the battery in a short period of time and damaging the battery.

发明内容Summary of the invention

本发明提供一种电池供电的变频器低功耗开机唤醒电路及变频器,解决了现有技术存在的微控制单元供电待机功耗高、开关信号误判以及在软件死机或其端口出现损坏时无法进入待机状态的问题。The present invention provides a low-power consumption start-up wake-up circuit and a frequency converter powered by a battery, which solve the problems existing in the prior art of high power consumption of a microcontroller unit in standby mode, misjudgment of switch signals, and inability to enter a standby mode when the software freezes or its port is damaged.

为达到上述目的,本发明采用如下技术方案:In order to achieve the above object, the present invention adopts the following technical scheme:

第一方面,本发明提供一种电池供电的变频器低功耗开机唤醒电路,该方法包括:In a first aspect, the present invention provides a battery-powered inverter low-power startup wake-up circuit, the method comprising:

电池模块;Battery modules;

按键电路模块,包括机械开关,所述按键电路模块用于在所述机械开关发出闭合信号后与所述电池模块导通;A key circuit module, comprising a mechanical switch, wherein the key circuit module is used to be connected to the battery module after the mechanical switch sends a closing signal;

按键信号检测电路模块,与所述按键电路模块连接,用于检测所述机械开关的闭合信号或断开信号,并根据所述闭合信号或断开信号向目标变频器的微控制单元输出对应的开机信号或关机信号;A key signal detection circuit module, connected to the key circuit module, for detecting a closing signal or an opening signal of the mechanical switch, and outputting a corresponding power-on signal or a power-off signal to a microcontroller unit of a target inverter according to the closing signal or the opening signal;

开关电源电路模块,用于在使能状态为所述微控制单元提供工作电压;A switch power circuit module, used for providing a working voltage to the micro control unit in an enabled state;

开关使能自锁电路模块,与所述电池模块、所述按键电路模块和所述开关电源电路模块连接,用于在所述机械开关发出所述闭合信号后输出使能信号,还用于根据接收到的所述微控制单元发送的第一方波信号维持所述使能信号;所述使能信号用于控制所述开关电源电路模块进入使能状态;a switch-enabled self-locking circuit module, connected to the battery module, the key circuit module and the switch power circuit module, for outputting an enable signal after the mechanical switch sends the closing signal, and for maintaining the enable signal according to the first square wave signal received from the microcontroller unit; the enable signal is used to control the switch power circuit module to enter an enabled state;

按键自检电路模块,与所述按键电路模块和所述按键信号检测电路模块电连接,用于根据所述微控制单元发送的第二方波信号生成由低电平与所述工作电压组成的检测方波;A key self-checking circuit module, electrically connected to the key circuit module and the key signal detection circuit module, and configured to generate a detection square wave consisting of a low level and the working voltage according to the second square wave signal sent by the micro control unit;

所述按键信号检测电路模块还用于根据所述检测方波输出对应的用于表征所述按键电路模块状态的检测信号。The key signal detection circuit module is also used to output a corresponding detection signal for characterizing the state of the key circuit module according to the detection square wave.

在一种可能的实现方式中,所述开关使能自锁电路模块包括第一方波输入引脚、使能输出引脚、第一二极管D1、第一场效应管Q1、第二场效应管Q3、第一电阻R5、第二电阻R19、第三电阻R23、第四电阻R25、第五电阻R22以及防死机硬件保护电路单元;In a possible implementation, the switch-enabled self-locking circuit module includes a first square wave input pin, an enable output pin, a first diode D1, a first field effect transistor Q1, a second field effect transistor Q3, a first resistor R5, a second resistor R19, a third resistor R23, a fourth resistor R25, a fifth resistor R22, and an anti-crash hardware protection circuit unit;

所述防死机硬件保护电路单元的输入端与所述第一方波输入引脚连接,用于接收所述第一方波信号,所述防死机硬件保护电路单元的输出端与所述第一场效应管Q1的栅极和漏极连接;所述防死机硬件保护电路单元用于将通过所述第一方波输入引脚输入的所述第一方波信号转换为高电平信号,所述高电平信号用于维持所述第一场效应管Q1导通;The input end of the anti-crash hardware protection circuit unit is connected to the first square wave input pin to receive the first square wave signal, and the output end of the anti-crash hardware protection circuit unit is connected to the gate and drain of the first field effect transistor Q1; the anti-crash hardware protection circuit unit is used to convert the first square wave signal input through the first square wave input pin into a high-level signal, and the high-level signal is used to keep the first field effect transistor Q1 turned on;

所述第一场效应管Q1的漏极接地,所述第一场效应管Q1的源极通过所述第五电阻R22与所述第二场效应管Q3的栅极连接,所述第二场效应管Q3的栅极通过所述第四电阻R25与所述电池模块连接,所述第二场效应管Q3的源极与所述电池模块连接,所述第二场效应管Q3的漏极通过依次串联的所述第三电阻R23和所述第二电阻R19接地,所述使能输出引脚通过所述第一电阻R5连接到所述第三电阻R23和所述第二电阻R19之间的电路上;The drain of the first field effect transistor Q1 is grounded, the source of the first field effect transistor Q1 is connected to the gate of the second field effect transistor Q3 through the fifth resistor R22, the gate of the second field effect transistor Q3 is connected to the battery module through the fourth resistor R25, the source of the second field effect transistor Q3 is connected to the battery module, the drain of the second field effect transistor Q3 is connected to the ground through the third resistor R23 and the second resistor R19 connected in series in sequence, and the enable output pin is connected to the circuit between the third resistor R23 and the second resistor R19 through the first resistor R5;

所述第一二极管D1的正极与所述按键电路模块连接,负极连接到所述第三电阻R23和所述第二电阻R19之间的电路上。The anode of the first diode D1 is connected to the key circuit module, and the cathode is connected to the circuit between the third resistor R23 and the second resistor R19.

在一种可能的实现方式中,所述防死机硬件保护电路单元包括第六电阻R2、第一电容C1、第二电容C2、第二二极管D3以及第三二极管D4;In a possible implementation, the anti-crash hardware protection circuit unit includes a sixth resistor R2, a first capacitor C1, a second capacitor C2, a second diode D3 and a third diode D4;

所述第一电容C1的一端通过所述第六电阻R2与所述第一方波输入引脚连接,所述第一电容C1的另一端与所述第二二极管D3的正极和所述第三二极管D4的负极连接,所述第二二极管D3的负极与所述第二电容C2的一端和所述第一场效应管Q1的栅极连接,所述第三二极管D4的正极与所述第二电容C2的另一端和所述第一场效应管Q1的漏极连接。One end of the first capacitor C1 is connected to the first square wave input pin through the sixth resistor R2, the other end of the first capacitor C1 is connected to the anode of the second diode D3 and the cathode of the third diode D4, the cathode of the second diode D3 is connected to one end of the second capacitor C2 and the gate of the first field effect transistor Q1, and the anode of the third diode D4 is connected to the other end of the second capacitor C2 and the drain of the first field effect transistor Q1.

在一种可能的实现方式中,所述电池供电的变频器低功耗开机唤醒电路还包括电池电压检测电路;In a possible implementation, the battery-powered inverter low-power startup wake-up circuit further includes a battery voltage detection circuit;

所述电池电压检测电路用于检测所述电池模块的电量情况;The battery voltage detection circuit is used to detect the power status of the battery module;

所述电池电压检测电路的输入端连接在所述第二场效应管Q3的漏极与所述第三电阻R23之间的电路上,所述电池电压检测电路的输出端用于与所述微控制单元连接。The input end of the battery voltage detection circuit is connected to the circuit between the drain of the second field effect transistor Q3 and the third resistor R23, and the output end of the battery voltage detection circuit is used to be connected to the micro control unit.

在一种可能的实现方式中,所述电池电压检测电路包括第七电阻R6、第八电阻R7、第九电阻R8、第三电容C3以及第四电容C4;In a possible implementation, the battery voltage detection circuit includes a seventh resistor R6, an eighth resistor R7, a ninth resistor R8, a third capacitor C3, and a fourth capacitor C4;

所述第七电阻R6的一端连接在第二场效应管Q3的漏极与所述第三电阻R23之间的电路上,所述第七电阻R6的另一端与所述第八电阻R7、所述第九电阻R8的一端连接,所述第九电阻R8的另一端接地,所述第八电阻R7的另一端与所述微控制单元、所述第四电容C4的一端连接,所述第四电容C4的另一端与所述第九电阻R8的另一端和地连接,所述第三电容C3并联在所述第九电阻R8的两端。One end of the seventh resistor R6 is connected to the circuit between the drain of the second field effect transistor Q3 and the third resistor R23, the other end of the seventh resistor R6 is connected to the eighth resistor R7 and one end of the ninth resistor R8, the other end of the ninth resistor R8 is grounded, the other end of the eighth resistor R7 is connected to the micro control unit and one end of the fourth capacitor C4, the other end of the fourth capacitor C4 is connected to the other end of the ninth resistor R8 and the ground, and the third capacitor C3 is connected in parallel at both ends of the ninth resistor R8.

在一种可能的实现方式中,所述按键电路模块还包括第十电阻R101,所述机械开关的一端与所述电池模块连接,所述第十电阻R101串联在所述机械开关的另一端。In a possible implementation, the key circuit module further includes a tenth resistor R101, one end of the mechanical switch is connected to the battery module, and the tenth resistor R101 is connected in series to the other end of the mechanical switch.

在一种可能的实现方式中,所述按键信号检测电路模块包括第十一电阻R71、第十二电阻R211、第五电容C55以及第四二极管D2;In a possible implementation, the key signal detection circuit module includes an eleventh resistor R71, a twelfth resistor R211, a fifth capacitor C55 and a fourth diode D2;

所述第十一电阻R71的一端与所述第十电阻R101远离所述机械开关的一端连接,用于接收所述闭合信号或断开信号,所述第十一电阻R71的另一端与所述微控制单元、所述第四二极管D2的正极以及所述第五电容C55的一端连接,所述第四二极管D2的负极与所述开关电源电路模块输出所述工作电压的输出端连接,所述第五电容C55的另一端与所述第十二电阻R211的一端和地连接,所述第十二电阻R211的另一端与所述第十电阻R101远离所述机械开关的一端连接。One end of the eleventh resistor R71 is connected to an end of the tenth resistor R101 away from the mechanical switch for receiving the closing signal or the opening signal, the other end of the eleventh resistor R71 is connected to the micro control unit, the positive electrode of the fourth diode D2 and one end of the fifth capacitor C55, the negative electrode of the fourth diode D2 is connected to the output end of the switching power supply circuit module outputting the working voltage, the other end of the fifth capacitor C55 is connected to one end of the twelfth resistor R211 and the ground, and the other end of the twelfth resistor R211 is connected to an end of the tenth resistor R101 away from the mechanical switch.

在一种可能的实现方式中,所述按键自检电路模块包括第十三电阻R30、第十四电阻R31、第十五电阻R4以及第三场效应管Q5;In a possible implementation, the key self-check circuit module includes a thirteenth resistor R30, a fourteenth resistor R31, a fifteenth resistor R4 and a third field effect transistor Q5;

所述第三场效应管Q5的栅极通过所述第十三电阻R30与所述微控制单元连接,用于接收所述第二方波信号,所述第三场效应管Q5的漏极通过所述第十五电阻R4与所述第十电阻R101远离所述机械开关的一端连接,所述第三场效应管Q5的源极与所述开关电源电路模块输出所述工作电压的输出端连接,所述第十四电阻R31的一端与所述第三场效应管Q5的源极连接,所述第十四电阻R31的另一端连接在所述第十三电阻R30与所述第三场效应管Q5的栅极连接。The gate of the third field effect transistor Q5 is connected to the micro control unit through the thirteenth resistor R30 for receiving the second square wave signal, the drain of the third field effect transistor Q5 is connected to the end of the tenth resistor R101 away from the mechanical switch through the fifteenth resistor R4, the source of the third field effect transistor Q5 is connected to the output end of the switching power supply circuit module that outputs the working voltage, one end of the fourteenth resistor R31 is connected to the source of the third field effect transistor Q5, and the other end of the fourteenth resistor R31 is connected to the thirteenth resistor R30 and the gate of the third field effect transistor Q5.

第二方面,本发明提供一种变频器,包括目标变频器的微控制单元以及上述任一项所述的电池供电的变频器低功耗开机唤醒电路。In a second aspect, the present invention provides a frequency converter, comprising a micro control unit of a target frequency converter and a low-power consumption power-on wake-up circuit of a frequency converter powered by a battery as described in any one of the above.

在一种可能的实现方式中,所述微控制单元包括电源端、第一输入端、第二输入端、第一输出端以及第二输出端;In a possible implementation, the micro control unit includes a power supply terminal, a first input terminal, a second input terminal, a first output terminal, and a second output terminal;

所述电源端用于接收所述开关电源电路模块输出的工作电压;The power supply terminal is used to receive the working voltage output by the switching power supply circuit module;

所述第一输入端用于接收所述按键信号检测电路模块输出的开机/关机信号;The first input terminal is used to receive the power on/off signal output by the key signal detection circuit module;

所述第二输入端用于接收所述开关使能自锁电路模块输出的使能信号;The second input terminal is used to receive the enable signal output by the switch enable self-locking circuit module;

所述第一输出端用于输出所述第一方波信号;The first output terminal is used to output the first square wave signal;

所述第二输出端用于输出所述第二方波信号。The second output terminal is used to output the second square wave signal.

本发明实施例提供电池供电的变频器低功耗开机唤醒电路及变频器在实际应用时,通过信号级的机械开关替代现有技术中大电流的机械开关,能够在电池不断电的情况下通过控制开关电源电路模块为目标变频器的微控制单元是否提供工作电压来降低电路的功耗,增加目标变频器的待机时间;本发明还通过按键自检电路模块解决了现有技术容易对开关信号进行误判的安全问题;通过根据接收到的所述微控制单元发送的第一方波信号维持使能信号,从而维持开关电源电路模块长时间输出工作电压的方案,有效地防止微控制单元因软件死机或其端口出现损坏时无法进入待机状态导致的电池损坏问题。The embodiment of the present invention provides a battery-powered inverter low-power startup wake-up circuit and an inverter. When used in actual applications, a signal-level mechanical switch replaces the high-current mechanical switch in the prior art. The circuit power consumption can be reduced by controlling whether the switch power circuit module provides a working voltage to the microcontroller unit of the target inverter without disconnecting the battery, thereby increasing the standby time of the target inverter. The present invention also solves the safety problem of the prior art that the switch signal is easily misjudged through a key self-check circuit module. By maintaining an enable signal based on the first square wave signal received and sent by the microcontroller unit, the switch power circuit module is maintained to output the working voltage for a long time, thereby effectively preventing the microcontroller unit from being unable to enter the standby state due to a software freeze or damage to its port, which may cause battery damage.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1为本发明实施例提供的一种电池供电的变频器低功耗开机唤醒电路的结构框图;FIG1 is a structural block diagram of a low-power startup wake-up circuit of a battery-powered frequency converter provided by an embodiment of the present invention;

图2为本发明实施例提供的一种电池供电的变频器低功耗开机唤醒电路除开关电源电路模块外的整体电路图;FIG2 is an overall circuit diagram of a low-power consumption power-on wake-up circuit for a frequency converter powered by a battery, excluding a switching power supply circuit module, provided by an embodiment of the present invention;

图3为本发明实施例提供的一种电池供电的变频器低功耗开机唤醒电路的开关使能自锁电路模块的电路图;3 is a circuit diagram of a switch-enabled self-locking circuit module of a low-power startup wake-up circuit of a battery-powered inverter provided by an embodiment of the present invention;

图4为本发明实施例提供的一种电池供电的变频器低功耗开机唤醒电路的防死机硬件保护电路单元通过函数信号发生器仿真输入第一方波时的电路图;4 is a circuit diagram of an anti-crash hardware protection circuit unit of a low-power startup wake-up circuit of a battery-powered inverter provided by an embodiment of the present invention when a first square wave is simulated by a function signal generator;

图5为图4的仿真波形图;FIG5 is a simulation waveform diagram of FIG4 ;

图6为本发明实施例提供的一种电池供电的变频器低功耗开机唤醒电路的防死机硬件保护电路单元通过固定电源仿真微控制单元软件死机时的电路图;6 is a circuit diagram of a battery-powered inverter low-power startup wake-up circuit provided by an embodiment of the present invention, in which a hardware protection circuit unit for preventing a crash simulates a microcontroller unit software crash through a fixed power supply;

图7为图6的仿真波形图;FIG7 is a simulation waveform diagram of FIG6 ;

图8为本发明实施例提供的一种电池供电的变频器低功耗开机唤醒电路的电池电压检测电路的电路图;8 is a circuit diagram of a battery voltage detection circuit of a low-power startup wake-up circuit of a battery-powered inverter provided by an embodiment of the present invention;

图9为本发明实施例提供的一种电池供电的变频器低功耗开机唤醒电路的按键电路模块及按键信号检测电路模块的电路图;9 is a circuit diagram of a key circuit module and a key signal detection circuit module of a battery-powered inverter low-power startup wake-up circuit provided by an embodiment of the present invention;

图10为本发明实施例提供的一种电池供电的变频器低功耗开机唤醒电路的按键电路模块及按键自检电路模块的电路图;10 is a circuit diagram of a key circuit module and a key self-test circuit module of a battery-powered inverter low-power startup wake-up circuit provided by an embodiment of the present invention;

图11为本发明实施例提供的一种电池供电的变频器低功耗开机唤醒电路的开关电源电路模块的电路图;FIG11 is a circuit diagram of a switching power supply circuit module of a low-power startup wake-up circuit of a battery-powered inverter provided by an embodiment of the present invention;

图12为本发明实施例提供的一种变频器的微控制单元的电路图。FIG. 12 is a circuit diagram of a micro control unit of a frequency converter provided in an embodiment of the present invention.

附图标记及说明:Reference numerals and descriptions:

11、电池模块;12、按键电路模块;13、按键信号检测电路模块;14、开关电源电路模块;15、开关使能自锁电路模块;151、防死机硬件保护电路单元;16、按键自检电路模块;17、电池电压检测电路。11. Battery module; 12. Key circuit module; 13. Key signal detection circuit module; 14. Switch power circuit module; 15. Switch enable self-locking circuit module; 151. Anti-crash hardware protection circuit unit; 16. Key self-check circuit module; 17. Battery voltage detection circuit.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

以下,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。在本公开实施例的描述中,除非另有说明,“多个”的含义是两个或两个以上。另外,“基于”或“根据”的使用意味着开放和包容性,因为“基于”或“根据”一个或多个所述条件或值的过程、步骤、计算或其他动作在实践中可以基于额外条件或超出所述的值。In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of the present disclosure, unless otherwise specified, "multiple" means two or more. In addition, the use of "based on" or "according to" means openness and inclusiveness, because the process, steps, calculations or other actions "based on" or "according to" one or more of the conditions or values may be based on additional conditions or values beyond the described values in practice.

为了解决现有技术存在的微控制单元供电待机功耗高、开关信号误判以及在软件死机或其端口出现损坏时无法进入待机状态的问题,本发明实施例提供了一种电池供电的变频器低功耗开机唤醒电路及变频器。In order to solve the problems in the prior art of high standby power consumption of a microcontroller unit, misjudgment of switch signals, and inability to enter standby mode when the software crashes or its ports are damaged, an embodiment of the present invention provides a battery-powered inverter low-power startup wake-up circuit and an inverter.

如图1、图2所示,第一方面,本发明提供了一种电池供电的变频器低功耗开机唤醒电路,该电路包括电池模块11、按键电路模块12、按键信号检测电路模块13、开关电源电路模块14、开关使能自锁电路模块15以及按键自检电路模块16。As shown in Figures 1 and 2, in the first aspect, the present invention provides a battery-powered inverter low-power startup wake-up circuit, which includes a battery module 11, a key circuit module 12, a key signal detection circuit module 13, a switching power supply circuit module 14, a switch enable self-locking circuit module 15 and a key self-detection circuit module 16.

其中,按键电路模块12包括机械开关,按键电路模块用于在机械开关发出闭合信号后与电池模块11导通。The key circuit module 12 includes a mechanical switch, and the key circuit module is used to be connected to the battery module 11 after the mechanical switch sends a closing signal.

具体的,机械开关为具有高耐压性能的轻触开关,第一次按压轻触开关触发闭合信号,第二次触发轻触开关触发断开信号。Specifically, the mechanical switch is a touch switch with high voltage resistance. Pressing the touch switch for the first time triggers a closing signal, and pressing the touch switch for the second time triggers a disconnecting signal.

在本实施例中,闭合信号和断开信号均为连续预设时间段的高电平信号,预设时间段可以为1秒、3秒等时间。In this embodiment, both the closing signal and the opening signal are high-level signals for a continuous preset time period, and the preset time period may be 1 second, 3 seconds, or the like.

按键信号检测电路模块13与按键电路模块12连接,用于检测机械开关的闭合信号或断开信号,并根据闭合信号或断开信号向目标变频器的微控制单元输出对应的开机信号或关机信号。The key signal detection circuit module 13 is connected to the key circuit module 12, and is used to detect the closing signal or the opening signal of the mechanical switch, and output a corresponding power-on signal or power-off signal to the micro control unit of the target inverter according to the closing signal or the opening signal.

具体的,在接收到闭合信号后,按键信号检测电路模块13将闭合信号转换为开机信号,当目标变频器的微控制单元接收到开机信号后,认为微控制单元需要开机进入工作状态。Specifically, after receiving the closing signal, the key signal detection circuit module 13 converts the closing signal into a power-on signal. When the micro control unit of the target inverter receives the power-on signal, it is considered that the micro control unit needs to be powered on and enter the working state.

在接收到断开信号后,按键信号检测电路模块13将断开信号转换为关机信号,当目标变频器的微控制单元接收到关机信号后,认为微控制单元需要关机进入待机状态。After receiving the disconnection signal, the key signal detection circuit module 13 converts the disconnection signal into a shutdown signal. When the micro control unit of the target inverter receives the shutdown signal, it considers that the micro control unit needs to shut down and enter the standby state.

开关电源电路模块14,用于在使能状态为微控制单元提供工作电压。The switch power circuit module 14 is used to provide a working voltage to the micro control unit in an enabled state.

具体的,开关电源电路模块14与电池模块11连接,通过电池模块11为开关电源电路模块14供电,当开关电源电路模块14进入使能状态后,开关电源电路模块14开始工作,即输出微控制单元工作需要的工作电压。Specifically, the switching power supply circuit module 14 is connected to the battery module 11, and the battery module 11 supplies power to the switching power supply circuit module 14. When the switching power supply circuit module 14 enters the enabled state, the switching power supply circuit module 14 starts to work, that is, outputs the working voltage required for the micro control unit to work.

开关使能自锁电路模块15与电池模块11、按键电路模块12和开关电源电路模块14连接,用于在机械开关发出闭合信号后输出使能信号,还用于根据接收到的微控制单元发送的第一方波信号维持使能信号。The switch enable self-locking circuit module 15 is connected to the battery module 11, the key circuit module 12 and the switch power supply circuit module 14, and is used to output an enable signal after the mechanical switch sends a closing signal, and is also used to maintain the enable signal according to the first square wave signal sent by the received micro control unit.

具体的,使能信号用于控制开关电源电路模块14进入使能状态。Specifically, the enable signal is used to control the switch power circuit module 14 to enter an enabled state.

在本实施例中,使能信号为高电平信号,在机械开关发出闭合信号的瞬间,电池模块11与开关使能自锁电路模块15导通并控制开关使能自锁电路模块15输出高电平信号,通过该高电平信号控制开关电源电路模块14进入使能状态。In this embodiment, the enable signal is a high-level signal. At the moment when the mechanical switch sends a closing signal, the battery module 11 is connected to the switch enable self-locking circuit module 15 and controls the switch enable self-locking circuit module 15 to output a high-level signal. The high-level signal is used to control the switch power supply circuit module 14 to enter the enabled state.

按键自检电路模块16与按键电路模块12和按键信号检测电路模块13电连接,用于根据微控制单元发送的第二方波信号生成由低电平与工作电压组成的检测方波;The key self-checking circuit module 16 is electrically connected to the key circuit module 12 and the key signal detecting circuit module 13, and is used to generate a detection square wave composed of a low level and an operating voltage according to the second square wave signal sent by the micro control unit;

按键信号检测电路模块13还用于根据检测方波输出对应的检测信号;检测信号用于表征按键电路模块12的状态。The key signal detection circuit module 13 is further used to output a corresponding detection signal according to the detection square wave; the detection signal is used to represent the state of the key circuit module 12 .

具体的,在开关电源电路模块14为微控制单元提供工作电压,令微控制单元进入工作状态后,微控制单元就开始持续向按键自检电路模块16输出第二方波信号,按键自检电路模块16将第二方波信号转换为由低电平与工作电压组成的检测方波,由于按键自检电路模块16与按键电路模块12和按键信号检测电路模块13连接,所以当微控制单元可以持续接收到该检测方波经按键信号检测电路模块13处理后的信号后,说明按键信号检测电路处于正常工作状态,不存在电路损坏,按键信号检测电路一直未接收到关断信号是因为用户未通过机械开关发送关断信号,从而有效避免微控制单元对开关信号的误判。本发明实施例提供电池供电的变频器低功耗开机唤醒电路在实际应用时,通过按压机械开关产生闭合信号或断开信号。在按压机械开关发出闭合信号时,开关使能自锁电路模块15与电池模块11导通,并输出使能信号,通过该使能信号控制开关电源电路模块14为微控制单元提供工作电压。Specifically, after the switch power supply circuit module 14 provides the working voltage for the micro control unit and the micro control unit enters the working state, the micro control unit starts to continuously output the second square wave signal to the key self-test circuit module 16, and the key self-test circuit module 16 converts the second square wave signal into a detection square wave composed of a low level and the working voltage. Since the key self-test circuit module 16 is connected to the key circuit module 12 and the key signal detection circuit module 13, when the micro control unit can continuously receive the signal of the detection square wave after being processed by the key signal detection circuit module 13, it means that the key signal detection circuit is in a normal working state and there is no circuit damage. The key signal detection circuit has not received the shutdown signal because the user has not sent the shutdown signal through the mechanical switch, thereby effectively avoiding the micro control unit from misjudging the switch signal. The embodiment of the present invention provides a battery-powered inverter low-power startup wake-up circuit. In actual application, a closed signal or a disconnection signal is generated by pressing a mechanical switch. When the mechanical switch is pressed to send a closed signal, the switch enables the self-locking circuit module 15 and the battery module 11 are connected, and an enable signal is output. The switch power supply circuit module 14 is controlled by the enable signal to provide the micro control unit with a working voltage.

在按键信号检测电路模块13检测到闭合信号后,根据闭合信号向目标变频器的微控制单元输出开机信号,以控制微控制单元进入工作状态。在微控制单元进入工作状态后,微控制单元向开关使能自锁电路模块15持续发送第一方波信号,通过第一方波信号维持使能信号的输出,令开关电源电路模块14一直输出工作电压。在微控制单元进入工作状态后,微控制单元向按键自检电路模块16持续发送第二方波信号,按键自检电路模块16根据第二方波信号生成由低电平与工作电压组成的检测方波,通过按键信号检测电路模块13周期性的检测按键电路模块12的状态。After the key signal detection circuit module 13 detects the closing signal, it outputs a power-on signal to the microcontroller unit of the target inverter according to the closing signal to control the microcontroller unit to enter the working state. After the microcontroller unit enters the working state, the microcontroller unit continuously sends a first square wave signal to the switch enable self-locking circuit module 15, and maintains the output of the enable signal through the first square wave signal, so that the switch power supply circuit module 14 always outputs the working voltage. After the microcontroller unit enters the working state, the microcontroller unit continuously sends a second square wave signal to the key self-check circuit module 16, and the key self-check circuit module 16 generates a detection square wave composed of a low level and the working voltage according to the second square wave signal, and periodically detects the state of the key circuit module 12 through the key signal detection circuit module 13.

在按键自检电路模块16接收到断开信号后输出关机信号,微控制单元在接收到关机信号后控制第一方波信号变为低电平,随即开关电源的使能引脚不再输出使能信号,开关电源电路模块14不再为微控制单元提供工作电压,微控制单元停止工作,此时整个电路进入低功耗待机状态。After the key self-check circuit module 16 receives the disconnect signal, it outputs a shutdown signal. After receiving the shutdown signal, the micro control unit controls the first square wave signal to become a low level. Then the enable pin of the switching power supply no longer outputs the enable signal. The switching power supply circuit module 14 no longer provides the operating voltage for the micro control unit, and the micro control unit stops working. At this time, the entire circuit enters a low-power standby state.

进一步的,机械开关为具有高耐压性能的轻触开关,即机械开关的按键为非自锁按键,按下按键有闭合信号,抬起手不再按压按键后,闭合信号断开。Furthermore, the mechanical switch is a touch switch with high voltage resistance, that is, the button of the mechanical switch is a non-self-locking button. When the button is pressed, there is a closing signal. When the hand is lifted and the button is no longer pressed, the closing signal is disconnected.

在目标变频器关机的情况下,若检测到按键的闭合信号,则本发明的电池供电的变频器低功耗开机唤醒电路在接收并判定该闭合信号为正常的开机信号后,控制目标变频器的微控制单元开机,此时对开机信号的判断逻辑是:用户持续按下按键的时间大于1秒,且小于3秒。When the target inverter is turned off, if a button closing signal is detected, the battery-powered inverter low-power startup wake-up circuit of the present invention controls the microcontroller unit of the target inverter to start up after receiving and determining that the closing signal is a normal startup signal. At this time, the judgment logic for the startup signal is: the user continues to press the button for more than 1 second and less than 3 seconds.

在目标变频器开机的状态下,若检测到按键的闭合信号,则本发明的电池供电的变频器低功耗开机唤醒电路在接收并判定该闭合信号为正常的关机信号后,控制目标变频器的微控制单元关机,此时对关机信号的判断逻辑是:用户持续按下按键的时间大于3秒。When the target inverter is turned on, if a button closing signal is detected, the battery-powered inverter low-power startup wake-up circuit of the present invention controls the microcontroller unit of the target inverter to shut down after receiving and determining that the closing signal is a normal shutdown signal. At this time, the judgment logic for the shutdown signal is: the user continues to press the button for more than 3 seconds.

进一步的,如图2、图3所示,开关使能自锁电路模块15包括第一方波输入引脚、使能输出引脚、第一二极管D1、第一场效应管Q1、第二场效应管Q3、第一电阻R5、第二电阻R19、第三电阻R23、第四电阻R25、第五电阻R22以及防死机硬件保护电路单元151。Further, as shown in Figures 2 and 3, the switch-enabled self-locking circuit module 15 includes a first square wave input pin, an enable output pin, a first diode D1, a first field effect transistor Q1, a second field effect transistor Q3, a first resistor R5, a second resistor R19, a third resistor R23, a fourth resistor R25, a fifth resistor R22, and an anti-crash hardware protection circuit unit 151.

防死机硬件保护电路单元151的输入端与第一方波输入引脚连接,用于接收第一方波信号,防死机硬件保护电路单元151的输出端与第一场效应管Q1的栅极和漏极连接;防死机硬件保护电路单元151用于将通过第一方波输入引脚输入的第一方波信号转换为高电平信号,高电平信号用于维持第一场效应管Q1导通。The input end of the anti-crash hardware protection circuit unit 151 is connected to the first square wave input pin for receiving the first square wave signal, and the output end of the anti-crash hardware protection circuit unit 151 is connected to the gate and drain of the first field effect transistor Q1; the anti-crash hardware protection circuit unit 151 is used to convert the first square wave signal input through the first square wave input pin into a high-level signal, and the high-level signal is used to maintain the first field effect transistor Q1 turned on.

第一场效应管Q1的漏极接地,第一场效应管Q1的源极通过第五电阻R22与第二场效应管Q3的栅极连接,第二场效应管Q3的栅极通过第四电阻R25与电池模块11连接,第二场效应管Q3的源极与电池模块11连接,第二场效应管Q3的漏极通过依次串联的第三电阻R23和第二电阻R19接地,使能输出引脚通过第一电阻R5连接到第三电阻R23和第二电阻R19之间的电路上。The drain of the first field effect transistor Q1 is grounded, the source of the first field effect transistor Q1 is connected to the gate of the second field effect transistor Q3 through the fifth resistor R22, the gate of the second field effect transistor Q3 is connected to the battery module 11 through the fourth resistor R25, the source of the second field effect transistor Q3 is connected to the battery module 11, the drain of the second field effect transistor Q3 is grounded through the third resistor R23 and the second resistor R19 connected in series in sequence, and the enable output pin is connected to the circuit between the third resistor R23 and the second resistor R19 through the first resistor R5.

第一二极管D1的正极与按键电路模块12连接,负极连接到第三电阻R23和第二电阻R19之间的电路上。The anode of the first diode D1 is connected to the key circuit module 12 , and the cathode is connected to the circuit between the third resistor R23 and the second resistor R19 .

具体的,机械开关以K101表示,电池模块11的电池电压以VDD表示。Specifically, the mechanical switch is represented by K101, and the battery voltage of the battery module 11 is represented by VDD.

在机械开关被按下之后,电池电压VDD通过机械开关K101、第一二极管D1以及第二电阻R19将使能输出引脚的输出电压抬升至开关电源电路模块14的使能引脚的开启电压,令开关电源电路模块14开始工作为微控制单元提供工作电压。After the mechanical switch is pressed, the battery voltage VDD raises the output voltage of the enable output pin to the turn-on voltage of the enable pin of the switch power circuit module 14 through the mechanical switch K101, the first diode D1 and the second resistor R19, so that the switch power circuit module 14 starts to work and provides working voltage for the micro control unit.

当机械开关的按压结束后,机械开关K101断开,即电池模块11不能通过机械开关K101、第一二极管D1以及第二电阻R19线路为使能输出引脚提供高电平信号,此时,使能信号会断开,为了长时间保持该使能信号,在开关电源电路模块14为微控制单元提供工作电压,同时微控制单元接收到开机信号进入工作状态后,通过微控制单元持续向开关使能自锁电路模块15的第一方波输入引脚输入第一方波信号,通过防死机硬件保护电路单元151将第一方波信号转换为持续的高电平信号,令第一场效应管Q1和第二场效应管Q3导通。在第二场效应管Q3导通后,电池模块11、第二场效应管Q3、第三电阻R23、第一电阻R5线路导通,通过电池模块11为使能输出引脚提供持续的高电平信号,令使能输出引脚的输出电压满足开关电源电路模块14的使能引脚的开启电压,令开关电源电路模块14开始工作为微控制单元提供工作电压。When the mechanical switch is pressed, the mechanical switch K101 is disconnected, that is, the battery module 11 cannot provide a high-level signal to the enable output pin through the mechanical switch K101, the first diode D1 and the second resistor R19 circuit. At this time, the enable signal will be disconnected. In order to maintain the enable signal for a long time, the switch power circuit module 14 provides the micro control unit with a working voltage. At the same time, after the micro control unit receives the power-on signal and enters the working state, the micro control unit continuously inputs the first square wave signal to the first square wave input pin of the switch enable self-locking circuit module 15, and the first square wave signal is converted into a continuous high-level signal through the anti-crash hardware protection circuit unit 151, so that the first field effect transistor Q1 and the second field effect transistor Q3 are turned on. After the second field effect transistor Q3 is turned on, the battery module 11, the second field effect transistor Q3, the third resistor R23, and the first resistor R5 circuit are turned on, and the battery module 11 provides a continuous high-level signal to the enable output pin, so that the output voltage of the enable output pin meets the start-up voltage of the enable pin of the switch power circuit module 14, so that the switch power circuit module 14 starts to work and provides the micro control unit with a working voltage.

在本实施例中第二场效应管Q3为P沟道MOS管,第一场效应管Q1为N沟道MOS管。In this embodiment, the second field effect transistor Q3 is a P-channel MOS transistor, and the first field effect transistor Q1 is an N-channel MOS transistor.

进一步的,防死机硬件保护电路单元151包括第六电阻R2、第一电容C1、第二电容C2、第二二极管D3以及第三二极管D4。Furthermore, the anti-crash hardware protection circuit unit 151 includes a sixth resistor R2, a first capacitor C1, a second capacitor C2, a second diode D3 and a third diode D4.

其中,第一电容C1的一端通过第六电阻R2与第一方波输入引脚连接,第一电容C1的另一端与第二二极管D3的正极和第三二极管D4的负极连接,第二二极管D3的负极与第二电容C2的一端和第一场效应管Q1的栅极连接,第三二极管D4的正极与第二电容C2的另一端和第一场效应管Q1的漏极连接。Among them, one end of the first capacitor C1 is connected to the first square wave input pin through the sixth resistor R2, the other end of the first capacitor C1 is connected to the anode of the second diode D3 and the cathode of the third diode D4, the cathode of the second diode D3 is connected to one end of the second capacitor C2 and the gate of the first field effect transistor Q1, and the anode of the third diode D4 is connected to the other end of the second capacitor C2 and the drain of the first field effect transistor Q1.

具体的,防死机硬件保护电路单元151为隔直通交电路,通过该电路可以将输入的第一方波信号转换为高电平信号,从而维持第一场效应管Q1的长期导通。Specifically, the anti-crash hardware protection circuit unit 151 is a DC-isolating AC-passing circuit, through which the input first square wave signal can be converted into a high-level signal, thereby maintaining the long-term conduction of the first field effect transistor Q1.

进一步的,防死机硬件保护电路单元151还包括第十六电阻R1和第十七电阻R3,其中,第十六电阻R1的一端与第二二极管D3的负极连接,第十六电阻R1的另一端与第一场效应管Q1的栅极连接,第十七电阻R3的一端与第一场效应管Q1的栅极连接,第十七电阻R3的另一端与第一场效应管Q1的漏极连接。Furthermore, the anti-crash hardware protection circuit unit 151 also includes a sixteenth resistor R1 and a seventeenth resistor R3, wherein one end of the sixteenth resistor R1 is connected to the cathode of the second diode D3, the other end of the sixteenth resistor R1 is connected to the gate of the first field effect transistor Q1, one end of the seventeenth resistor R3 is connected to the gate of the first field effect transistor Q1, and the other end of the seventeenth resistor R3 is connected to the drain of the first field effect transistor Q1.

如图4所示,通过函数信号发生器输出第一方波信号,仿真防死机硬件保护电路单元151在微控制单元正常工作时第一场效应管Q1栅极的输入电压。As shown in FIG. 4 , the function signal generator outputs a first square wave signal to simulate the input voltage of the gate of the first field effect transistor Q1 of the anti-crash hardware protection circuit unit 151 when the micro control unit works normally.

如图5所示,V(1)为微控制单元正常工作时第一场效应管Q1栅极的输入电压,V(3)为函数信号发生器输出的第一方波信号,由图5可以看出,在微控制单元正常工作一直向第一方波输入引脚输入第一方波信号Lock_PWM时,通过防死机硬件保护电路单元151将第一方波信号转换为1.5V电压信号,该电压信号输入到第一场效应管Q1栅极可以控制第一场效应管Q1导通,进而控制第二场效应管Q3导通,令使能输出引脚持续输出高电平信号,开关电源电路模块14持续对微控制单元提供工作电压,微控制单元持续保持在工作状态。As shown in FIG5 , V(1) is the input voltage of the gate of the first field effect transistor Q1 when the micro control unit is working normally, and V(3) is the first square wave signal output by the function signal generator. As can be seen from FIG5 , when the micro control unit is working normally and the first square wave signal Lock_PWM is continuously input to the first square wave input pin, the first square wave signal is converted into a 1.5V voltage signal by the anti-crash hardware protection circuit unit 151. The voltage signal is input to the gate of the first field effect transistor Q1 to control the first field effect transistor Q1 to turn on, and then control the second field effect transistor Q3 to turn on, so that the enable output pin continuously outputs a high level signal, and the switch power supply circuit module 14 continuously provides the micro control unit with a working voltage, and the micro control unit continuously maintains a working state.

如图6所示,当微控制单元因软件死机或其端口出现损坏时无法进入待机状态时,微控制单元不能再持续输出第一方波信号,即微控制单元向第一方波输入引脚输入会转变为微控制单元的工作电压。在本实施例中微控制单元的工作电压为3.3V。As shown in FIG6 , when the microcontroller unit cannot enter the standby state due to software crash or damage to its port, the microcontroller unit can no longer continuously output the first square wave signal, that is, the input of the microcontroller unit to the first square wave input pin will be converted into the operating voltage of the microcontroller unit. In this embodiment, the operating voltage of the microcontroller unit is 3.3V.

本实施例通过3.3V的稳定电源V1来仿真微控制单元因软件死机或其端口出现损坏时无法进入待机状态时第一方波输入引脚的输入电压。In this embodiment, a 3.3V stable power source V1 is used to simulate the input voltage of the first square wave input pin when the micro control unit cannot enter the standby state due to software freeze or damage to its port.

如图7所示,V(1)为微控制单元因软件死机或其端口出现损坏时无法进入待机状态时第一场效应管Q1栅极的输入电压,V(3)为V1输出的3.3V稳定电压,由图5可以看出,在微控制单元正常工作一直向第一方波输入引脚输入3.3V,通过防死机硬件保护电路单元151输出到第一场效应管Q1的栅极的电压始终为0,该电压信号输入到第一场效应管Q1栅极不能控制第一场效应管Q1导通,当第一场效应管Q1截止时,第二场效应管Q3也进入截止状态,从而导致使能输出引脚输出低电平信号,开关电源电路模块14停止对微控制单元提供工作电压,微控制单元自动断电保护进入待机状态。As shown in FIG7 , V(1) is the input voltage of the gate of the first field effect transistor Q1 when the micro control unit cannot enter the standby state due to software crash or damage to its port, and V(3) is the 3.3V stable voltage output by V1. As can be seen from FIG5 , when the micro control unit is working normally, 3.3V is always input to the first square wave input pin, and the voltage output to the gate of the first field effect transistor Q1 by the anti-crash hardware protection circuit unit 151 is always 0. The voltage signal input to the gate of the first field effect transistor Q1 cannot control the first field effect transistor Q1 to be turned on. When the first field effect transistor Q1 is turned off, the second field effect transistor Q3 also enters the turned-off state, thereby causing the enable output pin to output a low level signal, and the switch power supply circuit module 14 stops providing the micro control unit with working voltage, and the micro control unit automatically powers off for protection and enters the standby state.

进一步的,电池供电的变频器低功耗开机唤醒电路还包括电池电压检测电路17。Furthermore, the battery-powered inverter low-power startup wake-up circuit also includes a battery voltage detection circuit 17 .

其中,电池电压检测电路17用于检测电池模块11的电量情况。The battery voltage detection circuit 17 is used to detect the power status of the battery module 11 .

电池电压检测电路17的输入端连接在第二场效应管Q3的漏极与第三电阻R23之间的电路上,电池电压检测电路17的输出端用于与微控制单元连接。The input end of the battery voltage detection circuit 17 is connected to the circuit between the drain of the second field effect transistor Q3 and the third resistor R23, and the output end of the battery voltage detection circuit 17 is used to connect to the micro control unit.

在本实施例中,电池模块11的电池电压VDD经过第二场效应管Q3后以VDD1,即电池电压检测电路17的输入电压为VDD1,也就是说,在微控制单元关机后,电池模块11与电池电压检测电路17断开,电池电压检测电路17不会再消耗电池模块11的电压,从而进一步提高本发明的电池供电的变频器低功耗开机唤醒电路的低功耗性能。In this embodiment, the battery voltage VDD of the battery module 11 is VDD1 after passing through the second field effect transistor Q3, that is, the input voltage of the battery voltage detection circuit 17 is VDD1. In other words, after the micro control unit is shut down, the battery module 11 is disconnected from the battery voltage detection circuit 17, and the battery voltage detection circuit 17 will no longer consume the voltage of the battery module 11, thereby further improving the low power consumption performance of the battery-powered inverter low power startup wake-up circuit of the present invention.

如图8所示,进一步的,电池电压检测电路17包括第七电阻R6、第八电阻R7、第九电阻R8、第三电容C3以及第四电容C4。As shown in FIG8 , further, the battery voltage detection circuit 17 includes a seventh resistor R6 , an eighth resistor R7 , a ninth resistor R8 , a third capacitor C3 and a fourth capacitor C4 .

其中,第七电阻R6的一端连接在第二场效应管Q3的漏极与第三电阻R23之间的电路上,第七电阻R6的另一端与第八电阻R7、第九电阻R8的一端连接,第九电阻R8的另一端接地,第八电阻R7的另一端与微控制单元、第四电容C4的一端连接,第四电容C4的另一端与第九电阻R8的另一端和地连接,第三电容C3并联在第九电阻R8的两端。Among them, one end of the seventh resistor R6 is connected to the circuit between the drain of the second field effect transistor Q3 and the third resistor R23, the other end of the seventh resistor R6 is connected to one end of the eighth resistor R7 and the ninth resistor R8, the other end of the ninth resistor R8 is grounded, the other end of the eighth resistor R7 is connected to the micro control unit and one end of the fourth capacitor C4, the other end of the fourth capacitor C4 is connected to the other end of the ninth resistor R8 and the ground, and the third capacitor C3 is connected in parallel to the two ends of the ninth resistor R8.

在本实施例中,在微控制单元正常工作时,第二场效应管Q3导通,通过电池电压检测电路17实时检测电池模块11的电池电压。In this embodiment, when the micro control unit works normally, the second field effect transistor Q3 is turned on, and the battery voltage of the battery module 11 is detected in real time through the battery voltage detection circuit 17 .

也就是说,VDD1经过第七电阻R6和第九电阻R8分压,以及第三电容C3、第四电容C4和第八电阻R7滤波后输出电池电压检测信号,微控制单元通过电池电压检测信号确定当前时刻的电池电量。That is, VDD1 is divided by the seventh resistor R6 and the ninth resistor R8, and filtered by the third capacitor C3, the fourth capacitor C4 and the eighth resistor R7 to output a battery voltage detection signal, and the micro control unit determines the current battery power through the battery voltage detection signal.

如图9所示,按键电路模块12还包括第十电阻R101,机械开关的一端与电池模块11连接,第十电阻R101串联在机械开关的另一端。As shown in FIG. 9 , the key circuit module 12 further includes a tenth resistor R101 , one end of the mechanical switch is connected to the battery module 11 , and the tenth resistor R101 is connected in series to the other end of the mechanical switch.

具体的,第十电阻R101与机械开关K101串联,第十电阻R101为分压电阻,在机械开关K101闭合后,通过第十电阻R101对电池模块11的电池电压VDD进行分压产生模拟的按键信号。Specifically, the tenth resistor R101 is connected in series with the mechanical switch K101 , and the tenth resistor R101 is a voltage-dividing resistor. After the mechanical switch K101 is closed, the battery voltage VDD of the battery module 11 is divided by the tenth resistor R101 to generate a simulated key signal.

按键信号检测电路模块13包括第十一电阻R71、第十二电阻R211、第五电容C55以及第四二极管D2。The key signal detection circuit module 13 includes an eleventh resistor R71 , a twelfth resistor R211 , a fifth capacitor C55 and a fourth diode D2 .

第十一电阻R71的一端与第十电阻R101远离机械开关的一端连接,用于接收闭合信号或断开信号,第十一电阻R71的另一端与微控制单元、第四二极管D2的正极以及第五电容C55的一端连接,第四二极管D2的负极与开关电源电路模块14输出工作电压的输出端连接,第五电容C55的另一端与第十二电阻R211的一端和地连接,第十二电阻R211的另一端与第十电阻R101远离机械开关的一端连接。One end of the eleventh resistor R71 is connected to an end of the tenth resistor R101 away from the mechanical switch for receiving a closing signal or an opening signal, the other end of the eleventh resistor R71 is connected to the micro control unit, the positive electrode of the fourth diode D2 and one end of the fifth capacitor C55, the negative electrode of the fourth diode D2 is connected to the output end of the switching power supply circuit module 14 outputting the working voltage, the other end of the fifth capacitor C55 is connected to one end of the twelfth resistor R211 and the ground, and the other end of the twelfth resistor R211 is connected to an end of the tenth resistor R101 away from the mechanical switch.

具体的,当开关电源电路模块14为微控制单元提供工作电压之后,微控制单元上电激活开始工作,按键信号检测电路模块13通过第十一电阻R71、第十二电阻R211、第五电容C55以及第四二极管D2将检测到的按键检测信号(闭合信号或断开信号)给到微控制单元,根据输入的电压值通过微控制单元判断该按键信号为开机信号还是关机信号。Specifically, after the switching power supply circuit module 14 provides the working voltage to the micro control unit, the micro control unit is powered on and activated to start working, and the key signal detection circuit module 13 sends the detected key detection signal (closed signal or open signal) to the micro control unit through the eleventh resistor R71, the twelfth resistor R211, the fifth capacitor C55 and the fourth diode D2, and determines whether the key signal is a power-on signal or a power-off signal through the micro control unit according to the input voltage value.

也就是说,当按键信号检测电路模块13输出的电压值为预设开机电压时,确定用户按下机械开关是需要微控制单元开机进入工作状态。That is, when the voltage value output by the key signal detection circuit module 13 is the preset power-on voltage, it is determined that the user presses the mechanical switch to power on the microcontroller unit and enter the working state.

如图9、图10所示,进一步的,按键自检电路模块16包括第十三电阻R30、第十四电阻R31、第十五电阻R4以及第三场效应管Q5。As shown in FIG. 9 and FIG. 10 , further, the key self-checking circuit module 16 includes a thirteenth resistor R30 , a fourteenth resistor R31 , a fifteenth resistor R4 and a third field effect transistor Q5 .

第三场效应管Q5的栅极通过第十三电阻R30与微控制单元连接,用于接收第二方波信号,第三场效应管Q5的漏极通过第十五电阻R4与第十电阻R101远离机械开关的一端连接,第三场效应管Q5的源极与开关电源电路模块14输出工作电压的输出端连接,第十四电阻R31的一端与第三场效应管Q5的源极连接,第十四电阻R31的另一端连接在第十三电阻R30与第三场效应管Q5的栅极连接。The gate of the third field effect transistor Q5 is connected to the micro control unit through the thirteenth resistor R30 for receiving the second square wave signal, the drain of the third field effect transistor Q5 is connected to the end of the tenth resistor R101 away from the mechanical switch through the fifteenth resistor R4, the source of the third field effect transistor Q5 is connected to the output end of the switching power supply circuit module 14 outputting the working voltage, one end of the fourteenth resistor R31 is connected to the source of the third field effect transistor Q5, and the other end of the fourteenth resistor R31 is connected to the thirteenth resistor R30 and the gate of the third field effect transistor Q5.

具体的,VCC表示微控制单元的工作电压。第二方波信号为由微控制单元输出的固定频率和占空比的PWM信号,通过驱动第三场效应管Q5输出VCC电压,通过第十五电阻R4和第十四电阻R31分压后连接到按键电路模块12和按键信号检测电路模块13上,实现低电平与分压电平的方波信号,按键信号检测电路模块13将输入的方波信号转换为检测信号,并将检测信号输入到微控制单元内,在微控制单元一直能接收到检测信号时,说明按键电路模块12处于正常工作状态,无线路损坏。Specifically, VCC represents the working voltage of the microcontroller unit. The second square wave signal is a PWM signal with a fixed frequency and duty cycle output by the microcontroller unit, which outputs a VCC voltage by driving the third field effect transistor Q5, and is connected to the key circuit module 12 and the key signal detection circuit module 13 after voltage division through the fifteenth resistor R4 and the fourteenth resistor R31, so as to realize a square wave signal with a low level and a voltage division level. The key signal detection circuit module 13 converts the input square wave signal into a detection signal, and inputs the detection signal into the microcontroller unit. When the microcontroller unit can always receive the detection signal, it indicates that the key circuit module 12 is in a normal working state and there is no circuit damage.

在本实施例中,按键电路模块12输出开关信号(闭合信号或关断信号),此时,通过第一二极管D1隔绝开关信号与使能输出引脚输出的使能信号的相互影响。In this embodiment, the key circuit module 12 outputs a switch signal (a closing signal or a closing signal). At this time, the first diode D1 is used to isolate the switch signal from the mutual influence of the enable signal output by the enable output pin.

如图11所示,进一步的,开关电源电路模块14包括电源芯片U101和降压芯片U15,其中,电源芯片U101用于在接收到高电平的使能信号后开启,输出15V稳定电压,降压芯片U15用于将15V的稳定电压降压为微控制单元需要的工作电压,在图11中以VCC表示。As shown in FIG11 , further, the switching power supply circuit module 14 includes a power chip U101 and a buck chip U15, wherein the power chip U101 is used to turn on after receiving a high-level enable signal and output a 15V stable voltage, and the buck chip U15 is used to step down the 15V stable voltage into the working voltage required by the micro control unit, which is represented by VCC in FIG11 .

具体的,电源芯片U101的GND引脚接地,电源芯片U101的VIN引脚与电池模块11连接,用于接收电池电压VDD;电源芯片U101的使能引脚EN与开关使能自锁电路模块15的使能输出引脚连接,用于接收使能信号;电源芯片U101的RT引脚通过电阻R29与电容C325的一端和地连接,电容C325的另一端与电池模块11连接;电源芯片U101的SW引脚与电感L101的一端和电容C35的一端连接;电源芯片U101的BOOT引脚与电容C35的另一端连接;电源芯片U101的PGOOD引脚与电阻R26的一端连接;电源芯片U101的FB引脚与电阻R28、电阻R27、电容C34的一端连接;Specifically, the GND pin of the power chip U101 is grounded, the VIN pin of the power chip U101 is connected to the battery module 11 for receiving the battery voltage VDD; the enable pin EN of the power chip U101 is connected to the enable output pin of the switch enable self-locking circuit module 15 for receiving an enable signal; the RT pin of the power chip U101 is connected to one end of the capacitor C325 and the ground through the resistor R29, and the other end of the capacitor C325 is connected to the battery module 11; the SW pin of the power chip U101 is connected to one end of the inductor L101 and one end of the capacitor C35; the BOOT pin of the power chip U101 is connected to the other end of the capacitor C35; the PGOOD pin of the power chip U101 is connected to one end of the resistor R26; the FB pin of the power chip U101 is connected to the resistor R28, the resistor R27, and one end of the capacitor C34;

电感电感L101的另一端与电阻R26的另一端、电阻R27的另一端、电容C34的另一端、电容C103的正极以及电容C107的一端连接;电阻R28的另一端与电容C103的负极、电容C107的另一端连接并接地。15V的稳定电压从电感L101远离电源芯片U101的一端输出。The other end of the inductor L101 is connected to the other end of the resistor R26, the other end of the resistor R27, the other end of the capacitor C34, the positive electrode of the capacitor C103 and one end of the capacitor C107; the other end of the resistor R28 is connected to the negative electrode of the capacitor C103, the other end of the capacitor C107 and grounded. A stable voltage of 15V is output from one end of the inductor L101 away from the power chip U101.

降压芯片U15的VIN引脚与电感L101远离电源芯片U101的一端和电阻R70的一端连接,电阻R70的另一端与电容C103的负极和地连接,降压芯片U15的ADJ/GND引脚与电阻R70的另一端连接,降压芯片U15的VOUT引脚与电容C9的正极和电容C11的一端连接,用于输出微控制单元需要的工作电压VCC,电容C9的负极和电容C11的另一端连接,并接入电阻R70接地的一端。The VIN pin of the step-down chip U15 is connected to one end of the inductor L101 away from the power chip U101 and one end of the resistor R70. The other end of the resistor R70 is connected to the negative electrode of the capacitor C103 and the ground. The ADJ/GND pin of the step-down chip U15 is connected to the other end of the resistor R70. The VOUT pin of the step-down chip U15 is connected to the positive electrode of the capacitor C9 and one end of the capacitor C11, and is used to output the working voltage VCC required by the micro control unit. The negative electrode of the capacitor C9 is connected to the other end of the capacitor C11, and is connected to the grounded end of the resistor R70.

如图12所示,第二方面,本发明实施例还提供了一种变频器,该变频器包括目标变频器的微控制单元以及上述任一项的电池供电的变频器低功耗开机唤醒电路。As shown in FIG. 12 , in a second aspect, an embodiment of the present invention further provides a frequency converter, which includes a microcontroller unit of a target frequency converter and any one of the above-mentioned battery-powered frequency converter low-power startup wake-up circuits.

进一步的,微控制单元包括电源端、第一输入端、第二输入端、第一输出端以及第二输出端;Further, the micro control unit includes a power supply terminal, a first input terminal, a second input terminal, a first output terminal and a second output terminal;

电源端用于接收开关电源电路模块14输出的工作电压;The power supply terminal is used to receive the working voltage output by the switching power supply circuit module 14;

第一输入端用于接收按键信号检测电路模块13输出的开机/关机信号;The first input terminal is used to receive the power on/off signal output by the key signal detection circuit module 13;

第二输入端用于接收开关使能自锁电路模块15输出的使能信号;The second input terminal is used to receive the enable signal output by the switch enable self-locking circuit module 15;

第一输出端用于输出第一方波信号;The first output terminal is used to output a first square wave signal;

第二输出端用于输出第二方波信号。The second output terminal is used to output a second square wave signal.

具体的,电源端用于接收开关电源电路模块14输出的VCC电压,第一输入端用于接收按键信号检测电路模块13的输出信号,在本实施例中以按键检测信号表示,按键检测信号包括开机信号、关机信号和按键信号检测电路模块13根据检测方波输出的对应的检测信号,这三种信号的输出电压不同,开关电源电路模块14通过输入的不同电压确定按键电路模块12要实现的功能(开机或关机)或按键电路模块12的状态(按键电路模块12是否处于正常工作状态)。Specifically, the power supply end is used to receive the VCC voltage output by the switching power supply circuit module 14, and the first input end is used to receive the output signal of the key signal detection circuit module 13, which is represented by a key detection signal in the present embodiment. The key detection signal includes a power-on signal, a power-off signal and a corresponding detection signal output by the key signal detection circuit module 13 according to the detection square wave. The output voltages of these three signals are different. The switching power supply circuit module 14 determines the function (power-on or power-off) to be implemented by the key circuit module 12 or the state of the key circuit module 12 (whether the key circuit module 12 is in a normal working state) through the different input voltages.

本发明通过信号级的机械开关替代现有技术中使用的大电流的机械开关,能够在电池不断电的情况下通过控制开关电源电路模块为目标变频器的微控制单元是否提供工作电压来降低电路的功耗,增加目标变频器的待机时间;本发明还通过按键自检电路模块解决了现有技术容易对开关信号进行误判的安全问题;通过根据接收到的微控制单元发送的第一方波信号维持使能信号,从而维持开关电源电路模块长时间输出工作电压的方案,有效地防止微控制单元因软件死机或其端口出现损坏时无法进入待机状态导致的电池损坏问题。The present invention replaces the high-current mechanical switch used in the prior art with a signal-level mechanical switch, and can reduce the power consumption of the circuit by controlling whether the switch power circuit module provides the operating voltage to the microcontroller unit of the target inverter when the battery is not disconnected, thereby increasing the standby time of the target inverter; the present invention also solves the safety problem of the prior art that the switch signal is easily misjudged by a key self-check circuit module; by maintaining the enable signal according to the first square wave signal sent by the received microcontroller unit, the scheme of maintaining the switch power circuit module to output the operating voltage for a long time can effectively prevent the battery damage problem caused by the microcontroller unit being unable to enter the standby state due to software freeze or damage to its port.

以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何在本发明揭露的技术范围内的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims (10)

CN202311802644.8A2023-12-262023-12-26 A battery-powered inverter low-power startup wake-up circuit and inverterActiveCN117458833B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202311802644.8ACN117458833B (en)2023-12-262023-12-26 A battery-powered inverter low-power startup wake-up circuit and inverter

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202311802644.8ACN117458833B (en)2023-12-262023-12-26 A battery-powered inverter low-power startup wake-up circuit and inverter

Publications (2)

Publication NumberPublication Date
CN117458833A CN117458833A (en)2024-01-26
CN117458833Btrue CN117458833B (en)2024-04-19

Family

ID=89582222

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202311802644.8AActiveCN117458833B (en)2023-12-262023-12-26 A battery-powered inverter low-power startup wake-up circuit and inverter

Country Status (1)

CountryLink
CN (1)CN117458833B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN118295721B (en)*2024-04-222024-11-08深圳市锐宝智联信息有限公司Intel ME firmware circuit and method based on Internet of things

Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103558774A (en)*2013-09-242014-02-05康佳集团股份有限公司Arbitrary key wakeup control device and terminal
CN209149116U (en)*2018-11-232019-07-23浙江零跑科技有限公司 A low-power arbitrary key-press wake-up circuit
CN209215905U (en)*2018-12-282019-08-06苏州市纽莱克电子科技有限公司Zero-power-consumption standby wake-up circuit and electrical equipment
CN113805507A (en)*2021-08-312021-12-17深圳市奋达智能技术有限公司Low-power consumption electronic switch device and equipment control system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103376748A (en)*2012-04-202013-10-30鸿富锦精密工业(深圳)有限公司Electronic device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103558774A (en)*2013-09-242014-02-05康佳集团股份有限公司Arbitrary key wakeup control device and terminal
CN209149116U (en)*2018-11-232019-07-23浙江零跑科技有限公司 A low-power arbitrary key-press wake-up circuit
CN209215905U (en)*2018-12-282019-08-06苏州市纽莱克电子科技有限公司Zero-power-consumption standby wake-up circuit and electrical equipment
CN113805507A (en)*2021-08-312021-12-17深圳市奋达智能技术有限公司Low-power consumption electronic switch device and equipment control system

Also Published As

Publication numberPublication date
CN117458833A (en)2024-01-26

Similar Documents

PublicationPublication DateTitle
CN203643779U (en)Outage wake-up circuit of ammeter metering terminal
CN105811747A (en)High-voltage power supply system with enable control
CN117458833B (en) A battery-powered inverter low-power startup wake-up circuit and inverter
WO2021258366A1 (en)Control circuit, battery management system and electrochemical device
CN114167971B (en)Dormancy awakening circuit, automatic walking equipment and awakening method thereof
CN101893925B (en)Start circuit
CN110535336A (en)Delay switch driving circuit and system
CN202268710U (en)Energy-controllable output device for fuel battery
CN207650607U (en)A kind of managing power consumption circuit
CN113103884B (en)Wake-up signal generating circuit and vehicle charging system
CN114448411B (en) Key control circuit, method and related equipment for battery connection or disconnection
CN212210543U (en)Anti-lock BMS electrical power generating system
CN115425716A (en) Electronic equipment
CN115051545A (en)Power management chip starting circuit and power management device
CN203135715U (en)Power-supply management circuit
CN210609098U (en)NB-IoT communication module starting circuit, circuit board and Internet of things terminal
CN203553933U (en)Circuit for storage battery isolation reversal connection protection
CN201733224U (en)Two-step control circuit applied to high-power power supply module
CN217010957U (en)Power-on and power-off control circuit and image pickup apparatus
CN220234206U (en) Anti-backfeed circuit, charging system and vehicle
CN214626943U (en)Switch unit and electronic device
CN119582118B (en) Lithium battery charging overvoltage secondary protection circuit and lithium battery charging system
CN223194453U (en) A power-off protection circuit based on lithium battery
CN216016467U (en)Low-voltage protection circuit, device and electrical equipment
CN104331142B (en) Integrated computer power loss protection power supply

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp