A stepless switch speed control circuit and a speed control method

Through the stepless switch speed control circuit and speed control method, the control unit, charge and discharge circuit unit and bus voltage sampling unit are used to solve the problem of high hardware cost of the electrolytic capacitor solution, and the economical and reliable switching gear shifting function is realized, which improves the energy saving and stability of the equipment.

CN115685813BActive Publication Date: 2025-07-25JINGAOWEI ELECTRICAL CHANGZHOU CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211225119.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-09
Publication Date
2025-07-25
Estimated Expiration
2042-10-09

AI Technical Summary

Technical Problem

In the prior art, the hardware cost of implementing the switch gear shift function through an electrolytic capacitor solution is relatively high, and it is difficult to meet economic needs.

Method used

The stepless switch speed control circuit is adopted, including a control unit, a charge and discharge circuit unit and a bus voltage sampling unit. The level signal and bus voltage value signal are read through the MCU, and the equipment working mode and power switch state are identified to realize the stepless shift function.

Benefits of technology

It greatly reduces hardware costs, and is easy to realize the switch gear shift function, improving the energy saving and reliability of the equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115685813B_ABST
    Figure CN115685813B_ABST
Patent Text Reader

Abstract

The present invention provides a stepless switch speed control circuit and a speed control method, which relate to the technical field of switch shift speed regulation. Through the mutual cooperation of a hardware circuit and a control method, the problem of relatively high hardware cost for realizing the switch shift function through an electrolytic capacitor solution is solved. The switch shift function is realized in a stepless manner, greatly reducing the hardware cost and being easy to implement. The hardware circuit includes a control unit, a charge and discharge circuit unit, and a bus voltage sampling unit. The control unit reads the current working gear stored in the FLASH of the MCU and the flag bit indicating whether the device has been continuously working for 3 minutes; reads the level signal of the charge and discharge circuit unit, and distinguishes the working mode of the device according to the read level signal; reads the bus voltage value signal collected by the bus voltage sampling unit, and identifies the power switch off state according to the read bus voltage value signal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of switch speed regulation, and particularly relates to a stepless switch speed regulation control circuit and a speed regulation control method. Background Art

[0002] Many aquaculture equipment such as aerators and waterwheels adopt a permanent magnet synchronous variable frequency scheme. When realizing an online connection mode with terminals such as mobile phones, different speed commands can be sent through the corresponding APP on the mobile phone to realize the function of variable frequency speed regulation. At the same time, for different speeds, the power consumed by the variable frequency device is different. The lower the speed, the smaller the power consumption, so that the aerator can work at different speeds in different scenarios, making the aerator more energy-saving and power-saving. However, many farmers have not used mobile phones for online control, and many mobile phone APPs on the market cannot send speed commands. For this stand-alone mode, the equipment needs to have a gear shifting function by itself, that is, directly realize the gear shifting function through the power switch. At present, most of the market adopts an electrolytic capacitor scheme to realize the switch gear shifting function, but the hardware cost of the electrolytic capacitor scheme is relatively high. Summary of the Invention

[0003] A stepless switch speed regulation control circuit and a speed regulation control method disclosed by the present invention solve the problem of relatively high hardware cost of realizing the switch gear shifting function through the electrolytic capacitor scheme, and realize the switch gear shifting function in a stepless manner, greatly reducing the hardware cost and being easy to implement.

[0004] To achieve the above object, the technical solution of the present invention is specifically implemented as follows:

[0005] The present invention discloses a stepless switch speed regulation control circuit, including a control unit, a charge and discharge circuit unit, and a bus voltage sampling unit. Among them, the control unit includes an MCU. The control unit reads the current working gear stored in the FLASH of the MCU and the flag bit indicating whether the device has been continuously working for 3 minutes; reads the level signal of the charge and discharge circuit unit, and distinguishes the working mode of the device according to the read level signal of the charge and discharge circuit unit; reads the bus voltage value signal collected by the bus voltage sampling unit, and identifies the power switch off state according to the read bus voltage value signal collected by the bus voltage sampling unit; the charge and discharge circuit unit is connected to the control unit to complete charging and discharging; the bus voltage sampling unit is connected to the control unit to obtain the bus voltage value and transmit the obtained bus voltage value to the control unit.

[0006] Further, the fifteenth pin of the MCU in the control unit is connected to the charge and discharge circuit unit to read the level signal of the charge and discharge circuit unit; the thirteenth pin of the MCU in the control unit is connected to the bus voltage sampling unit to read the bus voltage value obtained by the bus voltage sampling unit.

[0007] Further, the first end of resistor R75 in the charge and discharge circuit unit is connected to the +3.3V terminal, the second end of resistor R75 is connected to the fifteenth pin of the MCU, the anode of diode D15 is connected to the fifteenth pin of the MCU, the cathode of diode D15 is connected to the N terminal through capacitor C46, and resistor R76 is connected in parallel with diode D15.

[0008] Further, the first end of resistor R57 in the bus voltage sampling unit is connected to the N terminal, the second end of resistor R57 is connected to the thirteenth pin of the MCU. At the same time, the second end of resistor R57 is sequentially connected to the P terminal through resistors R59, R61, R60 and resistor R58, and capacitor C40 is connected in parallel with resistor R57.

[0009] Further, the model of the MCU is AT32F421.

[0010] On the other hand, the present invention discloses a stepless switch speed control method, including the following steps:

[0011] S1: The system is powered on, and the hardware of each part is initialized;

[0012] S2: The MCU reads the current working gear of the device stored in the FLASH and the flag bit indicating whether the device has continuously worked for 3 minutes;

[0013] S3: After 1 second of power-on, the MCU reads the level signal in the charge and discharge circuit. If the level in the charge and discharge circuit is greater than 1.9V, step S4 is executed; if the level in the charge and discharge circuit is less than 1.9V, step S5 is executed;

[0014] S4: The MCU reads the flag bit indicating whether the device has continuously worked for 3 minutes in the FLASH. If the device has continuously worked for 3 minutes or more, the gear cannot be shifted, and the gear is locked in the high-speed state. After running for 3 minutes, the flag bit indicating that the device has continuously worked for 3 minutes is marked in the FLASH; if the device has not continuously worked for 3 minutes, it is determined as a switch gear shift, the gear cycles, and switches to the gear required by the user. After running for 3 minutes, the flag bit indicating that the device has continuously worked for 3 minutes is marked in the FLASH;

[0015] S5: Switch the gear to the first gear, save the current gear to the FLASH, and restart the timing of the continuous working time of the device;

[0016] S6: Normal operation.

[0017] Beneficial technical effects:

[0018] The present invention discloses a stepless switch speed control circuit and a speed control method. Through the mutual cooperation of a hardware circuit (including a control unit, a charge and discharge circuit unit, and a bus voltage sampling unit) and the control method, the problem of high hardware cost for realizing the switch shifting function through an electrolytic capacitor solution is solved. The switch shifting function is realized in a stepless manner, greatly reducing the hardware cost and being easy to implement. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions of the present invention, the drawings required for the description of the embodiments will be briefly introduced below.

[0020] Figure 1 It is a circuit structure diagram of the control unit in a stepless switch speed control circuit according to the present invention;

[0021] Figure 2 It is a circuit structure diagram of the bus voltage sampling circuit in a stepless switch speed control circuit according to the present invention;

[0022] Figure 3 It is a logic flow chart of the speed control method of a stepless switch speed control circuit according to the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0023] The embodiments of the present invention will be described in detail below. The examples of the embodiments are shown in the drawings, where the same or similar reference numerals indicate the same or similar elements or elements with the same or similar functions throughout. The embodiments described below with reference to the drawings are exemplary and are only used to explain the present invention and should not be construed as a limitation of the present invention.

[0024] The embodiments of the present invention will be described in detail below in conjunction with the drawings.

[0025] On the one hand, the present invention discloses a stepless switch speed control circuit. Refer to Figures 1 - 2, specifically including a control unit, a charge and discharge circuit unit, and a bus voltage sampling unit. Among them, the control unit includes an MCU. Preferably, the MCU selects AT32F421. The control unit reads the current working gear stored in the FLASH of the MCU and the flag bit indicating whether the device has been continuously working for 3 minutes; reads the level signal of the charge and discharge circuit unit, and distinguishes the working mode of the device according to the read level signal of the charge and discharge circuit unit; reads the bus voltage value signal collected by the bus voltage sampling unit, and identifies the power switch off state according to the read bus voltage value signal collected by the bus voltage sampling unit. Specifically, the fifteenth pin of the MCU in the control unit is connected to the charge and discharge circuit unit to read the level signal of the charge and discharge circuit unit; the thirteenth pin of the MCU in the control unit is connected to the bus voltage sampling unit to read the bus voltage value obtained by the bus voltage sampling unit. The fifteenth pin and the thirteenth pin of the MCU are analog input ports to implement the ADC conversion function; the charge and discharge circuit unit is connected to the control unit to complete charging and discharging. Specifically, the first end of the resistor R75 in the charge and discharge circuit unit is connected to the +3.3V terminal, the second end of the resistor R75 is connected to the fifteenth pin of the MCU, the anode of the diode D15 is connected to the fifteenth pin of the MCU, and the cathode of the diode D15 is connected to the N terminal through the capacitor C46. The resistor R76 is connected in parallel with the diode D15. That is, the control unit reads the level signal at the SV pin (i.e., between the second end of the resistor R75 and the anode of the diode D15) in the charge and discharge circuit. The charge delay of the charge and discharge circuit unit is 5 seconds, and the discharge time also exceeds 5 seconds. Using the level signal at the SV pin, it can be identified whether the power switch action is a short-term intentional switch shift or the action of the power switch being closed for the first time. Using this action behavior to distinguish the device working mode; the bus voltage sampling unit is connected to the control unit to obtain the bus voltage value and transmit the obtained bus voltage value to the control unit. Specifically, see Figure 2 , the first end of the resistor R57 in the bus voltage sampling unit is connected to the N terminal, the second end of the resistor R57 is connected to the thirteenth pin of the MCU. At the same time, the second end of the resistor R57 is sequentially connected to the P terminal through the resistors R59, R61, R60, and R58. The P terminal is the positive terminal of the bus voltage. The capacitor C40 is connected in parallel with the resistor R57. Through the bus voltage sampling unit, the MCU can obtain the bus voltage value in real time. When the power switch is turned off, the bus voltage value drops rapidly, and then the MCU can identify the action of the power switch being turned off and quickly turn off the current motor, thereby reducing the energy storage loss of the non-polar capacitor.

[0026] On the other hand, the present invention discloses a speed control method for a non-polar switch speed control circuit. See Figure 3 , specifically including the following steps:

[0027] S1: The system is powered on, and the hardware of each part is initialized;

[0028] S2: The MCU reads the current working gear of the device stored in the FLASH and the flag bit indicating whether the device has been continuously working for 3 minutes.

[0029] Specifically, the FLASH of the MCU stores the current working gear flag and the flag indicating whether the device has been continuously working for 3 minutes before the power switch is turned off. When power is on, these two flag bits are obtained from the FLASH of the MCU.

[0030] S3: After 1 second of power-on, the MCU reads the level signal in the charge and discharge circuit. If the level in the charge and discharge circuit is greater than 1.9V, step S4 is executed; if the level in the charge and discharge circuit is less than 1.9V, step S5 is executed.

[0031] Specifically, within 1 second after power-on, the MCU reads the level signal at the SV pin (i.e., between the second end of resistor R75 and the anode of diode D15) in the charge and discharge circuit. At this time, the motor is in the off state.

[0032] S4: The MCU reads the flag bit indicating whether the device has been continuously working for 3 minutes in the FLASH. If the device has been continuously working for 3 minutes or more, it is not possible to shift gears, and the gear is locked in the high-speed state. After running for 3 minutes, the flag bit indicating that the device has been continuously working for 3 minutes is marked in the FLASH. If the device has not been continuously working for 3 minutes, it is determined as a switch gear shift, the gear cycles, and switches to the gear required by the user. After running for 3 minutes, the flag bit indicating that the device has been continuously working for 3 minutes is marked in the FLASH.

[0033] Specifically, within 1 second after power-on, when the level at the SV pin in the charge and discharge circuit unit is greater than 1.9V, the MCU determines it as the gear shift mode. At this time, it is necessary to read the flag bit indicating whether the device has been continuously working for 3 minutes. If it is read that the device has been continuously working for more than 3 minutes, it is not possible to shift gears, and the gear is locked in the first gear high-speed state to prevent a primary tripping of the power grid or a very low voltage from causing the restart of the power switch, avoiding the MCU misjudging it as a fast switch gear shift. Taking the aeration device as an example, it may cause the device to switch from the high-speed aeration mode to the low-speed aeration mode, resulting in a worse aeration effect and affecting the oxygen supply for fish or shrimp. If it is read that the device has not been continuously working for 3 minutes, the MCU determines it as a manual switch gear shift operation, switches the gear to the gear or mode actually required by the user, runs the corresponding gear and mode according to the actual needs, saves electricity costs, and thus reduces the production cost of the user. When the user stops shifting gears, the current gear is stored in the FLASH of the MCU, and the device working time starts to be calculated.

[0034] S5: Switch the gear to the first gear, save the current gear to the FLASH, and restart the timing of the device's continuous working time.

[0035] Specifically, within 1 second after power-on, when the level of the SV pin in the charge and discharge circuit unit is continuously lower than 1.9V, the MCU determines that the time from the last power switch-off to the current power switch-on is at least more than 10 seconds, or determines that this device is performing the power-on operation for the first time. Then the MCU switches the gear to the first gear (i.e., the normal high-speed mode or the normal oxygenation mode), saves the current gear, and restarts the 3-minute timing, that is, allows gear shifting operations.

[0036] S6: Normal operation.

[0037] Specifically, it works continuously and stably according to the gear selected by the user.

[0038] A stepless switch speed control circuit and a speed control method disclosed by the present invention, through the mutual cooperation of a hardware circuit (including a control unit, a charge and discharge circuit unit, and a bus voltage sampling unit) and a control method, solve the problem of relatively high hardware costs for implementing the switch gear shifting function through an electrolytic capacitor solution. The switch gear shifting function is realized in a stepless manner, greatly reducing the hardware costs and being easy to implement.

[0039] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a system, or a computer program product. Therefore, the present application can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk memories, CD-ROMs, optical memories, etc.) containing computer-usable program codes.

[0040] The present application is described with reference to the flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or block in the flowcharts and / or block diagrams, as well as the combination of processes and / or blocks in the flowcharts and / or block diagrams, can be realized by computer program instructions. These computer program instructions can be provided to the processors of general-purpose computers, special-purpose computers, embedded processors, or other programmable data processing devices to generate a machine, so that the instructions executed by the processors of the computer or other programmable data processing devices generate means for realizing the functions specified in Figure 1 one process or multiple processes and / or blocks Figure 1 one block or multiple blocks.

[0041] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory generate a manufactured product including instruction means, and the instruction means realizes the functions in the process Figure 1one process or multiple processes and / or blocks Figure 1 the functions specified in one block or multiple blocks.

[0042] These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operation steps are executed on the computer or other programmable device to generate a computer-implemented process. Thus, the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in Figure 1 one process or multiple processes and / or blocks Figure 1 the functions specified in one block or multiple blocks.

[0043] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples", etc. means that the specific features, structures, materials, or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.

[0044] The above embodiments are only descriptions of the preferred embodiments of the present invention and do not limit the scope of the present invention. Without departing from the design spirit of the present invention, various deformations and improvements made by those of ordinary skill in the art to the technical solutions of the present invention shall fall within the protection scope determined by the claims of the present invention.

Claims

1. A stepless switch speed control circuit, characterized in that Including: A control unit, the control unit includes an MCU, and the control unit reads the current working gear stored in the FLASH in the MCU and the flag bit indicating whether the device has been continuously working for 3 minutes; Read the level signal of the charge and discharge circuit unit, and distinguish whether the power switch action of the device is a gear shift mode or the first power-on action of this device according to the read level signal of the charge and discharge circuit unit; read the bus voltage value signal collected by the bus voltage sampling unit, and identify the power switch off state according to the read bus voltage value signal collected by the bus voltage sampling unit; A charge and discharge circuit unit, the charge and discharge circuit unit is connected to the control unit to complete charging and discharging; A bus voltage sampling unit, the bus voltage sampling unit is connected to the control unit to obtain the bus voltage value and transmit the obtained bus voltage value to the control unit; The control method of this control circuit includes the following steps: S1: The system is powered on and the hardware of each part is initialized; S2: The MCU reads the current working gear of the device stored in the FLASH and the flag bit indicating whether the device has been continuously working for 3 minutes; S3: After 1 second of power-on, the MCU reads the level signal in the charge and discharge circuit. If the level in the charge and discharge circuit is greater than 1.9V, the MCU judges it as the gear shift mode and executes step S4; if the level in the charge and discharge circuit is less than 1.9V, it is judged that this device performs the first power-on action for the first time and executes step S5; S4: The MCU reads the flag bit indicating whether the device has been continuously working for 3 minutes in the FLASH. If the device has been continuously working for 3 minutes or more, it is not possible to shift gears, and the gear is locked in the high-speed state. After running for 3 minutes, the flag bit indicating that the device has been continuously working for 3 minutes is marked in the FLASH; if the device has not been continuously working for 3 minutes, it is judged as a switch gear shift, the gears cycle, and switch to the gear required by the user. After running for 3 minutes, the flag bit indicating that the device has been continuously working for 3 minutes is marked in the FLASH; S5: Switch the gear to the first gear, save the current gear to the FLASH, and restart the timing of the continuous working time of the device; S6: Normal operation.

2. The stepless switch speed control circuit according to claim 1, wherein The fifteenth pin of the MCU in the control unit is connected to the charge and discharge circuit unit to read the level signal of the charge and discharge circuit unit; the thirteenth pin of the MCU in the control unit is connected to the bus voltage sampling unit to read the bus voltage value obtained by the bus voltage sampling unit.

3. The stepless switch speed control circuit according to claim 1, characterized in that, The first end of the resistor R75 in the charge and discharge circuit unit is connected to the +3.3V terminal, the second end of the resistor R75 is connected to the fifteenth pin of the MCU, the anode of the diode D15 is connected to the fifteenth pin of the MCU, the cathode of the diode D15 is connected to the N terminal through the capacitor C46, and the resistor R76 is connected in parallel with the diode D15.

4. The stepless switch speed control circuit according to claim 1, characterized in that, The first end of the resistor R57 in the bus voltage sampling unit is connected to the N terminal, the second end of the resistor R57 is connected to the thirteenth pin of the MCU. At the same time, the second end of the resistor R57 is sequentially connected to the P terminal through the resistors R59, R61, R60 and R58, and the capacitor C40 is connected in parallel with the resistor R57.

5. A stepless switch speed control circuit according to claim 1, characterized in that, The model number of the MCU is AT32F421.

6. A stepless switch speed control method, characterized in that It includes the following steps: S1: Power on the system and initialize each part of the hardware; S2: The MCU reads the current working gear of the device stored in the FLASH and the flag bit indicating whether the device has been continuously working for 3 minutes; S3: After 1 second of power-on, the MCU reads the level signal in the charge and discharge circuit. If the level in the charge and discharge circuit is greater than 1.9V, the MCU determines it as the gear shifting mode and executes step S4; if the level in the charge and discharge circuit is less than 1.9V, it is determined that this device performs the power-on operation for the first time, and step S5 is executed; S4: The MCU reads the flag bit indicating whether the device has been continuously working for 3 minutes in the FLASH. If the device has been continuously working for 3 minutes or more, gear shifting is not allowed, and the gear is locked in the high-speed state. After running for 3 minutes, the flag bit indicating that the device has been continuously working for 3 minutes is marked in the FLASH; if the device has not been continuously working for 3 minutes, it is determined as switch gear shifting, and the gears cycle to switch to the gear required by the user. After running for 3 minutes, the flag bit indicating that the device has been continuously working for 3 minutes is marked in the FLASH; S5: Switch the gear to the first gear, save the current gear to the FLASH, and re-time the continuous working time of the device; S6: Normal operation.

Citation Information

Patent Citations

  • ECM motor gear switching method

    CN113364360A

  • Two voltage switching control system of self -adaptation

    CN205544568U