CN109754735B - Automatic image rotating device based on acceleration sensor and working method - Google Patents

Automatic image rotating device based on acceleration sensor and working method Download PDF

Info

Publication number
CN109754735B
CN109754735B CN201910015864.3A CN201910015864A CN109754735B CN 109754735 B CN109754735 B CN 109754735B CN 201910015864 A CN201910015864 A CN 201910015864A CN 109754735 B CN109754735 B CN 109754735B
Authority
CN
China
Prior art keywords
display
microprocessor
acceleration sensor
state
host
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
CN201910015864.3A
Other languages
Chinese (zh)
Other versions
CN109754735A (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.)
Nanjing Jusha Display Technology Co Ltd
Nanjing Jusha Medical Technology Co Ltd
Original Assignee
Nanjing Jusha Display Technology Co Ltd
Nanjing Jusha Medical Technology 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 Nanjing Jusha Display Technology Co Ltd, Nanjing Jusha Medical Technology Co Ltd filed Critical Nanjing Jusha Display Technology Co Ltd
Priority to CN201910015864.3A priority Critical patent/CN109754735B/en
Publication of CN109754735A publication Critical patent/CN109754735A/en
Application granted granted Critical
Publication of CN109754735B publication Critical patent/CN109754735B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses an image automatic rotating device based on an acceleration sensor and a working method thereof, wherein the image automatic rotating device comprises a microprocessor, a display card and a display card, wherein the microprocessor is used for processing signals of the acceleration sensor and feeding back feedback results to a host; the acceleration sensor is used for feeding back the angle of the device and feeding back feedback information to the microprocessor; the microprocessor monitoring circuit is used for monitoring the working power supply of the microprocessor; the microprocessor is connected with the display through a universal serial interface, the serial interface of the display is used for providing power for the microprocessor, and a linear voltage stabilizer is further arranged between the serial interface of the display and the microprocessor. The invention provides a solution for automatically rotating images for a display which is not provided with an acceleration sensor, avoids resource waste caused by updating the existing display, and provides an external expansion module for automatically rotating images for the existing display.

Description

Automatic image rotating device based on acceleration sensor and working method
Technical Field
The invention relates to the technical field of display, in particular to an automatic image rotating device based on an acceleration sensor and a working method.
Background
With the development of displays, in order to meet various application scenarios, the displays can be used in a physically rotatable direction according to different scenario requirements, for example, a diagnostic display in a radiology department is generally used as a vertical screen. However, after the display is rotated in the physical direction, the display direction of the image generally needs to be manually set so as to be normally used, which is very inconvenient for the user.
Although devices capable of automatically rotating display directions, such as smart phones and tablet computers, exist in the prior art, the old displays do not have the function of automatically rotating screens, and are in need of cost and use scenes, and the existing displays and displays which are newly developed in future cannot be provided with devices capable of automatically rotating display directions, so that the design of an external automatic rotation device convenient to connect is of great significance for improving the usability of the displays.
Disclosure of Invention
In order to overcome the defects in the prior art, the invention provides an automatic image rotating device based on an acceleration sensor and a working method thereof, and solves the technical problem that a display without an automatic rotating display direction cannot automatically rotate a screen in the prior art.
In order to achieve the above purpose, the invention adopts the following technical scheme:
an image automatic rotating device based on an acceleration sensor is characterized in that: comprises that
The microprocessor is used for processing the signals of the acceleration sensor and feeding back the feedback result to the display card of the host;
the acceleration sensor is used for feeding back the angle of the device and feeding back feedback information to the microprocessor;
the microprocessor monitoring circuit is used for monitoring the working power supply of the microprocessor;
the microprocessor is connected with the display through a universal serial interface, the serial interface of the display is used for providing power for the microprocessor, and a linear voltage stabilizer is further arranged between the serial interface of the display and the microprocessor.
As a preferred aspect of the present invention, the automatic image rotation device based on an acceleration sensor is characterized in that: the serial interface is a USB interface.
As a preferred aspect of the present invention, the automatic image rotation device based on an acceleration sensor is characterized in that: the microprocessor is also connected with an LED indicator light for displaying the working state of the device.
As a preferred aspect of the present invention, the automatic image rotation device based on an acceleration sensor is characterized in that: the microprocessor is of the type STM 32.
As a preferred aspect of the present invention, the automatic image rotation device based on an acceleration sensor is characterized in that: the model of the microprocessor monitoring circuit is MAX 809.
As a preferred aspect of the present invention, the automatic image rotation device based on an acceleration sensor is characterized in that: the operating voltage of the microprocessor is 3.3V.
As a preferred aspect of the present invention, the automatic image rotation device based on an acceleration sensor is characterized in that: the microprocessor is connected with a display card of a host through a USB interface, an I2C bus, a DDC controller or Bluetooth.
As a preferred aspect of the present invention, the automatic image rotation device based on an acceleration sensor is characterized in that: the microprocessor is also connected with a debugging interface.
An operating method of an image automatic rotating device based on an acceleration sensor is characterized in that: the method comprises the following steps:
the method comprises the following steps: the automatic rotating device is connected to the display.
Step two: the acceleration sensor monitors whether the display rotates in real time, judges whether the current direction state of the display is a horizontal screen state or a vertical screen state, and feeds back angle information of the display to the microprocessor in real time; correcting the display state of the display in the host, and correcting the mark state of the display in the host into the state which is actually the same as that of the display;
step three: when the acceleration sensor detects that the rotation angle of the display exceeds a preset angle of the system, the rotation state of the display is fed back to the microprocessor for processing, and the microprocessor feeds back the rotation state information of the display to the host;
step four: the host computer adjusts the display state of the display through the display card after processing.
As a preferred aspect of the present invention, the method for operating an image automatic rotation device based on an acceleration sensor includes: the preset angle of the system can be adjusted.
The invention achieves the following beneficial effects:
the invention can automatically identify whether the display rotates or not and automatically rotate the display picture, ensures that the display image is accurately displayed along with the change of the physical direction, and brings great convenience to the fields of rotating the display direction according to different application scenes, such as the medical field and the like.
The invention provides a solution for automatically rotating images for a display which is not provided with an acceleration sensor, avoids resource waste caused by updating the existing display, and provides an external expansion module for automatically rotating images for the existing display.
Drawings
FIG. 1 is a schematic diagram of an acceleration sensor-based image automatic rotation device according to the present invention;
fig. 2 is a diagram of the working process of the present invention.
Detailed Description
The invention is further described below with reference to the accompanying drawings. The following examples are only for illustrating the technical solutions of the present invention more clearly, and the protection scope of the present invention is not limited thereby.
As shown in fig. 1: the embodiment discloses an automatic image rotation device based on an acceleration sensor, which comprises
The microprocessor is used for processing the signals of the acceleration sensor and feeding back the feedback result to the display card of the host;
the acceleration sensor is used for feeding back the angle of the device and feeding back feedback information to the microprocessor;
the microprocessor monitoring circuit is used for monitoring the working power supply of the microprocessor;
the microprocessor is connected with the display through a universal serial interface, the serial interface of the display is used for providing power for the microprocessor, and a linear voltage stabilizer is further arranged between the serial interface of the display and the microprocessor.
The serial interface is a USB interface.
The microprocessor is also connected with an LED indicator light for displaying the working state of the device.
The model of the microprocessor of the present invention is STM32, and the model of the microprocessor monitoring circuit is MAX 809.
The operating voltage supplied to the microprocessor by the linear regulator is 3.3V.
The microprocessor is preferably connected to the host's graphics card through a USB interface, I2C bus, DDC controller, or bluetooth.
The microprocessor is also connected with a debugging interface (SWD) which is used for debugging or burning the program.
The invention also discloses a working method adopting the image automatic rotating device, which comprises the following steps: the method comprises the following steps:
the invention is applicable to displays that are physically rotatable (e.g. from a rotating stand) and that have USB-HUB functionality.
The automatic rotating device is connected to a display, the automatic rotating device is inserted into the back of the display through a USB interface, and the USB provides working power supply for each module in the automatic rotating device. The acceleration sensor monitors whether the display rotates in real time, because different displays are connected with interfaces of the automatic rotating device at different angles, some are in a horizontal state and some are in a vertical state, the actual angle of the connected automatic rotating device is different along with the difference of the angles of the interfaces of the displays, after the automatic rotating device is inserted, the automatic rotating device firstly judges whether the current direction state of the display is in a horizontal screen state or a vertical screen state and feeds back the angle information of the display to the microprocessor in real time; when the actual position of the display is deviated from the display of the host computer, the display state of the display should be corrected at the host computer, and the marking state of the display in the host computer is corrected to be actually the same as the display; when the acceleration sensor detects that the rotation state of the display reaches a system preset value, the acceleration sensor feeds the rotation state of the display back to the microprocessor for processing, the microcontroller sends a signal to the display card of the host, the host adjusts the display state of the display through the display card after processing, and the signal of the image is displayed in a rotating mode.
The preset values of the system of the angle of the invention can be adjusted, preferably 30 degrees, that is to say: when the display is rotated 30 degrees from the initial state of the display, the system assumes that the display has rotated, signaling a rotated image.
The invention can automatically identify whether the display rotates or not and automatically rotate the display picture, ensures that the display image is accurately displayed along with the change of the physical direction, and brings great convenience to the fields of rotating the display direction according to different application scenes, such as the medical field and the like.
The invention provides a solution for automatically rotating images for a display which is not provided with an acceleration sensor, avoids resource waste caused by updating the existing display, and provides an external expansion module for automatically rotating images for the existing display.
The above is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, several modifications and variations can be made without departing from the technical principle of the present invention, and these modifications and variations should also be regarded as the protection scope of the present invention.

Claims (2)

1. An operating method of an image automatic rotating device based on an acceleration sensor is characterized in that: the image automatic rotating device comprises a microprocessor, a display card and a controller, wherein the microprocessor is used for processing signals of the acceleration sensor and feeding back feedback results to the display card of the host;
the acceleration sensor is used for feeding back the angle of the device and feeding back feedback information to the microprocessor;
the microprocessor monitoring circuit is used for monitoring the working power supply of the microprocessor;
the microprocessor is connected with the display through a universal serial interface, the serial interface of the display is used for providing power for the microprocessor, and a linear voltage stabilizer is arranged between the serial interface of the display and the microprocessor;
the method works according to the following steps:
the method comprises the following steps: the automatic rotating device is connected to a display, after the automatic rotating device is inserted, the automatic rotating device firstly judges whether the current direction state of the display is a horizontal screen state or a vertical screen state, angle information of the display is fed back to the microprocessor in real time, and when the actual position of the display deviates from the display of the host, the display state of the display is corrected at the host;
step two: the acceleration sensor monitors whether the display rotates in real time, judges whether the current direction state of the display is a horizontal screen state or a vertical screen state, and feeds back angle information of the display to the microprocessor in real time; correcting the display state of the display in the host, and correcting the mark state of the display in the host into the state which is actually the same as that of the display;
step three: when the acceleration sensor detects that the rotation angle of the display exceeds a preset angle of the system, the rotation state of the display is fed back to the microprocessor for processing, and the microprocessor feeds back the rotation state information of the display to the host;
step four: the host computer adjusts the display state of the display through the display card after processing.
2. The method for operating an image automatic rotation device based on an acceleration sensor as claimed in claim 1, wherein: the preset angle of the system can be adjusted.
CN201910015864.3A 2019-01-08 2019-01-08 Automatic image rotating device based on acceleration sensor and working method Active CN109754735B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910015864.3A CN109754735B (en) 2019-01-08 2019-01-08 Automatic image rotating device based on acceleration sensor and working method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910015864.3A CN109754735B (en) 2019-01-08 2019-01-08 Automatic image rotating device based on acceleration sensor and working method

Publications (2)

Publication Number Publication Date
CN109754735A CN109754735A (en) 2019-05-14
CN109754735B true CN109754735B (en) 2022-04-22

Family

ID=66405312

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910015864.3A Active CN109754735B (en) 2019-01-08 2019-01-08 Automatic image rotating device based on acceleration sensor and working method

Country Status (1)

Country Link
CN (1) CN109754735B (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1385824A (en) * 2001-05-16 2002-12-18 英业达集团(南京)电子技术有限公司 Electronic device capable of automatic-rotating display image
CN1766987A (en) * 2004-10-27 2006-05-03 南京Lg同创彩色显示系统有限责任公司 Direction recognizing device for image display device and its controlling method
CN2929795Y (en) * 2006-05-16 2007-08-01 吕海堂 Intelligent environment temperature management system
CN201910226U (en) * 2010-11-24 2011-07-27 福建捷联电子有限公司 Displayer for driving backlight and main board by USB (Universal Serial Bus) interface power supply of PC (Personal Computer) machine
JP2013070194A (en) * 2011-09-21 2013-04-18 Kyocera Corp Portable terminal device, program, and display control method
CN103019613A (en) * 2011-09-23 2013-04-03 鸿富锦精密工业(深圳)有限公司 Automatic rotating display system based on Windows operation system

Also Published As

Publication number Publication date
CN109754735A (en) 2019-05-14

Similar Documents

Publication Publication Date Title
ES2931432T3 (en) Electronic device, charging control method by the electronic device and power supply method by a power supply device
US9829970B2 (en) System for switching displays based on the viewing direction of a user
US7884836B2 (en) Notifying a graphics subsystem of a physical change at a display device
US7685477B2 (en) System and method for auxiliary channel error messaging
TWI647611B (en) Smart Extended Display Identification Data Simulator
TW201401165A (en) Display angle processing apparatus and image processor
US20210208696A1 (en) Operating pen-shaped input devices in multiple modes
US20150213776A1 (en) Computing system and method for automatically making a display configuration persistent
US8514231B2 (en) Display apparatus for determining error in display identification data and control method of the same
CN109754735B (en) Automatic image rotating device based on acceleration sensor and working method
CN113038052B (en) Digital video recorder, control method thereof, device storage medium and electronic device
US7598948B1 (en) System and method of detecting rotated displays
CN208061189U (en) OPS pinboards and electronic equipment
CN102945649A (en) Method for adjusting image display parameters of display terminal, and display terminal
TWI781676B (en) Method, apparatus, mainboard and related computer readable storage medium
US20110169728A1 (en) Rotatable display device and image displaying method thereof
KR101087099B1 (en) Method for displying pivot in display device
CN109214242A (en) Sensing data acquisition methods, device, system and computer readable storage medium
CN104282293A (en) Electronic device with display device capable of synchronously controlling brightness and operation method thereof
US11482189B2 (en) Information processing apparatus and control method
CN204272310U (en) Web camera debugging instrument
EP2439624A1 (en) Method, apparatus and tv receiving equipment for processing peripheral equipment menus
CN215729481U (en) Image automatic rotating medical display based on gravity sensing system
JP6850647B2 (en) Display device
CN212111668U (en) Express delivery cabinet test fixture

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