Level modulation device and motor

文档序号:22513 发布日期:2021-09-21 浏览:30次 中文

阅读说明:本技术 一种电平调制装置和电机 (Level modulation device and motor ) 是由 吴文贤 肖胜宇 林乃劲 敖文彬 姜睿 于 2021-06-25 设计创作,主要内容包括:本发明公开了一种电平调制装置和电机,该装置包括:采样单元、调制单元和输入单元;所述调制单元,包括:第一开关模块和第二开关模块;其中,所述采样单元,被配置为采样待调制设备的基准信号;所述输入单元,被配置为接收使用者输入的输入信号;所述输入信号,是用于控制待调制设备的第一控制信号是否发生电平转换的信号;所述调制单元,被配置为根据所述输入信号的电平高低,通过所述第一开关模块和所述第二开关模块的导通或关断,实现对所述基准信号的调制,以输出待调制设备的第一控制信号。该方案,通过搭建外围硬件电路,在电机主控芯片无对应的高低电平转换配置能力的情况下,实现正反转切换等功能,扩大电机的适用范围。(The invention discloses a level modulation device and a motor, wherein the device comprises: the device comprises a sampling unit, a modulation unit and an input unit; the modulation unit includes: a first switch module and a second switch module; wherein the sampling unit is configured to sample a reference signal of a device to be modulated; the input unit is configured to receive an input signal input by a user; the input signal is a signal used for controlling whether level conversion occurs to a first control signal of the equipment to be modulated; the modulation unit is configured to implement modulation on the reference signal through the on or off of the first switch module and the second switch module according to the level of the input signal, so as to output a first control signal of a device to be modulated. According to the scheme, by building a peripheral hardware circuit, under the condition that the motor master control chip does not have corresponding high-low level conversion configuration capacity, functions such as forward and reverse conversion switching are achieved, and the application range of the motor is expanded.)

1. A level modulation apparatus, comprising: the device comprises a sampling unit, a modulation unit and an input unit; the modulation unit includes: a first switch module and a second switch module; wherein the content of the first and second substances,

the sampling unit is configured to sample a reference signal of a device to be modulated;

the input unit is configured to receive an input signal input by a user; the input signal is a signal used for controlling whether level conversion occurs to a first control signal of the equipment to be modulated;

the modulation unit is configured to implement modulation on the reference signal through the on or off of the first switch module and the second switch module according to the level of the input signal, so as to output a first control signal of a device to be modulated.

2. The level modulation apparatus according to claim 1, wherein the sampling unit comprises: the Hall input chip and the first current limiting module; the direct current power supply is connected to the power supply end of the Hall input chip after passing through the first current limiting module; the signal output end of the Hall input chip is connected to the reference signal input end of the modulation unit;

the sampling unit samples a reference signal of a device to be modulated, and comprises:

the first current limiting module is configured to supply power to the Hall input chip after the direct-current power supply is limited;

the Hall input chip is configured to sample the change rate of the magnetic pole of the equipment to be modulated as a reference signal under the power supply of the direct-current power supply, and the reference signal is output to the reference signal input end of the modulation unit through the signal output end of the Hall input chip.

3. The level modulation apparatus according to claim 2, wherein the sampling unit further comprises: a filtering module;

the filtering module is configured to filter the reference signal and output the filtered reference signal to a reference signal input end of the modulation unit.

4. The level modulation apparatus according to claim 1, wherein the input unit comprises: the diode module and the second current limiting module; wherein the content of the first and second substances,

the input unit receives an input signal input by a user, and comprises:

the input signal input by a user is connected to the anode of the diode module; and the cathode of the diode module is connected to the signal output end of the modulation unit after passing through the second current limiting module.

5. The apparatus of claim 1, wherein the first switch module comprises: a first switch tube module; the second switch module includes: a second switch tube module; wherein the content of the first and second substances,

the control end of the first switch tube module is connected to the signal input end of the input unit; the first connecting end of the first switch tube module is connected to the signal output end of the sampling unit and is also connected to a direct-current power supply; the second connecting end of the first switch tube module is connected to the control end of the second switch tube module;

the first connecting end of the second switch tube module is connected to the direct-current power supply and serves as a signal output end of the modulation unit to output a first control signal of the equipment to be modulated.

6. The level modulation device of claim 5, wherein the first switch tube module comprises: the first switch tube, the third current limiting module and the fourth current limiting module; wherein the content of the first and second substances,

the third current limiting module is arranged at the base electrode of the first switching tube; the fourth current limiting module is arranged between the collector of the first switching tube and the direct-current power supply;

the base electrode of the first switching tube is used as the control end of the first switching tube module; and the collector electrode of the first switching tube is used as a first connecting end of the first switching tube module, passes through the fourth current module and the first current limiting module and is connected to the direct-current power supply.

7. The level modulation device according to claim 5, wherein the second switch tube module comprises: the second switching tube, the fifth current limiting module and the sixth current limiting module; wherein the content of the first and second substances,

the fifth current limiting module is arranged at the base electrode of the second switching tube; the sixth current limiting module is arranged between the collector of the second switching tube and the direct-current power supply;

the base electrode of the second switch tube is used as the control end of the second switch tube module; and the collector of the second switching tube is used as a first connecting end of the second switching tube module, passes through the sixth current module, the fourth current limiting module and the first current limiting module, and is connected to the direct-current power supply.

8. The apparatus according to any one of claims 1 to 7, wherein the modulation unit implements modulation on the reference signal by turning on or off the first switch module and the second switch module according to the level of the input signal to output a first control signal of a device to be modulated, and includes:

under the condition that the input signal is at a low level, the first switch module and the second switch module are both turned off, and a first control signal of the equipment to be modulated is a low-level signal;

under the condition that the input signal is at a high level, if the reference signal is a high-level signal, the first switch module and the second switch module are conducted, and a first control signal of the equipment to be modulated is a low-level signal; if the reference signal is a low level signal, both the first switch module and the second switch module are turned off, and the first control signal of the device to be modulated is a high level signal.

9. The level modulation apparatus according to any one of claims 1 to 7, further comprising: a reference unit and a comparison unit; wherein the content of the first and second substances,

the reference unit is configured to provide a reference signal;

the comparison unit is configured to compare the first control signal of the device to be modulated by taking the reference signal as a reference standard to obtain a second control signal of the device to be modulated; the control precision of the second control signal of the equipment to be modulated is greater than that of the first control signal of the equipment to be modulated.

10. An electric machine, comprising: level modulating apparatus according to any one of claims 1 to 9.

Technical Field

The invention belongs to the technical field of motors, particularly relates to a level modulation device and a motor, and particularly relates to a high-low level modulation circuit based on a triode switch and a motor.

Background

In the operation process of the motor, when the motor needs to perform functions such as forward and reverse rotation switching, if the motor main control chip does not have corresponding high and low level conversion configuration capacity, the functions such as forward and reverse rotation switching cannot be realized, and the universality of the motor or equipment needing to modulate high and low level voltages is affected.

The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.

Disclosure of Invention

The invention aims to provide a level modulation device and a motor, which are used for solving the problems that functions such as forward and reverse switching cannot be realized if a motor main control chip has no corresponding high and low level conversion configuration capability, and the universality of the motor or equipment needing to modulate high and low level voltage is influenced, and achieve the effects of realizing the functions such as forward and reverse switching and expanding the application range of the motor by building a peripheral hardware circuit under the condition that the motor main control chip has no corresponding high and low level conversion configuration capability.

The present invention provides a level modulation apparatus, comprising: the device comprises a sampling unit, a modulation unit and an input unit; the modulation unit includes: a first switch module and a second switch module; wherein the sampling unit is configured to sample a reference signal of a device to be modulated; the input unit is configured to receive an input signal input by a user; the input signal is a signal used for controlling whether level conversion occurs to a first control signal of the equipment to be modulated; the modulation unit is configured to implement modulation on the reference signal through the on or off of the first switch module and the second switch module according to the level of the input signal, so as to output a first control signal of a device to be modulated.

In some embodiments, the sampling unit includes: the Hall input chip and the first current limiting module; the direct current power supply is connected to the power supply end of the Hall input chip after passing through the first current limiting module; the signal output end of the Hall input chip is connected to the reference signal input end of the modulation unit; the sampling unit samples a reference signal of a device to be modulated, and comprises: the first current limiting module is configured to supply power to the Hall input chip after the direct-current power supply is limited; the Hall input chip is configured to sample the change rate of the magnetic pole of the equipment to be modulated as a reference signal under the power supply of the direct-current power supply, and the reference signal is output to the reference signal input end of the modulation unit through the signal output end of the Hall input chip.

In some embodiments, the sampling unit further includes: a filtering module; the filtering module is configured to filter the reference signal and output the filtered reference signal to a reference signal input end of the modulation unit.

In some embodiments, the input unit includes: the diode module and the second current limiting module; wherein, the input unit receives the input signal input by the user, and comprises: the input signal input by a user is connected to the anode of the diode module; and the cathode of the diode module is connected to the signal output end of the modulation unit after passing through the second current limiting module.

In some embodiments, the first switch module comprises: a first switch tube module; the second switch module includes: a second switch tube module; the control end of the first switch tube module is connected to the signal input end of the input unit; the first connecting end of the first switch tube module is connected to the signal output end of the sampling unit and is also connected to a direct-current power supply; the second connecting end of the first switch tube module is connected to the control end of the second switch tube module; the first connecting end of the second switch tube module is connected to the direct-current power supply and serves as a signal output end of the modulation unit to output a first control signal of the equipment to be modulated.

In some embodiments, the first switch tube module comprises: the first switch tube, the third current limiting module and the fourth current limiting module; the third current limiting module is arranged at the base electrode of the first switching tube; the fourth current limiting module is arranged between the collector of the first switching tube and the direct-current power supply; the base electrode of the first switching tube is used as the control end of the first switching tube module; and the collector electrode of the first switching tube is used as a first connecting end of the first switching tube module, passes through the fourth current module and the first current limiting module and is connected to the direct-current power supply.

In some embodiments, the second switch tube module comprises: the second switching tube, the fifth current limiting module and the sixth current limiting module; the fifth current limiting module is arranged at the base electrode of the second switching tube; the sixth current limiting module is arranged between the collector of the second switching tube and the direct-current power supply; the base electrode of the second switch tube is used as the control end of the second switch tube module; and the collector of the second switching tube is used as a first connecting end of the second switching tube module, passes through the sixth current module, the fourth current limiting module and the first current limiting module, and is connected to the direct-current power supply.

In some embodiments, the modulation unit, according to the level of the input signal, implements modulation on the reference signal through turning on or off of the first switch module and the second switch module to output a first control signal of a device to be modulated, and includes: under the condition that the input signal is at a low level, the first switch module and the second switch module are both turned off, and a first control signal of the equipment to be modulated is a low-level signal; under the condition that the input signal is at a high level, if the reference signal is a high-level signal, the first switch module and the second switch module are conducted, and a first control signal of the equipment to be modulated is a low-level signal; if the reference signal is a low level signal, both the first switch module and the second switch module are turned off, and the first control signal of the device to be modulated is a high level signal.

In some embodiments, further comprising: a reference unit and a comparison unit; wherein the reference unit is configured to provide a reference signal; the comparison unit is configured to compare the first control signal of the device to be modulated by taking the reference signal as a reference standard to obtain a second control signal of the device to be modulated; the control precision of the second control signal of the equipment to be modulated is greater than that of the first control signal of the equipment to be modulated.

In accordance with another aspect of the present invention, there is provided a motor including: the level modulation apparatus described above.

Therefore, according to the scheme of the invention, a hardware circuit based on a triode switch is built to serve as a peripheral hardware circuit; under the condition that the phase and amplitude of a reference signal (such as high and low levels output by a Hall) are unchanged, a built peripheral hardware circuit is utilized to modulate the reference signal (such as modulation of constant amplitude, amplitude limiting, high and low level conversion and the like), so that the modulated level signal can be identified by a motor main control chip and corresponding action (such as action of controlling the forward and reverse rotation of a motor) is completed; therefore, by building the peripheral hardware circuit, under the condition that the motor master control chip has no corresponding high-low level conversion configuration capability, the functions of switching between positive and negative rotation and the like are realized, and the application range of the motor is expanded.

Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.

The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.

Drawings

FIG. 1 is a schematic structural diagram of a level modulation apparatus according to an embodiment of the present invention;

fig. 2 is a schematic structural diagram of an embodiment of a high-low level modulation circuit based on a triode switch;

fig. 3 is a schematic control flow diagram of an embodiment of a triode switch based high-low level shift circuit;

fig. 4 is a schematic diagram illustrating the effect of a high-low level shift circuit based on a triode switch when the control signal FR is at a low level;

fig. 5 is a schematic diagram illustrating the effect of the high-low level shift circuit based on the triode switch when the control signal FR is at a high level.

Detailed Description

In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the specific embodiments of the present invention and the accompanying drawings. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

In the operation process of the motor, when the motor needs to execute functions such as forward and reverse rotation switching, in a related scheme, the identified reference signal (such as the level of a Hall input chip) is modulated into a level signal (such as constant amplitude, amplitude limiting, high and low level switching) with a required function through internal setting (such as software curing or hardware building) of a main control chip, and the forward and reverse rotation switching of the motor is realized by controlling. However, when there is no corresponding setting (such as software or hardware configuration) in the main control chip, it is not possible to implement various functions (such as forward and reverse rotation) required in the operation process of the motor.

In order to solve the above problems, in the related schemes, a main control chip and an external auxiliary chip are used for software programming to complete various functions (such as positive and negative rotation) required in the operation process of the motor. However, after the auxiliary chip is added, besides the price of the auxiliary chip, an auxiliary chip basic circuit is required to be added, so that the cost is high, and the method is not suitable for popularization. Besides software programming, different auxiliary chips are required for different functions.

In addition, compared with software programming, the mode of building the hardware circuit and the master control chip is that the hardware circuit is built by combining electric elements such as a power device, a resistor and a capacitor to complete the expected function, the cost is low, programming is not needed, and the universal range is wider; but the hardware circuit building technology is difficult. In some schemes, the control mode for modulating the high-low level signals (high-low level conversion and amplitude) is software control, and the comprehensive cost is high.

Therefore, in the scheme that the main control chip and the external auxiliary chip perform software programming to complete the required functions, the software programming needs to be configured with software programs, and the matching is complex; after the auxiliary chip is additionally arranged, besides the price of the auxiliary chip, an auxiliary chip basic circuit is required to be additionally arranged, so that the cost is higher, and the popularization is not suitable (except that software programming is required, different auxiliary chips are required to be additionally arranged for different functions).

According to an embodiment of the present invention, there is provided a level modulation apparatus. Referring to fig. 1, a schematic diagram of an embodiment of the apparatus of the present invention is shown. The level modulation apparatus may include: the device comprises a sampling unit, a modulation unit and an input unit. And the sampling unit is connected to the modulation unit. And the input unit is also connected to the modulation unit. The modulation unit includes: a first switch module and a second switch module.

Wherein the sampling unit is configured to sample a reference signal of a device to be modulated. The device to be modulated, such as a motor, may specifically be a reference signal sampled from the motor, or may be a high-low level signal sampled with periodicity (frequency).

The input unit is configured to receive an input signal input by a user. The input signal is a signal for controlling whether level conversion occurs in a first control signal of the device to be modulated.

The modulation unit is configured to implement modulation on the reference signal through the on or off of the first switch module and the second switch module according to the level of the input signal, so as to output a first control signal of a device to be modulated. The first control signal of the device to be modulated can be input into the main control chip of the device to be modulated, and the main control chip controls the operation process of the device to be modulated according to the first control signal of the device to be modulated, so that the switching control of the forward and reverse rotation of the motor is realized.

Therefore, when the equipment to be modulated needs functions such as forward and reverse rotation switching and the like when the motor operates and no corresponding forward and reverse rotation switching configuration (internal software/internal hardware) exists in the motor main control chip, the functions of modulating (equal amplitude, amplitude limiting and high and low level conversion) a reference signal (such as a level signal output by the Hall input chip) can be completed through the establishment of a peripheral hardware circuit (such as a hardware circuit based on a triode switch) under the condition that the phase and the amplitude of the level signal output by the Hall input chip are unchanged, so that the motor can complete the forward and reverse rotation switching function, and the motor is low in cost and simple in structure.

In some embodiments, the sampling unit includes: the circuit comprises a Hall input chip and a first current limiting module. Hall input chips, such as Hall ICs (IC _ LOGIC _ HALL). The first current limiting module is, for example, a resistor R4. And the direct current power supply is connected to a power supply end of the Hall input chip, such as a pin 1 of the Hall IC, after passing through the first current limiting module. And the grounding end of the Hall input chip is grounded GND. The signal output end of the Hall input chip, such as the 3 pins of the Hall IC, is connected to the reference signal input end of the modulation unit. And the grounding end of the Hall input chip is grounded.

The sampling unit samples a reference signal of a device to be modulated, and comprises:

the first current limiting module is configured to supply power to the Hall input chip after the direct-current power supply is limited.

The hall input chip is configured to sample a change rate of a magnetic pole of a device to be modulated as a reference signal under the power supply of the direct-current power supply, and output the reference signal to a reference signal input end of the modulation unit through a signal output end of the hall input chip, specifically to a collector electrode of the first switch module.

In some embodiments, the sampling unit further includes: a filtering module, such as a capacitor C8.

The filtering module is configured to filter the reference signal and then output the filtered reference signal to a reference signal input end of the modulation unit, specifically to a collector of the first switching module.

In some embodiments, the input unit includes: the diode module and the second current limiting module. And a diode module such as diode D5. A second current limiting module, such as resistor R22.

Wherein, the input unit receives the input signal input by the user, and comprises: and the input signal input by the user is connected to the anode of the diode module. And the cathode of the diode module is connected to the signal output end of the modulation unit after passing through the second current limiting module.

In some embodiments, the first switch module comprises: the first switch tube module. The second switch module includes: and the second switch tube module.

And a control end of the first switching tube module, such as a base b of a transistor Q1, is connected to the signal input end of the input unit. The first connection end of the first switch tube module, such as the collector c of the triode Q1, is connected to the signal output end of the sampling unit, and is also connected to a dc power supply. The second connection terminal of the first switch transistor module, such as the emitter e of the transistor Q1, is connected to the control terminal of the second switch transistor module, such as the base b of the transistor Q2.

The first connection end of the second switch tube module, for example, the collector c of the triode Q2, is connected to the dc power supply, and serves as the signal output end of the modulation unit to output the first control signal of the device to be modulated. The second connection terminal of the second switch transistor module, such as the emitter e of the transistor Q2, is grounded.

Thus, the scheme of the invention designs a hardware circuit based on a triode switch, and modulates (such as modulation of constant amplitude, amplitude limiting, high-low level conversion and the like) a reference signal (such as high-low level output by a Hall input chip) under the condition that the phase and amplitude of the reference signal are not changed, so that the modulated level signal can be identified by a motor main control chip and corresponding action (such as action of controlling positive and negative rotation of a motor) is completed. Therefore, the problem that when the motor runs with a forward and reverse rotation switching function requirement, the motor main control chip does not have corresponding high and low level conversion configuration capacity (forward and reverse rotation functions can be realized after conversion), namely the main control chip cannot modulate an identified reference signal (such as the level of a Hall input chip) into a level signal (such as constant amplitude, amplitude limiting, high and low level conversion and the like) corresponding to a required function (such as forward and reverse rotation) for control is solved.

In the related scheme, a solution of software programming and an auxiliary chip is adopted, so that the cost is high, and the universality is poor. According to the scheme, low-cost hardware is adopted for construction, software programming is not needed, an auxiliary chip is not needed, functions such as constant amplitude, amplitude limiting, high-low level conversion and the like can be completed through the triode matching resistor, the cost is greatly reduced compared with that of software programming and the auxiliary chip, and the universality is high.

In some embodiments, the first switch tube module comprises: the circuit comprises a first switch tube, a third current limiting module and a fourth current limiting module. A first switch, such as switch Q1. And a third current limiting module, such as resistor R3. A fourth current limiting module such as resistor R6.

The third current limiting module is arranged at the base electrode of the first switching tube. And the fourth current limiting module is arranged between the collector of the first switching tube and the direct-current power supply. And the base electrode of the first switching tube is used as the control end of the first switching tube module. And the collector electrode of the first switching tube is used as a first connecting end of the first switching tube module, passes through the fourth current module and the first current limiting module and is connected to the direct-current power supply.

In some embodiments, the second switch tube module comprises: the second switch tube, the fifth current limiting module and the sixth current limiting module. And a second switching tube, such as switching tube Q2. And a fifth current limiting module, such as resistor R23. A sixth current limiting module, such as resistor R18.

And the fifth current limiting module is arranged at the base electrode of the second switching tube. And the sixth current limiting module is arranged between the collector of the second switching tube and the direct-current power supply. And the base electrode of the second switch tube is used as the control end of the second switch tube module. And the collector of the second switching tube is used as a first connecting end of the second switching tube module, passes through the sixth current module, the fourth current limiting module and the first current limiting module, and is connected to the direct-current power supply.

Fig. 2 is a schematic structural diagram of an embodiment of a high-low level modulation circuit based on a triode switch. As shown in fig. 2, the triode switch based high-low level modulation circuit includes: the circuit comprises a Hall input chip (IC _ LOGIC _ HALL), a triode Q1, a triode Q2, a capacitor (namely a nonpolar capacitor) C8, a diode D5, a resistor R3, a resistor R4, a resistor R6, a resistor R18, a resistor R19, a resistor R21, a resistor R22 and a resistor R23. The first terminal of the hall input chip (i.e. pin 1 of the hall input chip) is connected to a constant high level (e.g., +5V dc power supply) through the resistor R4, and is further output to the first output port (e.g., + input port of the hall element) through the resistor R6 and the resistor R8. The second terminal of the hall input chip, i.e., pin 2 of the hall input chip, is Grounded (GND). The third terminal of the hall input chip (i.e. pin 3 of the hall input chip) is grounded through a capacitor C8, and is further connected to the collector C of the transistor Q1, and to the common terminal of the resistor R6 and the resistor R8.

The base b of the transistor Q1 is connected to the input terminal of the control signal FR of the high-low level shift circuit and to the anode of the diode D5 through the resistor R3. The cathode of the diode D5 is connected to the first output port through the resistor R22. The emitter e of the transistor Q1 is connected to the base b of the transistor Q2 through the resistor R23. And the collector c of the triode Q2 is connected with the first output port. The emitter e of transistor Q2 is grounded. The constant high level (such as +5V DC power supply) is grounded through the resistor R19 and the resistor R21. The common terminal of the resistor R19 and the resistor R21 serves as a second output port (e.g., an input port to the hall element). The control circuit of the first output port of the high-low level conversion circuit based on the triode switch is composed of a constant high level (such as +5V) input, a control signal FR, a resistor R3, a resistor R4, a resistor R6, a resistor R18, a resistor R23, a resistor R22, a non-polar capacitor C8, a diode D5, an NPN triode Q1 and an NPN triode Q2. The control circuit of the second output port of the high-low level switching circuit based on the triode switch is composed of a constant high level (such as +5V) input, a resistor R19 and a resistor R21. And the pin 1 of the Hall input chip is a power input end of the Hall input chip. And the pin 2 of the Hall input chip is the grounding end of the Hall input chip. The pin 3 of the hall input chip is a high-low level output end of the hall input chip, and the high-low level output end is a control target of a high-low level conversion circuit based on a triode switch, and the control target can be the change rate of magnetic poles (such as an N pole and an S pole) of the motor.

The Hall (HALL) is a sensor which induces electromagnetic change frequency so as to output corresponding high and low levels, the Hall is divided into a Hall IC and a Hall element, the Hall IC is a single output port A, the Hall element is two output ports A and B, the port B constantly compares reference voltage output, the Hall IC is the Hall element and is added with a comparator, the output of the comparator is the output of the Hall IC, namely the Hall element and the comparator are the Hall IC. In the scheme of the invention, the main control chip is an identification port of a Hall element, namely two ports A and B are provided, but the available Hall is only a sensor such as a Hall IC, so that a constant reference voltage needs to be configured and input to the identification port B of the chip, namely a voltage division circuit, such as a voltage division circuit consisting of a resistor R19 and a resistor R21, is provided. In the scheme of the invention, the first output port circuit is mainly protected, and the second output port circuit is attached.

When the control signal FR is input at a low level, the first output port control circuit of the high-low level conversion circuit based on the triode switch does not act. The high-low level signal output by the first output port of the high-low level switching circuit based on the triode switch is the same as the high-low level signal output by the high-low level output end of the Hall input chip (namely, the pin 3 of the Hall input chip).

In some embodiments, the modulation unit, according to the level of the input signal, implements modulation on the reference signal through turning on or off of the first switch module and the second switch module to output a first control signal of a device to be modulated, and includes:

and under the condition that the input signal is at a low level, the first switch module and the second switch module are both turned off, and a first control signal of the equipment to be modulated is a low-level signal.

Under the condition that the input signal is at a high level, if the reference signal is a high-level signal, the first switch module and the second switch module are switched on, and a first control signal of the device to be modulated is a low-level signal. If the reference signal is a low level signal, both the first switch module and the second switch module are turned off, and the first control signal of the device to be modulated is a high level signal.

Fig. 3 is a control flow diagram of an embodiment of a high-low level shift circuit based on a triode switch. As shown in fig. 3, a control flow of the high-low level shift circuit based on the triode switch includes: when the control signal FR is at a constant low level (e.g., 0V), the high-low level shift circuit based on the triode switch does not operate, and the output of the first output port of the high-low level shift circuit based on the triode switch is the same as the output of the hall input chip.

Fig. 4 is a schematic diagram illustrating the effect of the high-low level shift circuit based on the triode switch when the control signal FR is at a low level. When the control signal FR is input at a constant low level, the base of the NPN transistor Q1 has no voltage input, the emitter junction be of the NPN transistor Q1 has no forward bias, and the NPN transistor Q1 is in an off state (the conduction condition of the NPN transistor is that the collector junction bc is reversely biased and the emitter junction be is positively biased). Similarly, the emitter junction be of the NPN transistor Q2 is also not forward biased, and is in an off state, that is, the high-low level (reference voltage) output by the hall input chip is output from the point a (i.e., at the collector of the transistor Q1) to the point B (i.e., at the collector of the transistor Q2) through the resistor R18, and because the transistor Q2 is not turned on and the diode D5 is active, the reference voltage can only be output from the first output port of the triode-switch-based high-low level conversion circuit, and the effect is that the high-low level signal output by the first output port of the triode-switch-based high-low level conversion circuit is in equal amplitude and in phase with the high-low level signal (reference voltage) output by the hall input chip high-low level output terminal, and in particular, the effect shown in fig. 4 can be seen.

When the control signal FR is input at a high level, the first output port of the high-low level conversion circuit based on the triode switch controls the circuit to operate. The high-low level signal output by the first output port of the high-low level switching circuit based on the triode switch is opposite to the high-low level signal output by the high-low level output end (namely the pin 3 of the Hall input chip) of the Hall input chip, and the function of hardware executing high-low level switching is completed.

Fig. 5 is a schematic diagram illustrating the effect of the high-low level shift circuit based on the triode switch when the control signal FR is at a high level. When the control signal FR is input at a constant high level, the base of the NPN transistor Q1 has a constant voltage input, the emitter junction be of the NPN transistor Q1 is in a forward bias state, and the current input to the transistor Q1 can be controlled to meet the conduction current range of the transistor of the specification by the current limiting function of the resistor R3.

Wherein, when the reference voltage is high level (output from the hall input chip), the high level signal is output to the collector junction of the triode Q1 through point a, so that the collector junction bc of the triode Q1 is reversely biased, then the triode Q1 is conducted, the emitter junction be of the triode Q2 is in forward bias state after the triode Q1 is conducted, and the control signal FR is constant high level, the high level makes the collector junction bc of the triode Q2 in reverse bias state through the diode D5 and the resistor R22, that is, the triode Q2 is conducted, the triode Q2 is conducted, and then the high level of the reference voltage and the control signal FR is pulled down to GND, when the effect is that the high level of the control signal FR and the reference voltage (output from the hall input chip level), the level signal output from the first output port of the high-low level conversion circuit based on the triode switch is low level, and the function of modulating and converting the high level reference voltage into low level is completed, as shown in fig. 5, the output voltage at the high level of the reference voltage is based on the first output port of the high-low level shift circuit of the triode switch.

When the reference voltage is at a low level (output from the hall ic), the low level signal is output to the collector bc of the transistor Q1 through point a, and the collector bc of the transistor Q1 cannot be reversely biased, so that the transistor Q1 is in an off state. Similarly, the NPN transistor Q2 emitter junction be is also not forward biased and is in an off state, and since the control signal FR is at a constant high level, part of the high level voltage flows to the low level point (point a) of the reference voltage through the diode D5, the resistor R22 and the resistor R18, and another part of the voltage is output to the first output port of the high-low level conversion circuit based on the triode switch through the diode D5 and the resistor R22, the voltage distribution ratio is determined by the resistance ratio of the resistor R22 and the resistor R18, so as to achieve the function of adjusting the amplitude of the output voltage (amplitude limiting), as shown in fig. 5, when the reference voltage is at a low level, the output voltage is at a high level based on the first output port part of the high-low level conversion circuit of the triode switch, and when the control signal FR is at a high level and the reference voltage (hall input chip level) is at a low level, the level output level based on the first output signal output from the first output port of the high-low level conversion circuit of the triode switch, the function of converting the low-level reference voltage modulation into a high level is completed (the amplitude of the high level is adjusted by the resistor voltage division).

As shown in fig. 4 and 5, when the control signal (e.g., the forward/reverse rotation signal) FR is at a low level (e.g., 0V), the output pin of the hall input chip outputs a high/low level when the motor is running, and the output signal of the first output port of the high/low level conversion circuit based on the triode switch is the same as the output high/low level of the hall input chip signal. When a control signal (such as a positive and negative rotation signal) FR is at a high level (such as +5V), when the motor operates, the high and low levels output by the output pin of the Hall input chip are opposite to the output high and low levels of the Hall input chip signal and have adjustable amplitude (amplitude limiting), so that the function of outputting the high and low levels from the Hall input chip by the high and low level conversion circuit based on the triode switch is completed.

In the above embodiment, a power switch device (such as a MOSFET, an IGBT, etc.) may be used in conjunction with the circuit to perform the switching function instead of the transistor.

In some embodiments, further comprising: a reference unit and a comparison unit. The reference unit is connected to a direct current power supply. The reference cell, comprising: the voltage divider comprises a first voltage dividing module and a second voltage dividing module, wherein the first voltage dividing module and the second voltage dividing module are connected between a direct current power supply and the ground in series, and a common end between the first voltage dividing module and the second voltage dividing module is used as a signal output end of a reference signal.

Wherein the reference unit is configured to provide a reference signal.

The comparison unit is configured to compare the first control signal of the device to be modulated by taking the reference signal as a reference standard to obtain a second control signal of the device to be modulated. The control precision of the second control signal of the equipment to be modulated is greater than that of the first control signal of the equipment to be modulated.

Referring to the example shown in fig. 2, in the triode switch based high-low level conversion circuit, an input signal (i.e., an external input signal) of the triode switch based high-low level conversion circuit has a control signal FR and a constant high level (e.g., + 5V). The output signal of the high-low level conversion circuit based on the triode switch has two parts, namely, a signal output from a first output port (for example, the signal output to the + input end of the Hall element, namely the chip HALL) of the high-low level conversion circuit based on the triode switch and a signal output from a second output port (for example, the signal output to the-input end of the Hall element, namely the chip HALL) of the high-low level conversion circuit based on the triode switch.

Referring to the example shown in fig. 3, when the control signal FR is at a constant high level (e.g., +5V), the high-low level shift circuit based on the triode switch operates, and the output of the first output port of the high-low level shift circuit based on the triode switch is opposite to the output of the hall input chip. And a second output port of the high-low level conversion circuit based on the triode switch outputs a constant level reference voltage (such as + 2.5V). The level output by the first output port of the high-low level conversion circuit based on the triode switch is compared with the constant level reference voltage output by the second output port of the high-low level conversion circuit based on the triode switch, and the main control chip identifies the level and makes a corresponding action signal (such as positive and negative rotation).

Referring to the example shown in fig. 4, the second output port of the high-low level shift circuit based on the triode switch is an input port for setting a voltage comparison reference of the main control chip, and the function is completed by designing the ratio of the resistor R19 to the resistor R21. After the level output by the first output port of the high-low level conversion circuit based on the triode switch is compared with the reference voltage set by the second output port, the level output by the first output port of the high-low level conversion circuit based on the triode switch can be further determined, and the accuracy is better.

By adopting the technical scheme of the invention, a hardware circuit based on a triode switch is built as a peripheral hardware circuit; under the condition that the phase and amplitude of a reference signal (such as high and low levels output by a Hall) are unchanged, a built peripheral hardware circuit is utilized to modulate the reference signal (such as modulation of constant amplitude, amplitude limiting, high and low level conversion and the like), so that the modulated level signal can be identified by a motor main control chip and corresponding action (such as action of controlling the forward and reverse rotation of a motor) is completed; therefore, by building the peripheral hardware circuit, under the condition that the motor master control chip has no corresponding high-low level conversion configuration capability, the functions of switching between positive and negative rotation and the like are realized, and the application range of the motor is expanded.

According to an embodiment of the present invention, there is also provided a motor corresponding to the level modulation apparatus. The motor may include: the level modulation apparatus described above.

Since the processes and functions implemented by the motor of this embodiment substantially correspond to the embodiments, principles and examples of the foregoing devices, reference may be made to the related descriptions in the foregoing embodiments without being detailed in the description of this embodiment.

By adopting the technical scheme of the invention, a hardware circuit based on a triode switch is built as a peripheral hardware circuit; under the condition that the phase and amplitude of a reference signal (such as a high level and a low level output by a Hall) are unchanged, the reference signal is modulated (such as modulation of constant amplitude, amplitude limiting, high level and low level conversion and the like) by utilizing a built peripheral hardware circuit, so that the modulated level signal can be identified by a motor main control chip and corresponding action (such as action of controlling forward and reverse rotation of a motor) is completed, the application range of the motor can be expanded, and the motor has the advantages of low cost, strong applicability and simple structure.

In summary, it is readily understood by those skilled in the art that the advantageous modes described above can be freely combined and superimposed without conflict.

The above description is only an example of the present invention, and is not intended to limit the present invention, and it is obvious to those skilled in the art that various modifications and variations can be made in the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.

16页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种四开关控制电路

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类