Bus voltage detecting and discharging device and method, motor control system and sewing machine

By designing a hardware bus voltage detection and bleeding device, using hardware circuits to collect and process bus voltage signals, automatic overvoltage detection and bleeding control is achieved, and the problems of software detection accuracy and high MCU resource occupation in the prior art are solved, which improves the reliability and flexibility of bleeding, and simplifies the circuit structure.

CN119834697APending Publication Date: 2025-04-15ZHEJIANG ZOBOW MECHANICAL & ELECTRICAL TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510022208.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-07
Publication Date
2025-04-15

AI Technical Summary

Technical Problem

When handling bus voltage overvoltage, the prior art has problems such as software detection accuracy and high MCU resource utilization, and the isolation voltage sampling and driving circuit are complex and costly.

Method used

A hardware bus voltage detection and leakage device is designed, including a voltage acquisition module, an overvoltage comparison module, a signal amplification module, a power tube discharge module and a bus voltage suppression module. Through the hardware circuit, the bus voltage signal is collected and processed, and automatic overvoltage detection and leakage control is realized.

Benefits of technology

It improves the leakage reliability and flexibility when the bus voltage is overvoltage, reduces MCU resource occupation, simplifies the circuit structure and reduces costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119834697A_ABST
    Figure CN119834697A_ABST
Patent Text Reader

Abstract

The invention provides a busbar voltage detection and discharge device and method, a motor control system and a sewing machine, and the device comprises a voltage collection module which is configured to collect busbar voltage; the overvoltage comparison module is configured to compare the bus voltage with a preset overvoltage point and output an overvoltage detection signal; a signal amplification module configured to drive the overvoltage detection signal; the power tube discharge module is configured to start and stop a discharge action according to the driven overvoltage detection signal; and the bus voltage suppression module is configured to determine a motor state in the bus voltage suppression module according to the driven overvoltage detection signal so as to start and stop a discharge action according to different motor states. According to the invention, combination of bus voltage hardware circuit discharge and motor operation overvoltage suppression is realized, and bus voltage overvoltage can be discharged efficiently, flexibly and reliably.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the technical field of circuit design, and relates to a discharge device, and in particular to a bus voltage detection and discharge device, method, motor control system and sewing machine. Background Art

[0002] In the prior art, when the motors used in the industrial field brake, they will generate reverse electromotive force, charge the bus capacitor, and increase the voltage on the bus capacitor. For example, if the stepper motor voltage on an industrial sewing machine is too high, it will put forward higher requirements on the withstand voltage of the bus capacitor and the motor drive power tube, increasing their cost and failure rate. If the bus voltage is powered by a flyback power supply, it will also make the working conditions of the power supply worse, increasing the design difficulty and failure rate.

[0003] The current industry application solution is to use a single-chip microcomputer to detect and control the bus voltage discharge. The single-chip microcomputer detects the bus voltage value. After the software determines that it is too high, it outputs a high level to turn on the power tube, and the bus voltage is discharged through the cement resistor in series with the power tube. This solution requires the software to accurately detect the voltage value and determine whether it is overvoltage, and output a signal to control the discharge circuit to work. It needs to run the software to ensure functional stability, there is a risk of program runaway, and it occupies MCU resources. If the circuit where the MCU is located is isolated from the bus voltage circuit, the isolation voltage sampling and isolation drive circuit are complex and costly. Summary of the invention

[0004] The present application provides a bus voltage detection and discharge device, method, motor control system and sewing machine, which are used to solve the problem of flexible and efficient pressure relief when the bus voltage is over-voltage.

[0005] In a first aspect, the present application provides a bus voltage detection and discharge device, the device comprising: a voltage acquisition module, configured to acquire bus voltage; an overvoltage comparison module, connected to the voltage acquisition module, configured to compare the bus voltage with a preset overvoltage point, and output an overvoltage detection signal; a signal amplification module, connected to the overvoltage comparison module, configured to drive the overvoltage detection signal; a power tube discharge module, respectively connected to the bus voltage and the signal amplification module, configured to start and stop the discharge action according to the overvoltage detection signal after driving; a bus voltage suppression module, respectively connected to the bus voltage and the overvoltage comparison module, configured to determine the motor state in the bus voltage suppression module according to the overvoltage detection signal after driving, so as to start and stop the discharge action according to different motor states.

[0006] In an implementation of the first aspect, the overvoltage comparison module includes a first voltage comparison unit and a second voltage comparison unit; the first voltage comparison unit is connected to the voltage acquisition module, and is configured to compare the bus voltage with a first overvoltage point, and output a first overvoltage detection signal; the second voltage comparison unit is connected to the voltage acquisition module, and is configured to compare the bus voltage with a second overvoltage point, and output a second overvoltage detection signal; the voltage value of the second overvoltage point is higher than the voltage value of the first overvoltage point.

[0007] In an implementation of the first aspect, the bus voltage suppression module includes a first motor execution unit and a second motor execution unit; in response to the bus voltage rising to the first overvoltage point, the first motor execution unit reduces the acceleration of the first motor during deceleration according to the first overvoltage detection signal to reduce the reverse charging current and suppress the bus voltage from rising; in response to the bus voltage rising to the second overvoltage point, the second motor execution unit applies a holding current to the second motor according to the second overvoltage detection signal, and the holding current is used to discharge the bus voltage.

[0008] In an implementation of the first aspect, the device also includes a discharge control module; the discharge control module is respectively connected to the first voltage comparison unit, the second voltage comparison unit, the first motor execution unit and the second motor execution unit; the discharge control module is configured to control the first motor execution unit to reduce the acceleration of the first motor during deceleration according to the first overvoltage detection signal; and apply a holding current to the second motor of the second motor execution unit according to the second overvoltage detection signal to discharge the bus voltage.

[0009] In an implementation of the first aspect, in response to the bus voltage rising to the first overvoltage point, the first overvoltage detection signal is at a low level, and the first motor execution unit reduces the acceleration of the first motor during deceleration according to the first overvoltage detection signal to reduce the reverse charging current and suppress the bus voltage from rising; in response to the bus voltage rising to the second overvoltage point, the first overvoltage detection signal and the second overvoltage detection signal are both at a low level, and the second motor execution unit applies a holding current to the second motor according to the second overvoltage detection signal, and the holding current is used to discharge the bus voltage.

[0010] In an implementation of the first aspect, the signal amplification module is connected to the output end of the first voltage comparison unit, so that the power tube discharge module starts and stops the discharge action according to the first overvoltage detection signal after driving.

[0011] In an implementation of the first aspect, the power tube discharge module includes a discharge resistor and a discharge power tube; one end of the discharge resistor is connected to the bus voltage, and the other end is connected to the drain of the discharge power tube; the source of the discharge power tube is connected to the ground, and the gate receives the overvoltage detection signal after driving.

[0012] In a second aspect, the present application provides a bus voltage detection and discharge method, the method comprising: collecting the bus voltage; comparing the bus voltage with a preset overvoltage point and outputting an overvoltage detection signal; driving the overvoltage detection signal; starting and stopping the discharge action according to the overvoltage detection signal after driving; and determining the motor state according to the overvoltage detection signal after driving, so as to start and stop the discharge action according to different motor states.

[0013] In a third aspect, the present application provides a motor control system, the system comprising: the bus voltage detection and discharge device.

[0014] In a fourth aspect, the present application provides an industrial sewing machine, comprising: the motor control system described above.

[0015] As described above, the bus voltage detection and discharge device, method, motor control system and sewing machine described in the present application have the following beneficial effects:

[0016] The present application provides a discharge device that combines a hardware bus voltage discharge solution with a motor control solution, which has higher reliability.

[0017] The application is flexible. When the MCU (Microcontroller Unit) is isolated from the bus voltage, the MCU is used to control the motor discharge circuit.

[0018] The application of the present invention has a wide range of applications. For the high-voltage bus voltage of a permanent magnet synchronous motor or the low-voltage bus voltage of a stepper motor, the bus voltage detection and discharge device can be used after modifying the parameters.

[0019] This application is mainly based on hardware circuit construction, with a simple circuit structure and low cost. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 Shown is a structural principle diagram of the bus voltage detection and discharge device described in an embodiment of the present application.

[0021] Figure 2 Shown is a hardware discharge circuit diagram of the bus voltage detection and discharge device described in an embodiment of the present application.

[0022] Figure 3 Shown is an overall structural diagram of the bus voltage detection and discharge device described in an embodiment of the present application.

[0023] Figure 4 Shown is an overall circuit diagram of the bus voltage detection and discharge device described in an embodiment of the present application.

[0024] Figure 5 Shown is a principle flow chart of the bus voltage detection and discharge method described in an embodiment of the present application.

[0025] Figure 6 Shown is a discharge flow chart of the bus voltage detection and discharge device described in an embodiment of the present application.

[0026] Figure 7 Shown is a schematic diagram of the structure of the motor control system described in an embodiment of the present application.

[0027] Figure 8 Shown is a schematic diagram of the structural connection of the industrial sewing machine described in an embodiment of the present application.

[0028] Component number description

[0029] 1 Bus voltage detection and discharge device

[0030] 11 Voltage acquisition module

[0031] 12 Overvoltage comparison module

[0032] 121 First voltage comparison unit

[0033] 122 second voltage comparison unit

[0034] 13 Signal Amplification Module

[0035] 14 Power tube discharge module

[0036] 15 Bus voltage suppression module

[0037] 151 First motor actuator unit

[0038] 152 Second motor execution unit

[0039] 16 Discharge control module

[0040] Steps S51 to S55

[0041] Steps S551 to S552 DETAILED DESCRIPTION

[0042] The following describes the embodiments of the present application through specific examples, and those skilled in the art can easily understand other advantages and effects of the present application from the contents disclosed in this specification. The present application can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present application. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict.

[0043] It should be noted that the illustrations provided in the following embodiments are only used to illustrate the basic concept of the present application in a schematic manner, and therefore the illustrations only show components related to the present application rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.

[0044] Based on a pure hardware solution for bus voltage discharge, the present application utilizes a hardware circuit to detect the bus voltage, performs logic processing, and then controls the circuit to discharge the bus voltage, thereby improving reliability and application flexibility.

[0045] The technical solutions in the embodiments of the present application will be described in detail below in conjunction with the drawings in the embodiments of the present application.

[0046] See also Figure 1 , which is a schematic diagram of the structure of the bus voltage detection and discharge device described in the embodiment of the present application. Figure 1 As shown, this embodiment provides a bus voltage detection and discharge device 1, which specifically includes: a voltage acquisition module, an overvoltage comparison module, a signal amplification module, a power tube discharge module and a bus voltage suppression module.

[0047] The voltage acquisition module 11 is configured to acquire bus voltage.

[0048] The overvoltage comparison module 12 is connected to the voltage acquisition module 11 and is configured to compare the bus voltage with a preset overvoltage point and output an overvoltage detection signal.

[0049] The signal amplifying module 13 is connected to the overvoltage comparing module 12 and is configured to drive the overvoltage detection signal.

[0050] The power tube discharge module 14 is connected to the bus voltage and the signal amplification module 13 respectively, and is configured to start and stop the discharge action according to the overvoltage detection signal after driving.

[0051] The bus voltage suppression module 15 is connected to the bus voltage and the overvoltage comparison module 12 respectively, and is configured to determine the motor state in the bus voltage suppression module 15 according to the overvoltage detection signal after driving, so as to start and stop the discharge action according to the different motor states.

[0052] In one embodiment, the overvoltage comparison module includes a first voltage comparison unit and a second voltage comparison unit.

[0053] The first voltage comparison unit is connected to the voltage acquisition module, and is configured to compare the bus voltage with a first overvoltage point and output a first overvoltage detection signal.

[0054] The second voltage comparison unit is connected to the voltage acquisition module and is configured to compare the bus voltage with a second overvoltage point and output a second overvoltage detection signal; the voltage value of the second overvoltage point is higher than the voltage value of the first overvoltage point.

[0055] See also Figure 2 , which shows the hardware discharge circuit diagram of the bus voltage detection and discharge device described in the embodiment of the present application. Figure 2 As shown, the overvoltage comparison module 12 includes a first voltage comparison unit 121 and a second voltage comparison unit 122. The first voltage comparison unit 121 includes an operational amplifier U1A, a resistor R12, a resistor R13, and a resistor R14. The second voltage comparison unit 122 includes an operational amplifier U1B, a resistor R15, a resistor R16, and a resistor R17. In actual applications, the operational amplifier U1A, the resistor R12, the resistor R13, and the resistor R14 constitute a hysteresis comparison circuit of the first voltage comparison unit 121, and the operational amplifier U1B, the resistor R15, the resistor R16, and the resistor R17 constitute a hysteresis comparison circuit of the second voltage comparison unit 122.

[0056] like Figure 2 As shown, the first voltage comparison unit 121 is connected to the voltage acquisition module 11, and is configured to compare the bus voltage (in actual application, the bus voltage is the bus voltage ratio value after the bus voltage is divided by the voltage divider resistor) with the first overvoltage point, and output the first overvoltage detection signal OV1, wherein the first overvoltage point is set by the voltage divider point of the resistor R12 and the resistor R13. The second voltage comparison unit 122 is connected to the voltage acquisition module 11, and is configured to compare the bus voltage with the second overvoltage point, and output the second overvoltage detection signal OV2, wherein the second overvoltage point is set by the voltage divider point of the resistor R15 and the resistor R16; the voltage value of the second overvoltage point is higher than the voltage value of the first overvoltage point.

[0057] See also Figure 3 , which shows the overall structure of the bus voltage detection and discharge device described in the embodiment of the present application. Figure 3As shown, in this embodiment Figure 2 A bus voltage suppression module 15 is added on the basis of the hardware discharge circuit structure. The left side of the bus voltage suppression module 15 is connected to the overvoltage comparison module 12, and the right side is connected to the upper bus voltage 100V. The bus voltage suppression module 15 is configured to determine the motor state in the bus voltage suppression module 15 according to the overvoltage detection signal after driving, so as to start and stop the discharge action according to the different motor states.

[0058] In different practical applications, the bus voltage suppression module 15 of the present application can control the motor state according to the first overvoltage detection signal OV1 or the second overvoltage detection signal OV2, as well as the judgment signal after the first overvoltage detection signal OV1 and the second overvoltage detection signal OV2 are combined and logically converted and analyzed.

[0059] See also Figure 4 , which shows the overall circuit diagram of the bus voltage detection and discharge device described in the embodiment of the present application. Figure 4 As shown, the bus voltage suppression module 15 of this embodiment controls the motor state according to the first overvoltage detection signal OV1 and the second overvoltage detection signal OV2. The bus voltage suppression module 15 includes a first motor M1 and a second motor M2. The bus voltage suppression module 15 controls the state of the first motor M1 according to the first overvoltage detection signal OV1, and controls the state of the second motor M2 according to the second overvoltage detection signal OV2.

[0060] In one embodiment, the bus voltage suppression module includes a first motor execution unit and a second motor execution unit.

[0061] In response to the bus voltage rising to the first overvoltage point, the first motor execution unit reduces the acceleration of the first motor during deceleration according to the first overvoltage detection signal to reduce the reverse charging current and suppress the bus voltage from rising.

[0062] In response to the bus voltage rising to the second overvoltage point, the second motor execution unit applies a holding current to the second motor according to the second overvoltage detection signal, where the holding current is used to discharge the bus voltage.

[0063] like Figure 4As shown, the bus voltage suppression module 15 includes a first motor execution unit 151 and a second motor execution unit 152, wherein the first motor execution unit 151 includes a first motor M1 and a peripheral circuit associated with the operation of the first motor M1; the second motor execution unit 152 includes a second motor M2 and a peripheral circuit associated with the operation of the second motor M2, the first control signal terminal of the MCU outputs a signal to the first motor M1, and the second control signal terminal of the MCU outputs a signal to the second motor M2. In response to the bus voltage rising to the first overvoltage point, the first motor execution unit 151 reduces the acceleration of the first motor M1 during deceleration according to the first overvoltage detection signal OV1, so as to reduce the reverse charging current and suppress the bus voltage from rising. In response to the bus voltage rising to the second overvoltage point, the second motor execution unit 152 applies a holding current to the second motor M2 according to the second overvoltage detection signal OV2, and the holding current is used to discharge the bus voltage.

[0064] In one embodiment, the device further includes a discharge control module.

[0065] The discharge control module is connected to the first voltage comparison unit, the second voltage comparison unit, the first motor execution unit and the second motor execution unit respectively.

[0066] The discharge control module is configured to control the first motor execution unit to reduce the acceleration of the first motor during deceleration according to the first overvoltage detection signal; and apply a holding current to the second motor of the second motor execution unit according to the second overvoltage detection signal to discharge the bus voltage.

[0067] like Figure 4 As shown, the device 1 also includes a discharge control module 16. In practical applications, the discharge control module 16 includes an MCU, which is respectively connected to the first voltage comparison unit 121, the second voltage comparison unit 122, the first motor execution unit 151 and the second motor execution unit 152. The MCU is configured to control the first motor execution unit 151 to reduce the acceleration of the first motor during deceleration according to the first overvoltage detection signal; and to apply a holding current to the second motor of the second motor execution unit 152 according to the second overvoltage detection signal to discharge the bus voltage.

[0068] In one embodiment, in response to the bus voltage rising to the first overvoltage point, the first overvoltage detection signal is at a low level, and the first motor execution unit reduces the acceleration of the first motor during deceleration according to the first overvoltage detection signal to reduce the reverse charging current and suppress the bus voltage from rising.

[0069] In one embodiment, in response to the bus voltage rising to the second overvoltage point, the first overvoltage detection signal and the second overvoltage detection signal are both low levels, and the second motor execution unit applies a holding current to the second motor according to the second overvoltage detection signal, and the holding current is used to discharge the bus voltage.

[0070] Combination Figure 4 In response to the bus voltage rising to the first overvoltage point, the first overvoltage detection signal OV1 is at a low level, and the first motor execution unit 151 reduces the acceleration of the first motor during deceleration according to the first overvoltage detection signal OV1, so as to reduce the reverse charging current and suppress the bus voltage from rising. In response to the bus voltage rising to the second overvoltage point, the first overvoltage detection signal OV1 and the second overvoltage detection signal OV2 are both at a low level, and the second motor execution unit 152 applies a holding current to the second motor according to the second overvoltage detection signal OV2, and the holding current is used to discharge the bus voltage.

[0071] In one embodiment, the signal amplification module is connected to the output end of the first voltage comparison unit, so that the power tube discharge module starts and stops the discharge action according to the first overvoltage detection signal after driving.

[0072] Combination Figures 2 to 4 As shown, the signal amplifying module 13 is connected to the output end of the first voltage comparing unit 121, so that the power tube discharging module 14 starts and stops the discharging action according to the first overvoltage detection signal OV1 after driving.

[0073] In one embodiment, the power tube discharge module includes a discharge resistor and a discharge power tube.

[0074] One end of the discharge resistor is connected to the bus voltage, and the other end is connected to the drain of the discharge power tube;

[0075] The source of the discharge power tube is connected to the ground, and the gate receives the overvoltage detection signal after being driven.

[0076] Combination Figures 2 to 4 As shown, the power tube discharge module 14 includes a discharge resistor and a discharge power tube Q1, wherein the discharge resistor can be a resistor that meets the design requirements, or can be an equivalent resistor that meets the design requirements formed by connecting multiple resistors in series and parallel, such as Figure 4 The middle resistor R2 and the resistor R4 connected in series are discharge resistors. One end of the discharge resistor is connected to the bus voltage 100V, and the other end is connected to the drain of the discharge power tube Q1; the source of the discharge power tube Q1 is connected to the ground, and the gate receives the overvoltage detection signal after driving.

[0077] See also Figure 5 , which is a principle flow chart of the bus voltage detection and discharge method described in the embodiment of the present application. Figure 5 As shown, this embodiment provides a bus voltage detection and discharge method, which specifically includes the following steps:

[0078] S51, collecting bus voltage.

[0079] In practical applications, combined with Figure 4 As shown, the resistor R1, the resistor R3, the resistor R5 and the resistor R10 are a bus voltage acquisition circuit for acquiring the bus voltage.

[0080] In different embodiments, the bus voltage may be collected through a voltage divider resistor, or may be collected through an operational amplifier circuit or a voltage detection chip.

[0081] S52, comparing the bus voltage with a preset overvoltage point and outputting an overvoltage detection signal.

[0082] In practical applications, combined with Figure 4 As shown, the bus voltage 100V is divided by high-precision resistors (resistor R1, resistor R3, resistor R5 and resistor R10) and then given to the inverting input of the comparator U1A. U1A, resistor R12, resistor R13 and resistor R14 are hysteresis comparison circuits to determine whether the bus voltage is overvoltage.

[0083] In different embodiments, the hysteresis comparison circuit can be constructed by a comparator chip, or by an operational amplifier chip, or a Schmitt trigger chip can also achieve the same purpose.

[0084] S53, driving the overvoltage detection signal.

[0085] In practical applications, combined with Figure 4 As shown, the transistor Q2, the resistor R7 and the resistor R9 are an amplifier circuit, which amplifies the signal output by the hysteresis comparison circuit and uses it as a driving signal for the power tube Q1.

[0086] In different embodiments, the transistor drive amplifier circuit may use a push-pull circuit or a drive chip to increase the drive capability.

[0087] S54, starting and stopping the discharge action according to the overvoltage detection signal after driving.

[0088] In practical applications, combined with Figure 4 As shown, resistors R8 and R11 are the power tube driving circuit, and resistors R2, R4 and the power tube Q1 are the discharge circuit.

[0089] S55, determining the state of the motor according to the overvoltage detection signal after driving, so as to start and stop the discharge action according to the different states of the motor.

[0090] In practical applications, combined with Figure 4 As shown, the MCU determines the motor states of M1 and M2 according to the overvoltage detection signals OV1 and OV2 after driving, so as to start and stop the discharge action according to the different motor states.

[0091] See also Figure 6 , which is a discharge flow chart of the bus voltage detection and discharge device according to the embodiment of the present application. Figure 6 As shown, the specific implementation of starting and stopping the discharge action includes step S54 and step S55. In different extended embodiments, the two steps can be executed simultaneously, or step S54 is executed first, or step S55 is executed first.

[0092] Wherein, step S55 comprises the following steps:

[0093] S551, in response to the bus voltage rising to the first overvoltage point, the first overvoltage detection signal is at a low level, and the first motor execution unit reduces the acceleration of the first motor during deceleration according to the first overvoltage detection signal to reduce the reverse charging current and suppress the bus voltage from rising.

[0094] S552, in response to the bus voltage rising to the second overvoltage point, the first overvoltage detection signal and the second overvoltage detection signal are both low levels, and the second motor execution unit applies a holding current to the second motor according to the second overvoltage detection signal, and the holding current is used to discharge the bus voltage.

[0095] Combination Figure 4 The circuit structure shown in the figure, the implementation principle of the bus voltage detection and discharge method is as follows:

[0096] When the permanent magnet synchronous motor or stepper motor stops rotating or rotates forward or reverse, the motor will generate reverse electromotive force, which will charge the bus capacitor through the parasitic diode of the power tube Q1, causing the bus voltage to increase. The bus voltage is divided into small signals through R1 / R3 / R5 / R10, and R6 / C1 is a first-order low-pass filter circuit to filter out high-frequency interference of small signals, making the signal more stable and accurate.

[0097] The U1A and U1B comparators are built as two hysteresis comparison circuits. Taking U1A as an example, pin 3 provides an input reference voltage to compare with the voltage signal of pin 2. When the bus voltage is too high, the voltage of pin 2 is greater than the voltage of pin 3, and pin 1 of the comparator outputs a low level. When the bus voltage returns to normal, pin 1 outputs a high level. When the bus voltage is normal, pin 1 outputs a high level, R13 and R14 are equivalent to parallel connection, and VCC is divided by R12 and R13 / R14 parallel resistors to provide a reference voltage to pin 3; when the bus voltage is too high, pin 1 outputs a low level, R12 and R13 are equivalent to parallel connection, and VCC is divided by R12, R13 parallel resistors and R14 to provide a reference voltage to pin 3. Therefore, the voltage judgment threshold when the bus voltage is normal is higher than the judgment threshold when the voltage is too high, which prevents the overvoltage signal from jumping repeatedly when the voltage is critical.

[0098] In the hardware discharge path, the hysteresis comparison circuit outputs an overvoltage signal OV1, which, through the Q2 amplifier circuit, flips the logic and converts the low level into a high level, meeting the power tube turn-on condition; on the other hand, it increases the driving capability. R9 is a base resistor, providing a base current, so that the transistor Q2 works in an amplified or saturated state. Resistor R7 can provide a high-level initial signal to the base of the transistor Q2, so that the power tube is not turned on during the power-on process or in the normal state, and prevents the circuit from being interfered with and causing the transistor to be mis-turned on.

[0099] Resistor R8 is the gate drive resistor of the power tube, which controls the conduction speed of the power tube. After the Q1 power tube is turned on, the bus voltage is discharged to the ground through the power resistor R2 / R4, and the bus voltage energy is consumed by the heat generated by the power resistor. The discharge resistance can be calculated based on the bus voltage capacitance, voltage overshoot value, and discharge time.

[0100] Furthermore, the specific working principles of the first motor M1 and the second motor M2 are as follows:

[0101] When the first motor M1 decelerates, brakes, or switches from forward to reverse rotation, the motor will reversely charge the bus, and the bus voltage 100V will increase. At this time, the circuit detects that the bus is over-voltage, and the comparator outputs an over-voltage signal OV. There are two hysteresis comparators here. By selecting different voltage-dividing resistor values, two over-voltage points are set. The over-voltage point corresponding to OV2 is higher than the over-voltage point corresponding to OV1. When the bus voltage rises to the first overvoltage point, OV1 outputs a low level, OV2 outputs a high level, MOS tube (short for MOSFET, Metal-Oxide-Semiconductor Field-Effect Transistor) Q1 is turned on, the bus voltage is discharged through the discharge resistor R2 / R4, and the MCU receives the OV1 signal to control the acceleration of the motor M1 to decelerate. Reducing the acceleration can reduce the reverse charging current and suppress the increase of the bus voltage; when the bus voltage rises to the second overvoltage point, OV1 and OV2 both output a low level, MOS tube Q1 is still turned on, and the MCU will control another motor M2 to apply a holding current to the motor. This holding current can discharge the bus voltage and work together with the resistor discharge to make the bus voltage not exceed the limit value and quickly drop to the normal voltage. After the bus voltage returns to the normal voltage, the output signal of the comparator U1A becomes high, the MOS tube Q1 is turned off, and the MCU controls the motor to return to normal.

[0102] Therefore, the present application utilizes a hardware circuit to collect the bus voltage signal, and after processing through a hysteresis comparison circuit, outputs an overvoltage signal, which is amplified by a transistor and then drives the power tube to turn on. The bus voltage passes through a power resistor and a power tube series circuit as the main discharge path. When the bus voltage returns to normal, the power tube is turned off and the discharge circuit stops working. In addition, further discharge is performed when the bus voltage is overvoltage through motor state control.

[0103] The protection scope of the bus voltage detection and discharge method described in the embodiment of the present application is not limited to the execution order of the steps listed in the present embodiment. All solutions implemented by adding, reducing or replacing steps in the prior art based on the principles of the present application are included in the protection scope of the present application.

[0104] The bus voltage detection and discharge device described in the embodiment of the present application can implement the bus voltage detection and discharge method described in the present application, but the implementation device of the bus voltage detection and discharge method described in the present application includes but is not limited to the structure of the bus voltage detection and discharge device listed in the present embodiment. All structural deformations and replacements of the prior art made according to the principles of the present application are included in the protection scope of the present application.

[0105] In the several embodiments provided in the present application, it should be understood that the disclosed system, device or method can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of modules / units is only a logical function division. There may be other division methods in actual implementation, such as multiple modules or units can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or modules or units, which can be electrical, mechanical or other forms.

[0106] The modules / units described as separate components may or may not be physically separated, and the components displayed as modules / units may or may not be physical modules, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules / units may be selected according to actual needs to achieve the purpose of the embodiments of the present application. For example, the functional modules / units in the various embodiments of the present application may be integrated into one processing module, or each module / unit may exist physically separately, or two or more modules / units may be integrated into one module / unit.

[0107] Those of ordinary skill in the art should further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0108] See also Figure 7 , which is a schematic diagram of the structure of the motor control system described in the embodiment of the present application. Figure 7 As shown, this embodiment provides a motor control system, including: the bus voltage detection and discharge device.

[0109] The bus voltage detection and discharge device includes: a voltage acquisition module, an overvoltage comparison module, a signal amplification module, a power tube discharge module and a bus voltage suppression module. The voltage acquisition module is configured to acquire bus voltage; the overvoltage comparison module is connected to the voltage acquisition module, and is configured to compare the bus voltage with a preset overvoltage point and output an overvoltage detection signal; the signal amplification module is connected to the overvoltage comparison module, and is configured to drive the overvoltage detection signal; the power tube discharge module is respectively connected to the bus voltage and the signal amplification module, and is configured to start and stop the discharge action according to the overvoltage detection signal after driving; the bus voltage suppression module is respectively connected to the bus voltage and the overvoltage comparison module, and is configured to determine the motor state in the bus voltage suppression module according to the overvoltage detection signal after driving, so as to start and stop the discharge action according to different motor states.

[0110] See also Figure 8 , which is a schematic diagram of the structural connection of the industrial sewing machine described in the embodiment of the present application. Figure 8 As shown, this embodiment provides an industrial sewing machine, and the industrial sewing machine includes: the motor control system described above.

[0111] The motor control system comprises: the bus voltage detection and discharge device.

[0112] The bus voltage detection and discharge device includes: a voltage acquisition module, an overvoltage comparison module, a signal amplification module, a power tube discharge module and a bus voltage suppression module. The voltage acquisition module is configured to acquire bus voltage; the overvoltage comparison module is connected to the voltage acquisition module, and is configured to compare the bus voltage with a preset overvoltage point and output an overvoltage detection signal; the signal amplification module is connected to the overvoltage comparison module, and is configured to drive the overvoltage detection signal; the power tube discharge module is respectively connected to the bus voltage and the signal amplification module, and is configured to start and stop the discharge action according to the overvoltage detection signal after driving; the bus voltage suppression module is respectively connected to the bus voltage and the overvoltage comparison module, and is configured to determine the motor state in the bus voltage suppression module according to the overvoltage detection signal after driving, so as to start and stop the discharge action according to different motor states.

[0113] In practical applications, the bus voltage detection and discharge method described in the present application can be executed in an electronic device, and the electronic device includes: a processor and a memory; the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so that the electronic device executes the bus voltage detection and discharge method.

[0114] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU); it can also be an MCU, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0115] The above-mentioned memory may include a random access memory (RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.

[0116] The embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed, the bus voltage detection and discharge method is implemented.

[0117] A person of ordinary skill in the art can understand that all or part of the steps in the method for implementing the above-mentioned embodiment can be completed by instructing a processor through a program, and the program can be stored in a computer-readable storage medium, and the storage medium is a non-transitory medium, such as a random access memory, a read-only memory, a flash memory, a hard disk, a solid-state hard disk, a magnetic tape, a floppy disk, an optical disc, and any combination thereof. The above-mentioned storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or a data center that includes one or more available media. The available medium can be a magnetic medium (for example, a floppy disk, a hard disk, a tape), an optical medium (for example, a digital video disc (DVD)), or a semiconductor medium (for example, a solid-state disk (SSD)), etc.

[0118] The descriptions of the processes or structures corresponding to the above-mentioned figures have different emphases. For parts that are not described in detail in a certain process or structure, please refer to the relevant descriptions of other processes or structures.

[0119] The above embodiments are merely illustrative of the principles and effects of the present application and are not intended to limit the present application. Anyone familiar with the technology may modify or change the above embodiments without violating the spirit and scope of the present application. Therefore, all equivalent modifications or changes made by a person of ordinary skill in the art without departing from the spirit and technical ideas disclosed in the present application shall still be covered by the claims of the present application.

Claims

1. A bus voltage detection and discharge device, characterized in that: The device comprises: A voltage acquisition module is configured to acquire bus voltage; An overvoltage comparison module, connected to the voltage acquisition module, is configured to compare the bus voltage with a preset overvoltage point and output an overvoltage detection signal; a signal amplification module, connected to the overvoltage comparison module and configured to drive the overvoltage detection signal; The power tube discharge module is connected to the bus voltage and the signal amplification module respectively, and is configured to start and stop the discharge action according to the overvoltage detection signal after driving; The bus voltage suppression module is connected to the bus voltage and the overvoltage comparison module respectively, and is configured to determine the motor state in the bus voltage suppression module according to the overvoltage detection signal after driving, so as to start and stop the discharge action according to the different motor states.

2. The device according to claim 1, characterized in that The overvoltage comparison module includes a first voltage comparison unit and a second voltage comparison unit; The first voltage comparison unit is connected to the voltage acquisition module and is configured to compare the bus voltage with the first overvoltage point and output a first overvoltage detection signal; The second voltage comparison unit is connected to the voltage acquisition module and is configured to compare the bus voltage with a second overvoltage point and output a second overvoltage detection signal; the voltage value of the second overvoltage point is higher than the voltage value of the first overvoltage point.

3. The device according to claim 2, characterized in that The bus voltage suppression module includes a first motor execution unit and a second motor execution unit; In response to the bus voltage rising to the first overvoltage point, the first motor execution unit reduces the acceleration of the first motor during deceleration according to the first overvoltage detection signal, so as to reduce the reverse charging current and suppress the bus voltage from rising; In response to the bus voltage rising to the second overvoltage point, the second motor execution unit applies a holding current to the second motor according to the second overvoltage detection signal, and the holding current is used to discharge the bus voltage.

4. The device according to claim 3, characterized in that The device also includes a discharge control module; The discharge control module is respectively connected to the first voltage comparison unit, the second voltage comparison unit, the first motor execution unit and the second motor execution unit; The discharge control module is configured to control the first motor execution unit to reduce the acceleration of the first motor during deceleration according to the first overvoltage detection signal; and apply a holding current to the second motor of the second motor execution unit according to the second overvoltage detection signal to discharge the bus voltage.

5. The device according to claim 4, characterized in that: In response to the bus voltage rising to the first overvoltage point, the first overvoltage detection signal is at a low level, and the first motor execution unit reduces the acceleration of the first motor during deceleration according to the first overvoltage detection signal, so as to reduce the reverse charging current and suppress the bus voltage from rising; In response to the bus voltage rising to the second overvoltage point, the first overvoltage detection signal and the second overvoltage detection signal are both low levels, and the second motor execution unit applies a holding current to the second motor according to the second overvoltage detection signal, and the holding current is used to discharge the bus voltage.

6. The device according to claim 2, characterized in that: The signal amplification module is connected to the output end of the first voltage comparison unit, so that the power tube discharge module starts and stops the discharge action according to the first overvoltage detection signal after driving.

7. The device according to claim 1, characterized in that The power tube discharge module includes a discharge resistor and a discharge power tube; One end of the discharge resistor is connected to the bus voltage, and the other end is connected to the drain of the discharge power tube; The source of the discharge power tube is connected to the ground, and the gate receives the overvoltage detection signal after being driven.

8. A bus voltage detection and discharge method, characterized in that: The method comprises: Collect bus voltage; Compare the bus voltage with the preset overvoltage point and output an overvoltage detection signal; driving the overvoltage detection signal; Start and stop the discharge action according to the overvoltage detection signal after driving; and The motor state is determined according to the overvoltage detection signal after driving, so as to start and stop the discharge action according to the different motor states.

9. A motor control system, characterized in that: The system comprises: a bus voltage detection and discharge device as described in any one of claims 1 to 7.

10. An industrial sewing machine, characterized in that: The industrial sewing machine comprises: the motor control system according to claim 9.