CN109537178B - Control function automatic switching system, sewing machine controller and sewing machine - Google Patents

Control function automatic switching system, sewing machine controller and sewing machine Download PDF

Info

Publication number
CN109537178B
CN109537178B CN201811444719.9A CN201811444719A CN109537178B CN 109537178 B CN109537178 B CN 109537178B CN 201811444719 A CN201811444719 A CN 201811444719A CN 109537178 B CN109537178 B CN 109537178B
Authority
CN
China
Prior art keywords
sewing machine
target
model
machine controller
voltage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811444719.9A
Other languages
Chinese (zh)
Other versions
CN109537178A (en
Inventor
杨允希
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Zobow Mechanical and Electrical Tech Co Ltd
Original Assignee
Zhejiang Zobow Mechanical and Electrical Tech Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Zobow Mechanical and Electrical Tech Co Ltd filed Critical Zhejiang Zobow Mechanical and Electrical Tech Co Ltd
Priority to CN201811444719.9A priority Critical patent/CN109537178B/en
Publication of CN109537178A publication Critical patent/CN109537178A/en
Application granted granted Critical
Publication of CN109537178B publication Critical patent/CN109537178B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • DTEXTILES; PAPER
    • D05SEWING; EMBROIDERING; TUFTING
    • D05BSEWING
    • D05B19/00Programme-controlled sewing machines
    • D05B19/02Sewing machines having electronic memory or microprocessor control unit

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Textile Engineering (AREA)
  • Sewing Machines And Sewing (AREA)

Abstract

The invention discloses a control function automatic switching system, a sewing machine controller and a sewing machine, comprising: a peripheral interface; the operation panel is arranged on the target sewing machine and connected with the sewing machine controller through an external interface, and is used for transmitting a model signal representing the model of the target sewing machine to the sewing machine controller after being communicated with the sewing machine controller; wherein the target sewing machine represents a sewing machine currently to be controlled by the sewing machine controller; the sewing machine controller is used for pre-loading control programs corresponding to the sewing machines of different types one by one; and determining the model of the target sewing machine according to the model signal, and executing a control program corresponding to the model of the target sewing machine when the target sewing machine is controlled. Therefore, when the sewing machine controller controls the sewing machines of different types, corresponding software does not need to be reloaded, so that production management is facilitated, and modification, upgrading and maintenance of software programs are facilitated.

Description

Control function automatic switching system, sewing machine controller and sewing machine
Technical Field
The invention relates to the technical field of sewing machine control, in particular to a control function automatic switching system, a sewing machine controller and a sewing machine.
Background
With the continuous development of mechatronics technology, more and more derived products are provided for each industrial sewing machine. For each industrial sewing machine and its derivative products, the sewing machine controller is generally added or modified only in the process control part, which requires that one set of sewing machine controller can be matched with the sewing machines of various models for use, so as to reduce the development cost and increase the life cycle of the products.
At present, in the design of a main board of a sewing machine controller, the hardware design is developed towards the direction of compatibility, so that the same hardware main board can be matched with sewing machines of different types for use. However, since the sewing machines of different models have different functions, the software design is not compatible, and a set of software needs to be configured for each model of sewing machine, and the sewing machine controller loads corresponding software according to the model of the sewing machine which needs to be controlled currently. However, if the sewing machine controller wants to control the sewing machines of other models, the corresponding software needs to be reloaded, which is not favorable for production management and is not favorable for software program modification, upgrading and maintenance.
Therefore, how to provide a solution to the above technical problem is a problem that needs to be solved by those skilled in the art.
Disclosure of Invention
The invention aims to provide a control function automatic switching system, a sewing machine controller and a sewing machine, which do not need to reload corresponding software when controlling sewing machines of different types, thereby being beneficial to production management and modification, upgrade and maintenance of software programs.
In order to solve the above technical problem, the present invention provides an automatic control function switching system, including:
a peripheral interface;
the operation panel is arranged on the target sewing machine and connected with the sewing machine controller through the peripheral interface, and is used for transmitting a model signal representing the model of the target sewing machine to the sewing machine controller after being communicated with the sewing machine controller; wherein the target sewing machine represents a sewing machine that the sewing machine controller is currently preparing to control;
the sewing machine controller is used for pre-loading control programs corresponding to the sewing machines of different types one by one; and determining the model of the target sewing machine according to the model signal, and executing a control program corresponding to the model of the target sewing machine when the target sewing machine is controlled.
Preferably, the operation panel includes:
the voltage configuration circuit is connected with the peripheral interface and is used for determining a target voltage value corresponding to the machine type of the target sewing machine in advance according to a preset machine type voltage corresponding relation and configuring a voltage signal output by a port connected with the peripheral interface according to the target voltage value; the preset model voltage corresponding relation represents a one-to-one corresponding relation between the models of the sewing machines and the voltage values of the voltage signals configured by the voltage configuration circuit;
the sewing machine controller is specifically configured to acquire the voltage signal when the sewing machine controller is communicated with the voltage configuration circuit, and determine a model of the target sewing machine according to the preset model voltage correspondence, so as to execute a control program corresponding to the model of the target sewing machine when controlling the target sewing machine.
Preferably, the sewing machine controller is specifically configured to, when the sewing machine controller is communicated with the voltage configuration circuit and a motor of the target sewing machine is in a stop state, acquire the voltage signal from the voltage configuration circuit, and determine a model of the target sewing machine according to the preset model voltage correspondence, so as to execute a control program corresponding to the model of the target sewing machine when the target sewing machine is controlled.
Preferably, a port of the operation panel for outputting the voltage signal is connected with an AD sampling port of the sewing machine controller through the peripheral interface, and a communication port of the operation panel is also connected with a communication port of the sewing machine controller through the peripheral interface; any interface of the AD sampling port and the communication port adopts the same interface on the sewing machine controller;
the sewing machine controller is also used for configuring the same interface into an AD sampling port after the sewing machine controller is started so as to sample the voltage signal; and after the model of the target sewing machine is determined, configuring the same interface as a communication port to realize communication with the operation panel.
Preferably, a port of the operation panel for outputting the voltage signal is connected with an AD sampling port of the sewing machine controller through the peripheral interface, and a communication port of the operation panel is also connected with a communication port of the sewing machine controller through the peripheral interface; wherein, the AD sampling port and the communication port are different interfaces on the sewing machine controller.
Preferably, the operation panel includes:
the microcontroller is connected with the peripheral interface and is used for pre-storing the machine type information carrying the machine type of the target sewing machine; when the communication between the sewing machine controller and the self is detected, the machine type information is sent to the sewing machine controller;
the sewing machine controller is specifically configured to determine a machine type of the target sewing machine according to the machine type information after obtaining the machine type information, so as to execute a control program corresponding to the machine type of the target sewing machine when controlling the target sewing machine.
In order to solve the above technical problem, the present invention further provides a sewing machine controller, which is applied to any one of the above automatic control function switching systems, and comprises:
the pre-loading module is used for pre-loading control programs corresponding to the sewing machines of different types one by one;
the receiving module is used for receiving a model signal which is transmitted by the operation panel and represents the model of the target sewing machine after being communicated with the operation panel;
and the control module is used for determining the model of the target sewing machine according to the model signal and executing a control program corresponding to the model of the target sewing machine when the target sewing machine is controlled.
In order to solve the technical problem, the invention also provides a sewing machine which comprises any one of the control function automatic switching systems.
The invention provides a control function automatic switching system, comprising: a peripheral interface; the operation panel is arranged on the target sewing machine and connected with the sewing machine controller through an external interface, and is used for transmitting a model signal representing the model of the target sewing machine to the sewing machine controller after being communicated with the sewing machine controller; wherein the target sewing machine represents a sewing machine currently to be controlled by the sewing machine controller; the sewing machine controller is used for pre-loading control programs corresponding to the sewing machines of different types one by one; and determining the model of the target sewing machine according to the model signal, and executing a control program corresponding to the model of the target sewing machine when the target sewing machine is controlled.
The sewing machine controller is pre-loaded with control programs corresponding to sewing machines of different types one by one, so that after the type of a target sewing machine is determined according to a type signal transmitted by an operation panel, the control program corresponding to the type of the target sewing machine can be executed to control the target sewing machine to operate. Therefore, when the sewing machine controller controls the sewing machines of different types, corresponding software does not need to be reloaded, so that production management is facilitated, and modification, upgrading and maintenance of software programs are facilitated. In addition, because this application sets up different model signals for the operating panel that the sewing machine of different models corresponds one by one in advance, so this application need not manual operation operating panel and removes the selection model, as long as connect operating panel after, sewing machine controller alright automatic identification sewing machine's model, comparatively intelligent.
The invention also provides a sewing machine controller and a sewing machine, which have the same beneficial effects as the automatic control function switching system.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed in the prior art and the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic structural diagram of an automatic control function switching system according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a controller of a sewing machine according to an embodiment of the present invention.
Detailed Description
The core of the invention is to provide a control function automatic switching system, a sewing machine controller and a sewing machine, when controlling sewing machines of different types, corresponding software does not need to be reloaded, thereby being beneficial to production management and being beneficial to modification, upgrade and maintenance of software programs.
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an automatic control function switching system according to an embodiment of the present invention.
The control function automatic switching system includes:
an external interface 1;
the operation panel 3 is arranged on the target sewing machine and connected with the sewing machine controller 2 through the peripheral interface 1, and is used for transmitting a model signal which represents the model of the target sewing machine to the sewing machine controller 2 after being communicated with the sewing machine controller 2; wherein the target sewing machine represents a sewing machine which the sewing machine controller 2 is currently prepared to control;
the sewing machine controller 2 is used for pre-loading control programs corresponding to the sewing machines of different types one by one; and determining the model of the target sewing machine according to the model signal, and executing a control program corresponding to the model of the target sewing machine when the target sewing machine is controlled.
Specifically, the control function automatic switching system of this application includes peripheral hardware interface 1, operating panel 3 and sewing machine controller 2, and its theory of operation is:
on one hand, in order to distinguish the models of sewing machines, the following improvements are made to the operation panel 3 of the sewing machine of different models in advance: for any sewing machine, an operation panel 3 provided on the sewing machine transmits a model signal of the sewing machine to a sewing machine controller 2 after being connected with the sewing machine controller 2 for controlling the sewing machine. Since the model signal here indicates the model of the sewing machine, the sewing machine controller 2 can distinguish the currently controlled model of the sewing machine according to the received model signal.
On the other hand, the control programs corresponding to the sewing machines of different models one by one are written in the main control board of the sewing machine controller 2 in advance through the program pre-compiling function. After a target sewing machine is selected for the sewing machine controller 2 (any one of the sewing machines corresponding to the control program written in the main control board can be used as the target sewing machine), the sewing machine controller 2 can be connected with the operation panel 3 corresponding to the target sewing machine (specifically, the main control board is connected with the operation panel 3 through the peripheral interface 1).
After the sewing machine controller 2 is connected with the operation panel 3 corresponding to the target sewing machine, the operation panel 3 corresponding to the target sewing machine transmits a model signal of the target sewing machine to the sewing machine controller 2, and then the sewing machine controller 2 determines the model of the target sewing machine according to the received model signal, so that the control program corresponding to the model of the target sewing machine is automatically selected from the control programs written in the main control board for execution.
Therefore, the sewing machine controller 2 can realize automatic switching of different control programs (belonging to a whole set of software), and does not need to be matched with a plurality of sets of software for use by the same main control board. Under the condition, when the version of the control program needs to be upgraded or a platform problem occurs, only one software version needs to be modified, and after-sales personnel only need to use the same program to upgrade different machine types, so that the research and development cost and the after-sales maintenance cost are reduced, the production management is facilitated, the error rate is reduced, the controller of the sewing machine is more intelligent, the compatibility of the sewing machine and a series of derived products of the sewing machine is enhanced, and the life cycle of the product is prolonged. In addition, when the same main control board is used on sewing machines of different types, the program does not need to be modified, only the panel needs to be replaced, and the sewing machine is more convenient, so that the experience effect of a user is improved.
The invention provides a control function automatic switching system, comprising: a peripheral interface; the operation panel is arranged on the target sewing machine and connected with the sewing machine controller through an external interface, and is used for transmitting a model signal representing the model of the target sewing machine to the sewing machine controller after being communicated with the sewing machine controller; wherein the target sewing machine represents a sewing machine currently to be controlled by the sewing machine controller; the sewing machine controller is used for pre-loading control programs corresponding to the sewing machines of different types one by one; and determining the model of the target sewing machine according to the model signal, and executing a control program corresponding to the model of the target sewing machine when the target sewing machine is controlled.
The sewing machine controller is pre-loaded with control programs corresponding to sewing machines of different types one by one, so that after the type of a target sewing machine is determined according to a type signal transmitted by an operation panel, the control program corresponding to the type of the target sewing machine can be executed to control the target sewing machine to operate. Therefore, when the sewing machine controller controls the sewing machines of different types, corresponding software does not need to be reloaded, so that production management is facilitated, and modification, upgrading and maintenance of software programs are facilitated. In addition, because this application sets up different model signals for the operating panel that the sewing machine of different models corresponds one by one in advance, so this application need not manual operation operating panel and removes the selection model, as long as connect operating panel after, sewing machine controller alright automatic identification sewing machine's model, comparatively intelligent.
On the basis of the above-described embodiment:
as a preferred embodiment, the operation panel 3 includes:
the voltage configuration circuit is connected with the peripheral interface 1 and is used for determining a target voltage value corresponding to the model of the target sewing machine in advance according to a preset model voltage corresponding relation and configuring a voltage signal output by a port connected with the peripheral interface 1 according to the target voltage value; the preset model voltage corresponding relation represents the one-to-one corresponding relation between the models of the sewing machines and the voltage values of the voltage signals configured by the voltage configuration circuit;
the sewing machine controller 2 is specifically configured to acquire the voltage signal when the sewing machine controller is communicated with the voltage configuration circuit, and determine the model of the target sewing machine according to the preset model voltage correspondence relationship, so as to execute a control program corresponding to the model of the target sewing machine when controlling the target sewing machine.
It should be noted that the preset of the present application is set in advance, and only needs to be set once, and the reset is not needed unless the modification is needed according to the actual situation.
Specifically, the present embodiment improves the operation panel 3 based on the hardware design of the operation panel 3: when the hardware design is performed on the operation panel 3, a voltage configuration circuit is added, and the voltage configuration circuit can configure a path of voltage signal to be transmitted to the main control board of the sewing machine controller 2 through the peripheral interface 1 (in this embodiment, the sewing machine controller 2 is connected with the operation panel 3 through the peripheral interface 1, and actually, a port of the voltage configuration circuit outputting the voltage signal is connected with the main control board through the peripheral interface 1). In order to distinguish sewing machine models, the voltage values of the voltage signals configured by the voltage configuration circuit in the operation panel 3 of the sewing machine of the same model are the same, and the voltage values of the voltage signals configured by the voltage configuration circuit in the operation panel 3 of the sewing machine of different models are different.
Therefore, the present application should set in advance a one-to-one correspondence relationship between the model of the sewing machine and the voltage value of the voltage signal configured by the voltage configuration circuit, i.e., a model voltage correspondence relationship. For the target sewing machine, before the operation panel 3 is installed, a voltage configuration circuit (which can be realized by connecting resistors with different resistance values in series and in parallel or by other components capable of directly generating fixed voltage values) should be added to the operation panel 3, and the voltage value of one path of voltage signal configured by the voltage configuration circuit corresponds to the model of the target sewing machine.
Correspondingly, after the sewing machine controller 2 is communicated with the voltage configuration circuit of the target sewing machine, the voltage signal configured by the voltage configuration circuit can be sampled in real time, so that the voltage value of the voltage signal can be calculated according to the sampling value. Then, the sewing machine controller 2 determines the model of the target sewing machine according to the voltage value of the voltage signal and the set model voltage corresponding relation, thereby automatically selecting the control program corresponding to the model of the target sewing machine from the control programs written in the main control board for execution.
For example, the main control board of the sewing machine controller 2 is written with control programs of three types of machines, i.e., a machine type a, a machine type B, and a machine type C in advance. Suppose that the sewing machine of model A corresponds to the operation panel A, the sewing machine of model B corresponds to the operation panel B, and the sewing machine of model C corresponds to the operation panel C. For the model voltage correspondence, the present application may be set as: the voltage value of the voltage signal configured on the operation panel A is between V1 and V2, the voltage value of the voltage signal configured on the operation panel B is between V3 and V4, and the voltage value of the voltage signal configured on the operation panel C is between V5 and V6, wherein 0V < V1< V2< V3< V4< V5< V6< 5V. The corresponding relationship between the voltage value of the voltage signal configured on the operation panel and the model of the sewing machine where the operation panel is located is shown in the following table 1:
TABLE 1
Figure BDA0001885460330000071
Figure BDA0001885460330000081
Therefore, when detecting that the voltage value of the voltage signal configured by the operation panel is between V1 and V2, the sewing machine controller 2 determines the model of the target sewing machine as A, and selects the parameters and the control program used by the model A; when the voltage value of the voltage signal configured by the operation panel is detected to be between V3 and V4, the type of the target sewing machine is determined to be B, and parameters and a control program used by the type B are selected; and when the voltage value of the voltage signal configured by the operation panel is detected to be between V5 and V6, determining the model of the target sewing machine as C, and selecting the parameters and the control program used by the model C.
Considering that when the voltage signal configured on the operation panel fluctuates, the voltage value of the voltage signal configured on the operation panel may not be in the range of table 1, and thus the model of the target sewing machine cannot be determined, the application improves the model voltage corresponding relation of table 1:
TABLE 2
Value of voltage Model type
Greater than or equal to (V1-V0) and less than V3 A
V3 or more and V5 or less B
V5 or more and less than (V6+ V0) C
Others A
Wherein V0< V1, V0 is a deviation value.
In addition, in this embodiment, the hardware design based on the operation panel 3 improves the operation panel 3, and does not relate to the panel software, so the operation panel 3 does not need to be provided with any microcontroller, and therefore, the low-end machine type is considered, and the application range is wider.
As a preferred embodiment, the sewing machine controller 2 is specifically configured to obtain a voltage signal from the voltage configuration circuit when the sewing machine controller is connected to the voltage configuration circuit and the motor of the target sewing machine is in a stop state, and determine the model of the target sewing machine according to a preset model voltage corresponding relation, so as to execute a control program corresponding to the model of the target sewing machine when the target sewing machine is controlled.
Further, the sewing machine controller 2 of the present application samples the voltage signal configured by the voltage configuration circuit in the operation panel 3 of the target sewing machine in real time only when the motor of the target sewing machine is in a stop state. When the motor of the target sewing machine is in a running state, the sewing machine controller 2 does not perform sampling (taking the voltage signal sampled when the motor is stopped as a reference), and the purpose is to prevent the problems that the system is disordered and the like caused by model switching in the running process of the motor.
Optionally, the sewing machine controller 2 judges the machine type once only after the electric control is started, namely, the machine type can be replaced only after the electric control is restarted, so as to prevent the machine type of the same operation panel from being different when the sampling value is abnormal.
As a preferred embodiment, the port of the operation panel 3 for outputting the voltage signal is connected with the AD sampling port of the sewing machine controller 2 through the peripheral interface 1, and the communication port of the operation panel 3 is also connected with the communication port of the sewing machine controller 2 through the peripheral interface 1; wherein, any interface of the AD sampling port and the communication port adopts the same interface on the sewing machine controller 2;
the sewing machine controller 2 is also used for configuring the same interface into an AD sampling port after the sewing machine controller is started so as to sample a voltage signal; after the model of the target sewing machine is determined, the same interface is configured as a communication port to realize communication with the operation panel 3.
Specifically, a port of the operation panel 3 for outputting the voltage signal is connected to a port (referred to as an AD sampling port) of the main control board of the sewing machine controller 2, which is configured with an AD sampling function, through the peripheral interface 1, so that the sewing machine controller 2 samples the voltage signal output by the operation panel 3 through the AD sampling port. The communication port of the operation panel 3 is connected to a port (called communication port) with a communication function configured on the main control panel of the sewing machine controller 2 through the peripheral interface 1, so that the sewing machine controller 2 communicates with the operation panel 3 through the communication port.
In this embodiment, the AD sampling port on the main control board may be multiplexed with the communication port on the main control board (i.e., the AD sampling port and a certain path of signal (assumed Rx) of the communication port adopt the same interface, and assumed Rx is an x interface), and correspondingly, the x interface is configured as the AD sampling port by the sewing machine controller 2 after the sewing machine is started up, so as to sample the voltage signal output by the operation panel 3. After determining the model of the target sewing machine, the sewing machine controller 2 configures the x interface as Rx of the communication port to realize normal communication with the operation panel 3.
As a preferred embodiment, the port of the operation panel 3 for outputting the voltage signal is connected with the AD sampling port of the sewing machine controller 2 through the peripheral interface 1, and the communication port of the operation panel 3 is also connected with the communication port of the sewing machine controller 2 through the peripheral interface 1; wherein, the AD sampling port and the communication port are different interfaces on the sewing machine controller 2.
Specifically, except that the AD sampling port on the main control board in the above embodiment may be multiplexed with the communication port on the main control board, the AD sampling port and the communication port on the main control board have other design manners:
this application can dispose AD sample connection and communication mouth (non-multiplexing mode) alone on the main control board, and the AD sample connection is used for specially adopting the voltage signal of operating panel 3 output, and the communication mouth is used for specially communicating with operating panel 3.
The present application is not particularly limited as to whether the multiplexing method or the non-multiplexing method is specifically adopted.
As a preferred embodiment, the operation panel 3 includes:
the microcontroller is connected with the peripheral interface 1 and is used for pre-storing the machine type information of the machine type carrying the target sewing machine; when the communication between the sewing machine controller 2 and the machine type information is detected, the machine type information is sent to the sewing machine controller 2;
the sewing machine controller 2 is specifically configured to determine a model of the target sewing machine based on the model information after acquiring the model information, so as to execute a control program corresponding to the model thereof when controlling the target sewing machine.
Specifically, as the operation panel 3 in which a Microcontroller is provided, an MCU (micro controller Unit) is generally adopted as the Microcontroller. Besides the above-mentioned embodiment that improves the operation panel 3 based on the hardware design of the operation panel 3, the operation panel 3 has other improvements:
the operating panel 3 is modified based on the microcontroller software design of the operating panel 3. Specifically, the microcontroller stores in advance a message specific to the model of the target sewing machine (e.g., model information carrying the model of the target sewing machine). When detecting that the microcontroller is communicated with the sewing machine controller 2, the microcontroller sends model information to the sewing machine controller 2. Then, the sewing machine controller 2 determines the model of the target sewing machine according to the model information, and automatically selects the control program corresponding to the model of the target sewing machine from the control programs written in the main control board for execution.
Referring to fig. 2, fig. 2 is a schematic structural diagram of a controller of a sewing machine according to an embodiment of the present invention.
The invention also provides a sewing machine controller, which is applied to any one of the control function automatic switching systems, and comprises:
the pre-loading module 11 is used for pre-loading control programs corresponding to different types of sewing machines one by one;
a receiving module 12, which is used for receiving the model signal which is transmitted by the operation panel and represents the model of the target sewing machine after being communicated with the operation panel;
and the control module 13 is used for determining the model of the target sewing machine according to the model signal and executing a control program corresponding to the model of the target sewing machine when the target sewing machine is controlled.
For the introduction of the controller of the sewing machine provided in the present application, please refer to the embodiment of the above-mentioned automatic control function switching system, which is not described herein again.
The invention also provides a sewing machine, which comprises any one of the control function automatic switching systems.
For the introduction of the sewing machine provided in the present application, please refer to the above-mentioned embodiment of the automatic control function switching system, which is not described herein again.
It should also be noted that, in the present specification, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (6)

1. An automatic control function switching system, comprising:
a peripheral interface;
the operation panel is arranged on the target sewing machine and connected with the sewing machine controller through the peripheral interface, and is used for transmitting a model signal representing the model of the target sewing machine to the sewing machine controller after being communicated with the sewing machine controller; wherein the target sewing machine represents a sewing machine that the sewing machine controller is currently preparing to control;
the sewing machine controller is used for pre-loading control programs corresponding to the sewing machines of different types one by one; determining the model of the target sewing machine according to the model signal, and executing a control program corresponding to the model of the target sewing machine when the target sewing machine is controlled;
the operation panel includes:
the voltage configuration circuit is connected with the peripheral interface and is used for determining a target voltage value corresponding to the machine type of the target sewing machine in advance according to a preset machine type voltage corresponding relation and configuring a voltage signal output by a port connected with the peripheral interface according to the target voltage value; the preset model voltage corresponding relation represents a one-to-one corresponding relation between the models of the sewing machines and the voltage values of the voltage signals configured by the voltage configuration circuit;
the sewing machine controller is specifically configured to acquire the voltage signal from the voltage configuration circuit when the sewing machine controller is communicated with the voltage configuration circuit and a motor of the target sewing machine is in a stopped state, and determine a model of the target sewing machine according to the preset model voltage correspondence relationship, so as to execute a control program corresponding to the model of the target sewing machine when the target sewing machine is controlled.
2. The system according to claim 1, wherein the port of the operation panel outputting the voltage signal is connected to the AD sampling port of the sewing machine controller through the peripheral interface, and the communication port of the operation panel is also connected to the communication port of the sewing machine controller through the peripheral interface; any interface of the AD sampling port and the communication port adopts the same interface on the sewing machine controller;
the sewing machine controller is also used for configuring the same interface into an AD sampling port after the sewing machine controller is started so as to sample the voltage signal; and after the model of the target sewing machine is determined, configuring the same interface as a communication port to realize communication with the operation panel.
3. The system according to claim 1, wherein the port of the operation panel outputting the voltage signal is connected to the AD sampling port of the sewing machine controller through the peripheral interface, and the communication port of the operation panel is also connected to the communication port of the sewing machine controller through the peripheral interface; wherein, the AD sampling port and the communication port are different interfaces on the sewing machine controller.
4. The control function automatic switching system according to claim 1, wherein the operation panel includes:
the microcontroller is connected with the peripheral interface and is used for pre-storing the machine type information carrying the machine type of the target sewing machine; when the communication between the sewing machine controller and the self is detected, the machine type information is sent to the sewing machine controller;
the sewing machine controller is specifically configured to determine a machine type of the target sewing machine according to the machine type information after obtaining the machine type information, so as to execute a control program corresponding to the machine type of the target sewing machine when controlling the target sewing machine.
5. A sewing machine controller applied to the automatic control function switching system according to any one of claims 1 to 4, comprising:
the pre-loading module is used for pre-loading control programs corresponding to the sewing machines of different types one by one;
the receiving module is used for receiving a voltage signal which is transmitted by the voltage configuration circuit and represents the machine type of the target sewing machine when the voltage configuration circuit of the operation panel is connected and a motor of the target sewing machine is in a stop state;
and the control module is used for determining the model of the target sewing machine according to the preset model voltage corresponding relation and the voltage signal so as to execute a control program corresponding to the model of the target sewing machine when the target sewing machine is controlled.
6. A sewing machine characterized by comprising the automatic control function switching system according to any one of claims 1 to 4.
CN201811444719.9A 2018-11-29 2018-11-29 Control function automatic switching system, sewing machine controller and sewing machine Active CN109537178B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811444719.9A CN109537178B (en) 2018-11-29 2018-11-29 Control function automatic switching system, sewing machine controller and sewing machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811444719.9A CN109537178B (en) 2018-11-29 2018-11-29 Control function automatic switching system, sewing machine controller and sewing machine

Publications (2)

Publication Number Publication Date
CN109537178A CN109537178A (en) 2019-03-29
CN109537178B true CN109537178B (en) 2021-03-23

Family

ID=65852226

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811444719.9A Active CN109537178B (en) 2018-11-29 2018-11-29 Control function automatic switching system, sewing machine controller and sewing machine

Country Status (1)

Country Link
CN (1) CN109537178B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117407033B (en) * 2023-12-15 2024-03-22 深圳市天龙世纪科技发展有限公司 Method, system and storage medium for switching product types based on resistor

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4074642A (en) * 1976-07-27 1978-02-21 The Singer Company Sewing machine with programmable memory
CN105926175A (en) * 2016-05-18 2016-09-07 天津市中马骏腾精密机械制造有限公司 Sewing equipment control system
CN108737472A (en) * 2017-04-20 2018-11-02 北京大豪科技股份有限公司 The method and apparatus of sewing machine remote upgrade

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4280423A (en) * 1980-08-18 1981-07-28 The Singer Company Display arrangement for giving a visible pattern corresponding to one or more stitch parameters in a sewing machine
JPH0919586A (en) * 1995-07-06 1997-01-21 Brother Ind Ltd Sewing machine controller
CN203683892U (en) * 2013-12-30 2014-07-02 浙江众邦机电科技有限公司 Control device of industrial sewing machine
JP6343957B2 (en) * 2014-02-19 2018-06-20 ブラザー工業株式会社 sewing machine
CN104407842B (en) * 2014-10-21 2018-06-26 深圳市新国都技术股份有限公司 A kind of realization method and system for the identification of POS machine hardware version
CN108227629A (en) * 2017-12-29 2018-06-29 浙江众邦机电科技有限公司 Control method/system, readable storage medium storing program for executing and the electronic equipment of electronic equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4074642A (en) * 1976-07-27 1978-02-21 The Singer Company Sewing machine with programmable memory
CN105926175A (en) * 2016-05-18 2016-09-07 天津市中马骏腾精密机械制造有限公司 Sewing equipment control system
CN108737472A (en) * 2017-04-20 2018-11-02 北京大豪科技股份有限公司 The method and apparatus of sewing machine remote upgrade

Also Published As

Publication number Publication date
CN109537178A (en) 2019-03-29

Similar Documents

Publication Publication Date Title
US10606248B2 (en) Data transmission and control device in a multi-node sensor network
US8762587B2 (en) Data acquisition card, expansion control system for data acquisition card and method thereof
US9645572B2 (en) Device class information support for multi-option devices
EP2767906A1 (en) Controller, information processing apparatus, and program
KR20150005952A (en) Can bus commercial appliance system and method
CN108616582B (en) Pairing method, device and system of internal machine and wire controller
CN109408121B (en) EDID reading and configuring method, system and medium
KR102509180B1 (en) A computerised system for managing the operation of an electric power distribution grid and a configuration method thereof
CN109537178B (en) Control function automatic switching system, sewing machine controller and sewing machine
US20130116801A1 (en) System, method and recording medium for driving a programmable logic controller
CN102752396A (en) Embedded type sensing server and data control method thereof
CN107395955A (en) A kind of method and user terminal for determining camera module electrifying timing sequence
CN103207592B (en) The program control rim brake device of medical x-ray machine, programmed control method and special-purpose member
CN106557362B (en) Task migration method and system applied to intelligent robot
KR101505075B1 (en) Simulator for feeder remote termiinal unit
CN202649777U (en) Medical X-ray machine, programmed control hand brake device thereof, relay of device and console of device
CN112462661B (en) Industrial data acquisition controller and control method thereof
CN102279574A (en) Compatible equipment and method for master control board and slave control board
CN109003646B (en) Data processing method and single chip microcomputer
US20140223236A1 (en) Device for testing a graphics card
CN110998460A (en) Method for operating user terminal of agricultural machine and agricultural machine
CN107765119A (en) A kind of automatic detection machine starts abnormal method
CN201344606Y (en) Air conditioning controller
CN113359489A (en) Panel switch, intelligent household system and control method thereof
CN109996100B (en) Control method of intelligent remote controller, storage medium and remote controller

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant