CN111322233A - Sampling circuit and method for improving precision, compressor and air conditioning equipment - Google Patents
Sampling circuit and method for improving precision, compressor and air conditioning equipment Download PDFInfo
- Publication number
- CN111322233A CN111322233A CN202010128907.1A CN202010128907A CN111322233A CN 111322233 A CN111322233 A CN 111322233A CN 202010128907 A CN202010128907 A CN 202010128907A CN 111322233 A CN111322233 A CN 111322233A
- Authority
- CN
- China
- Prior art keywords
- sampling
- branch
- sampling branch
- compressor
- module
- 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.)
- Granted
Links
Images
Classifications
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F04—POSITIVE - DISPLACEMENT MACHINES FOR LIQUIDS; PUMPS FOR LIQUIDS OR ELASTIC FLUIDS
- F04B—POSITIVE-DISPLACEMENT MACHINES FOR LIQUIDS; PUMPS
- F04B49/00—Control, e.g. of pump delivery, or pump pressure of, or safety measures for, machines, pumps, or pumping installations, not otherwise provided for, or of interest apart from, groups F04B1/00 - F04B47/00
- F04B49/06—Control using electricity
- F04B49/065—Control using electricity and making use of computers
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K19/00—Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits
- H03K19/0175—Coupling arrangements; Interface arrangements
Landscapes
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Mathematical Physics (AREA)
- Mechanical Engineering (AREA)
- Analogue/Digital Conversion (AREA)
Abstract
Description
技术领域technical field
本发明涉及电子电力技术领域,具体而言,涉及一种提高精度的采样电路、方法、压缩机及空调设备。The present invention relates to the technical field of electronic power, and in particular, to a sampling circuit, method, compressor and air conditioner with improved accuracy.
背景技术Background technique
现有变频驱动空调技术中,压缩机电流通过单电阻进行采样。当压缩机电流较小时,采样电阻的采样电压也变小。由于可能存在的叠加干扰等原因,在不改变运放增益的条件下,在压缩机电流较小时,采样值经过运放后相比正常情况下精度会变低,从而影响该情况下对压缩机的控制。In the existing variable frequency drive air conditioner technology, the compressor current is sampled through a single resistor. When the compressor current is smaller, the sampling voltage of the sampling resistor also becomes smaller. Due to possible superimposed interference and other reasons, under the condition that the gain of the op amp is not changed, when the compressor current is small, the accuracy of the sampled value after the op amp will be lower than that under normal conditions, which will affect the compressor in this case. control.
针对现有技术中采样电压随着压缩机电流减小时,采样精度会变低的问题,目前尚未提出有效的解决方案。Aiming at the problem in the prior art that when the sampling voltage decreases with the compressor current, the sampling accuracy will become lower, and no effective solution has been proposed so far.
发明内容SUMMARY OF THE INVENTION
本发明实施例中提供一种提高精度的采样电路、方法、压缩机及空调设备,以解决现有技术中采样电压随着压缩机电流减小时,采样精度会变低的问题。Embodiments of the present invention provide a sampling circuit, method, compressor, and air conditioner with improved accuracy, so as to solve the problem in the prior art that when the sampling voltage decreases with the compressor current, the sampling accuracy becomes lower.
为解决上述技术问题,本发明提供了一种提高精度的采样电路,其中,该采样包括:采样模块、运算模块和数字信号处理器;In order to solve the above technical problems, the present invention provides a sampling circuit with improved accuracy, wherein the sampling includes: a sampling module, an arithmetic module and a digital signal processor;
所述采样模块,连接至压缩机和参考地之间,包括:并联设置在压缩机和参考地之间的第一采样支路和第二采样支路,所述第一采样支路和/或所述第二采样支路在所述数字信号处理器控制下改变导通状态;The sampling module, connected between the compressor and the reference ground, includes: a first sampling branch and a second sampling branch arranged in parallel between the compressor and the reference ground, the first sampling branch and/or The second sampling branch changes the conduction state under the control of the digital signal processor;
所述运算模块,其第一输入端连接至所述压缩机和所述采样模块之间,其第二输入端连接参考地,其输出端连接所述数字信号处理器,用于对所述采样模块输出的采样电压进行运算处理后,输出至数字信号处理器;The first input of the arithmetic module is connected between the compressor and the sampling module, the second input is connected to the reference ground, and the output is connected to the digital signal processor for sampling the sampling After the sampling voltage output by the module is processed, it is output to the digital signal processor;
所述数字信号处理器,分别与所述运算模块和所述采样模块连接,用于根据经过运算处理的采样电压控制所述导通状态。The digital signal processor is connected to the operation module and the sampling module respectively, and is used for controlling the conduction state according to the sampling voltage processed by the operation.
进一步地,所述导通状态是指:所述第一采样支路和所述第二采样支路择一导通,或者,所述第一采样支路和所述第二采样支路全部导通。Further, the conduction state means: the first sampling branch and the second sampling branch are selectively turned on, or all the first sampling branch and the second sampling branch are turned on. Pass.
进一步地,所述第一采样支路和/或所述第二采样支路上设置有开关,所述开关在所述数字信号处理器的控制下导通或者关断。Further, a switch is provided on the first sampling branch and/or the second sampling branch, and the switch is turned on or off under the control of the digital signal processor.
进一步地,所述第一采样支路至少包括一个第一电阻,所述第二采样支路至少包括一个第二电阻。Further, the first sampling branch includes at least one first resistor, and the second sampling branch includes at least one second resistor.
进一步地,所述第一电阻和所述第二电阻为定值电阻。Further, the first resistor and the second resistor are fixed-value resistors.
本发明还提供一种压缩机,包括上述提供精度的采样电路。The present invention also provides a compressor, including the above-mentioned sampling circuit for providing accuracy.
本发明还提供一种空调设备,包括上述压缩机。The present invention also provides an air conditioner, comprising the above compressor.
本发明还提供一种提高精度的采样方法,应用于上述提高精度的采样电路,所述包括:The present invention also provides a sampling method for improving precision, which is applied to the above-mentioned sampling circuit for improving precision, comprising:
获取采样电压值;Get the sampled voltage value;
根据所述采样电压值控制第一采样支路和/或第二采样支路的导通状态。The conduction state of the first sampling branch and/or the second sampling branch is controlled according to the sampled voltage value.
进一步地,根据所述采样电压值控制第一采样支路和/或第二采样支路的导通状态,包括:Further, controlling the conduction state of the first sampling branch and/or the second sampling branch according to the sampled voltage value includes:
如果所述采样电压值小于第一预设值,则控制所述第一采样支路和所述第二采样支路择一导通;If the sampling voltage value is less than the first preset value, controlling the first sampling branch and the second sampling branch to conduct one of them;
如果所述采样电压值大于或等于所述第一预设值,则控制所述第一采样支路和所述第二采样支路全部导通。If the sampling voltage value is greater than or equal to the first preset value, the first sampling branch and the second sampling branch are controlled to be all turned on.
进一步地,控制所述第一采样支路和所述第二采样支路择一导通后,所述方法还包括:Further, after controlling one of the first sampling branch and the second sampling branch to be turned on, the method further includes:
判断当前的采样电压值是否大于或等于第二预设值;其中,所述第二预设值大于所述第一预设值;Determine whether the current sampling voltage value is greater than or equal to a second preset value; wherein, the second preset value is greater than the first preset value;
如果是,则控制所述第一采样支路和所述第二采样支路全部导通;If yes, control the first sampling branch and the second sampling branch to be all turned on;
如果否,则继续保持所述第一采样支路和所述第二采样支路择一导通。If not, continue to keep the first sampling branch and the second sampling branch alternately conducting.
进一步地,控制所述第一采样支路和所述第二采样支路择一导通,包括:控制所述第一采样支路的开关或者所述第二采样支路中的任意支路的开关关断;Further, controlling one of the first sampling branch and the second sampling branch to be turned on includes: controlling a switch of the first sampling branch or a switch of any branch in the second sampling branch. switch off;
控制所述第一采样支路和所述第二采样支路全部导通,包括:控制所述第一采样支路的开关和所述第二采样支路的开关均导通。Controlling all of the first sampling branch and the second sampling branch to be turned on includes: controlling both the switches of the first sampling branch and the second sampling branch to be turned on.
本发明还提供一种计算机可读存储介质,其上存储有计算机程序,所述程序被处理器执行时实现上述提高精度的采样方法。The present invention also provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the above-mentioned sampling method for improving precision is implemented.
应用本发明的技术方案,通过改变第一采样支路和第二采样支路的导通状态,改变采样模块的总阻值,当采样电压随着压缩机电流减小时,能够适应性地改变采样模块的总阻值,实现在压缩机电流较低时进行更精准的电流采样,从而对压缩机进行更精确的控制。By applying the technical solution of the present invention, by changing the conduction state of the first sampling branch and the second sampling branch, the total resistance value of the sampling module is changed, and when the sampling voltage decreases with the compressor current, the sampling can be changed adaptively. The total resistance value of the module can achieve more accurate current sampling when the compressor current is low, so as to control the compressor more accurately.
附图说明Description of drawings
图1为根据本发明实施例的采样电路的结构图;1 is a structural diagram of a sampling circuit according to an embodiment of the present invention;
图2为根据本发明另一实施例的采样电路的结构图;2 is a structural diagram of a sampling circuit according to another embodiment of the present invention;
图3为根据本发明又一实施例的采样电路的结构图;3 is a structural diagram of a sampling circuit according to another embodiment of the present invention;
图4为根据本发明实施例的采样方法的流程图。FIG. 4 is a flowchart of a sampling method according to an embodiment of the present invention.
具体实施方式Detailed ways
为了使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明作进一步地详细描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only a 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 those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
在本发明实施例中使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本发明。在本发明实施例和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义,“多种”一般包含至少两种。The terms used in the embodiments of the present invention are only for the purpose of describing specific embodiments, and are not intended to limit the present invention. The singular forms "a," "the," and "the" as used in the embodiments of the present invention and the appended claims are intended to include the plural forms as well, unless the context clearly dictates otherwise, "a plurality" Generally at least two are included.
应当理解,本文中使用的术语“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。It should be understood that the term "and/or" used in this document is only an association relationship to describe the associated objects, indicating that there may be three kinds of relationships, for example, A and/or B, which may indicate that A exists alone, and A and B exist at the same time. B, there are three cases of B alone. In addition, the character "/" in this document generally indicates that the related objects are an "or" relationship.
应当理解,尽管在本发明实施例中可能采用术语第一、第二、第三等来描述电阻,但这些电阻不应限于这些术语。这些术语仅用来将不同电阻区分开。例如,在不脱离本发明实施例范围的情况下,第一电阻也可以被称为第二电阻,类似地,第二电阻也可以被称为第一电阻。It should be understood that although the terms first, second, third, etc. may be used to describe resistances in embodiments of the present invention, these resistances should not be limited by these terms. These terms are only used to distinguish different resistances. For example, the first resistor may also be referred to as the second resistor, and similarly, the second resistor may also be referred to as the first resistor without departing from the scope of the embodiments of the present invention.
取决于语境,如在此所使用的词语“如果”、“若”可以被解释成为“在……时”或“当……时”或“响应于确定”或“响应于检测”。类似地,取决于语境,短语“如果确定”或“如果检测(陈述的条件或事件)”可以被解释成为“当确定时”或“响应于确定”或“当检测(陈述的条件或事件)时”或“响应于检测(陈述的条件或事件)”。Depending on the context, the words "if", "if" as used herein may be interpreted as "at" or "when" or "in response to determining" or "in response to detecting". Similarly, the phrases "if determined" or "if detected (the stated condition or event)" can be interpreted as "when determined" or "in response to determining" or "when detected (the stated condition or event)," depending on the context )" or "in response to detection (a stated condition or event)".
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的商品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种商品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的商品或者装置中还存在另外的相同要素。It should also be noted that the terms "comprising", "comprising" or any other variation thereof are intended to encompass a non-exclusive inclusion, such that a commodity or device comprising a list of elements includes not only those elements, but also those not explicitly listed other elements, or other elements inherent to such goods or devices. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in the article or device that includes the element.
下面结合附图详细说明本发明的可选实施例。The optional embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
实施例1Example 1
本实施例提供一种提高精度的采样电路,图1为根据本发明实施例的采样电路的结构图,如图1所示,该采样电路包括采样模块11、运算模块12和数字信号处理器13;采样模块11,连接至压缩机14和参考地之间,包括:并联设置在压缩机和参考地之间的第一采样支路111和第二采样支路112,第一采样支路111和/或第二采样支路112在所述数字信号处理器13控制下改变导通状态;运算模块12,其第一输入端连接至压缩机14和采样模块11之间,其第二输入端连接参考地,其输出端连接数字信号处理器13,用于对采样模块11输出的采样电压进行运算处理后,输出至数字信号处理器13;数字信号处理器13,分别与运算模块12和采样模块11连接,用于根据经过运算处理的采样电压控制上述第一采样支路111和/或第二采样支路112的导通状态,实现改变采样模块11的总阻值,其中,导通状态是指:第一采样支路和第二采样支路择一导通,或者,第一采样支路和第二采样支路全部导通。This embodiment provides a sampling circuit with improved accuracy. FIG. 1 is a structural diagram of a sampling circuit according to an embodiment of the present invention. As shown in FIG. 1 , the sampling circuit includes a
本实施例的采样电路,通过改变第一采样支路和第二采样支路的导通状态,改变采样模块11的总阻值,当采样电压随着压缩机电流减小时,能够适应性地改变采样模块11的总阻值,实现在压缩机电流较低时进行更精准的电流采样,从而对压缩机进行更精确的控制。In the sampling circuit of this embodiment, by changing the conduction state of the first sampling branch and the second sampling branch, the total resistance value of the
实施例2Example 2
本实施例提供另一种提高精度的采样电路,图2为根据本发明另一实施例的采样电路的结构图,为了实现控制上述第一采样支路111和/或第二采样支路112的导通状态,如图2所示,第二采样支路112上设置有开关Q,开关Q连接数字信号处理器的第二接口DSP2连接在数字信号处理器的控制下导通或者关断,需要说明的是,在本发明的其他实施例中,开关也可以设置在第一采样支路111,还可以在第一采样支路111以及第二采样支路112上均设置开关,其中,上述开关Q可以是MOSFET开关管或者IGBT开关管,本领域技术人员可以根据实际需要进行选择,本发明不作具体限定。This embodiment provides another sampling circuit with improved accuracy. FIG. 2 is a structural diagram of a sampling circuit according to another embodiment of the present invention. In order to control the
为了实现第一采样支路111以及第二采样支路112形成的采样模块11的总阻值可变,第一采样支路111至少包括一个第一电阻R1,第二采样支路112至少包括一个第二电阻R2,在本实施例中,第一电阻R1和第二电阻R2的个数均为1,在本发明的其他实施例中,第一采样支路111可以包括多个串联的第一电阻R1,或者多个第一电阻R1通过串联和并联结合的方式形成电阻网络,其中,每个并联支路的导通可以单独控制,类似地,第二采样支路112也可以包括多个串联的第二电阻R2,或者多个第二电阻R2通过串联和并联结合的方式形成电阻网络,其中,每个并联支路的导通可以单独控制。In order to realize that the total resistance value of the
在具体实施时,为了便于分析计算采样电路的总阻值,上述第一电阻R1和第二电阻R2为定值电阻,其阻值固定不变。During specific implementation, in order to facilitate the analysis and calculation of the total resistance value of the sampling circuit, the first resistor R1 and the second resistor R2 are fixed-value resistors, and their resistance values are fixed.
由于采样模块11输出的电压为模拟信号,而数字信号处理器13的输入信号需为数字信号,因此,需要将采样模块11输出的电压进行运算处理,才能够被数字信号处理器13接收并读取,因此,上述运算模块12包括:运算放大器A;第三电阻R3,第三电阻R3的第一端连接至采样模块11与压缩机14之间,第二端连接上述运算放大器A的正相输入端,用于限制运算放大器A的正相输入端的输入电压,避免运算放大器A正相输入端的输入电压过高,超过运算放大器A的工作电压;以及第四电阻R4,第四电阻连接至运算放大器的反相输入端与参考地之间,用于限制运算放大器A的反相输入端的输入电压,使反相输入端的输入电压不为零,运算放大器A的输出端连接数字信号处理器的第一接口DSP1。Since the voltage output by the
在上述运算模块12中,为了增加系统稳定性,以及增加输入阻抗并且降低输出阻抗,还可以包括:第五电阻R5,连接至运算放大器A的输出端与运算放大器的反相输入端之间,用于将运算放大器A的部分输出信号反馈至其反相输入端,以实现增加系统稳定性、增加输入阻抗和降低输出阻抗的目的。In the
由于上述运算放大器需要在一定的电压下工作,因此,该运算放大器A还包括:第三输入端和第四输入端,第三输入端连接参考地,第四输入端连接电压源VCC,用于实现为运算放大器A提供工作电源。Since the above operational amplifier needs to work under a certain voltage, the operational amplifier A further includes: a third input terminal and a fourth input terminal, the third input terminal is connected to the reference ground, and the fourth input terminal is connected to the voltage source VCC for Implemented to provide operating power for operational amplifier A.
实施例3Example 3
本实施例提供另一种提高精度的采样电路,图3为根据本发明又一实施例的采样电路的结构图,如图3所示,该电路包括:第一采样电阻R31、第二采样电阻R32、运算放大器正相输入端电阻R33、运算放大器反相输入端电阻R34、反馈电阻R35、开关管Q1、运算放大器U1-A以及数字信号处理器,即DSP,其中,第二采样电阻R32,根据开关管Q1可承受的最大电流选择,第一采样电阻R31根据第二采样电阻R32和压缩机的额定电流进行选择,当压缩机电流较大时,DSP对应的I/O口输出高电平,压缩机的电流降低至压缩机额定电流的1/10至1/5时,DSP根据接收的电压判断采样电压值相应变为V1,将V1设置为第一阈值。This embodiment provides another sampling circuit with improved accuracy. FIG. 3 is a structural diagram of a sampling circuit according to another embodiment of the present invention. As shown in FIG. 3, the circuit includes: a first sampling resistor R31, a second sampling resistor R32, operational amplifier non-inverting input resistance R33, operational amplifier inverting input resistance R34, feedback resistance R35, switch Q1, operational amplifier U1-A and digital signal processor, namely DSP, wherein, the second sampling resistance R32, According to the selection of the maximum current that the switch tube Q1 can withstand, the first sampling resistor R31 is selected according to the second sampling resistor R32 and the rated current of the compressor. When the compressor current is large, the I/O port corresponding to the DSP outputs a high level , when the current of the compressor is reduced to 1/10 to 1/5 of the rated current of the compressor, the DSP determines that the sampled voltage value correspondingly becomes V1 according to the received voltage, and sets V1 as the first threshold value.
当采样电压值小于第一阈值V1时,则判定此时压缩机电流较低,控制开关管Q1关断,仅第一采样电阻R32导通,使采样阻值相应地升高5至10倍,DSP对应更改采样电压软件值,提高运放正相输入端电压,进而提高采样精度。When the sampling voltage value is less than the first threshold value V1, it is determined that the compressor current is low at this time, the control switch Q1 is turned off, and only the first sampling resistor R32 is turned on, so that the sampling resistance value is increased by 5 to 10 times accordingly. The DSP correspondingly changes the software value of the sampling voltage to increase the voltage of the non-inverting input terminal of the operational amplifier, thereby improving the sampling accuracy.
为了防止运算放大器进入饱和,设置第二阈值V2,第二阈值V2略低于运算放大器电源电压VCC,例如,若VCC为3.3V,则第二阈值V2可设置为3.0V,当控制开关管Q1关断,仅第一采样电阻R32导通后,采样电压值升高至一定阈值V2时,则判断压缩机电流脱离小电流状态,DSP对应的I/O口输出高电平,导通开关管Q1,降低采样阻值,防止运算放大器进入饱和。In order to prevent the operational amplifier from entering saturation, the second threshold V2 is set, which is slightly lower than the operational amplifier power supply voltage VCC. For example, if VCC is 3.3V, the second threshold V2 can be set to 3.0V. When the control switch Q1 Turn off, only after the first sampling resistor R32 is turned on, when the sampling voltage value rises to a certain threshold V2, it is judged that the compressor current is out of the small current state, the I/O port corresponding to the DSP outputs a high level, and the switch tube is turned on. Q1, reduce the sampling resistance to prevent the op amp from entering saturation.
在本实施例中,压缩机电流较大时,开关管Q1处于导通状态。第一采样电阻R31、第二采样电阻R32处于并联状态,此时采样阻值为R31//R32=R31*R32/(R31+R32),压缩机电流降低至压缩机额定电流的1/10至1/5时,开关管Q1处于断开状态,此时采样阻值为R1,即R31//R32=R1,由于R31>R31*R32/(R31+R32),当压缩机电流降低至压缩机额定电流的1/10至1/5时,采样阻值较大,可以提高运放正相输入端电压。In this embodiment, when the compressor current is relatively large, the switch tube Q1 is in a conducting state. The first sampling resistor R31 and the second sampling resistor R32 are in parallel state. At this time, the sampling resistance value is R31//R32=R31*R32/(R31+R32), and the compressor current is reduced to 1/10 of the rated current of the compressor to At 1/5, the switch tube Q1 is in the off state, and the sampling resistance value is R1 at this time, that is, R31//R32=R1. Since R31>R31*R32/(R31+R32), when the compressor current is reduced to the compressor When the rated current is 1/10 to 1/5, the sampling resistance is larger, which can increase the voltage of the non-inverting input terminal of the op amp.
在本实施例中,为了降低第一采样电阻R31和第二采样电阻R32并联时开关管Q1流过的电流,可以采取设置R32的阻值较大,R31阻值较小的方式,使第一采样电阻R31和第二采样电阻R32并联时,流过开关管Q1的电流I=压缩机电流×R31/(R31+R32)。In this embodiment, in order to reduce the current flowing through the switch tube Q1 when the first sampling resistor R31 and the second sampling resistor R32 are connected in parallel, the resistance value of R32 can be set larger and the resistance value of R31 is smaller, so that the first sampling resistor R31 and the second sampling resistor R32 are connected in parallel. When the sampling resistor R31 and the second sampling resistor R32 are connected in parallel, the current I flowing through the switch tube Q1=compressor current×R31/(R31+R32).
在本实施例中,当第二采样电阻R32所在支路电流较小,例如6V以下时,开关管Q1可选用MOSFET;当第二采样电阻R32所在支路电流较大时,开关管可以选用IGBT。In this embodiment, when the current of the branch where the second sampling resistor R32 is located is small, for example, below 6V, the switch Q1 can be selected as a MOSFET; when the current of the branch where the second sampling resistor R32 is located is relatively large, the switch can be selected as an IGBT .
实施例4Example 4
本实施例提供一种压缩机,包括上述实施例中的提高精度的采样电路。This embodiment provides a compressor, including the sampling circuit with improved accuracy in the above-mentioned embodiments.
实施例5Example 5
本实施例提供一种空调设备,包括实施例4中的压缩机,用于提升压缩机的采样精度,实现在压缩机电流较低时进行更精准的电流采样,从而对压缩机进行更精确的控制。This embodiment provides an air conditioner, including the compressor in Embodiment 4, which is used to improve the sampling accuracy of the compressor, so as to implement more accurate current sampling when the compressor current is low, so as to perform more accurate current sampling on the compressor. control.
实施例6Example 6
本实施例提供一种提高精度的采样方法,应用于上述提高精度的采样电路,图4为根据本发明实施例的采样方法的流程图,如图4所示,该方法包括:This embodiment provides a sampling method for improving accuracy, which is applied to the above-mentioned sampling circuit for improving accuracy. FIG. 4 is a flowchart of the sampling method according to an embodiment of the present invention. As shown in FIG. 4 , the method includes:
S101,获取采样电压值;S101, obtaining a sampled voltage value;
S102,根据采样电压值控制第一采样支路和/或第二采样支路的导通状态。S102: Control the conduction state of the first sampling branch and/or the second sampling branch according to the sampled voltage value.
为了实现根据采样电压值控制第一采样支路和第二采样支路择一导通或者全部导通,步骤S102具体包括:如果采样电压值小于第一预设值,则控制第一采样支路和第二采样支路择一导通,以提高采样模块的电阻值,从而提高采样电压;如果采样电压值大于或等于第一预设值,则控制第一采样支路和第二采样支路全部导通,以降低采样模块的电阻值,进而降低采样电压。In order to control the first sampling branch and the second sampling branch to be selectively turned on or all of them are turned on according to the sampled voltage value, step S102 specifically includes: if the sampled voltage value is less than the first preset value, controlling the first sampling branch Select one to conduct with the second sampling branch to increase the resistance value of the sampling module, thereby increasing the sampling voltage; if the sampling voltage value is greater than or equal to the first preset value, control the first sampling branch and the second sampling branch All are turned on to reduce the resistance value of the sampling module, thereby reducing the sampling voltage.
如果采样电压大于或等于运算模块的电源电压,会导致运算模块的饱和,为了避免这一现象,控制第一采样支路和第二采样支路择一导通后,方法还包括:判断当前的采样电压值是否大于或等于第二预设值;其中,第二预设值大于第一预设值,第二阈值根据运算模块的电源电压设置;如果是,则说明采样电压已接近运算模块的电源电压,需控制第一采样支路和第二采样支路全部导通,降低采样电压;如果否,则继续保持第一采样支路和第二采样支路择一导通。If the sampling voltage is greater than or equal to the power supply voltage of the operation module, it will lead to saturation of the operation module. In order to avoid this phenomenon, after controlling the first sampling branch and the second sampling branch to select one to conduct, the method further includes: judging the current Whether the sampling voltage value is greater than or equal to the second preset value; wherein, the second preset value is greater than the first preset value, and the second threshold value is set according to the power supply voltage of the computing module; For the power supply voltage, it is necessary to control all the first sampling branch and the second sampling branch to be turned on, and reduce the sampling voltage; if not, continue to keep the first sampling branch and the second sampling branch conductive.
在具体实施时,控制第一采样支路和第二采样支路择一导通,包括:控制第一采样支路的开关或者第二采样支路中的任意支路的开关关断;控制第一采样支路和第二采样支路全部导通,包括:控制第一采样支路的开关和第二采样支路的开关均导通。In a specific implementation, controlling the first sampling branch and the second sampling branch to selectively turn on includes: controlling the switch of the first sampling branch or the switch of any branch in the second sampling branch to turn off; controlling the first sampling branch to turn off; The first sampling branch and the second sampling branch are all turned on, including: controlling the switches of the first sampling branch and the second sampling branch to be turned on.
本实施例的采样电路,通过改变第一采样支路和第二采样支路的导通状态,改变采样模块的总阻值,当采样电压随着压缩机电流减小时,能够适应性地改变采样模块的总阻值,实现在压缩机电流较低时进行更精准的电流采样,从而对压缩机进行更精确的控制。In the sampling circuit of this embodiment, the total resistance value of the sampling module is changed by changing the conduction state of the first sampling branch and the second sampling branch. When the sampling voltage decreases with the compressor current, the sampling can be changed adaptively. The total resistance value of the module can achieve more accurate current sampling when the compressor current is low, so as to control the compressor more accurately.
实施例7Example 7
本实施例提供一种计算机可读存储介质,其上存储有计算机程序,程序被处理器执行时实现上述提高精度的采样方法。This embodiment provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the above-mentioned sampling method for improving precision is implemented.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分的方法。From the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, and certainly can also be implemented by hardware. Based on this understanding, the above-mentioned technical solutions can be embodied in the form of software products in essence or the parts that make contributions to the prior art, and the computer software products can be stored in computer-readable storage media, such as ROM/RAM, magnetic Disks, optical discs, etc., include instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods of various embodiments or portions of embodiments.
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, but not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that it can still be The technical solutions described in the foregoing embodiments are modified, or some technical features thereof are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims (11)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010128907.1A CN111322233B (en) | 2020-02-28 | 2020-02-28 | Sampling circuit and method for improving precision, compressor and air conditioning equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010128907.1A CN111322233B (en) | 2020-02-28 | 2020-02-28 | Sampling circuit and method for improving precision, compressor and air conditioning equipment |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN111322233A true CN111322233A (en) | 2020-06-23 |
| CN111322233B CN111322233B (en) | 2021-03-12 |
Family
ID=71171300
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010128907.1A Withdrawn - After Issue CN111322233B (en) | 2020-02-28 | 2020-02-28 | Sampling circuit and method for improving precision, compressor and air conditioning equipment |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111322233B (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113937962A (en) * | 2021-11-15 | 2022-01-14 | 江苏科技大学 | Device and method for improving current sampling precision of permanent magnet synchronous motor at low speed |
| CN114594704A (en) * | 2020-12-07 | 2022-06-07 | 山东新松工业软件研究院股份有限公司 | Motor inner ring control method, device and controller |
| CN115267310A (en) * | 2022-07-25 | 2022-11-01 | 安徽江淮汽车集团股份有限公司 | Vehicle air conditioner condenser fan current monitoring device |
| CN115372677A (en) * | 2021-05-19 | 2022-11-22 | 宁波奥克斯电气股份有限公司 | Sampling circuit and motor drive circuit |
Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6456139B1 (en) * | 2000-10-20 | 2002-09-24 | Sun Microsystems, Inc. | Auto-detection and auto-enable of compact PCI bus pull-ups |
| CN101924547A (en) * | 2009-06-12 | 2010-12-22 | 苏州源赋创盈微电子科技有限公司 | Current sampling device |
| CN203011991U (en) * | 2012-12-10 | 2013-06-19 | 珠海格力电器股份有限公司 | Current sampling circuit and motor |
| CN103698594A (en) * | 2013-12-31 | 2014-04-02 | 广东易事特电源股份有限公司 | A current detection circuit and method with adjustable detection range |
| CN104678153A (en) * | 2015-02-28 | 2015-06-03 | 杭州茂力半导体技术有限公司 | Current detection circuit, current detection method and detection circuit of electricity quantity of batteries |
| CN205407644U (en) * | 2016-02-24 | 2016-07-27 | 核工业理化工程研究院 | Detection circuitry of intermediate frequency undercurrent |
| CN205450098U (en) * | 2015-12-28 | 2016-08-10 | 广东芬尼克兹节能设备有限公司 | Current transformer module |
| CN107607770A (en) * | 2016-09-15 | 2018-01-19 | 成都芯源系统有限公司 | Current sampling circuit, switch circuit and current sampling method |
-
2020
- 2020-02-28 CN CN202010128907.1A patent/CN111322233B/en not_active Withdrawn - After Issue
Patent Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6456139B1 (en) * | 2000-10-20 | 2002-09-24 | Sun Microsystems, Inc. | Auto-detection and auto-enable of compact PCI bus pull-ups |
| CN101924547A (en) * | 2009-06-12 | 2010-12-22 | 苏州源赋创盈微电子科技有限公司 | Current sampling device |
| CN203011991U (en) * | 2012-12-10 | 2013-06-19 | 珠海格力电器股份有限公司 | Current sampling circuit and motor |
| CN103698594A (en) * | 2013-12-31 | 2014-04-02 | 广东易事特电源股份有限公司 | A current detection circuit and method with adjustable detection range |
| CN104678153A (en) * | 2015-02-28 | 2015-06-03 | 杭州茂力半导体技术有限公司 | Current detection circuit, current detection method and detection circuit of electricity quantity of batteries |
| CN205450098U (en) * | 2015-12-28 | 2016-08-10 | 广东芬尼克兹节能设备有限公司 | Current transformer module |
| CN205407644U (en) * | 2016-02-24 | 2016-07-27 | 核工业理化工程研究院 | Detection circuitry of intermediate frequency undercurrent |
| CN107607770A (en) * | 2016-09-15 | 2018-01-19 | 成都芯源系统有限公司 | Current sampling circuit, switch circuit and current sampling method |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114594704A (en) * | 2020-12-07 | 2022-06-07 | 山东新松工业软件研究院股份有限公司 | Motor inner ring control method, device and controller |
| CN115372677A (en) * | 2021-05-19 | 2022-11-22 | 宁波奥克斯电气股份有限公司 | Sampling circuit and motor drive circuit |
| CN113937962A (en) * | 2021-11-15 | 2022-01-14 | 江苏科技大学 | Device and method for improving current sampling precision of permanent magnet synchronous motor at low speed |
| CN113937962B (en) * | 2021-11-15 | 2024-07-23 | 江苏科技大学 | Device and method for improving current sampling accuracy of permanent magnet synchronous motor at low speed |
| CN115267310A (en) * | 2022-07-25 | 2022-11-01 | 安徽江淮汽车集团股份有限公司 | Vehicle air conditioner condenser fan current monitoring device |
Also Published As
| Publication number | Publication date |
|---|---|
| CN111322233B (en) | 2021-03-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN111322233A (en) | Sampling circuit and method for improving precision, compressor and air conditioning equipment | |
| CN207067227U (en) | Sample circuit and current measurement circuit | |
| CN111352014B (en) | Method, system, equipment and medium for detecting and positioning abnormal MOSFET | |
| CN101373388A (en) | Adjusting device | |
| JP6785705B2 (en) | Overcurrent protection circuit and voltage regulator | |
| EP2143201A1 (en) | An improved amplifier | |
| CN113866504A (en) | Insulation resistance detection circuit, detection device and detection method | |
| CN103457302A (en) | Charge circuit and electronic device with same | |
| CN110620498A (en) | Constant-power type rapid discharge circuit | |
| CN107666264A (en) | The drive circuit of voice coil motor | |
| CN106546800A (en) | A kind of charge/discharge current detection circuit for being applied to charging quickly source | |
| JP2022540957A5 (en) | ||
| US8334665B2 (en) | Fan control system | |
| CN104634398A (en) | Excitation circuit high voltage increasing system and method | |
| CN110190731B (en) | Power supply circuit and system | |
| CN107561343B (en) | A current detection circuit of a switch circuit, a current detection method, and a switch circuit | |
| CN1266483C (en) | Electronic load simulator with test current loop impedance | |
| CN114337226A (en) | Power tube protection circuit, power protection chip and equipment | |
| TWI893372B (en) | Test load circuit and method for adjusting the amount of test load current flowing through the test load | |
| CN109031058B (en) | Insulation detection device and insulation detection circuit | |
| CN112286269B (en) | Extended shunt current source | |
| JP2015018417A (en) | Power circuit | |
| CN115220513A (en) | Voltage bias control method and circuit | |
| JP2008209998A (en) | Voltage generator | |
| CN118518929B (en) | Current sampling circuit, method, device, source table and storage medium |
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 | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| AV01 | Patent right actively abandoned | ||
| AV01 | Patent right actively abandoned | ||
| AV01 | Patent right actively abandoned |
Granted publication date: 20210312 Effective date of abandoning: 20251216 |
|
| AV01 | Patent right actively abandoned |
Granted publication date: 20210312 Effective date of abandoning: 20251216 |