Servo Drives

By sharing data transmission ports and simplifying port connections in the servo driver, the problems of excessive display panel size and high manufacturing cost in the existing technology are solved, and a smaller and more economical servo driver design is achieved.

CN115472118BActive Publication Date: 2024-10-01SUZHOU GAOCHUANG MOTION CONTROL TECHNOLOGY CO LTD
View PDF 14 Cites 0 Cited by

Patent Information

Application Number
CN202211155101.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-22
Publication Date
2024-10-01
Estimated Expiration
2042-09-22

AI Technical Summary

Technical Problem

Due to the increase in the number of GPIO interfaces in existing dual-axis servo drives, the display panel size is too large, which increases manufacturing costs and affects installation difficulty.

Method used

By introducing axis number setting devices and shift registers into the servo driver to share data transmission ports, the number of ports connected outside the display panel is reduced, and port connections are simplified through status display devices and drive circuits to reduce the number of ports.

Benefits of technology

It effectively reduces the size and manufacturing cost of the display panel, reduces assembly difficulty and cost, and at the same time improves the reliability and load driving capability of the display panel.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115472118B_ABST
    Figure CN115472118B_ABST
Patent Text Reader

Abstract

The present invention provides a servo driver, which includes: at least two controllers; a display panel, which includes: at least two axis number setting devices, which correspond to the at least two controllers one by one, and each axis number setting device has an output port for outputting axis number information of the corresponding axis; a shift register, which has an input port and a data transmission port, and the input port is connected to the output port of each axis number setting device in the at least two axis number setting devices, and the controllers in the at least two controllers at least partially share the data transmission port, and the shift register is used to receive the axis number information output in parallel by each axis number setting device, and output serial data through the data transmission port for reading by the at least two controllers; wherein the serial data includes the axis number information output by each axis number setting device in the at least two axis number setting devices.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of circuit technology, and in particular to a servo driver. Background Art

[0002] In a related technical solution, a dual-axis servo driver has two central processing units (CPUs) and a display panel, wherein the two CPUs are respectively connected to corresponding interfaces on the display panel.

[0003] For example, if the display panel integrates two four-wire SPI (Serial Peripheral Interface) interfaces, the two four-wire SPI interfaces are connected to the two central processing units respectively. In this case, the display panel requires eight general purpose input / output (GPIO) interfaces to connect to the two central processing units.

[0004] However, as the number of GPIO interfaces increases, the size of the display panel becomes larger, which puts forward new requirements for the installation of the display panel and also increases the manufacturing cost of the display panel. Summary of the Invention

[0005] The present invention aims to solve at least one of the technical problems existing in the prior art or related art.

[0006] To this end, the present invention provides a servo drive.

[0007] In view of this, the present invention provides a servo drive, comprising: at least two controllers; a display panel, the display panel comprising: at least two axis number setting devices, corresponding one-to-one to the at least two controllers, each axis number setting device having an output port for outputting the axis number information of the corresponding axis; a shift register, having an input port and a data transmission port, the input port being connected to the output port of each axis number setting device in the at least two axis number setting devices, the controllers in the at least two controllers at least partially sharing the data transmission port, the shift register being used to receive the axis number information output in parallel by each axis number setting device, and outputting serial data through the data transmission port for reading by the at least two controllers; wherein the serial data comprises the axis number information output by each axis number setting device in the at least two axis number setting devices.

[0008] The technical solution of the present invention proposes a servo drive. Specifically, the servo drive includes a display panel and at least two controllers, wherein the display panel includes an axis number setting device and a shift register. The servo drive can control at least two axes. The axis number setting device is one-to-one corresponding to the axes controlled by the servo drive and the controller. When the number of axes controlled by the servo drive is at least two, the number of axis number setting devices is also at least two.

[0009] Since the axis number setting devices are commonly connected to a shift register, a common shift register can be used to realize the output of the axis number information corresponding to the axis controlled by the servo driver. In this process, the number of ports connected to the outside of the display panel can be reduced, thereby reducing the problem of the display panel being too large in size due to too many interfaces, which affects the installation of the display panel.

[0010] In addition, since the number of ports for external connection of the display panel is reduced, the manufacturing cost of the display panel can be reduced.

[0011] It is worth noting that, since the controllers in the at least two controllers at least partially share the data transmission port, the number of ports that need to be connected between the display panel and the controller can be reduced, thereby reducing the difficulty of assembling the servo driver.

[0012] In addition, the servo driver proposed in the present invention also has the following additional technical features.

[0013] In the above technical solution, the display panel also includes: at least two status display devices, each status display device has a control port for receiving the working status of the corresponding axis and outputting a display based on the working status; at least two driving circuits, which are connected one-to-one with the at least two status display devices and at least two controllers, and are used to output a driving voltage to the corresponding status display devices; wherein each controller has two status output ports for outputting the working status of the corresponding axis, and the driving circuit has two signal receiving ports and one driving port, the two signal receiving ports are correspondingly connected to the two status output ports, and the driving port is connected to the control port.

[0014] In this technical solution, a status display device is provided so that the user can know the working status of the corresponding axis by observing the status display device, and then control the current axis to continue running when the working status is normal; or perform maintenance on the current axis in time when the working status is abnormal.

[0015] It's worth noting that the controller uses two status output ports to output the corresponding axis's operating status to the status display device. By configuring a drive circuit, these two status output ports can be reduced to a single drive port, enabling one drive port to be connected to one control port. Because the status display device is located on the display panel, the number of ports required for the status display panel can be reduced, thereby reducing the manufacturing cost of the display panel, the manufacturing cost of the servo driver, and the assembly cost of the servo driver.

[0016] In any of the above technical solutions, the status display device includes: a first resistor, the first end of the first resistor is used to receive a first power supply signal; a first light-emitting diode, the anode of the first light-emitting diode is connected to the second end of the first resistor; a second light-emitting diode, the anode of the second light-emitting diode is connected to the cathode of the first light-emitting diode; a second resistor, the first end of the second resistor is connected to the cathode of the second light-emitting diode, and the second end of the second resistor is grounded; wherein, the anode of the second light-emitting diode is used to receive a driving voltage, and the driving voltage corresponds to the working status of the corresponding axis.

[0017] In this technical solution, a possible implementation scheme of the status display device is specifically given, wherein, when the driving voltages received by the anode of the second light-emitting diode are different, the first light-emitting diode and the second light-emitting diode can select one of them to light up, and then the working status of the shaft is characterized by whether the first light-emitting diode and the second light-emitting diode are lit. In this process, only one signal line for receiving the driving voltage is required to realize the control of whether the two light-emitting diodes are lit, so that the number of ports connected to the outside of the display panel is further reduced, thereby reducing the manufacturing cost of the display panel.

[0018] Specifically, when the voltage drop between the first power supply signal and the driving voltage is greater than the tube voltage drop of the first light-emitting diode, the first light-emitting diode is lit; correspondingly, when the voltage drop between the driving voltage and the ground is greater than the tube voltage drop of the second light-emitting diode, the second light-emitting diode is lit. Based on this, the driving voltage can be used to control whether the first light-emitting diode and the second light-emitting diode are lit.

[0019] In the above technical solution, the setting of the first resistor can reduce the current value flowing through the first light-emitting device when the first light-emitting device is lit, thereby playing a current limiting role, thereby reducing the probability of the first light-emitting device being damaged due to overcurrent.

[0020] Similarly, the setting of the second resistor can reduce the current value flowing through the second light-emitting device when the second light-emitting device is lit, thereby playing a current limiting role, thereby reducing the probability of the second light-emitting device being damaged due to overcurrent.

[0021] In one technical solution, the position between the first light emitting device and the first resistor can be replaced. Similarly, the position between the second light emitting device and the second resistor can be replaced to meet the wiring requirements of the display panel.

[0022] In any of the above technical solutions, the driving circuit includes: a three-state gate, wherein the output end of the three-state gate is connected to the anode of the second light-emitting diode; wherein, based on the input of a low level to the enable end of the three-state gate, the three-state gate outputs a high-impedance state, and the first light-emitting diode and the second light-emitting diode are extinguished; based on the input of a high level to the enable end of the three-state gate, the input end of the three-state gate inputs a low level, the three-state gate outputs a low level, the first light-emitting diode is lit, and the second light-emitting diode is extinguished; based on the input of a high level to the enable end of the three-state gate, the input end of the three-state gate inputs a high level, the three-state gate outputs a high level, the first light-emitting diode is extinguished, and the second light-emitting diode is lit.

[0023] In this technical solution, a set driving circuit is used to drive the operation of the status display device. During this process, the driving circuit can respond to small signals and achieve large output, thereby reducing the display panel's requirements for load driving capabilities.

[0024] Specifically, the controller uses two GPIOs to connect to the status display device, but the controller's load capacity is relatively weak and cannot meet the control needs. A driving circuit is set up to reduce the display panel's requirements for load driving capacity.

[0025] In the above technical solution, the three-state gate has three output states, namely high level, low level and high impedance state. Among them, when the enable end of the three-state gate receives a low level, the three-state gate does not work. At this time, the three-state gate outputs a high impedance state. At this time, the forward voltage drop of the first light-emitting diode and the second light-emitting diode in series is greater than the first power supply signal, and the first light-emitting diode and the second light-emitting diode are extinguished.

[0026] When the enable terminal of the tri-state gate receives a high level, the tri-state gate operates, and the level signal output by the tri-state gate is consistent with the level signal input. Specifically, when the input terminal of the tri-state gate receives a low level, the output terminal of the tri-state gate outputs a low level. At this time, the voltage drop between the two ends of the first light-emitting diode is greater than the tube voltage drop of the first light-emitting diode, and the first light-emitting diode lights up. At this time, the voltage drop between the two ends of the second light-emitting diode is less than the tube voltage drop of the second light-emitting diode, and the second light-emitting diode is extinguished.

[0027] Similarly, when a high level is input to the input end of the three-state gate, the output end of the three-state gate outputs a high level. At this time, the voltage drop between the two ends of the first light-emitting diode is less than the tube voltage drop of the first light-emitting diode, and the first light-emitting diode is off. At this time, the voltage drop between the two ends of the second light-emitting diode is greater than the tube voltage drop of the second light-emitting diode, and the second light-emitting diode is lit.

[0028] In any of the above technical solutions, based on the high level input to the enable terminal of the tri-state gate, the PWM waveform is input to the input terminal of the tri-state gate, the tri-state gate outputs the PWM waveform, and the first light-emitting diode and the second light-emitting diode are lit.

[0029] In this technical solution, a high level is received at the enable end of the three-state gate. When the three-state gate is working, a PWM waveform is input to the three-state gate by utilizing the characteristic that the level signal output by the three-state gate is consistent with the level signal input thereto, so that the three-state gate outputs a corresponding PWM waveform. Driven by the PWM waveform, the first light-emitting diode and the second light-emitting diode are visually lit at the same time. Based on this, a status display device is used to display more states of the axis to meet actual usage needs.

[0030] In any of the above technical solutions, the three-state gate includes: a first switching device, the first end of the first switching device is used to receive the second power supply signal; a second switching device, the first end of the second switching device is connected to the second end of the first switching device, and the second end of the second switching device is grounded; wherein, the first end of the second switching device is connected to the anode of the second light-emitting diode, the control end of the first switching device corresponds to the enable end of the three-state gate, and the control end of the second switching device corresponds to the input end of the three-state gate.

[0031] In this technical solution, a form of a three-state gate is specifically given, in which, when the first switching device is turned on, the second power supply signal can act on the first end of the second switching device, and when the second switching device is switched between on and off, the first end of the second switching device can be switched between ground and the second power supply signal, wherein the second power supply signal corresponds to a high level and the ground corresponds to a low level.

[0032] In any of the above technical solutions, the first switching device is a PNP transistor, and the second switching device is an NPN transistor.

[0033] In any of the above technical solutions, the display panel further includes: a third resistor connected to the control end of the first switching device; and / or a fourth resistor connected to the control end of the second switching device.

[0034] In this technical solution, the provision of the third resistor can reduce the current flowing through the control terminal, thereby reducing the probability of the first switching device being damaged due to overcurrent, thereby improving the reliability of the display panel.

[0035] Similarly, the provision of the fourth resistor can reduce the current flowing through the control terminal, thereby reducing the probability of the second switching device being damaged due to overcurrent, thereby improving the reliability of the display panel.

[0036] In any of the above technical solutions, the three-state gate includes: a first phase regulator; a second phase regulator, the output end of the first phase regulator is connected to the enable end of the second phase regulator, the output end of the second phase regulator is connected to the anode of the second light-emitting diode, the input end of the first phase regulator corresponds to the enable end of the three-state gate, and the input end of the second phase regulator corresponds to the input end of the three-state gate.

[0037] In this technical solution, another possible implementation of the tri-state gate is provided. In this implementation, two phase-matching devices are used to reduce the load capacity of the display panel.

[0038] In the above technical solution, since the first phase regulator can only control the enable end of the second phase regulator and cannot form a loop with the second phase regulator, the situation where the first light-emitting diode and the second light-emitting diode cannot be extinguished at the same time is reduced, thereby improving the reliability of the display panel.

[0039] In any of the above technical solutions, the data transmission port is a serial peripheral interface.

[0040] In any of the above technical solutions, the display panel also includes: a latch circuit, the latch circuit includes: a fifth resistor, the first end of the fifth resistor is used to receive a third power supply signal; a third switching device, the first end of the third switching device is connected to the second end of the fifth resistor, and the second end of the third switching device is grounded; a sixth resistor, the first end of the sixth resistor is connected to the first end of the fifth resistor, and the second end of the sixth resistor is connected to the control end of the third switching device; a capacitor, the first end of the capacitor is connected to the control end of the third switching device, and the second end of the capacitor is connected to the second end of the third switching device; the first end of the third switching device is used to be connected to the data transmission port for outputting a chip select signal.

[0041] In this technical solution, it is specifically defined that the display panel also includes a latch circuit. As recorded above, the serial peripheral interface needs to use a chip select signal to work. In the relevant technical solution, the chip select signal is issued by the central controller. As for the display panel, there will be a signal line for transmitting the chip select signal between the display panel and the central controller, which will obviously occupy the interface on the display panel, affect the volume of the display panel, and increase the difficulty of designing the display panel.

[0042] In the technical solution of the present invention, a latch circuit is introduced and used to output a chip select signal. For the display panel, there is no need to set an interface for transmitting the chip select signal between the display panel and the central controller, thereby reducing the number of ports on the display panel, thereby reducing the problem of the display panel being too large in size due to an excessive number of interfaces, which affects the installation of the display panel.

[0043] The capacitor has the characteristic of storing energy. Before the capacitor stores energy, the voltage output by the first end of the third switching device is equal to the third power supply signal. In this case, the third power supply signal can be understood as a high level.

[0044] When the capacitor is storing energy, the voltage difference across the capacitor will slowly increase. When the second end of the capacitor is grounded, the voltage at the first end of the capacitor will continue to increase. When it increases to a level that can control the third switching device to turn on, the third switching device is turned on. At this time, the voltage output from the first end of the third switching device is close to the turn-on voltage of the transistor. In this case, it can be understood that the high level is pulled down to form a low level, thereby realizing the change of the output level of the latch circuit.

[0045] In the above technical solution, the level change of the latch circuit output from high level to low level is used as a chip select signal to realize the latching of the axis number information output by the axis number setting device, and then complete the reading of the axis number information when the axis number information is latched.

[0046] In the above technical solution, the fifth resistor plays a role in limiting the current flowing through the third switch tube when the third switch tube is turned on, thereby reducing the probability of the third switch device being damaged due to overcurrent.

[0047] In the above technical solution, the setting of the sixth resistor provides a circuit for charging the capacitor, so as to charge the capacitor. At the same time, it also facilitates the release of the electric energy stored in the capacitor when the third switching device is turned on.

[0048] In any of the above technical solutions, in the serial data, the axis number information of different axes in at least two axes are sorted in sequence.

[0049] In this technical solution, the axis number information of different axes in at least two axes is limited to be sorted in sequence so that the controller corresponding to the axis number information in the servo drive can read the corresponding axis number information, thereby reducing the accuracy of the axis number information reading.

[0050] Additional aspects and advantages of the present invention will be set forth in part in the description which follows and, in part, will be obvious from the description which follows, or may be learned by practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] The above and / or additional aspects and advantages of the present invention will become apparent and readily understood from the following description of the embodiments with reference to the accompanying drawings, in which:

[0052] Figure 1 A topological diagram of a servo drive according to an embodiment of the present invention is shown;

[0053] Figure 2 A topological diagram of a status display device according to an embodiment of the present invention is shown;

[0054] Figure 3 Schematic diagram showing the states of GPIO1, GPIO2, LED-RUN, LED-ERR and corresponding axes in an embodiment of the present invention;

[0055] Figure 4 FIG1 shows one of the topological diagrams of the tri-state gate in an embodiment of the present invention;

[0056] Figure 5 FIG2 shows a second topological diagram of a tri-state gate according to an embodiment of the present invention;

[0057] Figure 6 A topological diagram of a latch circuit in an embodiment of the present invention is shown;

[0058] Figure 7 A schematic block diagram of the timing logic of the SPI interface for reading the axis number in an embodiment of the present invention is shown.

[0059] in, Figure 1 、 Figure 2 、 Figures 4 to 6 The corresponding relationship between the reference numerals and component names is as follows:

[0060] 100 display panel, 102 axis number setting device, 104 shift register, 106 status display device, R1 first resistor, R2 second resistor, D1 first light-emitting diode, D2 second light-emitting diode, 108 drive circuit, 1082 tri-state gate, Q1 first switching device, Q2 second switching device, R3 third resistor, R4 fourth resistor, A1 first phase shifter, A2 second phase shifter, R5 fifth resistor, Q3 third switching device, R6 sixth resistor, C capacitor, 200 controller. DETAILED DESCRIPTION

[0061] In order to more clearly understand the above aspects, features and advantages of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present application and the features therein can be combined with each other in the absence of conflict.

[0062] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention may also be implemented in other ways different from those described herein. Therefore, the scope of protection of the present invention is not limited to the specific embodiments disclosed below.

[0063] In one embodiment of the present application, Figure 1As shown, a servo drive is provided, comprising: a display panel 100 and at least two controllers 200. The display panel 100 includes: at least two axis number setting devices 102, corresponding one-to-one to the at least two controllers 200, each axis number setting device 102 having an output port for outputting axis number information of the corresponding axis; a shift register 104 having an input port and a data transmission port, the input port being connected to the output port of each of the at least two axis number setting devices 102, the controllers of the at least two controllers 200 at least partially sharing the data transmission port, the shift register 104 being configured to receive the axis number information output in parallel by each axis number setting device 102, and outputting serial data through the data transmission port for reading by the at least two controllers 200; wherein the serial data includes the axis number information output by each of the at least two axis number setting devices 102.

[0064] An embodiment of the present invention proposes a servo drive. Specifically, the servo drive includes a display panel 100 and at least two controllers 200, wherein the display panel 100 includes an axis number setting device 102 and a shift register 104. The servo drive can control at least two axes. The axis number setting device 102 corresponds one-to-one to the axes controlled by the servo drive and the controller 200. When the servo drive controls at least two axes, the number of axis number setting devices 102 is also at least two.

[0065] Since the axis number setting devices 102 are commonly connected to a shift register 104, a common shift register 104 can be used to realize the output of the axis number information corresponding to the axis controlled by the servo driver. In this process, the number of ports connected to the outside of the display panel 100 can be reduced, thereby reducing the problem of the display panel 100 being too large in size due to too many interfaces, which affects the installation of the display panel 100.

[0066] In addition, since the number of ports for external connection of the display panel 100 is reduced, the manufacturing cost of the display panel 100 can be reduced.

[0067] It is worth noting that since the controllers in at least two controllers 200 at least partially share the data transmission port, the number of ports that need to be connected between the display panel 100 and the controller 200 can be reduced, thereby reducing the difficulty of assembling the servo driver.

[0068] In the above embodiment, the axis number setting device 102 can be a rotary coding switch (RSC), also known as a small rotary encoder, which refers to a switching electronic component with a set of regular and strictly timed pulses, and its output format is 8421 encoding, that is, the axis number information of the axis corresponding to the rotary coding switch adopts 8421 encoding.

[0069] Among them, 8421 code is the most commonly used BCD code, the most common type of decimal code. In this encoding method, each "1" in the binary code represents a fixed numerical value. The decimal number represented by each "1" is obtained by adding up the binary numbers represented by each "1". The code is named 8421 because each "1" in the code represents the numbers "8", "4", "2", and "1" from left to right. The decimal number represented by each "1" is called the weight of that position.

[0070] Among them, the output port of the rotary encoding switch has four pins, corresponding to "8", "4", "2" and "1" respectively. Specifically, the output is in parallel, that is, the four pins are output to the outside at the same time to represent the axis number information.

[0071] In digital circuits, a circuit used to store binary data or codes is called a register. Registers are composed of flip-flops that have storage functions. Each flip-flop can store one bit of binary code. A register that stores N bits of binary code requires n flip-flops. Based on their function, registers can be divided into basic registers and shift registers 104.

[0072] Specifically, the data in the shift register 104 can be shifted right or left bit by bit in sequence under the action of the shift pulse, and the data can be input and output in parallel, or input and output in series, or input and output in parallel, or output in series, or output in parallel. In the present application, the shift register 104 adopts parallel input and serial output.

[0073] In the above embodiment, if Figure 1 As shown, the display panel 100 also includes: at least two status display devices 106, each status display device 106 has a control port for receiving the working status of the corresponding axis and outputting a display based on the working status; at least two driving circuits 108, which are connected one-to-one with the at least two status display devices 106 and at least two controllers 200, and are used to output a driving voltage to the corresponding status display devices 106; wherein each controller 200 has two status output ports for outputting the working status of the corresponding axis, and the driving circuit 108 has two signal receiving ports and one driving port, the two signal receiving ports are correspondingly connected to the two status output ports, and the driving port is connected to the control port.

[0074] In this embodiment, a status display device 106 is provided so that the user can know the working status of the corresponding axis by observing the status display device 106, and then control the current axis to continue running when the working status is normal; or perform maintenance on the current axis in time when the working status is abnormal.

[0075] It is worth noting that controller 200 uses two status output ports to output the operating status of the corresponding axis to the status display device. By providing driver circuit 108, the two status output ports can be ultimately simplified into a single driver port, thereby connecting one driver port to one control port. Because status display device 106 is provided on display panel 100, the number of ports required for status display panel 100 can be reduced, thereby reducing the manufacturing cost of display panel 100, the manufacturing cost of the servo driver, and the assembly cost of the servo driver.

[0076] In one embodiment, the status display device 106 is connected to the controller 200 of the corresponding axis to obtain the working status of the corresponding axis and output it for display.

[0077] In one embodiment, the status display device 106 can be a display screen, such as an independent display module, such as a light-emitting element; it can also be a local display position in the display panel 100. For example, when the display panel 100 is a display screen, the status display device 106 can be a layout position in the display screen.

[0078] In one embodiment, the status display device 106 can distinguish the working status of the axis by the color of the light or whether it is illuminated. For example, when the axis is working normally, it emits green light, and when the axis is working abnormally, it emits red light; for example, when the axis is working normally, it does not emit light, and when the axis is working abnormally, it emits light.

[0079] In one embodiment, the status display device 106 may further distinguish and display the working status of the shaft by using text. Specifically, when the shaft is working normally, a first character is output, and when the shaft is working abnormally, a second character is output. The first character may be "working normally" and the second character may be "working abnormally".

[0080] In any of the above embodiments, if Figure 2As shown, the status display device 106 includes: a first resistor R1, wherein the first end of the first resistor R1 is used to receive a first power supply signal; a first light-emitting diode D1, wherein the anode of the first light-emitting diode D1 is connected to the second end of the first resistor R1; a second light-emitting diode D2, wherein the anode of the second light-emitting diode D2 is connected to the cathode of the first light-emitting diode D1; a second resistor R2, wherein the first end of the second resistor R2 is connected to the cathode of the second light-emitting diode D2, and the second end of the second resistor R2 is grounded; wherein the anode of the second light-emitting diode D2 is used to receive a driving voltage, and the driving voltage corresponds to the working state of the corresponding axis.

[0081] In this embodiment, a possible implementation scheme of the status display device 106 is specifically given, wherein, when the driving voltages received by the anode of the second light-emitting diode D2 are different, the first light-emitting diode D1 and the second light-emitting diode D2 can select one of them to light up, and then the working status of the axis is characterized by whether the first light-emitting diode D1 and the second light-emitting diode D2 are lit. In this process, only one signal line for receiving the driving voltage is required to realize the control of whether the two light-emitting diodes are lit, so that the number of ports connected to the outside of the display panel 100 is further reduced, thereby reducing the manufacturing cost of the display panel 100.

[0082] Specifically, when the voltage drop between the first power supply signal and the driving voltage is greater than the tube voltage drop of the first light-emitting diode D1, the first light-emitting diode D1 is lit; correspondingly, when the voltage drop between the driving voltage and the ground is greater than the tube voltage drop of the second light-emitting diode D2, the second light-emitting diode D2 is lit. Based on this, the driving voltage can be used to control whether the first light-emitting diode D1 and the second light-emitting diode D2 are lit.

[0083] In the above embodiment, the first resistor R1 can reduce the current flowing through the first light emitting device when the first light emitting device is turned on, thereby playing a current limiting role, thereby reducing the probability of the first light emitting device being damaged due to overcurrent.

[0084] Similarly, the second resistor R2 can reduce the current flowing through the second light emitting device when the second light emitting device is turned on, thereby playing a current limiting role, thereby reducing the probability of the second light emitting device being damaged due to overcurrent.

[0085] In one embodiment, the position between the first light emitting device and the first resistor R1 can be replaced. Similarly, the position between the second light emitting device and the second resistor R2 can be replaced to meet the wiring requirements of the display panel 100 .

[0086] In any of the above embodiments, if Figure 1As shown, the driving circuit 108 includes: a three-state gate 1082, wherein the output end of the three-state gate 1082 is connected to the anode of the second light-emitting diode D2; wherein, based on the input of a low level to the enable end of the three-state gate 1082, the three-state gate 1082 outputs a high-impedance state, and the first light-emitting diode D1 and the second light-emitting diode D2 are extinguished; based on the input of a high level to the enable end of the three-state gate 1082, the input end of the three-state gate 1082 is inputted with a low level, the three-state gate 1082 outputs a low level, the first light-emitting diode D1 is lit, and the second light-emitting diode D2 is extinguished; based on the input of a high level to the enable end of the three-state gate 1082, the input end of the three-state gate 1082 is inputted with a high level, the three-state gate 1082 outputs a high level, the first light-emitting diode D1 is extinguished, and the second light-emitting diode D2 is lit.

[0087] In this embodiment, the driving circuit 108 is used to drive the operation of the status display device 106. During this process, the driving circuit 108 can respond to small signals and achieve large output, thereby reducing the requirements of the display panel 100 on the load driving capability.

[0088] Specifically, the controller 200 uses two GPIOs to connect to the status display device 106 , but the load capacity of the controller 200 is relatively weak and cannot meet the control needs. The driving circuit 108 is set to reduce the display panel 100's requirements on the load driving capacity.

[0089] In the above embodiment, the three-state gate 1082 has three output states, namely high level, low level and high impedance state. Among them, when the enable end of the three-state gate 1082 receives a low level, the three-state gate 1082 does not work. At this time, the three-state gate 1082 outputs a high impedance state. At this time, the forward voltage drop of the first light-emitting diode D1 and the second light-emitting diode D2 in series is greater than the first power supply signal, and the first light-emitting diode D1 and the second light-emitting diode D2 are extinguished.

[0090] When the enable terminal of tri-state gate 1082 receives a high level, tri-state gate 1082 operates, and the level signal output by tri-state gate 1082 is consistent with the level signal input. Specifically, when the input terminal of tri-state gate 1082 receives a low level, the output terminal of tri-state gate 1082 outputs a low level. At this time, the voltage drop across first light-emitting diode D1 is greater than the tube voltage drop of first light-emitting diode D1, and first light-emitting diode D1 is turned on. At this time, the voltage drop across second light-emitting diode D2 is less than the tube voltage drop of second light-emitting diode D2, and second light-emitting diode D2 is turned off.

[0091] Similarly, when a high level is input to the input end of the three-state gate 1082, the output end of the three-state gate 1082 outputs a high level. At this time, the voltage drop between the two ends of the first light-emitting diode D1 is less than the tube voltage drop of the first light-emitting diode D1, and the first light-emitting diode D1 is off. At this time, the voltage drop between the two ends of the second light-emitting diode D2 is greater than the tube voltage drop of the second light-emitting diode D2, and the second light-emitting diode D2 is lit.

[0092] In one embodiment, the first light emitting diode D1 is displayed as LED-RUN on the display panel 100 , and correspondingly, the second light emitting diode D2 is displayed as LED-ERR on the display panel 100 .

[0093] Specifically, the controller 200 is connected to the driving circuit 108 via GPIO1 and GPIO2 to control the operation of the status display device 106 .

[0094] In any of the above embodiments, based on the high level input to the enable terminal of the tri-state gate 1082, the input terminal of the tri-state gate 1082 inputs a PWM waveform, the tri-state gate 1082 outputs a PWM waveform, and the first light-emitting diode D1 and the second light-emitting diode D2 are lit.

[0095] In this embodiment, a high level is received at the enable end of the three-state gate 1082. When the three-state gate 1082 is working, a PWM waveform is input to the three-state gate 1082 by utilizing the characteristic that the level signal output by the three-state gate 1082 is consistent with the level signal input thereto, so that the three-state gate 1082 outputs a corresponding PWM waveform. Driven by the PWM waveform, the first light-emitting diode D1 and the second light-emitting diode D2 are visually lit at the same time. Based on this, the status display device 106 is used to display more states of the axis to meet actual usage needs.

[0096] In one embodiment, a PWM waveform, also known as a pulse width modulation (PWM) waveform, is a pulse waveform with a variable duty cycle. PWM is a method of digitally encoding analog signal levels, where the levels include high and low levels.

[0097] Specifically, the status of GPIO1, GPIO2, LED-RUN, LED-ERR and the corresponding axes are as follows: Figure 3 shown.

[0098] In any of the above embodiments, if Figure 4As shown, the three-state gate 1082 includes: a first switching device Q1, the first end of the first switching device Q1 is used to receive the second power supply signal; a second switching device Q2, the first end of the second switching device Q2 is connected to the second end of the first switching device Q1, and the second end of the second switching device Q2 is grounded; wherein, the first end of the second switching device Q2 is connected to the anode of the second light-emitting diode D2, the control end of the first switching device Q1 corresponds to the enable end of the three-state gate 1082, and the control end of the second switching device Q2 corresponds to the input end of the three-state gate 1082.

[0099] In this embodiment, a form of a three-state gate 1082 is specifically provided, wherein, when the first switching device Q1 is turned on, the second power supply signal can act on the first end of the second switching device Q2, and when the second switching device Q2 is switched between on and off, the first end of the second switching device Q2 can be switched between ground and the second power supply signal, wherein the second power supply signal corresponds to a high level and the ground corresponds to a low level.

[0100] In any of the above embodiments, the first switching device Q1 is a PNP transistor, and the second switching device Q2 is an NPN transistor.

[0101] Among them, the PNP transistor is a transistor composed of two P-type semiconductors with an N-type semiconductor sandwiched between them, also known as a PNP transistor.

[0102] NPN transistor, also known as NPN type transistor, refers to a transistor composed of two N-type semiconductors with a P-type semiconductor sandwiched between them, also known as a crystal transistor.

[0103] In any of the above embodiments, if Figure 4 As shown, the display panel 100 further includes: a third resistor R3 connected to the control terminal of the first switching device Q1; and / or a fourth resistor R4 connected to the control terminal of the second switching device Q2.

[0104] In this embodiment, the third resistor R3 can reduce the current flowing through the control terminal, thereby reducing the probability of the first switching device Q1 being damaged due to overcurrent, thereby improving the reliability of the display panel 100.

[0105] Similarly, the provision of the fourth resistor R4 can reduce the current flowing through the control terminal, thereby reducing the probability of the second switching device Q2 being damaged due to overcurrent, thereby improving the reliability of the display panel 100.

[0106] In any of the above embodiments, if Figure 5As shown, the three-state gate 1082 includes: a first phase detector A1; a second phase detector A2, the output end of the first phase detector A1 is connected to the enable end of the second phase detector A2, the output end of the second phase detector A2 is connected to the anode of the second light-emitting diode D2, the input end of the first phase detector A1 corresponds to the enable end of the three-state gate 1082, and the input end of the second phase detector A2 corresponds to the input end of the three-state gate 1082.

[0107] In this embodiment, another possible implementation of the tri-state gate 1082 is provided. In this implementation, two phase-matching transistors are used to reduce the load capacity of the display panel 100 .

[0108] In the above embodiment, since the first phase transistor A1 can only control the enable end of the second phase transistor A2 and cannot form a loop with the second phase transistor A2, the situation where the first light-emitting diode D1 and the second light-emitting diode D2 cannot be extinguished at the same time is reduced, thereby improving the reliability of the display panel 100.

[0109] In any of the above embodiments, the data transmission port is a serial peripheral interface.

[0110] In any of the above embodiments, if Figure 6 As shown, the display panel 100 also includes: a latch circuit, which includes: a fifth resistor R5, a first end of the fifth resistor R5 is used to receive a third power supply signal; a third switching device Q3, a first end of the third switching device Q3 is connected to the second end of the fifth resistor R5, and the second end of the third switching device Q3 is grounded; a sixth resistor R6, a first end of the sixth resistor R6 is connected to the first end of the fifth resistor R5, and the second end of the sixth resistor R6 is connected to the control end of the third switching device Q3; a capacitor C, a first end of the capacitor C is connected to the control end of the third switching device Q3, and a second end of the capacitor C is connected to the second end of the third switching device Q3; the first end of the third switching device Q3 is used to be connected to the data transmission port for outputting a chip select signal.

[0111] In this embodiment, it is specifically defined that the display panel 100 also includes a latch circuit. As described above, the serial peripheral interface needs to use a chip select signal to work. In the relevant embodiment, the chip select signal is issued by the central controller. As for the display panel 100, there will be a signal line for transmitting the chip select signal between the display panel 100 and the central controller, which will obviously occupy the interface on the display panel 100, affect the volume of the display panel 100, and increase the design difficulty of the display panel 100.

[0112] In an embodiment of the present invention, a latch circuit is introduced and used to output a chip select signal. As a result, there is no need to provide an interface between the display panel 100 and the central controller for transmitting the chip select signal, thereby reducing the number of ports on the display panel 100. This reduces the problem of the display panel 100 being too large due to an excessive number of interfaces, thereby reducing the problem of affecting the installation of the display panel 100.

[0113] The capacitor C has the characteristic of storing energy. Before the capacitor C stores energy, the voltage outputted by the first end of the third switch device Q3 is equal to the third power supply signal. In this case, the third power supply signal can be understood as a high level.

[0114] When capacitor C is storing energy, the voltage difference across capacitor C will slowly increase. When the second end of capacitor C is grounded, the voltage at the first end of capacitor C will continue to increase. When it increases to a level that can control the third switching device Q3 to turn on, the third switching device Q3 is turned on. At this time, the voltage output from the first end of the third switching device Q3 is close to the turn-on voltage of the transistor. In this case, it can be understood that the high level is pulled down to form a low level, thereby realizing the change of the output level of the latch circuit.

[0115] In the above embodiment, the level change of the latch circuit output from a high level to a low level is used as a chip select signal to realize the latching of the axis number information output by the axis number setting device 102, and then complete the reading of the axis number information when the axis number information is latched.

[0116] like Figure 7 As shown, after the system is powered on, the CS signal pin of controller 200 outputs a falling edge to latch the current 8-bit rotary encoder switch setting. The controller's CLK signal pin outputs 8 rising edges of the CLK signal to read the 8 data bits from shift register 104 via the MISO signal pin. For a dual-axis servo drive, for example, the controller 200 corresponding to the first axis reads the first 4 bits, and the controller 200 corresponding to the second axis reads the last 4 bits. The SPI interface of controller 200 corresponding to the first axis must be set to Master mode, and the SPI interface of controller 200 corresponding to the second axis must be set to Slave mode.

[0117] In the above embodiment, the fifth resistor R5 serves to limit the current flowing through the third switch tube when the third switch tube is turned on, thereby reducing the probability of the third switch device Q3 being damaged due to overcurrent.

[0118] In the above embodiment, the sixth resistor R6 provides a loop for charging the capacitor C, so as to charge the capacitor C. At the same time, it also facilitates the release of the electric energy stored in the capacitor C when the third switch device Q3 is turned on.

[0119] In any of the above embodiments, in the serial data, axis number information of different axes in at least two axes are arranged in sequence.

[0120] In this embodiment, the axis number information of different axes in at least two axes is limited to be sorted in sequence so that the controller 200 corresponding to the axis number information in the servo driver can read the corresponding axis number information, thereby reducing the accuracy of the axis number information reading.

[0121] The terms "first" and "second" in the specification and claims of this application may explicitly or implicitly refer to one or more of the features. In the description of the present invention, unless otherwise specified, "plurality" means two or more. Furthermore, "and / or" in the specification and claims refers to at least one of the connected entities, and the character " / " generally indicates an "or" relationship between the connected entities.

[0122] In the textual description of the present invention, it can be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", "axial", "radial", "circumferential" and the like to indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the embodiments of the present invention and simplifying the description of the embodiments of the present invention, rather than indicating or implying that the structures, devices, and elements referred to must have a specific orientation, be constructed and operated in a specific orientation. Therefore, these descriptions cannot be understood as limiting the present invention.

[0123] In the description of the present invention, it is understood that, unless otherwise specified or limited, the terms "mounted," "connected," and "connected" should be interpreted broadly. For example, they may refer to fixed connection, detachable connection, or integral connection; mechanical connection or electrical connection; direct connection between two components or indirect connection through an intermediate medium; or internal communication between two components. Those skilled in the art will understand the specific meanings of the above terms in the present invention based on the specific circumstances.

[0124] In the claims, specification and drawings of the present invention, the term "plurality" refers to two or more. Unless otherwise expressly defined, the orientation or positional relationship indicated by the terms "upper" and "lower" is based on the orientation or positional relationship shown in the drawings. It is only for the purpose of more conveniently describing the present invention and making the description process simpler. It is not intended to indicate or imply that the device or element referred to must have the specific orientation described, be constructed and operate in a specific orientation. Therefore, these descriptions cannot be understood as limiting the present invention. The terms "connect", "install", "fix" and the like should be understood in a broad sense. For example, "connection" can be a fixed connection between multiple objects, or a detachable connection between multiple objects, or an integral connection; it can be a direct connection between multiple objects, or an indirect connection between multiple objects through an intermediate medium. For those skilled in the art, the specific meanings of the above terms in the present invention can be understood based on the specific circumstances of the above data.

[0125] In the claims, specification, and drawings of the present invention, the terms "one embodiment," "some embodiments," "a specific embodiment," and the like mean that the specific features, structures, materials, or characteristics described in conjunction with that embodiment or example are included in at least one embodiment or example of the present invention. In the claims, specification, and drawings of the present invention, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.

[0126] The above are merely preferred embodiments of the present invention and are not intended to limit the present invention. Those skilled in the art will readily appreciate that various modifications and variations of the present invention are possible. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of the present invention shall be included within the scope of protection of the present invention.

Claims

1. A servo drive, characterized in that: The servo drive is used to control at least two axes, and the servo drive comprises: At least two controllers; A display panel, the display panel comprising: At least two axis number setting devices, corresponding one to one with the at least two controllers and the at least two axes, each of the axis number setting devices having an output port for outputting axis number information of the corresponding axis; A shift register having an input port and a data transmission port, wherein the input port is connected to an output port of each of the at least two axis number setting devices, and the controllers of the at least two controllers at least partially share the data transmission port, and the shift register is used to receive the axis number information output in parallel by each of the axis number setting devices, and output serial data through the data transmission port for reading by the at least two controllers; The serial data includes axis number information output by each axis number setting device of the at least two axis number setting devices.

2. The servo driver according to claim 1, characterized in that: The display panel further includes: at least two status display devices, each of which has a control port for receiving the operating status of a corresponding axis and outputting a display based on the operating status; At least two driving circuits are connected to the at least two status display devices and the at least two controllers in a one-to-one correspondence, and are used to output driving voltages to the corresponding status display devices; Among them, each controller has two status output ports for outputting the working status of the corresponding axis, and the drive circuit has two signal receiving ports and one drive port. The two signal receiving ports are correspondingly connected to the two status output ports, and the drive port is connected to the control port.

3. The servo driver according to claim 2, characterized in that: The status display device comprises: A first resistor, wherein a first end of the first resistor is used to receive a first power supply signal; a first light emitting diode, wherein an anode of the first light emitting diode is connected to a second end of the first resistor; a second light emitting diode, wherein an anode of the second light emitting diode is connected to a cathode of the first light emitting diode; a second resistor, wherein a first end of the second resistor is connected to the cathode of the second light-emitting diode, and a second end of the second resistor is grounded; The anode of the second light emitting diode is used to receive a driving voltage, and the driving voltage corresponds to the working state of the corresponding axis.

4. The servo driver according to claim 3, characterized in that: The driving circuit comprises: A tri-state gate, wherein an output end of the tri-state gate is connected to an anode of the second light emitting diode; Wherein, based on the low level input to the enable terminal of the tri-state gate, the tri-state gate outputs a high impedance state, and the first light emitting diode and the second light emitting diode are turned off; Based on a high level input to the enable terminal of the tri-state gate, a low level input to the input terminal of the tri-state gate, the tri-state gate outputs a low level, the first light emitting diode is turned on, and the second light emitting diode is turned off; Based on a high level input to the enable terminal of the tri-state gate, a high level input to the input terminal of the tri-state gate, the tri-state gate outputs a high level, the first light emitting diode is turned off, and the second light emitting diode is turned on.

5. The servo driver according to claim 4, characterized in that: Based on a high level input to the enable terminal of the tri-state gate, a PWM waveform is input to the input terminal of the tri-state gate, the tri-state gate outputs a PWM waveform, and the first light emitting diode and the second light emitting diode are lit.

6. The servo driver according to claim 4, characterized in that: The three-state gate comprises: A first switch device, wherein a first end of the first switch device is used to receive a second power supply signal; a second switch device, a first terminal of the second switch device being connected to a second terminal of the first switch device, and a second terminal of the second switch device being grounded; The first end of the second switch device is connected to the anode of the second light-emitting diode, the control end of the first switch device corresponds to the enable end of the tri-state gate, and the control end of the second switch device corresponds to the input end of the tri-state gate.

7. The servo driver according to claim 6, characterized in that: The first switch device is a PNP transistor, and the second switch device is an NPN transistor.

8. The servo driver according to claim 6, characterized in that: Also includes: a third resistor, the third resistor being connected to the control terminal of the first switch device; and / or A fourth resistor is connected to the control terminal of the second switch device.

9. The servo driver according to claim 4, characterized in that: The three-state gate comprises: The first phase converter; A second isochronous phase converter, wherein the output end of the first isochronous phase converter is connected to the enable end of the second isochronous phase converter, the output end of the second isochronous phase converter is connected to the anode of the second light-emitting diode, the input end of the first isochronous phase converter corresponds to the enable end of the three-state gate, and the input end of the second isochronous phase converter corresponds to the input end of the three-state gate.

10. The servo drive according to any one of claims 1 to 9, characterized in that: The data transmission port is a serial peripheral interface.

11. The servo driver according to claim 10, characterized in that: Also includes: A latch circuit, the latch circuit comprising: a fifth resistor, wherein a first end of the fifth resistor is used to receive a third power supply signal; a third switch device, wherein a first end of the third switch device is connected to a second end of the fifth resistor, and a second end of the third switch device is grounded; a sixth resistor, wherein a first end of the sixth resistor is connected to the first end of the fifth resistor, and a second end of the sixth resistor is connected to the control end of the third switch device; A capacitor, a first end of the capacitor is connected to the control end of the third switch device, and a second end of the capacitor is connected to the second end of the third switch device; The first end of the third switch device is used to be connected to the data transmission port to output a chip selection signal.

12. The servo drive according to any one of claims 1 to 9, characterized in that: In the serial data, the axis number information of different axes among the at least two axes are arranged in sequence.

Citation Information

Patent Citations

  • Multi-spindle movement driver control method, multi-spindle movement driver, and multi-spindle drive control system having the same

    CN102318180A

  • Field programmable gate array-based (FPGA-based) multi-axis servo motor current loop control system and control method

    CN102811012A

  • Circuit and method for independent control of series connected light emitting diodes

    CN105393644A

  • Telescope control system and method

    CN107643770A

  • Tandem LED lamp set light-emitting device

    CN200979092Y